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.
2365 2366 2367 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2365 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
2262 2263 2264 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2262 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
2267 2268 2269 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2267 def channel_id @channel_id end |
#content_type ⇒ String
Type of content possible values are
- MOVIE
- SHOW
Corresponds to the JSON property
contentType
2274 2275 2276 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2274 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
2280 2281 2282 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2280 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
2286 2287 2288 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2286 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
2291 2292 2293 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2291 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
2296 2297 2298 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2296 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
2301 2302 2303 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2301 def events @events end |
#id ⇒ String
Order Id unique identifier for an order.
Corresponds to the JSON property id
2306 2307 2308 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2306 def id @id end |
#kind ⇒ String
Identifies this resource as order. Value: "youtubePartner#order".
Corresponds to the JSON property kind
2311 2312 2313 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2311 def kind @kind end |
#movie ⇒ String
Title if the order is type movie.
Corresponds to the JSON property movie
2316 2317 2318 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2316 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
2321 2322 2323 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2321 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
2327 2328 2329 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2327 def priority @priority end |
#production_house ⇒ String
Post production house that is to process this order
Corresponds to the JSON property productionHouse
2332 2333 2334 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2332 def production_house @production_house end |
#purchase_order ⇒ String
Youtube purchase order reference for the post production house.
Corresponds to the JSON property purchaseOrder
2337 2338 2339 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2337 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
2343 2344 2345 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2343 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
2348 2349 2350 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2348 def show @show end |
#status ⇒ String
The order's status.
Corresponds to the JSON property status
2353 2354 2355 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2353 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
2358 2359 2360 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2358 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
2363 2364 2365 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2363 def vod_dates @vod_dates end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 2370 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 |