Class: StackOne::Models::Shared::AtsCreateBackgroundCheckOrderRequestDtoCandidate

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(emails: nil, first_name: nil, id: nil, last_name: nil, passthrough: nil, profile_url: nil, remote_id: nil) ⇒ AtsCreateBackgroundCheckOrderRequestDtoCandidate

Returns a new instance of AtsCreateBackgroundCheckOrderRequestDtoCandidate.



31
32
33
34
35
36
37
38
39
# File 'lib/stack_one/models/shared/atscreatebackgroundcheckorderrequestdto_candidate.rb', line 31

def initialize(emails: nil, first_name: nil, id: nil, last_name: nil, passthrough: nil, profile_url: nil, remote_id: nil)
  @emails = emails
  @first_name = first_name
  @id = id
  @last_name = last_name
  @passthrough = passthrough
  @profile_url = profile_url
  @remote_id = remote_id
end

Instance Method Details

#==(other) ⇒ Object



42
43
44
45
46
47
48
49
50
51
52
# File 'lib/stack_one/models/shared/atscreatebackgroundcheckorderrequestdto_candidate.rb', line 42

def ==(other)
  return false unless other.is_a? self.class
  return false unless @emails == other.emails
  return false unless @first_name == other.first_name
  return false unless @id == other.id
  return false unless @last_name == other.last_name
  return false unless @passthrough == other.passthrough
  return false unless @profile_url == other.profile_url
  return false unless @remote_id == other.remote_id
  true
end