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



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

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)


3255
3256
3257
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3255

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)


3260
3261
3262
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3260

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)


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

def original_reference_offset_ms
  @original_reference_offset_ms
end

#typeString

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

Returns:

  • (String)


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

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3277
3278
3279
3280
3281
3282
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3277

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