Class: Kombo::Models::Shared::GetHrisStaffingEntitiesPositiveResponseResult

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id:, remote_id:, changed_at:, locations:, legal_entities:, groups:, name: nil, model_type: nil, description: nil, status: nil, employment_types: nil, number_of_openings: nil, parent_id: nil, remote_url: nil, remote_created_at: nil, remote_updated_at: nil, remote_deleted_at: nil, custom_fields: nil) ⇒ GetHrisStaffingEntitiesPositiveResponseResult

Returns a new instance of GetHrisStaffingEntitiesPositiveResponseResult.



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# File 'lib/kombo/models/shared/gethrisstaffingentitiespositiveresponse_result.rb', line 63

def initialize(id:, remote_id:, changed_at:, locations:, legal_entities:, groups:, name: nil, model_type: nil, description: nil, status: nil, employment_types: nil, number_of_openings: nil, parent_id: nil, remote_url: nil, remote_created_at: nil, remote_updated_at: nil, remote_deleted_at: nil, custom_fields: nil)
  @id = id
  @remote_id = remote_id
  @changed_at = changed_at
  @locations = locations
  @legal_entities = legal_entities
  @groups = groups
  @name = name
  @model_type = model_type
  @description = description
  @status = status
  @employment_types = employment_types
  @number_of_openings = number_of_openings
  @parent_id = parent_id
  @remote_url = remote_url
  @remote_created_at = remote_created_at
  @remote_updated_at = remote_updated_at
  @remote_deleted_at = remote_deleted_at
  @custom_fields = custom_fields
end

Instance Method Details

#==(other) ⇒ Object



85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# File 'lib/kombo/models/shared/gethrisstaffingentitiespositiveresponse_result.rb', line 85

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @remote_id == other.remote_id
  return false unless @changed_at == other.changed_at
  return false unless @locations == other.locations
  return false unless @legal_entities == other.legal_entities
  return false unless @groups == other.groups
  return false unless @name == other.name
  return false unless @model_type == other.model_type
  return false unless @description == other.description
  return false unless @status == other.status
  return false unless @employment_types == other.employment_types
  return false unless @number_of_openings == other.number_of_openings
  return false unless @parent_id == other.parent_id
  return false unless @remote_url == other.remote_url
  return false unless @remote_created_at == other.remote_created_at
  return false unless @remote_updated_at == other.remote_updated_at
  return false unless @remote_deleted_at == other.remote_deleted_at
  return false unless @custom_fields == other.custom_fields
  true
end