mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-07 20:57:44 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.531.4
This commit is contained in:
@@ -5,44 +5,47 @@
|
||||
|
||||
|
||||
module PlexRubySDK
|
||||
module Operations
|
||||
SERVICES_SERVERS = [
|
||||
'https://plex.tv/api/v2'
|
||||
].freeze
|
||||
|
||||
module Models
|
||||
module Operations
|
||||
SERVICES_SERVERS = [
|
||||
'https://plex.tv/api/v2'
|
||||
].freeze
|
||||
|
||||
|
||||
class Services < ::Crystalline::FieldAugmented
|
||||
extend T::Sig
|
||||
class Services
|
||||
extend T::Sig
|
||||
include Crystalline::MetadataFields
|
||||
|
||||
|
||||
field :endpoint, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('endpoint') } }
|
||||
field :endpoint, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('endpoint') } }
|
||||
|
||||
field :identifier, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('identifier') } }
|
||||
field :identifier, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('identifier') } }
|
||||
|
||||
field :secret, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('secret') } }
|
||||
field :secret, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('secret') } }
|
||||
|
||||
field :status, ::PlexRubySDK::Operations::GetTokenDetailsStatus, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('status'), 'decoder': Utils.enum_from_string(::PlexRubySDK::Operations::GetTokenDetailsStatus, false) } }
|
||||
field :status, Models::Operations::GetTokenDetailsStatus, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('status'), 'decoder': Utils.enum_from_string(Models::Operations::GetTokenDetailsStatus, false) } }
|
||||
|
||||
field :token, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('token') } }
|
||||
field :token, ::String, { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('token') } }
|
||||
|
||||
|
||||
sig { params(endpoint: ::String, identifier: ::String, secret: ::String, status: ::PlexRubySDK::Operations::GetTokenDetailsStatus, token: ::String).void }
|
||||
def initialize(endpoint: nil, identifier: nil, secret: nil, status: nil, token: nil)
|
||||
@endpoint = endpoint
|
||||
@identifier = identifier
|
||||
@secret = secret
|
||||
@status = status
|
||||
@token = token
|
||||
end
|
||||
sig { params(endpoint: ::String, identifier: ::String, secret: ::String, status: Models::Operations::GetTokenDetailsStatus, token: ::String).void }
|
||||
def initialize(endpoint: nil, identifier: nil, secret: nil, status: nil, token: nil)
|
||||
@endpoint = endpoint
|
||||
@identifier = identifier
|
||||
@secret = secret
|
||||
@status = status
|
||||
@token = token
|
||||
end
|
||||
|
||||
def ==(other)
|
||||
return false unless other.is_a? self.class
|
||||
return false unless @endpoint == other.endpoint
|
||||
return false unless @identifier == other.identifier
|
||||
return false unless @secret == other.secret
|
||||
return false unless @status == other.status
|
||||
return false unless @token == other.token
|
||||
true
|
||||
def ==(other)
|
||||
return false unless other.is_a? self.class
|
||||
return false unless @endpoint == other.endpoint
|
||||
return false unless @identifier == other.identifier
|
||||
return false unless @secret == other.secret
|
||||
return false unless @status == other.status
|
||||
return false unless @token == other.token
|
||||
true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user