Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: generated/googleapis/lib/playmoviespartner/v1.dart

Issue 2649893002: Api-roll 44: 2017-01-23 (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « generated/googleapis/lib/monitoring/v3.dart ('k') | generated/googleapis/lib/pubsub/v1.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis.playmoviespartner.v1; 3 library googleapis.playmoviespartner.v1;
4 4
5 import 'dart:core' as core; 5 import 'dart:core' as core;
6 import 'dart:async' as async; 6 import 'dart:async' as async;
7 import 'dart:convert' as convert; 7 import 'dart:convert' as convert;
8 8
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
10 import 'package:http/http.dart' as http; 10 import 'package:http/http.dart' as http;
(...skipping 15 matching lines...) Expand all
26 26
27 PlaymoviespartnerApi(http.Client client, {core.String rootUrl: "https://playmo viespartner.googleapis.com/", core.String servicePath: ""}) : 27 PlaymoviespartnerApi(http.Client client, {core.String rootUrl: "https://playmo viespartner.googleapis.com/", core.String servicePath: ""}) :
28 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A GENT); 28 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A GENT);
29 } 29 }
30 30
31 31
32 class AccountsResourceApi { 32 class AccountsResourceApi {
33 final commons.ApiRequester _requester; 33 final commons.ApiRequester _requester;
34 34
35 AccountsAvailsResourceApi get avails => new AccountsAvailsResourceApi(_request er); 35 AccountsAvailsResourceApi get avails => new AccountsAvailsResourceApi(_request er);
36 AccountsComponentsResourceApi get components => new AccountsComponentsResource Api(_requester);
37 AccountsExperienceLocalesResourceApi get experienceLocales => new AccountsExpe rienceLocalesResourceApi(_requester);
38 AccountsOrdersResourceApi get orders => new AccountsOrdersResourceApi(_request er); 36 AccountsOrdersResourceApi get orders => new AccountsOrdersResourceApi(_request er);
39 AccountsStoreInfosResourceApi get storeInfos => new AccountsStoreInfosResource Api(_requester); 37 AccountsStoreInfosResourceApi get storeInfos => new AccountsStoreInfosResource Api(_requester);
40 38
41 AccountsResourceApi(commons.ApiRequester client) : 39 AccountsResourceApi(commons.ApiRequester client) :
42 _requester = client; 40 _requester = client;
43 } 41 }
44 42
45 43
46 class AccountsAvailsResourceApi { 44 class AccountsAvailsResourceApi {
47 final commons.ApiRequester _requester; 45 final commons.ApiRequester _requester;
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 queryParams: _queryParams, 183 queryParams: _queryParams,
186 uploadOptions: _uploadOptions, 184 uploadOptions: _uploadOptions,
187 uploadMedia: _uploadMedia, 185 uploadMedia: _uploadMedia,
188 downloadOptions: _downloadOptions); 186 downloadOptions: _downloadOptions);
189 return _response.then((data) => new ListAvailsResponse.fromJson(data)); 187 return _response.then((data) => new ListAvailsResponse.fromJson(data));
190 } 188 }
191 189
192 } 190 }
193 191
194 192
195 class AccountsComponentsResourceApi {
196 final commons.ApiRequester _requester;
197
198 AccountsComponentsTypeResourceApi get type => new AccountsComponentsTypeResour ceApi(_requester);
199
200 AccountsComponentsResourceApi(commons.ApiRequester client) :
201 _requester = client;
202
203 /**
204 * List Components owned or managed by the partner. See _Authentication and
205 * Authorization rules_ and _List methods rules_ for more information about
206 * this method.
207 *
208 * Request parameters:
209 *
210 * [accountId] - REQUIRED. See _General rules_ for more information about this
211 * field.
212 *
213 * [pageSize] - See _List methods rules_ for info about this field.
214 *
215 * [pageToken] - See _List methods rules_ for info about this field.
216 *
217 * [pphNames] - See _List methods rules_ for info about this field.
218 *
219 * [studioNames] - See _List methods rules_ for info about this field.
220 *
221 * [titleLevelEidr] - Filter Components that match a given title-level EIDR.
222 *
223 * [editLevelEidr] - Filter Components that match a given edit-level EIDR.
224 *
225 * [status] - Filter Components that match one of the given status.
226 *
227 * [customId] - Filter Components that match a case-insensitive
228 * partner-specific custom id.
229 *
230 * [inventoryId] - InventoryID available in Common Manifest.
231 *
232 * [presentationId] - PresentationID available in Common Manifest.
233 *
234 * [playableSequenceId] - PlayableSequenceID available in Common Manifest.
235 *
236 * [elId] - Experience ID, as defined by Google.
237 *
238 * [altCutId] - Filter Components that match a case-insensitive,
239 * partner-specific Alternative Cut ID.
240 *
241 * [filename] - Filter Components that match a case-insensitive substring of
242 * the physical name of the delivered file.
243 *
244 * Completes with a [ListComponentsResponse].
245 *
246 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
247 * error.
248 *
249 * If the used [http.Client] completes with an error when making a REST call,
250 * this method will complete with the same error.
251 */
252 async.Future<ListComponentsResponse> list(core.String accountId, {core.int pag eSize, core.String pageToken, core.List<core.String> pphNames, core.List<core.St ring> studioNames, core.String titleLevelEidr, core.String editLevelEidr, core.L ist<core.String> status, core.String customId, core.String inventoryId, core.Str ing presentationId, core.String playableSequenceId, core.String elId, core.Strin g altCutId, core.String filename}) {
253 var _url = null;
254 var _queryParams = new core.Map();
255 var _uploadMedia = null;
256 var _uploadOptions = null;
257 var _downloadOptions = commons.DownloadOptions.Metadata;
258 var _body = null;
259
260 if (accountId == null) {
261 throw new core.ArgumentError("Parameter accountId is required.");
262 }
263 if (pageSize != null) {
264 _queryParams["pageSize"] = ["${pageSize}"];
265 }
266 if (pageToken != null) {
267 _queryParams["pageToken"] = [pageToken];
268 }
269 if (pphNames != null) {
270 _queryParams["pphNames"] = pphNames;
271 }
272 if (studioNames != null) {
273 _queryParams["studioNames"] = studioNames;
274 }
275 if (titleLevelEidr != null) {
276 _queryParams["titleLevelEidr"] = [titleLevelEidr];
277 }
278 if (editLevelEidr != null) {
279 _queryParams["editLevelEidr"] = [editLevelEidr];
280 }
281 if (status != null) {
282 _queryParams["status"] = status;
283 }
284 if (customId != null) {
285 _queryParams["customId"] = [customId];
286 }
287 if (inventoryId != null) {
288 _queryParams["inventoryId"] = [inventoryId];
289 }
290 if (presentationId != null) {
291 _queryParams["presentationId"] = [presentationId];
292 }
293 if (playableSequenceId != null) {
294 _queryParams["playableSequenceId"] = [playableSequenceId];
295 }
296 if (elId != null) {
297 _queryParams["elId"] = [elId];
298 }
299 if (altCutId != null) {
300 _queryParams["altCutId"] = [altCutId];
301 }
302 if (filename != null) {
303 _queryParams["filename"] = [filename];
304 }
305
306 _url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/comp onents';
307
308 var _response = _requester.request(_url,
309 "GET",
310 body: _body,
311 queryParams: _queryParams,
312 uploadOptions: _uploadOptions,
313 uploadMedia: _uploadMedia,
314 downloadOptions: _downloadOptions);
315 return _response.then((data) => new ListComponentsResponse.fromJson(data));
316 }
317
318 }
319
320
321 class AccountsComponentsTypeResourceApi {
322 final commons.ApiRequester _requester;
323
324 AccountsComponentsTypeResourceApi(commons.ApiRequester client) :
325 _requester = client;
326
327 /**
328 * Get a Component given its id.
329 *
330 * Request parameters:
331 *
332 * [accountId] - REQUIRED. See _General rules_ for more information about this
333 * field.
334 *
335 * [componentId] - REQUIRED. Component ID.
336 *
337 * [type] - REQUIRED. Component Type.
338 * Possible string values are:
339 * - "COMPONENT_TYPE_UNSPECIFIED" : A COMPONENT_TYPE_UNSPECIFIED.
340 * - "VIDEO" : A VIDEO.
341 * - "AUDIO_20" : A AUDIO_20.
342 * - "AUDIO_51" : A AUDIO_51.
343 * - "SUBTITLE" : A SUBTITLE.
344 * - "ARTWORK" : A ARTWORK.
345 * - "METADATA" : A METADATA.
346 *
347 * Completes with a [Component].
348 *
349 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
350 * error.
351 *
352 * If the used [http.Client] completes with an error when making a REST call,
353 * this method will complete with the same error.
354 */
355 async.Future<Component> get(core.String accountId, core.String componentId, co re.String type) {
356 var _url = null;
357 var _queryParams = new core.Map();
358 var _uploadMedia = null;
359 var _uploadOptions = null;
360 var _downloadOptions = commons.DownloadOptions.Metadata;
361 var _body = null;
362
363 if (accountId == null) {
364 throw new core.ArgumentError("Parameter accountId is required.");
365 }
366 if (componentId == null) {
367 throw new core.ArgumentError("Parameter componentId is required.");
368 }
369 if (type == null) {
370 throw new core.ArgumentError("Parameter type is required.");
371 }
372
373 _url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/comp onents/' + commons.Escaper.ecapeVariable('$componentId') + '/type/' + commons.Es caper.ecapeVariable('$type');
374
375 var _response = _requester.request(_url,
376 "GET",
377 body: _body,
378 queryParams: _queryParams,
379 uploadOptions: _uploadOptions,
380 uploadMedia: _uploadMedia,
381 downloadOptions: _downloadOptions);
382 return _response.then((data) => new Component.fromJson(data));
383 }
384
385 }
386
387
388 class AccountsExperienceLocalesResourceApi {
389 final commons.ApiRequester _requester;
390
391 AccountsExperienceLocalesResourceApi(commons.ApiRequester client) :
392 _requester = client;
393
394 /**
395 * Get an ExperienceLocale given its id. See _Authentication and Authorization
396 * rules_ and _Get methods rules_ for more information about this method.
397 *
398 * Request parameters:
399 *
400 * [accountId] - REQUIRED. See _General rules_ for more information about this
401 * field.
402 *
403 * [elId] - REQUIRED. ExperienceLocale ID, as defined by Google.
404 *
405 * Completes with a [ExperienceLocale].
406 *
407 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
408 * error.
409 *
410 * If the used [http.Client] completes with an error when making a REST call,
411 * this method will complete with the same error.
412 */
413 async.Future<ExperienceLocale> get(core.String accountId, core.String elId) {
414 var _url = null;
415 var _queryParams = new core.Map();
416 var _uploadMedia = null;
417 var _uploadOptions = null;
418 var _downloadOptions = commons.DownloadOptions.Metadata;
419 var _body = null;
420
421 if (accountId == null) {
422 throw new core.ArgumentError("Parameter accountId is required.");
423 }
424 if (elId == null) {
425 throw new core.ArgumentError("Parameter elId is required.");
426 }
427
428 _url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/expe rienceLocales/' + commons.Escaper.ecapeVariable('$elId');
429
430 var _response = _requester.request(_url,
431 "GET",
432 body: _body,
433 queryParams: _queryParams,
434 uploadOptions: _uploadOptions,
435 uploadMedia: _uploadMedia,
436 downloadOptions: _downloadOptions);
437 return _response.then((data) => new ExperienceLocale.fromJson(data));
438 }
439
440 /**
441 * List ExperienceLocales owned or managed by the partner. See _Authentication
442 * and Authorization rules_ and _List methods rules_ for more information
443 * about this method.
444 *
445 * Request parameters:
446 *
447 * [accountId] - REQUIRED. See _General rules_ for more information about this
448 * field.
449 *
450 * [pageSize] - See _List methods rules_ for info about this field.
451 *
452 * [pageToken] - See _List methods rules_ for info about this field.
453 *
454 * [pphNames] - See _List methods rules_ for info about this field.
455 *
456 * [studioNames] - See _List methods rules_ for info about this field.
457 *
458 * [titleLevelEidr] - Filter ExperienceLocales that match a given title-level
459 * EIDR.
460 *
461 * [editLevelEidr] - Filter ExperienceLocales that match a given edit-level
462 * EIDR.
463 *
464 * [status] - Filter ExperienceLocales that match one of the given status.
465 *
466 * [customId] - Filter ExperienceLocales that match a case-insensitive,
467 * partner-specific custom id.
468 *
469 * [altCutId] - Filter ExperienceLocales that match a case-insensitive,
470 * partner-specific Alternative Cut ID.
471 *
472 * Completes with a [ListExperienceLocalesResponse].
473 *
474 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
475 * error.
476 *
477 * If the used [http.Client] completes with an error when making a REST call,
478 * this method will complete with the same error.
479 */
480 async.Future<ListExperienceLocalesResponse> list(core.String accountId, {core. int pageSize, core.String pageToken, core.List<core.String> pphNames, core.List< core.String> studioNames, core.String titleLevelEidr, core.String editLevelEidr, core.List<core.String> status, core.String customId, core.String altCutId}) {
481 var _url = null;
482 var _queryParams = new core.Map();
483 var _uploadMedia = null;
484 var _uploadOptions = null;
485 var _downloadOptions = commons.DownloadOptions.Metadata;
486 var _body = null;
487
488 if (accountId == null) {
489 throw new core.ArgumentError("Parameter accountId is required.");
490 }
491 if (pageSize != null) {
492 _queryParams["pageSize"] = ["${pageSize}"];
493 }
494 if (pageToken != null) {
495 _queryParams["pageToken"] = [pageToken];
496 }
497 if (pphNames != null) {
498 _queryParams["pphNames"] = pphNames;
499 }
500 if (studioNames != null) {
501 _queryParams["studioNames"] = studioNames;
502 }
503 if (titleLevelEidr != null) {
504 _queryParams["titleLevelEidr"] = [titleLevelEidr];
505 }
506 if (editLevelEidr != null) {
507 _queryParams["editLevelEidr"] = [editLevelEidr];
508 }
509 if (status != null) {
510 _queryParams["status"] = status;
511 }
512 if (customId != null) {
513 _queryParams["customId"] = [customId];
514 }
515 if (altCutId != null) {
516 _queryParams["altCutId"] = [altCutId];
517 }
518
519 _url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/expe rienceLocales';
520
521 var _response = _requester.request(_url,
522 "GET",
523 body: _body,
524 queryParams: _queryParams,
525 uploadOptions: _uploadOptions,
526 uploadMedia: _uploadMedia,
527 downloadOptions: _downloadOptions);
528 return _response.then((data) => new ListExperienceLocalesResponse.fromJson(d ata));
529 }
530
531 }
532
533
534 class AccountsOrdersResourceApi { 193 class AccountsOrdersResourceApi {
535 final commons.ApiRequester _requester; 194 final commons.ApiRequester _requester;
536 195
537 AccountsOrdersResourceApi(commons.ApiRequester client) : 196 AccountsOrdersResourceApi(commons.ApiRequester client) :
538 _requester = client; 197 _requester = client;
539 198
540 /** 199 /**
541 * Get an Order given its id. See _Authentication and Authorization rules_ and 200 * Get an Order given its id. See _Authentication and Authorization rules_ and
542 * _Get methods rules_ for more information about this method. 201 * _Get methods rules_ for more information about this method.
543 * 202 *
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 * OPTIONAL.TV Only. Title used by involved parties to refer to this episode. 559 * OPTIONAL.TV Only. Title used by involved parties to refer to this episode.
901 * Only available on TV Avails. Example: "Coding at Google". 560 * Only available on TV Avails. Example: "Coding at Google".
902 */ 561 */
903 core.String episodeTitleInternalAlias; 562 core.String episodeTitleInternalAlias;
904 /** 563 /**
905 * Indicates the format profile covered by the transaction. 564 * Indicates the format profile covered by the transaction.
906 * Possible string values are: 565 * Possible string values are:
907 * - "FORMAT_PROFILE_UNSPECIFIED" : A FORMAT_PROFILE_UNSPECIFIED. 566 * - "FORMAT_PROFILE_UNSPECIFIED" : A FORMAT_PROFILE_UNSPECIFIED.
908 * - "SD" : A SD. 567 * - "SD" : A SD.
909 * - "HD" : A HD. 568 * - "HD" : A HD.
569 * - "UHD" : A UHD.
910 */ 570 */
911 core.String formatProfile; 571 core.String formatProfile;
912 /** 572 /**
913 * Type of transaction. 573 * Type of transaction.
914 * Possible string values are: 574 * Possible string values are:
915 * - "LICENSE_TYPE_UNSPECIFIED" : A LICENSE_TYPE_UNSPECIFIED. 575 * - "LICENSE_TYPE_UNSPECIFIED" : A LICENSE_TYPE_UNSPECIFIED.
916 * - "EST" : A EST. 576 * - "EST" : A EST.
917 * - "VOD" : A VOD. 577 * - "VOD" : A VOD.
918 * - "SVOD" : A SVOD. 578 * - "SVOD" : A SVOD.
919 * - "POEST" : A POEST. 579 * - "POEST" : A POEST.
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
1231 if (videoId != null) { 891 if (videoId != null) {
1232 _json["videoId"] = videoId; 892 _json["videoId"] = videoId;
1233 } 893 }
1234 if (workType != null) { 894 if (workType != null) {
1235 _json["workType"] = workType; 895 _json["workType"] = workType;
1236 } 896 }
1237 return _json; 897 return _json;
1238 } 898 }
1239 } 899 }
1240 900
1241 /**
1242 * A Component is an element (audio, video, subtitle, artwork, trailer, etc...)
1243 * that is used in a set of ExperienceLocales. A Component is owned by a Studio
1244 * and managed either by the Studio itself or by one Post-Production House. Each
1245 * Component is identified by a `component_id` and its `type`.
1246 */
1247 class Component {
1248 /**
1249 * List of Alternative Cut IDs, sometimes available in lieu of the main
1250 * Edit-level EIDR IDs. This is not an EIDR ID, but a Partner-provided ID.
1251 * Example: "206346_79838".
1252 */
1253 core.List<core.String> altCutIds;
1254 /** Timestamp when the Component was approved. */
1255 core.String approvedTime;
1256 /**
1257 * Detail about the type of the Component.
1258 * Possible string values are:
1259 * - "COMPONENT_DETAIL_TYPE_UNSPECIFIED" : A
1260 * COMPONENT_DETAIL_TYPE_UNSPECIFIED.
1261 * - "COMPONENT_DETAIL_TYPE_NORMAL" : A COMPONENT_DETAIL_TYPE_NORMAL.
1262 * - "COMPONENT_DETAIL_TYPE_POSTER" : A COMPONENT_DETAIL_TYPE_POSTER.
1263 * - "COMPONENT_DETAIL_TYPE_PRIMARY" : A COMPONENT_DETAIL_TYPE_PRIMARY.
1264 * - "COMPONENT_DETAIL_TYPE_FORCED" : A COMPONENT_DETAIL_TYPE_FORCED.
1265 * - "COMPONENT_DETAIL_TYPE_DUBBED" : A COMPONENT_DETAIL_TYPE_DUBBED.
1266 * - "COMPONENT_DETAIL_TYPE_SDH" : A COMPONENT_DETAIL_TYPE_SDH.
1267 */
1268 core.String componentDetailType;
1269 /**
1270 * ID internally generated by Google to uniquely identify the Component.
1271 * Example: 'wteyrc_647xc'
1272 */
1273 core.String componentId;
1274 /**
1275 * List of custom IDs (defined by the partner) linked to the ExperienceLocale
1276 * using this Component. Example: "R86241"
1277 */
1278 core.List<core.String> customIds;
1279 /**
1280 * List of Edit-level EIDR IDs. Example: "10.5240/1489-49A2-3956-4B2D-FE16-6".
1281 */
1282 core.List<core.String> editLevelEidrs;
1283 /**
1284 * IDs internally generated by Google to uniquely identify the
1285 * ExperienceLocales for which the Component is used. Example: 'KRZiVjY9h7t'
1286 */
1287 core.List<core.String> elIds;
1288 /** File name of the Component when delivered. */
1289 core.String filename;
1290 /**
1291 * Language of the component, using the "BCP 47" format. Examples: "en",
1292 * "en-US", "es", "es-419".
1293 */
1294 core.String language;
1295 /**
1296 * Default Edit name, usually in the language of the country of origin.
1297 * Example: "Googlers, The".
1298 */
1299 core.String name;
1300 /**
1301 * A simpler representation of the priority.
1302 * Possible string values are:
1303 * - "NORMALIZED_PRIORITY_UNSPECIFIED" : A NORMALIZED_PRIORITY_UNSPECIFIED.
1304 * - "LOW_PRIORITY" : A LOW_PRIORITY.
1305 * - "HIGH_PRIORITY" : A HIGH_PRIORITY.
1306 */
1307 core.String normalizedPriority;
1308 /**
1309 * Type of the playable unit for which the Component is intended.
1310 * Possible string values are:
1311 * - "PLAYABLE_UNIT_TYPE_UNSPECIFIED" : A PLAYABLE_UNIT_TYPE_UNSPECIFIED.
1312 * - "PLAYABLE_UNIT_TYPE_FEATURE" : A PLAYABLE_UNIT_TYPE_FEATURE.
1313 * - "PLAYABLE_UNIT_TYPE_TRAILER" : A PLAYABLE_UNIT_TYPE_TRAILER.
1314 * - "PLAYBLE_UNIT_TYPE_BONUS_CONTENT" : A PLAYBLE_UNIT_TYPE_BONUS_CONTENT.
1315 */
1316 core.String playableUnitType;
1317 /** Name of the post-production house that manages the Component. */
1318 core.String pphName;
1319 /**
1320 * Component priority, as defined by Google. The higher the value, the higher
1321 * the priority.
1322 */
1323 core.double priority;
1324 /**
1325 * Processing errors during XML file parsing. Example: 'Invalid input file'
1326 */
1327 core.List<core.String> processingErrors;
1328 /** Timestamp when the Component was received. */
1329 core.String receivedTime;
1330 /** Notes explaining why a Component has been rejected. */
1331 core.String rejectionNote;
1332 /**
1333 * High-level status of the Component.
1334 * Possible string values are:
1335 * - "STATUS_UNSPECIFIED" : A STATUS_UNSPECIFIED.
1336 * - "STATUS_APPROVED" : A STATUS_APPROVED.
1337 * - "STATUS_FAILED" : A STATUS_FAILED.
1338 * - "STATUS_PROCESSING" : A STATUS_PROCESSING.
1339 * - "STATUS_UNFULFILLED" : A STATUS_UNFULFILLED.
1340 * - "STATUS_NOT_AVAILABLE" : A STATUS_NOT_AVAILABLE.
1341 */
1342 core.String status;
1343 /**
1344 * Detailed status of the Component
1345 * Possible string values are:
1346 * - "COMPONENT_STATUS_UNSPECIFIED" : A COMPONENT_STATUS_UNSPECIFIED.
1347 * - "COMPONENT_STATUS_QC_APPROVED" : A COMPONENT_STATUS_QC_APPROVED.
1348 * - "COMPONENT_STATUS_QC_REJECTION" : A COMPONENT_STATUS_QC_REJECTION.
1349 * - "COMPONENT_STATUS_FILE_REJECTION" : A COMPONENT_STATUS_FILE_REJECTION.
1350 * - "COMPONENT_STATUS_FILE_PROCESSING" : A COMPONENT_STATUS_FILE_PROCESSING.
1351 * - "COMPONENT_STATUS_READY_FOR_QC" : A COMPONENT_STATUS_READY_FOR_QC.
1352 */
1353 core.String statusDetail;
1354 /** Name of the studio that owns the Component. */
1355 core.String studioName;
1356 /**
1357 * List of Title-level EIDR IDs. Example:
1358 * "10.5240/1489-49A2-3956-4B2D-FE16-5".
1359 */
1360 core.List<core.String> titleLevelEidrs;
1361 /**
1362 * Type of the Component. Example: AUDIO_51
1363 * Possible string values are:
1364 * - "COMPONENT_TYPE_UNSPECIFIED" : A COMPONENT_TYPE_UNSPECIFIED.
1365 * - "VIDEO" : A VIDEO.
1366 * - "AUDIO_20" : A AUDIO_20.
1367 * - "AUDIO_51" : A AUDIO_51.
1368 * - "SUBTITLE" : A SUBTITLE.
1369 * - "ARTWORK" : A ARTWORK.
1370 * - "METADATA" : A METADATA.
1371 */
1372 core.String type;
1373
1374 Component();
1375
1376 Component.fromJson(core.Map _json) {
1377 if (_json.containsKey("altCutIds")) {
1378 altCutIds = _json["altCutIds"];
1379 }
1380 if (_json.containsKey("approvedTime")) {
1381 approvedTime = _json["approvedTime"];
1382 }
1383 if (_json.containsKey("componentDetailType")) {
1384 componentDetailType = _json["componentDetailType"];
1385 }
1386 if (_json.containsKey("componentId")) {
1387 componentId = _json["componentId"];
1388 }
1389 if (_json.containsKey("customIds")) {
1390 customIds = _json["customIds"];
1391 }
1392 if (_json.containsKey("editLevelEidrs")) {
1393 editLevelEidrs = _json["editLevelEidrs"];
1394 }
1395 if (_json.containsKey("elIds")) {
1396 elIds = _json["elIds"];
1397 }
1398 if (_json.containsKey("filename")) {
1399 filename = _json["filename"];
1400 }
1401 if (_json.containsKey("language")) {
1402 language = _json["language"];
1403 }
1404 if (_json.containsKey("name")) {
1405 name = _json["name"];
1406 }
1407 if (_json.containsKey("normalizedPriority")) {
1408 normalizedPriority = _json["normalizedPriority"];
1409 }
1410 if (_json.containsKey("playableUnitType")) {
1411 playableUnitType = _json["playableUnitType"];
1412 }
1413 if (_json.containsKey("pphName")) {
1414 pphName = _json["pphName"];
1415 }
1416 if (_json.containsKey("priority")) {
1417 priority = _json["priority"];
1418 }
1419 if (_json.containsKey("processingErrors")) {
1420 processingErrors = _json["processingErrors"];
1421 }
1422 if (_json.containsKey("receivedTime")) {
1423 receivedTime = _json["receivedTime"];
1424 }
1425 if (_json.containsKey("rejectionNote")) {
1426 rejectionNote = _json["rejectionNote"];
1427 }
1428 if (_json.containsKey("status")) {
1429 status = _json["status"];
1430 }
1431 if (_json.containsKey("statusDetail")) {
1432 statusDetail = _json["statusDetail"];
1433 }
1434 if (_json.containsKey("studioName")) {
1435 studioName = _json["studioName"];
1436 }
1437 if (_json.containsKey("titleLevelEidrs")) {
1438 titleLevelEidrs = _json["titleLevelEidrs"];
1439 }
1440 if (_json.containsKey("type")) {
1441 type = _json["type"];
1442 }
1443 }
1444
1445 core.Map toJson() {
1446 var _json = new core.Map();
1447 if (altCutIds != null) {
1448 _json["altCutIds"] = altCutIds;
1449 }
1450 if (approvedTime != null) {
1451 _json["approvedTime"] = approvedTime;
1452 }
1453 if (componentDetailType != null) {
1454 _json["componentDetailType"] = componentDetailType;
1455 }
1456 if (componentId != null) {
1457 _json["componentId"] = componentId;
1458 }
1459 if (customIds != null) {
1460 _json["customIds"] = customIds;
1461 }
1462 if (editLevelEidrs != null) {
1463 _json["editLevelEidrs"] = editLevelEidrs;
1464 }
1465 if (elIds != null) {
1466 _json["elIds"] = elIds;
1467 }
1468 if (filename != null) {
1469 _json["filename"] = filename;
1470 }
1471 if (language != null) {
1472 _json["language"] = language;
1473 }
1474 if (name != null) {
1475 _json["name"] = name;
1476 }
1477 if (normalizedPriority != null) {
1478 _json["normalizedPriority"] = normalizedPriority;
1479 }
1480 if (playableUnitType != null) {
1481 _json["playableUnitType"] = playableUnitType;
1482 }
1483 if (pphName != null) {
1484 _json["pphName"] = pphName;
1485 }
1486 if (priority != null) {
1487 _json["priority"] = priority;
1488 }
1489 if (processingErrors != null) {
1490 _json["processingErrors"] = processingErrors;
1491 }
1492 if (receivedTime != null) {
1493 _json["receivedTime"] = receivedTime;
1494 }
1495 if (rejectionNote != null) {
1496 _json["rejectionNote"] = rejectionNote;
1497 }
1498 if (status != null) {
1499 _json["status"] = status;
1500 }
1501 if (statusDetail != null) {
1502 _json["statusDetail"] = statusDetail;
1503 }
1504 if (studioName != null) {
1505 _json["studioName"] = studioName;
1506 }
1507 if (titleLevelEidrs != null) {
1508 _json["titleLevelEidrs"] = titleLevelEidrs;
1509 }
1510 if (type != null) {
1511 _json["type"] = type;
1512 }
1513 return _json;
1514 }
1515 }
1516
1517 /**
1518 * An ExperienceLocale tracks the fulfillment of a Title in a country using a
1519 * specific language, when delivered using component-based delivery. For
1520 * example, a Title in Switzerland might have 3 ExperienceLocales: they both
1521 * share the same country ("CH"), but each has different languages ("de", "fr",
1522 * and "it"). Each ExperienceLocale is uniquely identified by an `el_id`, which
1523 * is generated by Google. Externally, an ExperienceLocale can also be
1524 * identified by partners using its EIDR IDs, AltCutID or `custom_id` (when
1525 * provided).
1526 */
1527 class ExperienceLocale {
1528 /**
1529 * Alternative Cut ID, sometimes available in lieu of the main Edit-level EIDR
1530 * ID. This is not an EIDR ID, but a Partner-provided ID. Example:
1531 * "206346_79838".
1532 */
1533 core.String altCutId;
1534 /** Timestamp when the ExperienceLocale was approved. */
1535 core.String approvedTime;
1536 /**
1537 * YouTube Channel ID linked to the ExperienceLocale. Example:
1538 * "UCRG64darCZhb".
1539 */
1540 core.String channelId;
1541 /**
1542 * Country where the ExperienceLocale is available, using the "ISO 3166-1
1543 * alpha-2" format. Example: "US".
1544 */
1545 core.String country;
1546 /** Timestamp when the ExperienceLocale was created. */
1547 core.String createdTime;
1548 /**
1549 * List of custom IDs (defined by the partner) linked to this
1550 * ExperienceLocale. Example: "R86241"
1551 */
1552 core.List<core.String> customIds;
1553 /**
1554 * Timestamp of the earliest start date of the Avails linked to this
1555 * ExperienceLocale.
1556 */
1557 core.String earliestAvailStartTime;
1558 /** Edit-level EIDR ID. Example: "10.5240/1489-49A2-3956-4B2D-FE16-6". */
1559 core.String editLevelEidr;
1560 /**
1561 * ID internally generated by Google to uniquely identify a ExperienceLocale.
1562 * Example: 'KRZiVjY9h7t'
1563 */
1564 core.String elId;
1565 /** InventoryID as defined in the EMA specs. */
1566 core.String inventoryId;
1567 /**
1568 * Language of the ExperienceLocale, using the "BCP 47" format. Examples:
1569 * "en", "en-US", "es", "es-419".
1570 */
1571 core.String language;
1572 /**
1573 * Default Edit name, usually in the language of the country of origin.
1574 * Example: "Googlers, The".
1575 */
1576 core.String name;
1577 /**
1578 * A simpler representation of the priority.
1579 * Possible string values are:
1580 * - "NORMALIZED_PRIORITY_UNSPECIFIED" : A NORMALIZED_PRIORITY_UNSPECIFIED.
1581 * - "LOW_PRIORITY" : A LOW_PRIORITY.
1582 * - "HIGH_PRIORITY" : A HIGH_PRIORITY.
1583 */
1584 core.String normalizedPriority;
1585 /** PlayableSequenceID as defined in the EMA specs. */
1586 core.String playableSequenceId;
1587 /** Name of the post-production houses that manage the ExperienceLocale. */
1588 core.List<core.String> pphNames;
1589 /** PresentationID as defined in the EMA specs. */
1590 core.String presentationId;
1591 /**
1592 * ExperienceLocale priority, as defined by Google. The higher the value, the
1593 * higher the priority. Example: 90
1594 */
1595 core.double priority;
1596 /**
1597 * High-level status of the ExperienceLocale.
1598 * Possible string values are:
1599 * - "STATUS_UNSPECIFIED" : A STATUS_UNSPECIFIED.
1600 * - "STATUS_APPROVED" : A STATUS_APPROVED.
1601 * - "STATUS_FAILED" : A STATUS_FAILED.
1602 * - "STATUS_PROCESSING" : A STATUS_PROCESSING.
1603 * - "STATUS_UNFULFILLED" : A STATUS_UNFULFILLED.
1604 * - "STATUS_NOT_AVAILABLE" : A STATUS_NOT_AVAILABLE.
1605 */
1606 core.String status;
1607 /** Name of the studio that owns the ExperienceLocale. */
1608 core.String studioName;
1609 /** Title-level EIDR ID. Example: "10.5240/1489-49A2-3956-4B2D-FE16-5". */
1610 core.String titleLevelEidr;
1611 /**
1612 * Trailer ID, as defined by Google, linked to the trailer video in the
1613 * ExperienceLocale. Example: 'gtry457_tr'.
1614 */
1615 core.String trailerId;
1616 /**
1617 * Type of the Edit linked to the ExperienceLocale.
1618 * Possible string values are:
1619 * - "TITLE_TYPE_UNSPECIFIED" : A TITLE_TYPE_UNSPECIFIED.
1620 * - "MOVIE" : A MOVIE.
1621 * - "SEASON" : A SEASON.
1622 * - "EPISODE" : A EPISODE.
1623 * - "BUNDLE" : A BUNDLE.
1624 */
1625 core.String type;
1626 /**
1627 * Video ID, as defined by Google, linked to the feature video in the
1628 * ExperienceLocale. Example: 'gtry456_xc'.
1629 */
1630 core.String videoId;
1631
1632 ExperienceLocale();
1633
1634 ExperienceLocale.fromJson(core.Map _json) {
1635 if (_json.containsKey("altCutId")) {
1636 altCutId = _json["altCutId"];
1637 }
1638 if (_json.containsKey("approvedTime")) {
1639 approvedTime = _json["approvedTime"];
1640 }
1641 if (_json.containsKey("channelId")) {
1642 channelId = _json["channelId"];
1643 }
1644 if (_json.containsKey("country")) {
1645 country = _json["country"];
1646 }
1647 if (_json.containsKey("createdTime")) {
1648 createdTime = _json["createdTime"];
1649 }
1650 if (_json.containsKey("customIds")) {
1651 customIds = _json["customIds"];
1652 }
1653 if (_json.containsKey("earliestAvailStartTime")) {
1654 earliestAvailStartTime = _json["earliestAvailStartTime"];
1655 }
1656 if (_json.containsKey("editLevelEidr")) {
1657 editLevelEidr = _json["editLevelEidr"];
1658 }
1659 if (_json.containsKey("elId")) {
1660 elId = _json["elId"];
1661 }
1662 if (_json.containsKey("inventoryId")) {
1663 inventoryId = _json["inventoryId"];
1664 }
1665 if (_json.containsKey("language")) {
1666 language = _json["language"];
1667 }
1668 if (_json.containsKey("name")) {
1669 name = _json["name"];
1670 }
1671 if (_json.containsKey("normalizedPriority")) {
1672 normalizedPriority = _json["normalizedPriority"];
1673 }
1674 if (_json.containsKey("playableSequenceId")) {
1675 playableSequenceId = _json["playableSequenceId"];
1676 }
1677 if (_json.containsKey("pphNames")) {
1678 pphNames = _json["pphNames"];
1679 }
1680 if (_json.containsKey("presentationId")) {
1681 presentationId = _json["presentationId"];
1682 }
1683 if (_json.containsKey("priority")) {
1684 priority = _json["priority"];
1685 }
1686 if (_json.containsKey("status")) {
1687 status = _json["status"];
1688 }
1689 if (_json.containsKey("studioName")) {
1690 studioName = _json["studioName"];
1691 }
1692 if (_json.containsKey("titleLevelEidr")) {
1693 titleLevelEidr = _json["titleLevelEidr"];
1694 }
1695 if (_json.containsKey("trailerId")) {
1696 trailerId = _json["trailerId"];
1697 }
1698 if (_json.containsKey("type")) {
1699 type = _json["type"];
1700 }
1701 if (_json.containsKey("videoId")) {
1702 videoId = _json["videoId"];
1703 }
1704 }
1705
1706 core.Map toJson() {
1707 var _json = new core.Map();
1708 if (altCutId != null) {
1709 _json["altCutId"] = altCutId;
1710 }
1711 if (approvedTime != null) {
1712 _json["approvedTime"] = approvedTime;
1713 }
1714 if (channelId != null) {
1715 _json["channelId"] = channelId;
1716 }
1717 if (country != null) {
1718 _json["country"] = country;
1719 }
1720 if (createdTime != null) {
1721 _json["createdTime"] = createdTime;
1722 }
1723 if (customIds != null) {
1724 _json["customIds"] = customIds;
1725 }
1726 if (earliestAvailStartTime != null) {
1727 _json["earliestAvailStartTime"] = earliestAvailStartTime;
1728 }
1729 if (editLevelEidr != null) {
1730 _json["editLevelEidr"] = editLevelEidr;
1731 }
1732 if (elId != null) {
1733 _json["elId"] = elId;
1734 }
1735 if (inventoryId != null) {
1736 _json["inventoryId"] = inventoryId;
1737 }
1738 if (language != null) {
1739 _json["language"] = language;
1740 }
1741 if (name != null) {
1742 _json["name"] = name;
1743 }
1744 if (normalizedPriority != null) {
1745 _json["normalizedPriority"] = normalizedPriority;
1746 }
1747 if (playableSequenceId != null) {
1748 _json["playableSequenceId"] = playableSequenceId;
1749 }
1750 if (pphNames != null) {
1751 _json["pphNames"] = pphNames;
1752 }
1753 if (presentationId != null) {
1754 _json["presentationId"] = presentationId;
1755 }
1756 if (priority != null) {
1757 _json["priority"] = priority;
1758 }
1759 if (status != null) {
1760 _json["status"] = status;
1761 }
1762 if (studioName != null) {
1763 _json["studioName"] = studioName;
1764 }
1765 if (titleLevelEidr != null) {
1766 _json["titleLevelEidr"] = titleLevelEidr;
1767 }
1768 if (trailerId != null) {
1769 _json["trailerId"] = trailerId;
1770 }
1771 if (type != null) {
1772 _json["type"] = type;
1773 }
1774 if (videoId != null) {
1775 _json["videoId"] = videoId;
1776 }
1777 return _json;
1778 }
1779 }
1780
1781 /** Response to the 'ListAvails' method. */ 901 /** Response to the 'ListAvails' method. */
1782 class ListAvailsResponse { 902 class ListAvailsResponse {
1783 /** List of Avails that match the request criteria. */ 903 /** List of Avails that match the request criteria. */
1784 core.List<Avail> avails; 904 core.List<Avail> avails;
1785 /** See _List methods rules_ for info about this field. */ 905 /** See _List methods rules_ for info about this field. */
1786 core.String nextPageToken; 906 core.String nextPageToken;
1787 /** See _List methods rules_ for more information about this field. */ 907 /** See _List methods rules_ for more information about this field. */
1788 core.int totalSize; 908 core.int totalSize;
1789 909
1790 ListAvailsResponse(); 910 ListAvailsResponse();
(...skipping 18 matching lines...) Expand all
1809 if (nextPageToken != null) { 929 if (nextPageToken != null) {
1810 _json["nextPageToken"] = nextPageToken; 930 _json["nextPageToken"] = nextPageToken;
1811 } 931 }
1812 if (totalSize != null) { 932 if (totalSize != null) {
1813 _json["totalSize"] = totalSize; 933 _json["totalSize"] = totalSize;
1814 } 934 }
1815 return _json; 935 return _json;
1816 } 936 }
1817 } 937 }
1818 938
1819 /** Response to the 'ListComponents' method. */
1820 class ListComponentsResponse {
1821 /** List of Components that match the request criteria. */
1822 core.List<Component> components;
1823 /** See _List methods rules_ for info about this field. */
1824 core.String nextPageToken;
1825 /** See _List methods rules_ for more information about this field. */
1826 core.int totalSize;
1827
1828 ListComponentsResponse();
1829
1830 ListComponentsResponse.fromJson(core.Map _json) {
1831 if (_json.containsKey("components")) {
1832 components = _json["components"].map((value) => new Component.fromJson(val ue)).toList();
1833 }
1834 if (_json.containsKey("nextPageToken")) {
1835 nextPageToken = _json["nextPageToken"];
1836 }
1837 if (_json.containsKey("totalSize")) {
1838 totalSize = _json["totalSize"];
1839 }
1840 }
1841
1842 core.Map toJson() {
1843 var _json = new core.Map();
1844 if (components != null) {
1845 _json["components"] = components.map((value) => (value).toJson()).toList() ;
1846 }
1847 if (nextPageToken != null) {
1848 _json["nextPageToken"] = nextPageToken;
1849 }
1850 if (totalSize != null) {
1851 _json["totalSize"] = totalSize;
1852 }
1853 return _json;
1854 }
1855 }
1856
1857 /** Response to the 'ListExperienceLocales' method. */
1858 class ListExperienceLocalesResponse {
1859 /** List of ExperienceLocales that match the request criteria. */
1860 core.List<ExperienceLocale> experienceLocales;
1861 /** See _List methods rules_ for info about this field. */
1862 core.String nextPageToken;
1863 /** See _List methods rules_ for more information about this field. */
1864 core.int totalSize;
1865
1866 ListExperienceLocalesResponse();
1867
1868 ListExperienceLocalesResponse.fromJson(core.Map _json) {
1869 if (_json.containsKey("experienceLocales")) {
1870 experienceLocales = _json["experienceLocales"].map((value) => new Experien ceLocale.fromJson(value)).toList();
1871 }
1872 if (_json.containsKey("nextPageToken")) {
1873 nextPageToken = _json["nextPageToken"];
1874 }
1875 if (_json.containsKey("totalSize")) {
1876 totalSize = _json["totalSize"];
1877 }
1878 }
1879
1880 core.Map toJson() {
1881 var _json = new core.Map();
1882 if (experienceLocales != null) {
1883 _json["experienceLocales"] = experienceLocales.map((value) => (value).toJs on()).toList();
1884 }
1885 if (nextPageToken != null) {
1886 _json["nextPageToken"] = nextPageToken;
1887 }
1888 if (totalSize != null) {
1889 _json["totalSize"] = totalSize;
1890 }
1891 return _json;
1892 }
1893 }
1894
1895 /** Response to the 'ListOrders' method. */ 939 /** Response to the 'ListOrders' method. */
1896 class ListOrdersResponse { 940 class ListOrdersResponse {
1897 /** See _List methods rules_ for info about this field. */ 941 /** See _List methods rules_ for info about this field. */
1898 core.String nextPageToken; 942 core.String nextPageToken;
1899 /** List of Orders that match the request criteria. */ 943 /** List of Orders that match the request criteria. */
1900 core.List<Order> orders; 944 core.List<Order> orders;
1901 /** See _List methods rules_ for more information about this field. */ 945 /** See _List methods rules_ for more information about this field. */
1902 core.int totalSize; 946 core.int totalSize;
1903 947
1904 ListOrdersResponse(); 948 ListOrdersResponse();
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
2499 } 1543 }
2500 if (type != null) { 1544 if (type != null) {
2501 _json["type"] = type; 1545 _json["type"] = type;
2502 } 1546 }
2503 if (videoId != null) { 1547 if (videoId != null) {
2504 _json["videoId"] = videoId; 1548 _json["videoId"] = videoId;
2505 } 1549 }
2506 return _json; 1550 return _json;
2507 } 1551 }
2508 } 1552 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/monitoring/v3.dart ('k') | generated/googleapis/lib/pubsub/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698