Class: PlexRubySDK::Models::Operations::GetUsersRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/plex_ruby_sdk/models/operations/get_users_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, x_plex_token: nil, client_features: nil, client_name: nil, client_version: nil, device_name: nil, device_nickname: nil, device_screen_resolution: nil, model: nil, platform: nil, platform_version: nil, x_plex_language: nil, x_plex_session_id: nil) ⇒ GetUsersRequest

Returns a new instance of GetUsersRequest.



48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# File 'lib/plex_ruby_sdk/models/operations/get_users_request.rb', line 48

def initialize(client_id: nil, x_plex_token: nil, client_features: nil, client_name: nil, client_version: nil, device_name: nil, device_nickname: nil, device_screen_resolution: nil, model: nil, platform: nil, platform_version: nil, x_plex_language: nil, x_plex_session_id: nil)
  @client_id = client_id
  @x_plex_token = x_plex_token
  @client_features = client_features
  @client_name = client_name
  @client_version = client_version
  @device_name = device_name
  @device_nickname = device_nickname
  @device_screen_resolution = device_screen_resolution
  @model = model
  @platform = platform
  @platform_version = platform_version
  @x_plex_language = x_plex_language
  @x_plex_session_id = x_plex_session_id
end

Instance Method Details

#==(other) ⇒ Object



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'lib/plex_ruby_sdk/models/operations/get_users_request.rb', line 64

def ==(other)
  return false unless other.is_a? self.class
  return false unless @client_id == other.client_id
  return false unless @x_plex_token == other.x_plex_token
  return false unless @client_features == other.client_features
  return false unless @client_name == other.client_name
  return false unless @client_version == other.client_version
  return false unless @device_name == other.device_name
  return false unless @device_nickname == other.device_nickname
  return false unless @device_screen_resolution == other.device_screen_resolution
  return false unless @model == other.model
  return false unless @platform == other.platform
  return false unless @platform_version == other.platform_version
  return false unless @x_plex_language == other.x_plex_language
  return false unless @x_plex_session_id == other.x_plex_session_id
  true
end