Class: Kombo::Models::Shared::GetAtsCandidatesCandidateIdAttachmentsPositiveResponseResult

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id:, candidate_id:, type:, remote_id:, data_url:, file_name:, content_type:, application_id: nil, remote_created_at: nil, remote_updated_at: nil) ⇒ GetAtsCandidatesCandidateIdAttachmentsPositiveResponseResult

Returns a new instance of GetAtsCandidatesCandidateIdAttachmentsPositiveResponseResult.



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

def initialize(id:, candidate_id:, type:, remote_id:, data_url:, file_name:, content_type:, application_id: nil, remote_created_at: nil, remote_updated_at: nil)
  @id = id
  @candidate_id = candidate_id
  @type = type
  @remote_id = remote_id
  @data_url = data_url
  @file_name = file_name
  @content_type = content_type
  @application_id = application_id
  @remote_created_at = remote_created_at
  @remote_updated_at = remote_updated_at
end

Instance Method Details

#==(other) ⇒ Object



53
54
55
56
57
58
59
60
61
62
63
64
65
66
# File 'lib/kombo/models/shared/getatscandidatescandidateidattachmentspositiveresponse_result.rb', line 53

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @candidate_id == other.candidate_id
  return false unless @type == other.type
  return false unless @remote_id == other.remote_id
  return false unless @data_url == other.data_url
  return false unless @file_name == other.file_name
  return false unless @content_type == other.content_type
  return false unless @application_id == other.application_id
  return false unless @remote_created_at == other.remote_created_at
  return false unless @remote_updated_at == other.remote_updated_at
  true
end