# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true module PlexRubySDK module Operations GET_PIN_REQUEST_SERVERS = [ 'https://plex.tv/api/v2/' ].freeze class GetPinRequest < ::PlexRubySDK::Utils::FieldAugmented extend T::Sig # Determines the kind of code returned by the API call # Strong codes are used for Pin authentication flows # Non-Strong codes are used for `Plex.tv/link` # field :strong, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'strong', 'style': 'form', 'explode': true } } # The unique identifier for the client application # This is used to track the client application and its usage # (UUID, serial number, or other number unique per device) # field :x_plex_client_identifier, T.nilable(::String), { 'query_param': { 'field_name': 'X-Plex-Client-Identifier', 'style': 'form', 'explode': true } } field :x_plex_product, T.nilable(::String), { 'query_param': { 'field_name': 'X-Plex-Product', 'style': 'form', 'explode': true } } sig { params(strong: T.nilable(T::Boolean), x_plex_client_identifier: T.nilable(::String), x_plex_product: T.nilable(::String)).void } def initialize(strong: nil, x_plex_client_identifier: nil, x_plex_product: nil) @strong = strong @x_plex_client_identifier = x_plex_client_identifier @x_plex_product = x_plex_product end end end end