# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module PlexRubySDK
  module Operations
    GET_TOKEN_BY_PIN_ID_RESPONSE_BODY_SERVERS = [
      'https://plex.tv/api/v2/'
    ].freeze
  
    # Not Found or Expired
    class GetTokenByPinIdResponseBody < ::PlexRubySDK::Utils::FieldAugmented
      extend T::Sig


      field :errors, T.nilable(T::Array[::PlexRubySDK::Operations::GetTokenByPinIdPlexErrors]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('errors') } }


      sig { params(errors: T.nilable(T::Array[::PlexRubySDK::Operations::GetTokenByPinIdPlexErrors])).void }
      def initialize(errors: nil)
        @errors = errors
      end
    end
  end
end
