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.



2500
2501
2502
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2500

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



2474
2475
2476
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2474

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)


2480
2481
2482
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2480

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



2486
2487
2488
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2486

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



2492
2493
2494
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2492

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



2498
2499
2500
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2498

def synchronization
  @synchronization
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2505
2506
2507
2508
2509
2510
2511
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2505

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