Class: StackOne::Models::Shared::AtsCreateBackgroundCheckOrderRequestDto

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(application: nil, candidate: nil, id: nil, job: nil, package: nil, passthrough: nil, remote_id: nil, requester: nil, results_update_url: nil) ⇒ AtsCreateBackgroundCheckOrderRequestDto

Returns a new instance of AtsCreateBackgroundCheckOrderRequestDto.



35
36
37
38
39
40
41
42
43
44
45
# File 'lib/stack_one/models/shared/atscreatebackgroundcheckorderrequestdto.rb', line 35

def initialize(application: nil, candidate: nil, id: nil, job: nil, package: nil, passthrough: nil, remote_id: nil, requester: nil, results_update_url: nil)
  @application = application
  @candidate = candidate
  @id = id
  @job = job
  @package = package
  @passthrough = passthrough
  @remote_id = remote_id
  @requester = requester
  @results_update_url = results_update_url
end

Instance Method Details

#==(other) ⇒ Object



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

def ==(other)
  return false unless other.is_a? self.class
  return false unless @application == other.application
  return false unless @candidate == other.candidate
  return false unless @id == other.id
  return false unless @job == other.job
  return false unless @package == other.package
  return false unless @passthrough == other.passthrough
  return false unless @remote_id == other.remote_id
  return false unless @requester == other.requester
  return false unless @results_update_url == other.results_update_url
  true
end