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

Constructor Details

#initialize(**args) ⇒ ReferenceConflictMatch

Returns a new instance of ReferenceConflictMatch.



3559
3560
3561
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3559

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)


3542
3543
3544
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3542

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)


3547
3548
3549
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3547

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)


3552
3553
3554
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3552

def original_reference_offset_ms
  @original_reference_offset_ms
end

#typeString

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

Returns:

  • (String)


3557
3558
3559
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3557

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3564
3565
3566
3567
3568
3569
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3564

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