Class: Google::Apis::YoutubePartnerV1::ClaimEvent::TypeDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/youtube_partner_v1/classes.rb,
generated/google/apis/youtube_partner_v1/representations.rb,
generated/google/apis/youtube_partner_v1/representations.rb

Overview

Details of event's type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TypeDetails

Returns a new instance of TypeDetails



1125
1126
1127
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1125

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#appeal_explanationString

Appeal explanations for dispute_appeal event. Corresponds to the JSON property appealExplanation

Returns:

  • (String)


1108
1109
1110
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1108

def appeal_explanation
  @appeal_explanation
end

#dispute_notesString

Dispute notes for dispute_create events. Corresponds to the JSON property disputeNotes

Returns:

  • (String)


1113
1114
1115
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1113

def dispute_notes
  @dispute_notes
end

#dispute_reasonString

Dispute reason for dispute_create and dispute_appeal events. Corresponds to the JSON property disputeReason

Returns:

  • (String)


1118
1119
1120
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1118

def dispute_reason
  @dispute_reason
end

#update_statusString

Status that was a result of update for claim_update event. Corresponds to the JSON property updateStatus

Returns:

  • (String)


1123
1124
1125
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1123

def update_status
  @update_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1130
1131
1132
1133
1134
1135
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1130

def update!(**args)
  @appeal_explanation = args[:appeal_explanation] if args.key?(:appeal_explanation)
  @dispute_notes = args[:dispute_notes] if args.key?(:dispute_notes)
  @dispute_reason = args[:dispute_reason] if args.key?(:dispute_reason)
  @update_status = args[:update_status] if args.key?(:update_status)
end