mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-07 04:20:54 +00:00
regenerated with newest spec, reconfigured actions and adding publishing
This commit is contained in:
39
lib/plex_ruby_sdk/models/operations/services.rb
Normal file
39
lib/plex_ruby_sdk/models/operations/services.rb
Normal file
@@ -0,0 +1,39 @@
|
||||
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
||||
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
|
||||
module PlexRubySDK
|
||||
module Operations
|
||||
SERVICES_SERVERS = [
|
||||
'https://plex.tv/api/v2/'
|
||||
].freeze
|
||||
|
||||
|
||||
class Services < ::PlexRubySDK::Utils::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
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 :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 :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
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user