mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 20:57:45 +00:00
ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.198.1
This commit is contained in:
36
lib/open_api_sdk/models/operations/getpin_request.rb
Normal file
36
lib/open_api_sdk/models/operations/getpin_request.rb
Normal file
@@ -0,0 +1,36 @@
|
||||
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
||||
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
|
||||
module OpenApiSDK
|
||||
module Operations
|
||||
GET_PIN_REQUEST_SERVERS = [
|
||||
'https://plex.tv/api/v2'
|
||||
].freeze
|
||||
|
||||
|
||||
class GetPinRequest < ::OpenApiSDK::Utils::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# 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, ::String, { 'header': { 'field_name': 'X-Plex-Client-Identifier', 'style': 'simple', 'explode': false } }
|
||||
# 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 } }
|
||||
|
||||
|
||||
sig { params(x_plex_client_identifier: ::String, strong: T.nilable(T::Boolean)).void }
|
||||
def initialize(x_plex_client_identifier: nil, strong: nil)
|
||||
@x_plex_client_identifier = x_plex_client_identifier
|
||||
@strong = strong
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user