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.


3074
3075
3076
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3074

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

Instance Attribute Details

#conflicting_reference_offset_msString

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

Returns:

  • (String)

3057
3058
3059
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3057

def conflicting_reference_offset_ms
  @conflicting_reference_offset_ms
end

#length_msString

Match length in milliseconds. Corresponds to the JSON property length_ms

Returns:

  • (String)

3062
3063
3064
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3062

def length_ms
  @length_ms
end

#original_reference_offset_msString

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

Returns:

  • (String)

3067
3068
3069
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3067

def original_reference_offset_ms
  @original_reference_offset_ms
end

#typeString

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

Returns:

  • (String)

3072
3073
3074
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3072

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3079
3080
3081
3082
3083
3084
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3079

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