Class: Kombo::Models::Shared::GetHrisEmployeeDocumentCategoriesPositiveResponseResult

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/kombo/models/shared/gethrisemployeedocumentcategoriespositiveresponse_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:, remote_id: nil, name: nil, remote_deleted_at: nil) ⇒ GetHrisEmployeeDocumentCategoriesPositiveResponseResult

Returns a new instance of GetHrisEmployeeDocumentCategoriesPositiveResponseResult.



29
30
31
32
33
34
35
# File 'lib/kombo/models/shared/gethrisemployeedocumentcategoriespositiveresponse_result.rb', line 29

def initialize(id:, changed_at:, remote_id: nil, name: nil, remote_deleted_at: nil)
  @id = id
  @changed_at = changed_at
  @remote_id = remote_id
  @name = name
  @remote_deleted_at = remote_deleted_at
end

Instance Method Details

#==(other) ⇒ Object



38
39
40
41
42
43
44
45
46
# File 'lib/kombo/models/shared/gethrisemployeedocumentcategoriespositiveresponse_result.rb', line 38

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 @remote_id == other.remote_id
  return false unless @name == other.name
  return false unless @remote_deleted_at == other.remote_deleted_at
  true
end