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.
1092 1093 1094 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1092 def initialize(**args) update!(**args) end |
Instance Attribute Details
#appeal_explanation ⇒ String
Appeal explanations for dispute_appeal event.
Corresponds to the JSON property appealExplanation
1075 1076 1077 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1075 def appeal_explanation @appeal_explanation end |
#dispute_notes ⇒ String
Dispute notes for dispute_create events.
Corresponds to the JSON property disputeNotes
1080 1081 1082 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1080 def dispute_notes @dispute_notes end |
#dispute_reason ⇒ String
Dispute reason for dispute_create and dispute_appeal events.
Corresponds to the JSON property disputeReason
1085 1086 1087 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1085 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
1090 1091 1092 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1090 def update_status @update_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1097 1098 1099 1100 1101 1102 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 1097 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 |