Class: Kombo::Models::Shared::GetAtsOffersPositiveResponseResult
- Inherits:
-
Object
- Object
- Kombo::Models::Shared::GetAtsOffersPositiveResponseResult
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kombo/models/shared/getatsofferspositiveresponse_result.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id:, changed_at:, remote_id: nil, status: nil, employment_start_date: nil, application_id: nil, custom_fields: nil, remote_deleted_at: nil, remote_created_at: nil, remote_updated_at: nil, application: nil) ⇒ GetAtsOffersPositiveResponseResult
constructor
A new instance of GetAtsOffersPositiveResponseResult.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id:, changed_at:, remote_id: nil, status: nil, employment_start_date: nil, application_id: nil, custom_fields: nil, remote_deleted_at: nil, remote_created_at: nil, remote_updated_at: nil, application: nil) ⇒ GetAtsOffersPositiveResponseResult
Returns a new instance of GetAtsOffersPositiveResponseResult.
55 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/kombo/models/shared/getatsofferspositiveresponse_result.rb', line 55 def initialize(id:, changed_at:, remote_id: nil, status: nil, employment_start_date: nil, application_id: nil, custom_fields: nil, remote_deleted_at: nil, remote_created_at: nil, remote_updated_at: nil, application: nil) @id = id @changed_at = changed_at @remote_id = remote_id @status = status @employment_start_date = employment_start_date @application_id = application_id @custom_fields = custom_fields @remote_deleted_at = remote_deleted_at @remote_created_at = remote_created_at @remote_updated_at = remote_updated_at @application = application end |
Instance Method Details
#==(other) ⇒ Object
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/kombo/models/shared/getatsofferspositiveresponse_result.rb', line 70 def ==(other) return false unless other.is_a? self.class return false unless @id == other.id return false unless @changed_at == other.changed_at return false unless @remote_id == other.remote_id return false unless @status == other.status return false unless @employment_start_date == other.employment_start_date return false unless @application_id == other.application_id return false unless @custom_fields == other.custom_fields return false unless @remote_deleted_at == other.remote_deleted_at return false unless @remote_created_at == other.remote_created_at return false unless @remote_updated_at == other.remote_updated_at return false unless @application == other.application true end |