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:
33
lib/open_api_sdk/models/operations/gettoken_request.rb
Normal file
33
lib/open_api_sdk/models/operations/gettoken_request.rb
Normal file
@@ -0,0 +1,33 @@
|
||||
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
||||
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
|
||||
module OpenApiSDK
|
||||
module Operations
|
||||
GET_TOKEN_REQUEST_SERVERS = [
|
||||
'https://plex.tv/api/v2'
|
||||
].freeze
|
||||
|
||||
|
||||
class GetTokenRequest < ::OpenApiSDK::Utils::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
# The PinID to retrieve an access token for
|
||||
field :pin_id, ::String, { 'path_param': { 'field_name': 'pinID', 'style': 'simple', 'explode': false } }
|
||||
# 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 } }
|
||||
|
||||
|
||||
sig { params(pin_id: ::String, x_plex_client_identifier: ::String).void }
|
||||
def initialize(pin_id: nil, x_plex_client_identifier: nil)
|
||||
@pin_id = pin_id
|
||||
@x_plex_client_identifier = x_plex_client_identifier
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user