Class

public struct Class : Codable, Equatable

Struct representing Reward Class related values.

  • id

    Value representing the entity id.

    Declaration

    Swift

    public var id: Int
  • The reward name attribute.

    Declaration

    Swift

    public var name: String
  • The reward description attribute.

    Declaration

    Swift

    public var desc: String
  • The reward label attribute.

    Declaration

    Swift

    public var label: String
  • The reward attributes.

    Declaration

    Swift

    public var attributes: [Reward.Attribute]
  • The reward status attribute.

    Declaration

    Swift

    public var status: String
  • Undocumented

    Declaration

    Swift

    public init(id: Int, name: String, desc: String,
                label: String, attributes: [Reward.Attribute], status: String)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws