Class: Kombo::Models::Shared::GetHrisEmploymentsPositiveResponseResult
- Inherits:
-
Object
- Object
- Kombo::Models::Shared::GetHrisEmploymentsPositiveResponseResult
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kombo/models/shared/gethrisemploymentspositiveresponse_result.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id:, employee_id:, changed_at:, remote_id: nil, job_title: nil, pay_rate: nil, pay_currency: nil, effective_date: nil, remote_deleted_at: nil, custom_fields: nil, pay_period: nil, pay_frequency: nil, employment_type: nil) ⇒ GetHrisEmploymentsPositiveResponseResult
constructor
A new instance of GetHrisEmploymentsPositiveResponseResult.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id:, employee_id:, changed_at:, remote_id: nil, job_title: nil, pay_rate: nil, pay_currency: nil, effective_date: nil, remote_deleted_at: nil, custom_fields: nil, pay_period: nil, pay_frequency: nil, employment_type: nil) ⇒ GetHrisEmploymentsPositiveResponseResult
Returns a new instance of GetHrisEmploymentsPositiveResponseResult.
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
# File 'lib/kombo/models/shared/gethrisemploymentspositiveresponse_result.rb', line 61 def initialize(id:, employee_id:, changed_at:, remote_id: nil, job_title: nil, pay_rate: nil, pay_currency: nil, effective_date: nil, remote_deleted_at: nil, custom_fields: nil, pay_period: nil, pay_frequency: nil, employment_type: nil) @id = id @employee_id = employee_id @changed_at = changed_at @remote_id = remote_id @job_title = job_title @pay_rate = pay_rate @pay_currency = pay_currency @effective_date = effective_date @remote_deleted_at = remote_deleted_at @custom_fields = custom_fields @pay_period = pay_period @pay_frequency = pay_frequency @employment_type = employment_type end |
Instance Method Details
#==(other) ⇒ Object
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'lib/kombo/models/shared/gethrisemploymentspositiveresponse_result.rb', line 78 def ==(other) return false unless other.is_a? self.class return false unless @id == other.id return false unless @employee_id == other.employee_id return false unless @changed_at == other.changed_at return false unless @remote_id == other.remote_id return false unless @job_title == other.job_title return false unless @pay_rate == other.pay_rate return false unless @pay_currency == other.pay_currency return false unless @effective_date == other.effective_date return false unless @remote_deleted_at == other.remote_deleted_at return false unless @custom_fields == other.custom_fields return false unless @pay_period == other.pay_period return false unless @pay_frequency == other.pay_frequency return false unless @employment_type == other.employment_type true end |