Class: OpenApiSDK::Models::Operations::RejectBountySubmissionResponseBody

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/open_api_sdk/models/operations/rejectbountysubmission_responsebody.rb

Overview

The rejected bounty submission.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id:, bounty_id:, partner_id:, status:, created_at:, period_number:, description: nil, urls: nil, files: nil, performance_count: nil, social_metric_count: nil, completed_at: nil, reviewed_at: nil, rejection_reason: nil, rejection_note: nil, social_metrics_last_synced_at: nil) ⇒ RejectBountySubmissionResponseBody

Returns a new instance of RejectBountySubmissionResponseBody.



49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# File 'lib/open_api_sdk/models/operations/rejectbountysubmission_responsebody.rb', line 49

def initialize(id:, bounty_id:, partner_id:, status:, created_at:, period_number:, description: nil, urls: nil, files: nil, performance_count: nil, social_metric_count: nil, completed_at: nil, reviewed_at: nil, rejection_reason: nil, rejection_note: nil, social_metrics_last_synced_at: nil)
  @id = id
  @bounty_id = bounty_id
  @partner_id = partner_id
  @status = status
  @created_at = created_at
  @period_number = period_number
  @description = description
  @urls = urls
  @files = files
  @performance_count = performance_count
  @social_metric_count = social_metric_count
  @completed_at = completed_at
  @reviewed_at = reviewed_at
  @rejection_reason = rejection_reason
  @rejection_note = rejection_note
  @social_metrics_last_synced_at = social_metrics_last_synced_at
end

Instance Method Details

#==(other) ⇒ Object



69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'lib/open_api_sdk/models/operations/rejectbountysubmission_responsebody.rb', line 69

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @bounty_id == other.bounty_id
  return false unless @partner_id == other.partner_id
  return false unless @status == other.status
  return false unless @created_at == other.created_at
  return false unless @period_number == other.period_number
  return false unless @description == other.description
  return false unless @urls == other.urls
  return false unless @files == other.files
  return false unless @performance_count == other.performance_count
  return false unless @social_metric_count == other.social_metric_count
  return false unless @completed_at == other.completed_at
  return false unless @reviewed_at == other.reviewed_at
  return false unless @rejection_reason == other.rejection_reason
  return false unless @rejection_note == other.rejection_note
  return false unless @social_metrics_last_synced_at == other.social_metrics_last_synced_at
  true
end