Class: Google::Apis::YoutubePartnerV1::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

Instance Attribute Summary collapse

Instance Method Summary collapse

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_explanationString

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

Returns:

  • (String)


4035
4036
4037
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4035

def appeal_explanation
  @appeal_explanation
end

#dispute_notesString

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

Returns:

  • (String)


4040
4041
4042
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4040

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)


4045
4046
4047
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 4045

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)


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