Class: Kombo::Models::Shared::GetAtsJobsPositiveResponseHiringTeam

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id:, hiring_team_roles:, job_roles:, remote_id: nil, first_name: nil, last_name: nil, email: nil) ⇒ GetAtsJobsPositiveResponseHiringTeam

Returns a new instance of GetAtsJobsPositiveResponseHiringTeam.



37
38
39
40
41
42
43
44
45
# File 'lib/kombo/models/shared/getatsjobspositiveresponse_hiring_team.rb', line 37

def initialize(id:, hiring_team_roles:, job_roles:, remote_id: nil, first_name: nil, last_name: nil, email: nil)
  @id = id
  @hiring_team_roles = hiring_team_roles
  @job_roles = job_roles
  @remote_id = remote_id
  @first_name = first_name
  @last_name = last_name
  @email = email
end

Instance Method Details

#==(other) ⇒ Object



48
49
50
51
52
53
54
55
56
57
58
# File 'lib/kombo/models/shared/getatsjobspositiveresponse_hiring_team.rb', line 48

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @hiring_team_roles == other.hiring_team_roles
  return false unless @job_roles == other.job_roles
  return false unless @remote_id == other.remote_id
  return false unless @first_name == other.first_name
  return false unless @last_name == other.last_name
  return false unless @email == other.email
  true
end