Attribute

public struct Attribute : Codable, Equatable

Struct representing Reward Attribute related values.

  • id

    Value representing the entity id.

    Declaration

    Swift

    public var id: Int
  • The reward label attribute.

    Declaration

    Swift

    public var label: String
  • The reward name attribute.

    Declaration

    Swift

    public var name: String
  • The reward options.

    Declaration

    Swift

    public var options: [Reward.AttributeOption]
  • Undocumented

    Declaration

    Swift

    public init(id: Int, label: String, name: String, options: [Reward.AttributeOption])
  • Declaration

    Swift

    public init(from decoder: Decoder) throws