Class: Kombo::Models::Shared::GetAtsUsersPositiveResponseResult

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/kombo/models/shared/getatsuserspositiveresponse_result.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id:, changed_at:, system_roles:, remote_id: nil, first_name: nil, last_name: nil, status: nil, remote_deleted_at: nil, email: nil) ⇒ GetAtsUsersPositiveResponseResult

Returns a new instance of GetAtsUsersPositiveResponseResult.



41
42
43
44
45
46
47
48
49
50
51
# File 'lib/kombo/models/shared/getatsuserspositiveresponse_result.rb', line 41

def initialize(id:, changed_at:, system_roles:, remote_id: nil, first_name: nil, last_name: nil, status: nil, remote_deleted_at: nil, email: nil)
  @id = id
  @changed_at = changed_at
  @system_roles = system_roles
  @remote_id = remote_id
  @first_name = first_name
  @last_name = last_name
  @status = status
  @remote_deleted_at = remote_deleted_at
  @email = email
end

Instance Method Details

#==(other) ⇒ Object



54
55
56
57
58
59
60
61
62
63
64
65
66
# File 'lib/kombo/models/shared/getatsuserspositiveresponse_result.rb', line 54

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @changed_at == other.changed_at
  return false unless @system_roles == other.system_roles
  return false unless @remote_id == other.remote_id
  return false unless @first_name == other.first_name
  return false unless @last_name == other.last_name
  return false unless @status == other.status
  return false unless @remote_deleted_at == other.remote_deleted_at
  return false unless @email == other.email
  true
end