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

Constructor Details

#initialize(**args) ⇒ OwnershipConflicts

Returns a new instance of OwnershipConflicts.



2918
2919
2920
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2918

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



2892
2893
2894
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2892

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)


2898
2899
2900
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2898

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



2904
2905
2906
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2904

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



2910
2911
2912
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2910

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



2916
2917
2918
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2916

def synchronization
  @synchronization
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2923
2924
2925
2926
2927
2928
2929
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2923

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