Class: Kombo::Models::Shared::GetAtsNotesPositiveResponseResult

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id:, remote_id:, candidate_id:, changed_at:, application_id: nil, author_id: nil, title: nil, content_html: nil, is_private: nil, remote_created_at: nil, remote_updated_at: nil, remote_deleted_at: nil, author: nil) ⇒ GetAtsNotesPositiveResponseResult

Returns a new instance of GetAtsNotesPositiveResponseResult.



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

def initialize(id:, remote_id:, candidate_id:, changed_at:, application_id: nil, author_id: nil, title: nil, content_html: nil, is_private: nil, remote_created_at: nil, remote_updated_at: nil, remote_deleted_at: nil, author: nil)
  @id = id
  @remote_id = remote_id
  @candidate_id = candidate_id
  @changed_at = changed_at
  @application_id = application_id
  @author_id = author_id
  @title = title
  @content_html = content_html
  @is_private = is_private
  @remote_created_at = remote_created_at
  @remote_updated_at = remote_updated_at
  @remote_deleted_at = remote_deleted_at
  @author = author
end

Instance Method Details

#==(other) ⇒ Object



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'lib/kombo/models/shared/getatsnotespositiveresponse_result.rb', line 64

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @remote_id == other.remote_id
  return false unless @candidate_id == other.candidate_id
  return false unless @changed_at == other.changed_at
  return false unless @application_id == other.application_id
  return false unless @author_id == other.author_id
  return false unless @title == other.title
  return false unless @content_html == other.content_html
  return false unless @is_private == other.is_private
  return false unless @remote_created_at == other.remote_created_at
  return false unless @remote_updated_at == other.remote_updated_at
  return false unless @remote_deleted_at == other.remote_deleted_at
  return false unless @author == other.author
  true
end