Class: Kombo::Models::Shared::PostHrisEmployeesEmployeeIdDocumentsRequestBody
- Inherits:
-
Object
- Object
- Kombo::Models::Shared::PostHrisEmployeesEmployeeIdDocumentsRequestBody
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kombo/models/shared/posthrisemployeesemployeeiddocumentsrequestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(category_id:, document:, remote_fields: nil) ⇒ PostHrisEmployeesEmployeeIdDocumentsRequestBody
constructor
A new instance of PostHrisEmployeesEmployeeIdDocumentsRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(category_id:, document:, remote_fields: nil) ⇒ PostHrisEmployeesEmployeeIdDocumentsRequestBody
Returns a new instance of PostHrisEmployeesEmployeeIdDocumentsRequestBody.
23 24 25 26 27 |
# File 'lib/kombo/models/shared/posthrisemployeesemployeeiddocumentsrequestbody.rb', line 23 def initialize(category_id:, document:, remote_fields: nil) @category_id = category_id @document = document @remote_fields = remote_fields end |
Instance Method Details
#==(other) ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/kombo/models/shared/posthrisemployeesemployeeiddocumentsrequestbody.rb', line 30 def ==(other) return false unless other.is_a? self.class return false unless @category_id == other.category_id return false unless @document == other.document return false unless @remote_fields == other.remote_fields true end |