mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 20:57:45 +00:00
regenerated with newest spec, reconfigured actions and adding publishing
This commit is contained in:
54
lib/plex_ruby_sdk/models/operations/server.rb
Normal file
54
lib/plex_ruby_sdk/models/operations/server.rb
Normal file
@@ -0,0 +1,54 @@
|
||||
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
||||
|
||||
# typed: true
|
||||
# frozen_string_literal: true
|
||||
|
||||
|
||||
module PlexRubySDK
|
||||
module Operations
|
||||
|
||||
|
||||
class Server < ::PlexRubySDK::Utils::FieldAugmented
|
||||
extend T::Sig
|
||||
|
||||
|
||||
field :address, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('address') } }
|
||||
|
||||
field :device_class, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('deviceClass') } }
|
||||
|
||||
field :host, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('host') } }
|
||||
|
||||
field :machine_identifier, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('machineIdentifier') } }
|
||||
|
||||
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('name') } }
|
||||
|
||||
field :port, T.nilable(::Float), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('port') } }
|
||||
|
||||
field :product, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('product') } }
|
||||
|
||||
field :protocol, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('protocol') } }
|
||||
|
||||
field :protocol_capabilities, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('protocolCapabilities') } }
|
||||
|
||||
field :protocol_version, T.nilable(::Float), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('protocolVersion') } }
|
||||
|
||||
field :version, T.nilable(::String), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('version') } }
|
||||
|
||||
|
||||
sig { params(address: T.nilable(::String), device_class: T.nilable(::String), host: T.nilable(::String), machine_identifier: T.nilable(::String), name: T.nilable(::String), port: T.nilable(::Float), product: T.nilable(::String), protocol: T.nilable(::String), protocol_capabilities: T.nilable(::String), protocol_version: T.nilable(::Float), version: T.nilable(::String)).void }
|
||||
def initialize(address: nil, device_class: nil, host: nil, machine_identifier: nil, name: nil, port: nil, product: nil, protocol: nil, protocol_capabilities: nil, protocol_version: nil, version: nil)
|
||||
@address = address
|
||||
@device_class = device_class
|
||||
@host = host
|
||||
@machine_identifier = machine_identifier
|
||||
@name = name
|
||||
@port = port
|
||||
@product = product
|
||||
@protocol = protocol
|
||||
@protocol_capabilities = protocol_capabilities
|
||||
@protocol_version = protocol_version
|
||||
@version = version
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user