Class: Google::Apis::YoutubePartnerV1::ReferenceConflictMatch

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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ReferenceConflictMatch

Returns a new instance of ReferenceConflictMatch



3265
3266
3267
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3265

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#conflicting_reference_offset_msFixnum

Conflicting reference offset in milliseconds. Corresponds to the JSON property conflicting_reference_offset_ms

Returns:

  • (Fixnum)


3248
3249
3250
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3248

def conflicting_reference_offset_ms
  @conflicting_reference_offset_ms
end

#length_msFixnum

Match length in milliseconds. Corresponds to the JSON property length_ms

Returns:

  • (Fixnum)


3253
3254
3255
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3253

def length_ms
  @length_ms
end

#original_reference_offset_msFixnum

Original reference offset in milliseconds. Corresponds to the JSON property original_reference_offset_ms

Returns:

  • (Fixnum)


3258
3259
3260
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3258

def original_reference_offset_ms
  @original_reference_offset_ms
end

#typeString

The referenceConflictMatch's type. Corresponds to the JSON property type

Returns:

  • (String)


3263
3264
3265
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3263

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3270
3271
3272
3273
3274
3275
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3270

def update!(**args)
  @conflicting_reference_offset_ms = args[:conflicting_reference_offset_ms] if args.key?(:conflicting_reference_offset_ms)
  @length_ms = args[:length_ms] if args.key?(:length_ms)
  @original_reference_offset_ms = args[:original_reference_offset_ms] if args.key?(:original_reference_offset_ms)
  @type = args[:type] if args.key?(:type)
end