Class: Google::Apis::YoutubePartnerV1::ClaimEvent::TypeDetails
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::ClaimEvent::TypeDetails
- 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
-
#appeal_explanation ⇒ String
Appeal explanations for dispute_appeal event.
-
#dispute_notes ⇒ String
Dispute notes for dispute_create events.
-
#dispute_reason ⇒ String
Dispute reason for dispute_create and dispute_appeal events.
-
#update_status ⇒ String
Status that was a result of update for claim_update event.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TypeDetails
constructor
A new instance of TypeDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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_explanation ⇒ String
Appeal explanations for dispute_appeal event.
Corresponds to the JSON property appealExplanation
1108 1109 1110 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1108 def appeal_explanation @appeal_explanation end |
#dispute_notes ⇒ String
Dispute notes for dispute_create events.
Corresponds to the JSON property disputeNotes
1113 1114 1115 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1113 def dispute_notes @dispute_notes end |
#dispute_reason ⇒ String
Dispute reason for dispute_create and dispute_appeal events.
Corresponds to the JSON property disputeReason
1118 1119 1120 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1118 def dispute_reason @dispute_reason end |
#update_status ⇒ String
Status that was a result of update for claim_update event.
Corresponds to the JSON property updateStatus
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 |