mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 20:57:45 +00:00
28 lines
921 B
Ruby
28 lines
921 B
Ruby
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
|
|
module OpenApiSDK
|
|
module Operations
|
|
|
|
|
|
class GetTransientTokenRequest < ::OpenApiSDK::Utils::FieldAugmented
|
|
extend T::Sig
|
|
|
|
# `all` - This is the only supported `scope` parameter.
|
|
field :scope, ::OpenApiSDK::Operations::Scope, { 'query_param': { 'field_name': 'scope', 'style': 'form', 'explode': true } }
|
|
# `delegation` - This is the only supported `type` parameter.
|
|
field :type, ::OpenApiSDK::Operations::GetTransientTokenQueryParamType, { 'query_param': { 'field_name': 'type', 'style': 'form', 'explode': true } }
|
|
|
|
|
|
sig { params(scope: ::OpenApiSDK::Operations::Scope, type: ::OpenApiSDK::Operations::GetTransientTokenQueryParamType).void }
|
|
def initialize(scope: nil, type: nil)
|
|
@scope = scope
|
|
@type = type
|
|
end
|
|
end
|
|
end
|
|
end
|