Class: Kombo::Models::Operations::GetHrisTimesheetsRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/kombo/models/operations/gethristimesheets_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, employee_id: nil, started_before: nil, started_after: nil, ended_before: nil, ended_after: nil, page_size: 100, include_deleted: false, ignore_unsupported_filters: false) ⇒ GetHrisTimesheetsRequest

Returns a new instance of GetHrisTimesheetsRequest.



49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# File 'lib/kombo/models/operations/gethristimesheets_request.rb', line 49

def initialize(integration_id: nil, cursor: nil, updated_after: nil, ids: nil, remote_ids: nil, employee_id: nil, started_before: nil, started_after: nil, ended_before: nil, ended_after: 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
  @employee_id = employee_id
  @started_before = started_before
  @started_after = started_after
  @ended_before = ended_before
  @ended_after = ended_after
  @page_size = page_size
  @include_deleted = include_deleted
  @ignore_unsupported_filters = ignore_unsupported_filters
end

Instance Method Details

#==(other) ⇒ Object



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

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 @employee_id == other.employee_id
  return false unless @started_before == other.started_before
  return false unless @started_after == other.started_after
  return false unless @ended_before == other.ended_before
  return false unless @ended_after == other.ended_after
  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