Class: Kombo::Models::Operations::GetHrisAbsencesRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/kombo/models/operations/gethrisabsences_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, date_from: nil, date_until: nil, type_ids: nil, employee_id: nil, page_size: 100, include_deleted: false, ignore_unsupported_filters: false) ⇒ GetHrisAbsencesRequest

Returns a new instance of GetHrisAbsencesRequest.



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

def initialize(integration_id: nil, cursor: nil, updated_after: nil, ids: nil, remote_ids: nil, date_from: nil, date_until: nil, type_ids: nil, employee_id: 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
  @date_from = date_from
  @date_until = date_until
  @type_ids = type_ids
  @employee_id = employee_id
  @page_size = page_size
  @include_deleted = include_deleted
  @ignore_unsupported_filters = ignore_unsupported_filters
end

Instance Method Details

#==(other) ⇒ Object



69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# File 'lib/kombo/models/operations/gethrisabsences_request.rb', line 69

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 @date_from == other.date_from
  return false unless @date_until == other.date_until
  return false unless @type_ids == other.type_ids
  return false unless @employee_id == other.employee_id
  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