class Google::Apis::YoutubePartnerV1::ClaimEvent

Attributes

kind[RW]

The type of the API resource. For claimEvent resources, this value is youtubePartner#claimEvent. Corresponds to the JSON property `kind` @return [String]

reason[RW]

Reason of the event. Corresponds to the JSON property `reason` @return [String]

source[RW]

Data related to source of the event. Corresponds to the JSON property `source` @return [Google::Apis::YoutubePartnerV1::ClaimEvent::Source]

time[RW]

The time when the event occurred. Corresponds to the JSON property `time` @return [DateTime]

type[RW]

Type of the event. Corresponds to the JSON property `type` @return [String]

type_details[RW]

Details of event's type. Corresponds to the JSON property `typeDetails` @return [Google::Apis::YoutubePartnerV1::ClaimEvent::TypeDetails]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_partner_v1/classes.rb, line 985
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/youtube_partner_v1/classes.rb, line 990
def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @reason = args[:reason] if args.key?(:reason)
  @source = args[:source] if args.key?(:source)
  @time = args[:time] if args.key?(:time)
  @type = args[:type] if args.key?(:type)
  @type_details = args[:type_details] if args.key?(:type_details)
end