Class: Kombo::Models::Shared::PostAtsJobsJobIdApplicationsRequestBodyPilogaCandidate

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

Overview

Additional candidate fields for P&I Loga that will be mapped to the application form.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(street: nil, geburtsdatum: nil) ⇒ PostAtsJobsJobIdApplicationsRequestBodyPilogaCandidate

Returns a new instance of PostAtsJobsJobIdApplicationsRequestBodyPilogaCandidate.



22
23
24
25
# File 'lib/kombo/models/shared/postatsjobsjobidapplicationsrequestbody_piloga_candidate.rb', line 22

def initialize(street: nil, geburtsdatum: nil)
  @street = street
  @geburtsdatum = geburtsdatum
end

Instance Method Details

#==(other) ⇒ Object



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

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