Class: Kombo::Models::Shared::PostHrisAbsencesRequestBodyRemoteFields

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

Overview

Additional fields that we will pass through to specific HRIS systems.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(a3innuvanomina: nil, adpworkforcenow: nil) ⇒ PostHrisAbsencesRequestBodyRemoteFields

Returns a new instance of PostHrisAbsencesRequestBodyRemoteFields.



21
22
23
24
# File 'lib/kombo/models/shared/posthrisabsencesrequestbody_remote_fields.rb', line 21

def initialize(a3innuvanomina: nil, adpworkforcenow: nil)
  @a3innuvanomina = a3innuvanomina
  @adpworkforcenow = adpworkforcenow
end

Instance Method Details

#==(other) ⇒ Object



27
28
29
30
31
32
# File 'lib/kombo/models/shared/posthrisabsencesrequestbody_remote_fields.rb', line 27

def ==(other)
  return false unless other.is_a? self.class
  return false unless @a3innuvanomina == other.a3innuvanomina
  return false unless @adpworkforcenow == other.adpworkforcenow
  true
end