regenerated with newest spec, reconfigured actions and adding publishing

This commit is contained in:
Luke Hagar
2024-09-16 15:42:38 +00:00
parent fa4cfa3643
commit b689f4fe66
1660 changed files with 29288 additions and 15630 deletions

View File

@@ -0,0 +1,33 @@
# 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_REQUEST_SERVERS = [
'https://plex.tv/api/v2/'
].freeze
class GetTokenByPinIdRequest < ::PlexRubySDK::Utils::FieldAugmented
extend T::Sig
# The PinID to retrieve an access token for
field :pin_id, ::Integer, { '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, T.nilable(::String), { 'query_param': { 'field_name': 'X-Plex-Client-Identifier', 'style': 'form', 'explode': true } }
sig { params(pin_id: ::Integer, x_plex_client_identifier: T.nilable(::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