Files
plexruby/lib/plex_ruby_sdk/models/operations/gettokenbypinid_request.rb

28 lines
637 B
Ruby

# 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 } }
sig { params(pin_id: ::Integer).void }
def initialize(pin_id: nil)
@pin_id = pin_id
end
end
end
end