category property

  1. @JsonKey(name: 'category', fromJson: decodeDestinyRewardSourceCategory, toJson: encodeDestinyRewardSourceCategory)
DestinyRewardSourceCategory? category
getter/setter pair

Sources are grouped into categories: common ways that items are provided. I hope to see this expand in Destiny 2 once we have time to generate accurate reward source data.

Implementation

@JsonKey(name:'category',fromJson:decodeDestinyRewardSourceCategory,toJson:encodeDestinyRewardSourceCategory)
DestinyRewardSourceCategory? category;