Class: Kombo::Models::Shared::GetAssessmentOrdersPositiveResponseResult

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id:, package_id:, status:, candidate:, application:, job:) ⇒ GetAssessmentOrdersPositiveResponseResult

Returns a new instance of GetAssessmentOrdersPositiveResponseResult.



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

def initialize(id:, package_id:, status:, candidate:, application:, job:)
  @id = id
  @package_id = package_id
  @status = status
  @candidate = candidate
  @application = application
  @job = job
end

Instance Method Details

#==(other) ⇒ Object



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

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @package_id == other.package_id
  return false unless @status == other.status
  return false unless @candidate == other.candidate
  return false unless @application == other.application
  return false unless @job == other.job
  true
end