Class: Kombo::Models::Shared::PostAtsCandidatesRequestBody
- Inherits:
-
Object
- Object
- Kombo::Models::Shared::PostAtsCandidatesRequestBody
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kombo/models/shared/postatscandidatesrequestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(candidate:, application:, screening_question_answers: nil, attachments: nil, source: nil, sourced_by: nil, gdpr_consent: nil, remote_fields: nil) ⇒ PostAtsCandidatesRequestBody
constructor
A new instance of PostAtsCandidatesRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(candidate:, application:, screening_question_answers: nil, attachments: nil, source: nil, sourced_by: nil, gdpr_consent: nil, remote_fields: nil) ⇒ PostAtsCandidatesRequestBody
Returns a new instance of PostAtsCandidatesRequestBody.
43 44 45 46 47 48 49 50 51 52 |
# File 'lib/kombo/models/shared/postatscandidatesrequestbody.rb', line 43 def initialize(candidate:, application:, screening_question_answers: nil, attachments: nil, source: nil, sourced_by: nil, gdpr_consent: nil, remote_fields: nil) @candidate = candidate @application = application @screening_question_answers = screening_question_answers @attachments = @source = source @sourced_by = sourced_by @gdpr_consent = @remote_fields = remote_fields end |
Instance Method Details
#==(other) ⇒ Object
55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'lib/kombo/models/shared/postatscandidatesrequestbody.rb', line 55 def ==(other) return false unless other.is_a? self.class return false unless @candidate == other.candidate return false unless @application == other.application return false unless @screening_question_answers == other.screening_question_answers return false unless @attachments == other. return false unless @source == other.source return false unless @sourced_by == other.sourced_by return false unless @gdpr_consent == other. return false unless @remote_fields == other.remote_fields true end |