Class: StackOne::Models::Shared::AtsCreateApplicationRequestDto

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(application_status: nil, candidate: nil, candidate_id: nil, documents: nil, job_id: nil, job_posting_id: nil, location_id: nil, passthrough: nil, questionnaires: nil, source: nil) ⇒ AtsCreateApplicationRequestDto

Returns a new instance of AtsCreateApplicationRequestDto.



37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/stack_one/models/shared/atscreateapplicationrequestdto.rb', line 37

def initialize(application_status: nil, candidate: nil, candidate_id: nil, documents: nil, job_id: nil, job_posting_id: nil, location_id: nil, passthrough: nil, questionnaires: nil, source: nil)
  @application_status = application_status
  @candidate = candidate
  @candidate_id = candidate_id
  @documents = documents
  @job_id = job_id
  @job_posting_id = job_posting_id
  @location_id = location_id
  @passthrough = passthrough
  @questionnaires = questionnaires
  @source = source
end

Instance Method Details

#==(other) ⇒ Object



51
52
53
54
55
56
57
58
59
60
61
62
63
64
# File 'lib/stack_one/models/shared/atscreateapplicationrequestdto.rb', line 51

def ==(other)
  return false unless other.is_a? self.class
  return false unless @application_status == other.application_status
  return false unless @candidate == other.candidate
  return false unless @candidate_id == other.candidate_id
  return false unless @documents == other.documents
  return false unless @job_id == other.job_id
  return false unless @job_posting_id == other.job_posting_id
  return false unless @location_id == other.location_id
  return false unless @passthrough == other.passthrough
  return false unless @questionnaires == other.questionnaires
  return false unless @source == other.source
  true
end