Class: PlexRubySDK::Models::Errors::GetUsersErrors
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Errors::GetUsersErrors
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/errors/get_users_errors.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(code: nil, message: nil, status: nil) ⇒ GetUsersErrors
constructor
A new instance of GetUsersErrors.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(code: nil, message: nil, status: nil) ⇒ GetUsersErrors
Returns a new instance of GetUsersErrors.
28 29 30 31 32 |
# File 'lib/plex_ruby_sdk/models/errors/get_users_errors.rb', line 28 def initialize(code: nil, message: nil, status: nil) @code = code @message = @status = status end |
Instance Method Details
#==(other) ⇒ Object
34 35 36 37 38 39 40 |
# File 'lib/plex_ruby_sdk/models/errors/get_users_errors.rb', line 34 def ==(other) return false unless other.is_a? self.class return false unless @code == other.code return false unless @message == other. return false unless @status == other.status true end |