InPlayerAccessType

public struct InPlayerAccessType : Codable

Access type model

  • id

    Access type ID

    Declaration

    Swift

    public let id: Int?
  • The name of the access type (ppv, subscription, or custom)

    Declaration

    Swift

    public let name: String?
  • Account ID

    Declaration

    Swift

    public let accountId: Int?
  • Refers to one of the period types: ‘minute’, ‘hour’, ‘day’, ‘week’, ‘month’ or ‘year’

    Declaration

    Swift

    public let period: String?
  • Number denoting the duration of the access

    Declaration

    Swift

    public let quantity: Int?
  • Undocumented

    Declaration

    Swift

    public let createdAt: Double?
  • Undocumented

    Declaration

    Swift

    public let updatedAt: Double?
  • Decoder method

    Declaration

    Swift

    public init(from decoder: Decoder) throws