Class: Google::Apis::YoutubePartnerV1::OwnershipConflicts

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) ⇒ OwnershipConflicts

Returns a new instance of OwnershipConflicts



2571
2572
2573
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2571

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

Instance Attribute Details

#generalArray<Google::Apis::YoutubePartnerV1::TerritoryConflicts>

A list that identifies ownership conflicts of an asset and the territories where conflicting ownership is inserted. Corresponds to the JSON property general



2545
2546
2547
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2545

def general
  @general
end

#kindString

The type of the API resource. For ownershipConflicts resources, the value is youtubePartner#ownershipConflicts. Corresponds to the JSON property kind

Returns:

  • (String)


2551
2552
2553
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2551

def kind
  @kind
end

#mechanicalArray<Google::Apis::YoutubePartnerV1::TerritoryConflicts>

A list that identifies ownership conflicts of the mechanical rights for a composition asset and the territories where conflicting ownership is inserted. Corresponds to the JSON property mechanical



2557
2558
2559
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2557

def mechanical
  @mechanical
end

#performanceArray<Google::Apis::YoutubePartnerV1::TerritoryConflicts>

A list that identifies ownership conflicts of the performance rights for a composition asset and the territories where conflicting ownership is inserted. Corresponds to the JSON property performance



2563
2564
2565
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2563

def performance
  @performance
end

#synchronizationArray<Google::Apis::YoutubePartnerV1::TerritoryConflicts>

A list that identifies ownership conflicts of the synchronization rights for a composition asset and the territories where conflicting ownership is inserted. Corresponds to the JSON property synchronization



2569
2570
2571
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2569

def synchronization
  @synchronization
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2576
2577
2578
2579
2580
2581
2582
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2576

def update!(**args)
  @general = args[:general] if args.key?(:general)
  @kind = args[:kind] if args.key?(:kind)
  @mechanical = args[:mechanical] if args.key?(:mechanical)
  @performance = args[:performance] if args.key?(:performance)
  @synchronization = args[:synchronization] if args.key?(:synchronization)
end