Class: Google::Apis::YoutubePartnerV1::Order
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::Order
- 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
-
#avail_group_id ⇒ String
Links an order to the avails associated with it.
-
#channel_id ⇒ String
Channel ID - identifies the channel this order and video are associated with Corresponds to the JSON property
channelId
. -
#content_type ⇒ String
Type of content possible values are - MOVIE - SHOW Corresponds to the JSON property
contentType
. -
#country ⇒ String
Two letter country code for the order only countries where YouTube does transactional business are allowed.
-
#custom_id ⇒ String
Secondary id to be used to identify content in other systems like partner database Corresponds to the JSON property
customId
. -
#dvd_release_date ⇒ Google::Apis::YoutubePartnerV1::Date
Date when this content was first made available on DVD Corresponds to the JSON property
dvdReleaseDate
. -
#est_dates ⇒ Google::Apis::YoutubePartnerV1::DateRange
Range of time content is to be available for rental.
-
#events ⇒ Array<Google::Apis::YoutubePartnerV1::StateCompleted>
History log of events for this order Corresponds to the JSON property
events
. -
#id ⇒ String
Order Id unique identifier for an order.
-
#kind ⇒ String
Identifies this resource as order.
-
#movie ⇒ String
Title if the order is type movie.
-
#original_release_date ⇒ Google::Apis::YoutubePartnerV1::Date
Date when this content was first made available to the public Corresponds to the JSON property
originalReleaseDate
. -
#priority ⇒ String
The priority for the order in the QC review queue once the content is ready for QC.
-
#production_house ⇒ String
Post production house that is to process this order Corresponds to the JSON property
productionHouse
. -
#purchase_order ⇒ String
Youtube purchase order reference for the post production house.
-
#requirements ⇒ Google::Apis::YoutubePartnerV1::Requirements
Minumim set of requirements for this order to be complete such as is a trailer required.
-
#show ⇒ Google::Apis::YoutubePartnerV1::ShowDetails
Details of a show, show name, season number, episode etc.
-
#status ⇒ String
The order's status.
-
#video_id ⇒ String
Video ID the video that this order is associated with if any.
-
#vod_dates ⇒ Google::Apis::YoutubePartnerV1::DateRange
Range of time content is to be available for purchase.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Order
constructor
A new instance of Order.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Order
Returns a new instance of Order
2436 2437 2438 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2436 def initialize(**args) update!(**args) end |
Instance Attribute Details
#avail_group_id ⇒ String
Links an order to the avails associated with it.
Corresponds to the JSON property availGroupId
2333 2334 2335 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2333 def avail_group_id @avail_group_id end |
#channel_id ⇒ String
Channel ID - identifies the channel this order and video are associated with
Corresponds to the JSON property channelId
2338 2339 2340 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2338 def channel_id @channel_id end |
#content_type ⇒ String
Type of content possible values are
- MOVIE
- SHOW
Corresponds to the JSON property
contentType
2345 2346 2347 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2345 def content_type @content_type end |
#country ⇒ String
Two letter country code for the order only countries where YouTube does
transactional business are allowed.
Corresponds to the JSON property country
2351 2352 2353 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2351 def country @country end |
#custom_id ⇒ String
Secondary id to be used to identify content in other systems like partner
database
Corresponds to the JSON property customId
2357 2358 2359 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2357 def custom_id @custom_id end |
#dvd_release_date ⇒ Google::Apis::YoutubePartnerV1::Date
Date when this content was first made available on DVD
Corresponds to the JSON property dvdReleaseDate
2362 2363 2364 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2362 def dvd_release_date @dvd_release_date end |
#est_dates ⇒ Google::Apis::YoutubePartnerV1::DateRange
Range of time content is to be available for rental.
Corresponds to the JSON property estDates
2367 2368 2369 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2367 def est_dates @est_dates end |
#events ⇒ Array<Google::Apis::YoutubePartnerV1::StateCompleted>
History log of events for this order
Corresponds to the JSON property events
2372 2373 2374 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2372 def events @events end |
#id ⇒ String
Order Id unique identifier for an order.
Corresponds to the JSON property id
2377 2378 2379 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2377 def id @id end |
#kind ⇒ String
Identifies this resource as order. Value: "youtubePartner#order".
Corresponds to the JSON property kind
2382 2383 2384 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2382 def kind @kind end |
#movie ⇒ String
Title if the order is type movie.
Corresponds to the JSON property movie
2387 2388 2389 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2387 def movie @movie end |
#original_release_date ⇒ Google::Apis::YoutubePartnerV1::Date
Date when this content was first made available to the public
Corresponds to the JSON property originalReleaseDate
2392 2393 2394 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2392 def original_release_date @original_release_date end |
#priority ⇒ String
The priority for the order in the QC review queue once the content is ready
for QC.
Corresponds to the JSON property priority
2398 2399 2400 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2398 def priority @priority end |
#production_house ⇒ String
Post production house that is to process this order
Corresponds to the JSON property productionHouse
2403 2404 2405 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2403 def production_house @production_house end |
#purchase_order ⇒ String
Youtube purchase order reference for the post production house.
Corresponds to the JSON property purchaseOrder
2408 2409 2410 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2408 def purchase_order @purchase_order end |
#requirements ⇒ Google::Apis::YoutubePartnerV1::Requirements
Minumim set of requirements for this order to be complete such as is a trailer
required.
Corresponds to the JSON property requirements
2414 2415 2416 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2414 def requirements @requirements end |
#show ⇒ Google::Apis::YoutubePartnerV1::ShowDetails
Details of a show, show name, season number, episode etc.
Corresponds to the JSON property show
2419 2420 2421 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2419 def show @show end |
#status ⇒ String
The order's status.
Corresponds to the JSON property status
2424 2425 2426 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2424 def status @status end |
#video_id ⇒ String
Video ID the video that this order is associated with if any.
Corresponds to the JSON property videoId
2429 2430 2431 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2429 def video_id @video_id end |
#vod_dates ⇒ Google::Apis::YoutubePartnerV1::DateRange
Range of time content is to be available for purchase.
Corresponds to the JSON property vodDates
2434 2435 2436 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2434 def vod_dates @vod_dates end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2441 def update!(**args) @avail_group_id = args[:avail_group_id] if args.key?(:avail_group_id) @channel_id = args[:channel_id] if args.key?(:channel_id) @content_type = args[:content_type] if args.key?(:content_type) @country = args[:country] if args.key?(:country) @custom_id = args[:custom_id] if args.key?(:custom_id) @dvd_release_date = args[:dvd_release_date] if args.key?(:dvd_release_date) @est_dates = args[:est_dates] if args.key?(:est_dates) @events = args[:events] if args.key?(:events) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @movie = args[:movie] if args.key?(:movie) @original_release_date = args[:original_release_date] if args.key?(:original_release_date) @priority = args[:priority] if args.key?(:priority) @production_house = args[:production_house] if args.key?(:production_house) @purchase_order = args[:purchase_order] if args.key?(:purchase_order) @requirements = args[:requirements] if args.key?(:requirements) @show = args[:show] if args.key?(:show) @status = args[:status] if args.key?(:status) @video_id = args[:video_id] if args.key?(:video_id) @vod_dates = args[:vod_dates] if args.key?(:vod_dates) end |