Class: Kombo::Models::Shared::InlineAssessmentOrderReceivedWebhookPayloadJob

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

Overview

Information about the job posting.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(hiring_team:, remote_id: nil, name: nil, job_code: nil, description: nil, location: nil) ⇒ InlineAssessmentOrderReceivedWebhookPayloadJob

Returns a new instance of InlineAssessmentOrderReceivedWebhookPayloadJob.



29
30
31
32
33
34
35
36
# File 'lib/kombo/models/shared/inlineassessmentorderreceivedwebhookpayload_job.rb', line 29

def initialize(hiring_team:, remote_id: nil, name: nil, job_code: nil, description: nil, location: nil)
  @hiring_team = hiring_team
  @remote_id = remote_id
  @name = name
  @job_code = job_code
  @description = description
  @location = location
end

Instance Method Details

#==(other) ⇒ Object



39
40
41
42
43
44
45
46
47
48
# File 'lib/kombo/models/shared/inlineassessmentorderreceivedwebhookpayload_job.rb', line 39

def ==(other)
  return false unless other.is_a? self.class
  return false unless @hiring_team == other.hiring_team
  return false unless @remote_id == other.remote_id
  return false unless @name == other.name
  return false unless @job_code == other.job_code
  return false unless @description == other.description
  return false unless @location == other.location
  true
end