Prize

public struct Prize : Codable, Equatable

Struct representing Prize related values.

  • id

    id of the prize.

    Declaration

    Swift

    public var id: Int
  • Name of prize.

    Declaration

    Swift

    public var label: String
  • Image URL of prize.

    Declaration

    Swift

    public var imageUrl: String
  • Thumbnail image URL of prize.

    Declaration

    Swift

    public var thumbImageUrl: String
  • Internal name of prize.

    Declaration

    Swift

    public var internalName: String
  • Type of prize.

    Declaration

    Swift

    public var prizeType: String
  • Prize.

    Declaration

    Swift

    public var prize: String
  • Number of instances of prize.

    Declaration

    Swift

    public var prizeInstances: Int
  • Undocumented

    Declaration

    Swift

    public init(id: Int, label: String, imageUrl: String, thumbImageUrl: String,
                internalName: String, prizeType: String, prize: String, prizeInstances: Int)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws