Class: Kombo::Models::Operations::GetHrisEmployeesRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(integration_id: nil, cursor: nil, updated_after: nil, ids: nil, remote_ids: nil, employment_statuses: nil, group_ids: nil, legal_entity_ids: nil, work_location_ids: nil, work_emails: nil, personal_emails: nil, custom_fields: nil, page_size: 100, include_deleted: false, ignore_unsupported_filters: false) ⇒ GetHrisEmployeesRequest

Returns a new instance of GetHrisEmployeesRequest.



71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'lib/kombo/models/operations/gethrisemployees_request.rb', line 71

def initialize(integration_id: nil, cursor: nil, updated_after: nil, ids: nil, remote_ids: nil, employment_statuses: nil, group_ids: nil, legal_entity_ids: nil, work_location_ids: nil, work_emails: nil, personal_emails: nil, custom_fields: nil, page_size: 100, include_deleted: false, ignore_unsupported_filters: false)
  @integration_id = integration_id
  @cursor = cursor
  @updated_after = updated_after
  @ids = ids
  @remote_ids = remote_ids
  @employment_statuses = employment_statuses
  @group_ids = group_ids
  @legal_entity_ids = legal_entity_ids
  @work_location_ids = work_location_ids
  @work_emails = work_emails
  @personal_emails = personal_emails
  @custom_fields = custom_fields
  @page_size = page_size
  @include_deleted = include_deleted
  @ignore_unsupported_filters = ignore_unsupported_filters
end

Instance Method Details

#==(other) ⇒ Object



90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# File 'lib/kombo/models/operations/gethrisemployees_request.rb', line 90

def ==(other)
  return false unless other.is_a? self.class
  return false unless @integration_id == other.integration_id
  return false unless @cursor == other.cursor
  return false unless @updated_after == other.updated_after
  return false unless @ids == other.ids
  return false unless @remote_ids == other.remote_ids
  return false unless @employment_statuses == other.employment_statuses
  return false unless @group_ids == other.group_ids
  return false unless @legal_entity_ids == other.legal_entity_ids
  return false unless @work_location_ids == other.work_location_ids
  return false unless @work_emails == other.work_emails
  return false unless @personal_emails == other.personal_emails
  return false unless @custom_fields == other.custom_fields
  return false unless @page_size == other.page_size
  return false unless @include_deleted == other.include_deleted
  return false unless @ignore_unsupported_filters == other.ignore_unsupported_filters
  true
end