Award

public struct Award : Codable, Equatable

Struct representing Award related values.

  • id

    Value representing the entity id.

    Declaration

    Swift

    public var id: Int
  • The award status.

    Declaration

    Swift

    public var status: String
  • The award type.

    Declaration

    Swift

    public var type: String
  • The award starting date.

    Declaration

    Swift

    public var startDate: String
  • The award ending date.

    Declaration

    Swift

    public var endDate: String
  • The date the award is claimed.

    Declaration

    Swift

    public var dateClaimed: String
  • The date the award is awarded.

    Declaration

    Swift

    public var dateAwarded: String
  • The object attached to the award.

    Declaration

    Swift

    public var reward: Reward?
  • Undocumented

    Declaration

    Swift

    public init(id: Int, status: String, type: String, startDate: String, endDate: String,
                dateClaimed: String, dateAwarded: String, reward: Reward?)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws