Class: Kombo::Models::Shared::GetHrisPerformanceReviewsPositiveResponseResult

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/kombo/models/shared/gethrisperformancereviewspositiveresponse_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:, changed_at:, reviewee:, type: nil, summary_comment: nil, remote_deleted_at: nil, reviewer: nil, review_cycle: nil, summary_rating: nil) ⇒ GetHrisPerformanceReviewsPositiveResponseResult

Returns a new instance of GetHrisPerformanceReviewsPositiveResponseResult.



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

def initialize(id:, remote_id:, changed_at:, reviewee:, type: nil, summary_comment: nil, remote_deleted_at: nil, reviewer: nil, review_cycle: nil, summary_rating: nil)
  @id = id
  @remote_id = remote_id
  @changed_at = changed_at
  @reviewee = reviewee
  @type = type
  @summary_comment = summary_comment
  @remote_deleted_at = remote_deleted_at
  @reviewer = reviewer
  @review_cycle = review_cycle
  @summary_rating = summary_rating
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/gethrisperformancereviewspositiveresponse_result.rb', line 53

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 @changed_at == other.changed_at
  return false unless @reviewee == other.reviewee
  return false unless @type == other.type
  return false unless @summary_comment == other.summary_comment
  return false unless @remote_deleted_at == other.remote_deleted_at
  return false unless @reviewer == other.reviewer
  return false unless @review_cycle == other.review_cycle
  return false unless @summary_rating == other.summary_rating
  true
end