Class: Google::Apis::YoutubePartnerV1::TypeDetails
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::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
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.
Constructor Details
#initialize(**args) ⇒ TypeDetails
Returns a new instance of TypeDetails.
4052 4053 4054 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4052 def initialize(**args) update!(**args) end |
Instance Attribute Details
#appeal_explanation ⇒ String
Appeal explanations for dispute_appeal event.
Corresponds to the JSON property appealExplanation
4035 4036 4037 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4035 def appeal_explanation @appeal_explanation end |
#dispute_notes ⇒ String
Dispute notes for dispute_create events.
Corresponds to the JSON property disputeNotes
4040 4041 4042 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4040 def dispute_notes @dispute_notes end |
#dispute_reason ⇒ String
Dispute reason for dispute_create and dispute_appeal events.
Corresponds to the JSON property disputeReason
4045 4046 4047 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4045 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
4050 4051 4052 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4050 def update_status @update_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4057 4058 4059 4060 4061 4062 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4057 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 |