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?
  • 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?
  • Decoder method

    Declaration

    Swift

    public init(from decoder: Decoder) throws