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.



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

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



2520
2521
2522
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2520

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)


2526
2527
2528
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2526

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



2532
2533
2534
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2532

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



2538
2539
2540
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2538

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



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

def synchronization
  @synchronization
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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