Class: PlexRubySDK::Models::Operations::GetPinRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(client_id: nil, client_name: nil, client_version: nil, device_nickname: nil, platform: nil, strong: nil) ⇒ GetPinRequest

Returns a new instance of GetPinRequest.



37
38
39
40
41
42
43
44
# File 'lib/plex_ruby_sdk/models/operations/getpin_request.rb', line 37

def initialize(client_id: nil, client_name: nil, client_version: nil, device_nickname: nil, platform: nil, strong: nil)
  @client_id = client_id
  @client_name = client_name
  @client_version = client_version
  @device_nickname = device_nickname
  @platform = platform
  @strong = strong
end

Instance Method Details

#==(other) ⇒ Object



46
47
48
49
50
51
52
53
54
55
# File 'lib/plex_ruby_sdk/models/operations/getpin_request.rb', line 46

def ==(other)
  return false unless other.is_a? self.class
  return false unless @client_id == other.client_id
  return false unless @client_name == other.client_name
  return false unless @client_version == other.client_version
  return false unless @device_nickname == other.device_nickname
  return false unless @platform == other.platform
  return false unless @strong == other.strong
  true
end