Class: StackOne::Models::Shared::AtsJob

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/stack_one/models/shared/atsjob.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, created_at: nil, custom_fields: nil, department_ids: nil, description: nil, hiring_team: nil, id: nil, interview_stages: nil, job_status: nil, location_ids: nil, remote_department_ids: nil, remote_id: nil, remote_location_ids: nil, status: nil, title: nil, unified_custom_fields: nil, updated_at: nil) ⇒ AtsJob

Returns a new instance of AtsJob.



55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'lib/stack_one/models/shared/atsjob.rb', line 55

def initialize(code: nil, confidential: nil, created_at: nil, custom_fields: nil, department_ids: nil, description: nil, hiring_team: nil, id: nil, interview_stages: nil, job_status: nil, location_ids: nil, remote_department_ids: nil, remote_id: nil, remote_location_ids: nil, status: nil, title: nil, unified_custom_fields: nil, updated_at: nil)
  @code = code
  @confidential = confidential
  @created_at = created_at
  @custom_fields = custom_fields
  @department_ids = department_ids
  @description = description
  @hiring_team = hiring_team
  @id = id
  @interview_stages = interview_stages
  @job_status = job_status
  @location_ids = location_ids
  @remote_department_ids = remote_department_ids
  @remote_id = remote_id
  @remote_location_ids = remote_location_ids
  @status = status
  @title = title
  @unified_custom_fields = unified_custom_fields
  @updated_at = updated_at
end

Instance Method Details

#==(other) ⇒ Object



77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# File 'lib/stack_one/models/shared/atsjob.rb', line 77

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 @created_at == other.created_at
  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 @id == other.id
  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 @remote_department_ids == other.remote_department_ids
  return false unless @remote_id == other.remote_id
  return false unless @remote_location_ids == other.remote_location_ids
  return false unless @status == other.status
  return false unless @title == other.title
  return false unless @unified_custom_fields == other.unified_custom_fields
  return false unless @updated_at == other.updated_at
  true
end