mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 20:57:45 +00:00
28 lines
637 B
Ruby
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
|