Class: StackOne::Models::Shared::AtsCreateJobRequestDto

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(code: nil, confidential: nil, custom_fields: nil, department_ids: nil, description: nil, hiring_team: nil, interview_stages: nil, job_status: nil, location_ids: nil, passthrough: nil, status: nil, title: nil, unified_custom_fields: nil) ⇒ AtsCreateJobRequestDto

Returns a new instance of AtsCreateJobRequestDto.



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# File 'lib/stack_one/models/shared/atscreatejobrequestdto.rb', line 45

def initialize(code: nil, confidential: nil, custom_fields: nil, department_ids: nil, description: nil, hiring_team: nil, interview_stages: nil, job_status: nil, location_ids: nil, passthrough: nil, status: nil, title: nil, unified_custom_fields: nil)
  @code = code
  @confidential = confidential
  @custom_fields = custom_fields
  @department_ids = department_ids
  @description = description
  @hiring_team = hiring_team
  @interview_stages = interview_stages
  @job_status = job_status
  @location_ids = location_ids
  @passthrough = passthrough
  @status = status
  @title = title
  @unified_custom_fields = unified_custom_fields
end

Instance Method Details

#==(other) ⇒ Object



62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# File 'lib/stack_one/models/shared/atscreatejobrequestdto.rb', line 62

def ==(other)
  return false unless other.is_a? self.class
  return false unless @code == other.code
  return false unless @confidential == other.confidential
  return false unless @custom_fields == other.custom_fields
  return false unless @department_ids == other.department_ids
  return false unless @description == other.description
  return false unless @hiring_team == other.hiring_team
  return false unless @interview_stages == other.interview_stages
  return false unless @job_status == other.job_status
  return false unless @location_ids == other.location_ids
  return false unless @passthrough == other.passthrough
  return false unless @status == other.status
  return false unless @title == other.title
  return false unless @unified_custom_fields == other.unified_custom_fields
  true
end