Class: PlexRubySDK::Models::Operations::GetServerListServer

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/plex_ruby_sdk/models/operations/getserverlist_server.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(address: nil, host: nil, machine_identifier: nil, name: nil, port: nil, version: nil) ⇒ GetServerListServer

Returns a new instance of GetServerListServer.



31
32
33
34
35
36
37
38
# File 'lib/plex_ruby_sdk/models/operations/getserverlist_server.rb', line 31

def initialize(address: nil, host: nil, machine_identifier: nil, name: nil, port: nil, version: nil)
  @address = address
  @host = host
  @machine_identifier = machine_identifier
  @name = name
  @port = port
  @version = version
end

Instance Method Details

#==(other) ⇒ Object



40
41
42
43
44
45
46
47
48
49
# File 'lib/plex_ruby_sdk/models/operations/getserverlist_server.rb', line 40

def ==(other)
  return false unless other.is_a? self.class
  return false unless @address == other.address
  return false unless @host == other.host
  return false unless @machine_identifier == other.machine_identifier
  return false unless @name == other.name
  return false unless @port == other.port
  return false unless @version == other.version
  true
end