| Index: generated/googleapis/lib/playmoviespartner/v1.dart
|
| diff --git a/generated/googleapis/lib/playmoviespartner/v1.dart b/generated/googleapis/lib/playmoviespartner/v1.dart
|
| index 051f3460970cdad3c7f57c3e0d101a8a65405e6b..b5f9190d3caf63b03dba9e8fc9d0ea15fe331f92 100644
|
| --- a/generated/googleapis/lib/playmoviespartner/v1.dart
|
| +++ b/generated/googleapis/lib/playmoviespartner/v1.dart
|
| @@ -33,8 +33,6 @@ class AccountsResourceApi {
|
| final commons.ApiRequester _requester;
|
|
|
| AccountsAvailsResourceApi get avails => new AccountsAvailsResourceApi(_requester);
|
| - AccountsComponentsResourceApi get components => new AccountsComponentsResourceApi(_requester);
|
| - AccountsExperienceLocalesResourceApi get experienceLocales => new AccountsExperienceLocalesResourceApi(_requester);
|
| AccountsOrdersResourceApi get orders => new AccountsOrdersResourceApi(_requester);
|
| AccountsStoreInfosResourceApi get storeInfos => new AccountsStoreInfosResourceApi(_requester);
|
|
|
| @@ -192,345 +190,6 @@ class AccountsAvailsResourceApi {
|
| }
|
|
|
|
|
| -class AccountsComponentsResourceApi {
|
| - final commons.ApiRequester _requester;
|
| -
|
| - AccountsComponentsTypeResourceApi get type => new AccountsComponentsTypeResourceApi(_requester);
|
| -
|
| - AccountsComponentsResourceApi(commons.ApiRequester client) :
|
| - _requester = client;
|
| -
|
| - /**
|
| - * List Components owned or managed by the partner. See _Authentication and
|
| - * Authorization rules_ and _List methods rules_ for more information about
|
| - * this method.
|
| - *
|
| - * Request parameters:
|
| - *
|
| - * [accountId] - REQUIRED. See _General rules_ for more information about this
|
| - * field.
|
| - *
|
| - * [pageSize] - See _List methods rules_ for info about this field.
|
| - *
|
| - * [pageToken] - See _List methods rules_ for info about this field.
|
| - *
|
| - * [pphNames] - See _List methods rules_ for info about this field.
|
| - *
|
| - * [studioNames] - See _List methods rules_ for info about this field.
|
| - *
|
| - * [titleLevelEidr] - Filter Components that match a given title-level EIDR.
|
| - *
|
| - * [editLevelEidr] - Filter Components that match a given edit-level EIDR.
|
| - *
|
| - * [status] - Filter Components that match one of the given status.
|
| - *
|
| - * [customId] - Filter Components that match a case-insensitive
|
| - * partner-specific custom id.
|
| - *
|
| - * [inventoryId] - InventoryID available in Common Manifest.
|
| - *
|
| - * [presentationId] - PresentationID available in Common Manifest.
|
| - *
|
| - * [playableSequenceId] - PlayableSequenceID available in Common Manifest.
|
| - *
|
| - * [elId] - Experience ID, as defined by Google.
|
| - *
|
| - * [altCutId] - Filter Components that match a case-insensitive,
|
| - * partner-specific Alternative Cut ID.
|
| - *
|
| - * [filename] - Filter Components that match a case-insensitive substring of
|
| - * the physical name of the delivered file.
|
| - *
|
| - * Completes with a [ListComponentsResponse].
|
| - *
|
| - * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| - * error.
|
| - *
|
| - * If the used [http.Client] completes with an error when making a REST call,
|
| - * this method will complete with the same error.
|
| - */
|
| - async.Future<ListComponentsResponse> 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 inventoryId, core.String presentationId, core.String playableSequenceId, core.String elId, core.String altCutId, core.String filename}) {
|
| - var _url = null;
|
| - var _queryParams = new core.Map();
|
| - var _uploadMedia = null;
|
| - var _uploadOptions = null;
|
| - var _downloadOptions = commons.DownloadOptions.Metadata;
|
| - var _body = null;
|
| -
|
| - if (accountId == null) {
|
| - throw new core.ArgumentError("Parameter accountId is required.");
|
| - }
|
| - if (pageSize != null) {
|
| - _queryParams["pageSize"] = ["${pageSize}"];
|
| - }
|
| - if (pageToken != null) {
|
| - _queryParams["pageToken"] = [pageToken];
|
| - }
|
| - if (pphNames != null) {
|
| - _queryParams["pphNames"] = pphNames;
|
| - }
|
| - if (studioNames != null) {
|
| - _queryParams["studioNames"] = studioNames;
|
| - }
|
| - if (titleLevelEidr != null) {
|
| - _queryParams["titleLevelEidr"] = [titleLevelEidr];
|
| - }
|
| - if (editLevelEidr != null) {
|
| - _queryParams["editLevelEidr"] = [editLevelEidr];
|
| - }
|
| - if (status != null) {
|
| - _queryParams["status"] = status;
|
| - }
|
| - if (customId != null) {
|
| - _queryParams["customId"] = [customId];
|
| - }
|
| - if (inventoryId != null) {
|
| - _queryParams["inventoryId"] = [inventoryId];
|
| - }
|
| - if (presentationId != null) {
|
| - _queryParams["presentationId"] = [presentationId];
|
| - }
|
| - if (playableSequenceId != null) {
|
| - _queryParams["playableSequenceId"] = [playableSequenceId];
|
| - }
|
| - if (elId != null) {
|
| - _queryParams["elId"] = [elId];
|
| - }
|
| - if (altCutId != null) {
|
| - _queryParams["altCutId"] = [altCutId];
|
| - }
|
| - if (filename != null) {
|
| - _queryParams["filename"] = [filename];
|
| - }
|
| -
|
| - _url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/components';
|
| -
|
| - var _response = _requester.request(_url,
|
| - "GET",
|
| - body: _body,
|
| - queryParams: _queryParams,
|
| - uploadOptions: _uploadOptions,
|
| - uploadMedia: _uploadMedia,
|
| - downloadOptions: _downloadOptions);
|
| - return _response.then((data) => new ListComponentsResponse.fromJson(data));
|
| - }
|
| -
|
| -}
|
| -
|
| -
|
| -class AccountsComponentsTypeResourceApi {
|
| - final commons.ApiRequester _requester;
|
| -
|
| - AccountsComponentsTypeResourceApi(commons.ApiRequester client) :
|
| - _requester = client;
|
| -
|
| - /**
|
| - * Get a Component given its id.
|
| - *
|
| - * Request parameters:
|
| - *
|
| - * [accountId] - REQUIRED. See _General rules_ for more information about this
|
| - * field.
|
| - *
|
| - * [componentId] - REQUIRED. Component ID.
|
| - *
|
| - * [type] - REQUIRED. Component Type.
|
| - * Possible string values are:
|
| - * - "COMPONENT_TYPE_UNSPECIFIED" : A COMPONENT_TYPE_UNSPECIFIED.
|
| - * - "VIDEO" : A VIDEO.
|
| - * - "AUDIO_20" : A AUDIO_20.
|
| - * - "AUDIO_51" : A AUDIO_51.
|
| - * - "SUBTITLE" : A SUBTITLE.
|
| - * - "ARTWORK" : A ARTWORK.
|
| - * - "METADATA" : A METADATA.
|
| - *
|
| - * Completes with a [Component].
|
| - *
|
| - * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| - * error.
|
| - *
|
| - * If the used [http.Client] completes with an error when making a REST call,
|
| - * this method will complete with the same error.
|
| - */
|
| - async.Future<Component> get(core.String accountId, core.String componentId, core.String type) {
|
| - var _url = null;
|
| - var _queryParams = new core.Map();
|
| - var _uploadMedia = null;
|
| - var _uploadOptions = null;
|
| - var _downloadOptions = commons.DownloadOptions.Metadata;
|
| - var _body = null;
|
| -
|
| - if (accountId == null) {
|
| - throw new core.ArgumentError("Parameter accountId is required.");
|
| - }
|
| - if (componentId == null) {
|
| - throw new core.ArgumentError("Parameter componentId is required.");
|
| - }
|
| - if (type == null) {
|
| - throw new core.ArgumentError("Parameter type is required.");
|
| - }
|
| -
|
| - _url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/components/' + commons.Escaper.ecapeVariable('$componentId') + '/type/' + commons.Escaper.ecapeVariable('$type');
|
| -
|
| - var _response = _requester.request(_url,
|
| - "GET",
|
| - body: _body,
|
| - queryParams: _queryParams,
|
| - uploadOptions: _uploadOptions,
|
| - uploadMedia: _uploadMedia,
|
| - downloadOptions: _downloadOptions);
|
| - return _response.then((data) => new Component.fromJson(data));
|
| - }
|
| -
|
| -}
|
| -
|
| -
|
| -class AccountsExperienceLocalesResourceApi {
|
| - final commons.ApiRequester _requester;
|
| -
|
| - AccountsExperienceLocalesResourceApi(commons.ApiRequester client) :
|
| - _requester = client;
|
| -
|
| - /**
|
| - * Get an ExperienceLocale given its id. See _Authentication and Authorization
|
| - * rules_ and _Get methods rules_ for more information about this method.
|
| - *
|
| - * Request parameters:
|
| - *
|
| - * [accountId] - REQUIRED. See _General rules_ for more information about this
|
| - * field.
|
| - *
|
| - * [elId] - REQUIRED. ExperienceLocale ID, as defined by Google.
|
| - *
|
| - * Completes with a [ExperienceLocale].
|
| - *
|
| - * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| - * error.
|
| - *
|
| - * If the used [http.Client] completes with an error when making a REST call,
|
| - * this method will complete with the same error.
|
| - */
|
| - async.Future<ExperienceLocale> get(core.String accountId, core.String elId) {
|
| - var _url = null;
|
| - var _queryParams = new core.Map();
|
| - var _uploadMedia = null;
|
| - var _uploadOptions = null;
|
| - var _downloadOptions = commons.DownloadOptions.Metadata;
|
| - var _body = null;
|
| -
|
| - if (accountId == null) {
|
| - throw new core.ArgumentError("Parameter accountId is required.");
|
| - }
|
| - if (elId == null) {
|
| - throw new core.ArgumentError("Parameter elId is required.");
|
| - }
|
| -
|
| - _url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/experienceLocales/' + commons.Escaper.ecapeVariable('$elId');
|
| -
|
| - var _response = _requester.request(_url,
|
| - "GET",
|
| - body: _body,
|
| - queryParams: _queryParams,
|
| - uploadOptions: _uploadOptions,
|
| - uploadMedia: _uploadMedia,
|
| - downloadOptions: _downloadOptions);
|
| - return _response.then((data) => new ExperienceLocale.fromJson(data));
|
| - }
|
| -
|
| - /**
|
| - * List ExperienceLocales owned or managed by the partner. See _Authentication
|
| - * and Authorization rules_ and _List methods rules_ for more information
|
| - * about this method.
|
| - *
|
| - * Request parameters:
|
| - *
|
| - * [accountId] - REQUIRED. See _General rules_ for more information about this
|
| - * field.
|
| - *
|
| - * [pageSize] - See _List methods rules_ for info about this field.
|
| - *
|
| - * [pageToken] - See _List methods rules_ for info about this field.
|
| - *
|
| - * [pphNames] - See _List methods rules_ for info about this field.
|
| - *
|
| - * [studioNames] - See _List methods rules_ for info about this field.
|
| - *
|
| - * [titleLevelEidr] - Filter ExperienceLocales that match a given title-level
|
| - * EIDR.
|
| - *
|
| - * [editLevelEidr] - Filter ExperienceLocales that match a given edit-level
|
| - * EIDR.
|
| - *
|
| - * [status] - Filter ExperienceLocales that match one of the given status.
|
| - *
|
| - * [customId] - Filter ExperienceLocales that match a case-insensitive,
|
| - * partner-specific custom id.
|
| - *
|
| - * [altCutId] - Filter ExperienceLocales that match a case-insensitive,
|
| - * partner-specific Alternative Cut ID.
|
| - *
|
| - * Completes with a [ListExperienceLocalesResponse].
|
| - *
|
| - * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| - * error.
|
| - *
|
| - * If the used [http.Client] completes with an error when making a REST call,
|
| - * this method will complete with the same error.
|
| - */
|
| - 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}) {
|
| - var _url = null;
|
| - var _queryParams = new core.Map();
|
| - var _uploadMedia = null;
|
| - var _uploadOptions = null;
|
| - var _downloadOptions = commons.DownloadOptions.Metadata;
|
| - var _body = null;
|
| -
|
| - if (accountId == null) {
|
| - throw new core.ArgumentError("Parameter accountId is required.");
|
| - }
|
| - if (pageSize != null) {
|
| - _queryParams["pageSize"] = ["${pageSize}"];
|
| - }
|
| - if (pageToken != null) {
|
| - _queryParams["pageToken"] = [pageToken];
|
| - }
|
| - if (pphNames != null) {
|
| - _queryParams["pphNames"] = pphNames;
|
| - }
|
| - if (studioNames != null) {
|
| - _queryParams["studioNames"] = studioNames;
|
| - }
|
| - if (titleLevelEidr != null) {
|
| - _queryParams["titleLevelEidr"] = [titleLevelEidr];
|
| - }
|
| - if (editLevelEidr != null) {
|
| - _queryParams["editLevelEidr"] = [editLevelEidr];
|
| - }
|
| - if (status != null) {
|
| - _queryParams["status"] = status;
|
| - }
|
| - if (customId != null) {
|
| - _queryParams["customId"] = [customId];
|
| - }
|
| - if (altCutId != null) {
|
| - _queryParams["altCutId"] = [altCutId];
|
| - }
|
| -
|
| - _url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/experienceLocales';
|
| -
|
| - var _response = _requester.request(_url,
|
| - "GET",
|
| - body: _body,
|
| - queryParams: _queryParams,
|
| - uploadOptions: _uploadOptions,
|
| - uploadMedia: _uploadMedia,
|
| - downloadOptions: _downloadOptions);
|
| - return _response.then((data) => new ListExperienceLocalesResponse.fromJson(data));
|
| - }
|
| -
|
| -}
|
| -
|
| -
|
| class AccountsOrdersResourceApi {
|
| final commons.ApiRequester _requester;
|
|
|
| @@ -907,6 +566,7 @@ class Avail {
|
| * - "FORMAT_PROFILE_UNSPECIFIED" : A FORMAT_PROFILE_UNSPECIFIED.
|
| * - "SD" : A SD.
|
| * - "HD" : A HD.
|
| + * - "UHD" : A UHD.
|
| */
|
| core.String formatProfile;
|
| /**
|
| @@ -1238,546 +898,6 @@ class Avail {
|
| }
|
| }
|
|
|
| -/**
|
| - * A Component is an element (audio, video, subtitle, artwork, trailer, etc...)
|
| - * that is used in a set of ExperienceLocales. A Component is owned by a Studio
|
| - * and managed either by the Studio itself or by one Post-Production House. Each
|
| - * Component is identified by a `component_id` and its `type`.
|
| - */
|
| -class Component {
|
| - /**
|
| - * List of Alternative Cut IDs, sometimes available in lieu of the main
|
| - * Edit-level EIDR IDs. This is not an EIDR ID, but a Partner-provided ID.
|
| - * Example: "206346_79838".
|
| - */
|
| - core.List<core.String> altCutIds;
|
| - /** Timestamp when the Component was approved. */
|
| - core.String approvedTime;
|
| - /**
|
| - * Detail about the type of the Component.
|
| - * Possible string values are:
|
| - * - "COMPONENT_DETAIL_TYPE_UNSPECIFIED" : A
|
| - * COMPONENT_DETAIL_TYPE_UNSPECIFIED.
|
| - * - "COMPONENT_DETAIL_TYPE_NORMAL" : A COMPONENT_DETAIL_TYPE_NORMAL.
|
| - * - "COMPONENT_DETAIL_TYPE_POSTER" : A COMPONENT_DETAIL_TYPE_POSTER.
|
| - * - "COMPONENT_DETAIL_TYPE_PRIMARY" : A COMPONENT_DETAIL_TYPE_PRIMARY.
|
| - * - "COMPONENT_DETAIL_TYPE_FORCED" : A COMPONENT_DETAIL_TYPE_FORCED.
|
| - * - "COMPONENT_DETAIL_TYPE_DUBBED" : A COMPONENT_DETAIL_TYPE_DUBBED.
|
| - * - "COMPONENT_DETAIL_TYPE_SDH" : A COMPONENT_DETAIL_TYPE_SDH.
|
| - */
|
| - core.String componentDetailType;
|
| - /**
|
| - * ID internally generated by Google to uniquely identify the Component.
|
| - * Example: 'wteyrc_647xc'
|
| - */
|
| - core.String componentId;
|
| - /**
|
| - * List of custom IDs (defined by the partner) linked to the ExperienceLocale
|
| - * using this Component. Example: "R86241"
|
| - */
|
| - core.List<core.String> customIds;
|
| - /**
|
| - * List of Edit-level EIDR IDs. Example: "10.5240/1489-49A2-3956-4B2D-FE16-6".
|
| - */
|
| - core.List<core.String> editLevelEidrs;
|
| - /**
|
| - * IDs internally generated by Google to uniquely identify the
|
| - * ExperienceLocales for which the Component is used. Example: 'KRZiVjY9h7t'
|
| - */
|
| - core.List<core.String> elIds;
|
| - /** File name of the Component when delivered. */
|
| - core.String filename;
|
| - /**
|
| - * Language of the component, using the "BCP 47" format. Examples: "en",
|
| - * "en-US", "es", "es-419".
|
| - */
|
| - core.String language;
|
| - /**
|
| - * Default Edit name, usually in the language of the country of origin.
|
| - * Example: "Googlers, The".
|
| - */
|
| - core.String name;
|
| - /**
|
| - * A simpler representation of the priority.
|
| - * Possible string values are:
|
| - * - "NORMALIZED_PRIORITY_UNSPECIFIED" : A NORMALIZED_PRIORITY_UNSPECIFIED.
|
| - * - "LOW_PRIORITY" : A LOW_PRIORITY.
|
| - * - "HIGH_PRIORITY" : A HIGH_PRIORITY.
|
| - */
|
| - core.String normalizedPriority;
|
| - /**
|
| - * Type of the playable unit for which the Component is intended.
|
| - * Possible string values are:
|
| - * - "PLAYABLE_UNIT_TYPE_UNSPECIFIED" : A PLAYABLE_UNIT_TYPE_UNSPECIFIED.
|
| - * - "PLAYABLE_UNIT_TYPE_FEATURE" : A PLAYABLE_UNIT_TYPE_FEATURE.
|
| - * - "PLAYABLE_UNIT_TYPE_TRAILER" : A PLAYABLE_UNIT_TYPE_TRAILER.
|
| - * - "PLAYBLE_UNIT_TYPE_BONUS_CONTENT" : A PLAYBLE_UNIT_TYPE_BONUS_CONTENT.
|
| - */
|
| - core.String playableUnitType;
|
| - /** Name of the post-production house that manages the Component. */
|
| - core.String pphName;
|
| - /**
|
| - * Component priority, as defined by Google. The higher the value, the higher
|
| - * the priority.
|
| - */
|
| - core.double priority;
|
| - /**
|
| - * Processing errors during XML file parsing. Example: 'Invalid input file'
|
| - */
|
| - core.List<core.String> processingErrors;
|
| - /** Timestamp when the Component was received. */
|
| - core.String receivedTime;
|
| - /** Notes explaining why a Component has been rejected. */
|
| - core.String rejectionNote;
|
| - /**
|
| - * High-level status of the Component.
|
| - * Possible string values are:
|
| - * - "STATUS_UNSPECIFIED" : A STATUS_UNSPECIFIED.
|
| - * - "STATUS_APPROVED" : A STATUS_APPROVED.
|
| - * - "STATUS_FAILED" : A STATUS_FAILED.
|
| - * - "STATUS_PROCESSING" : A STATUS_PROCESSING.
|
| - * - "STATUS_UNFULFILLED" : A STATUS_UNFULFILLED.
|
| - * - "STATUS_NOT_AVAILABLE" : A STATUS_NOT_AVAILABLE.
|
| - */
|
| - core.String status;
|
| - /**
|
| - * Detailed status of the Component
|
| - * Possible string values are:
|
| - * - "COMPONENT_STATUS_UNSPECIFIED" : A COMPONENT_STATUS_UNSPECIFIED.
|
| - * - "COMPONENT_STATUS_QC_APPROVED" : A COMPONENT_STATUS_QC_APPROVED.
|
| - * - "COMPONENT_STATUS_QC_REJECTION" : A COMPONENT_STATUS_QC_REJECTION.
|
| - * - "COMPONENT_STATUS_FILE_REJECTION" : A COMPONENT_STATUS_FILE_REJECTION.
|
| - * - "COMPONENT_STATUS_FILE_PROCESSING" : A COMPONENT_STATUS_FILE_PROCESSING.
|
| - * - "COMPONENT_STATUS_READY_FOR_QC" : A COMPONENT_STATUS_READY_FOR_QC.
|
| - */
|
| - core.String statusDetail;
|
| - /** Name of the studio that owns the Component. */
|
| - core.String studioName;
|
| - /**
|
| - * List of Title-level EIDR IDs. Example:
|
| - * "10.5240/1489-49A2-3956-4B2D-FE16-5".
|
| - */
|
| - core.List<core.String> titleLevelEidrs;
|
| - /**
|
| - * Type of the Component. Example: AUDIO_51
|
| - * Possible string values are:
|
| - * - "COMPONENT_TYPE_UNSPECIFIED" : A COMPONENT_TYPE_UNSPECIFIED.
|
| - * - "VIDEO" : A VIDEO.
|
| - * - "AUDIO_20" : A AUDIO_20.
|
| - * - "AUDIO_51" : A AUDIO_51.
|
| - * - "SUBTITLE" : A SUBTITLE.
|
| - * - "ARTWORK" : A ARTWORK.
|
| - * - "METADATA" : A METADATA.
|
| - */
|
| - core.String type;
|
| -
|
| - Component();
|
| -
|
| - Component.fromJson(core.Map _json) {
|
| - if (_json.containsKey("altCutIds")) {
|
| - altCutIds = _json["altCutIds"];
|
| - }
|
| - if (_json.containsKey("approvedTime")) {
|
| - approvedTime = _json["approvedTime"];
|
| - }
|
| - if (_json.containsKey("componentDetailType")) {
|
| - componentDetailType = _json["componentDetailType"];
|
| - }
|
| - if (_json.containsKey("componentId")) {
|
| - componentId = _json["componentId"];
|
| - }
|
| - if (_json.containsKey("customIds")) {
|
| - customIds = _json["customIds"];
|
| - }
|
| - if (_json.containsKey("editLevelEidrs")) {
|
| - editLevelEidrs = _json["editLevelEidrs"];
|
| - }
|
| - if (_json.containsKey("elIds")) {
|
| - elIds = _json["elIds"];
|
| - }
|
| - if (_json.containsKey("filename")) {
|
| - filename = _json["filename"];
|
| - }
|
| - if (_json.containsKey("language")) {
|
| - language = _json["language"];
|
| - }
|
| - if (_json.containsKey("name")) {
|
| - name = _json["name"];
|
| - }
|
| - if (_json.containsKey("normalizedPriority")) {
|
| - normalizedPriority = _json["normalizedPriority"];
|
| - }
|
| - if (_json.containsKey("playableUnitType")) {
|
| - playableUnitType = _json["playableUnitType"];
|
| - }
|
| - if (_json.containsKey("pphName")) {
|
| - pphName = _json["pphName"];
|
| - }
|
| - if (_json.containsKey("priority")) {
|
| - priority = _json["priority"];
|
| - }
|
| - if (_json.containsKey("processingErrors")) {
|
| - processingErrors = _json["processingErrors"];
|
| - }
|
| - if (_json.containsKey("receivedTime")) {
|
| - receivedTime = _json["receivedTime"];
|
| - }
|
| - if (_json.containsKey("rejectionNote")) {
|
| - rejectionNote = _json["rejectionNote"];
|
| - }
|
| - if (_json.containsKey("status")) {
|
| - status = _json["status"];
|
| - }
|
| - if (_json.containsKey("statusDetail")) {
|
| - statusDetail = _json["statusDetail"];
|
| - }
|
| - if (_json.containsKey("studioName")) {
|
| - studioName = _json["studioName"];
|
| - }
|
| - if (_json.containsKey("titleLevelEidrs")) {
|
| - titleLevelEidrs = _json["titleLevelEidrs"];
|
| - }
|
| - if (_json.containsKey("type")) {
|
| - type = _json["type"];
|
| - }
|
| - }
|
| -
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| - if (altCutIds != null) {
|
| - _json["altCutIds"] = altCutIds;
|
| - }
|
| - if (approvedTime != null) {
|
| - _json["approvedTime"] = approvedTime;
|
| - }
|
| - if (componentDetailType != null) {
|
| - _json["componentDetailType"] = componentDetailType;
|
| - }
|
| - if (componentId != null) {
|
| - _json["componentId"] = componentId;
|
| - }
|
| - if (customIds != null) {
|
| - _json["customIds"] = customIds;
|
| - }
|
| - if (editLevelEidrs != null) {
|
| - _json["editLevelEidrs"] = editLevelEidrs;
|
| - }
|
| - if (elIds != null) {
|
| - _json["elIds"] = elIds;
|
| - }
|
| - if (filename != null) {
|
| - _json["filename"] = filename;
|
| - }
|
| - if (language != null) {
|
| - _json["language"] = language;
|
| - }
|
| - if (name != null) {
|
| - _json["name"] = name;
|
| - }
|
| - if (normalizedPriority != null) {
|
| - _json["normalizedPriority"] = normalizedPriority;
|
| - }
|
| - if (playableUnitType != null) {
|
| - _json["playableUnitType"] = playableUnitType;
|
| - }
|
| - if (pphName != null) {
|
| - _json["pphName"] = pphName;
|
| - }
|
| - if (priority != null) {
|
| - _json["priority"] = priority;
|
| - }
|
| - if (processingErrors != null) {
|
| - _json["processingErrors"] = processingErrors;
|
| - }
|
| - if (receivedTime != null) {
|
| - _json["receivedTime"] = receivedTime;
|
| - }
|
| - if (rejectionNote != null) {
|
| - _json["rejectionNote"] = rejectionNote;
|
| - }
|
| - if (status != null) {
|
| - _json["status"] = status;
|
| - }
|
| - if (statusDetail != null) {
|
| - _json["statusDetail"] = statusDetail;
|
| - }
|
| - if (studioName != null) {
|
| - _json["studioName"] = studioName;
|
| - }
|
| - if (titleLevelEidrs != null) {
|
| - _json["titleLevelEidrs"] = titleLevelEidrs;
|
| - }
|
| - if (type != null) {
|
| - _json["type"] = type;
|
| - }
|
| - return _json;
|
| - }
|
| -}
|
| -
|
| -/**
|
| - * An ExperienceLocale tracks the fulfillment of a Title in a country using a
|
| - * specific language, when delivered using component-based delivery. For
|
| - * example, a Title in Switzerland might have 3 ExperienceLocales: they both
|
| - * share the same country ("CH"), but each has different languages ("de", "fr",
|
| - * and "it"). Each ExperienceLocale is uniquely identified by an `el_id`, which
|
| - * is generated by Google. Externally, an ExperienceLocale can also be
|
| - * identified by partners using its EIDR IDs, AltCutID or `custom_id` (when
|
| - * provided).
|
| - */
|
| -class ExperienceLocale {
|
| - /**
|
| - * Alternative Cut ID, sometimes available in lieu of the main Edit-level EIDR
|
| - * ID. This is not an EIDR ID, but a Partner-provided ID. Example:
|
| - * "206346_79838".
|
| - */
|
| - core.String altCutId;
|
| - /** Timestamp when the ExperienceLocale was approved. */
|
| - core.String approvedTime;
|
| - /**
|
| - * YouTube Channel ID linked to the ExperienceLocale. Example:
|
| - * "UCRG64darCZhb".
|
| - */
|
| - core.String channelId;
|
| - /**
|
| - * Country where the ExperienceLocale is available, using the "ISO 3166-1
|
| - * alpha-2" format. Example: "US".
|
| - */
|
| - core.String country;
|
| - /** Timestamp when the ExperienceLocale was created. */
|
| - core.String createdTime;
|
| - /**
|
| - * List of custom IDs (defined by the partner) linked to this
|
| - * ExperienceLocale. Example: "R86241"
|
| - */
|
| - core.List<core.String> customIds;
|
| - /**
|
| - * Timestamp of the earliest start date of the Avails linked to this
|
| - * ExperienceLocale.
|
| - */
|
| - core.String earliestAvailStartTime;
|
| - /** Edit-level EIDR ID. Example: "10.5240/1489-49A2-3956-4B2D-FE16-6". */
|
| - core.String editLevelEidr;
|
| - /**
|
| - * ID internally generated by Google to uniquely identify a ExperienceLocale.
|
| - * Example: 'KRZiVjY9h7t'
|
| - */
|
| - core.String elId;
|
| - /** InventoryID as defined in the EMA specs. */
|
| - core.String inventoryId;
|
| - /**
|
| - * Language of the ExperienceLocale, using the "BCP 47" format. Examples:
|
| - * "en", "en-US", "es", "es-419".
|
| - */
|
| - core.String language;
|
| - /**
|
| - * Default Edit name, usually in the language of the country of origin.
|
| - * Example: "Googlers, The".
|
| - */
|
| - core.String name;
|
| - /**
|
| - * A simpler representation of the priority.
|
| - * Possible string values are:
|
| - * - "NORMALIZED_PRIORITY_UNSPECIFIED" : A NORMALIZED_PRIORITY_UNSPECIFIED.
|
| - * - "LOW_PRIORITY" : A LOW_PRIORITY.
|
| - * - "HIGH_PRIORITY" : A HIGH_PRIORITY.
|
| - */
|
| - core.String normalizedPriority;
|
| - /** PlayableSequenceID as defined in the EMA specs. */
|
| - core.String playableSequenceId;
|
| - /** Name of the post-production houses that manage the ExperienceLocale. */
|
| - core.List<core.String> pphNames;
|
| - /** PresentationID as defined in the EMA specs. */
|
| - core.String presentationId;
|
| - /**
|
| - * ExperienceLocale priority, as defined by Google. The higher the value, the
|
| - * higher the priority. Example: 90
|
| - */
|
| - core.double priority;
|
| - /**
|
| - * High-level status of the ExperienceLocale.
|
| - * Possible string values are:
|
| - * - "STATUS_UNSPECIFIED" : A STATUS_UNSPECIFIED.
|
| - * - "STATUS_APPROVED" : A STATUS_APPROVED.
|
| - * - "STATUS_FAILED" : A STATUS_FAILED.
|
| - * - "STATUS_PROCESSING" : A STATUS_PROCESSING.
|
| - * - "STATUS_UNFULFILLED" : A STATUS_UNFULFILLED.
|
| - * - "STATUS_NOT_AVAILABLE" : A STATUS_NOT_AVAILABLE.
|
| - */
|
| - core.String status;
|
| - /** Name of the studio that owns the ExperienceLocale. */
|
| - core.String studioName;
|
| - /** Title-level EIDR ID. Example: "10.5240/1489-49A2-3956-4B2D-FE16-5". */
|
| - core.String titleLevelEidr;
|
| - /**
|
| - * Trailer ID, as defined by Google, linked to the trailer video in the
|
| - * ExperienceLocale. Example: 'gtry457_tr'.
|
| - */
|
| - core.String trailerId;
|
| - /**
|
| - * Type of the Edit linked to the ExperienceLocale.
|
| - * Possible string values are:
|
| - * - "TITLE_TYPE_UNSPECIFIED" : A TITLE_TYPE_UNSPECIFIED.
|
| - * - "MOVIE" : A MOVIE.
|
| - * - "SEASON" : A SEASON.
|
| - * - "EPISODE" : A EPISODE.
|
| - * - "BUNDLE" : A BUNDLE.
|
| - */
|
| - core.String type;
|
| - /**
|
| - * Video ID, as defined by Google, linked to the feature video in the
|
| - * ExperienceLocale. Example: 'gtry456_xc'.
|
| - */
|
| - core.String videoId;
|
| -
|
| - ExperienceLocale();
|
| -
|
| - ExperienceLocale.fromJson(core.Map _json) {
|
| - if (_json.containsKey("altCutId")) {
|
| - altCutId = _json["altCutId"];
|
| - }
|
| - if (_json.containsKey("approvedTime")) {
|
| - approvedTime = _json["approvedTime"];
|
| - }
|
| - if (_json.containsKey("channelId")) {
|
| - channelId = _json["channelId"];
|
| - }
|
| - if (_json.containsKey("country")) {
|
| - country = _json["country"];
|
| - }
|
| - if (_json.containsKey("createdTime")) {
|
| - createdTime = _json["createdTime"];
|
| - }
|
| - if (_json.containsKey("customIds")) {
|
| - customIds = _json["customIds"];
|
| - }
|
| - if (_json.containsKey("earliestAvailStartTime")) {
|
| - earliestAvailStartTime = _json["earliestAvailStartTime"];
|
| - }
|
| - if (_json.containsKey("editLevelEidr")) {
|
| - editLevelEidr = _json["editLevelEidr"];
|
| - }
|
| - if (_json.containsKey("elId")) {
|
| - elId = _json["elId"];
|
| - }
|
| - if (_json.containsKey("inventoryId")) {
|
| - inventoryId = _json["inventoryId"];
|
| - }
|
| - if (_json.containsKey("language")) {
|
| - language = _json["language"];
|
| - }
|
| - if (_json.containsKey("name")) {
|
| - name = _json["name"];
|
| - }
|
| - if (_json.containsKey("normalizedPriority")) {
|
| - normalizedPriority = _json["normalizedPriority"];
|
| - }
|
| - if (_json.containsKey("playableSequenceId")) {
|
| - playableSequenceId = _json["playableSequenceId"];
|
| - }
|
| - if (_json.containsKey("pphNames")) {
|
| - pphNames = _json["pphNames"];
|
| - }
|
| - if (_json.containsKey("presentationId")) {
|
| - presentationId = _json["presentationId"];
|
| - }
|
| - if (_json.containsKey("priority")) {
|
| - priority = _json["priority"];
|
| - }
|
| - if (_json.containsKey("status")) {
|
| - status = _json["status"];
|
| - }
|
| - if (_json.containsKey("studioName")) {
|
| - studioName = _json["studioName"];
|
| - }
|
| - if (_json.containsKey("titleLevelEidr")) {
|
| - titleLevelEidr = _json["titleLevelEidr"];
|
| - }
|
| - if (_json.containsKey("trailerId")) {
|
| - trailerId = _json["trailerId"];
|
| - }
|
| - if (_json.containsKey("type")) {
|
| - type = _json["type"];
|
| - }
|
| - if (_json.containsKey("videoId")) {
|
| - videoId = _json["videoId"];
|
| - }
|
| - }
|
| -
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| - if (altCutId != null) {
|
| - _json["altCutId"] = altCutId;
|
| - }
|
| - if (approvedTime != null) {
|
| - _json["approvedTime"] = approvedTime;
|
| - }
|
| - if (channelId != null) {
|
| - _json["channelId"] = channelId;
|
| - }
|
| - if (country != null) {
|
| - _json["country"] = country;
|
| - }
|
| - if (createdTime != null) {
|
| - _json["createdTime"] = createdTime;
|
| - }
|
| - if (customIds != null) {
|
| - _json["customIds"] = customIds;
|
| - }
|
| - if (earliestAvailStartTime != null) {
|
| - _json["earliestAvailStartTime"] = earliestAvailStartTime;
|
| - }
|
| - if (editLevelEidr != null) {
|
| - _json["editLevelEidr"] = editLevelEidr;
|
| - }
|
| - if (elId != null) {
|
| - _json["elId"] = elId;
|
| - }
|
| - if (inventoryId != null) {
|
| - _json["inventoryId"] = inventoryId;
|
| - }
|
| - if (language != null) {
|
| - _json["language"] = language;
|
| - }
|
| - if (name != null) {
|
| - _json["name"] = name;
|
| - }
|
| - if (normalizedPriority != null) {
|
| - _json["normalizedPriority"] = normalizedPriority;
|
| - }
|
| - if (playableSequenceId != null) {
|
| - _json["playableSequenceId"] = playableSequenceId;
|
| - }
|
| - if (pphNames != null) {
|
| - _json["pphNames"] = pphNames;
|
| - }
|
| - if (presentationId != null) {
|
| - _json["presentationId"] = presentationId;
|
| - }
|
| - if (priority != null) {
|
| - _json["priority"] = priority;
|
| - }
|
| - if (status != null) {
|
| - _json["status"] = status;
|
| - }
|
| - if (studioName != null) {
|
| - _json["studioName"] = studioName;
|
| - }
|
| - if (titleLevelEidr != null) {
|
| - _json["titleLevelEidr"] = titleLevelEidr;
|
| - }
|
| - if (trailerId != null) {
|
| - _json["trailerId"] = trailerId;
|
| - }
|
| - if (type != null) {
|
| - _json["type"] = type;
|
| - }
|
| - if (videoId != null) {
|
| - _json["videoId"] = videoId;
|
| - }
|
| - return _json;
|
| - }
|
| -}
|
| -
|
| /** Response to the 'ListAvails' method. */
|
| class ListAvailsResponse {
|
| /** List of Avails that match the request criteria. */
|
| @@ -1816,82 +936,6 @@ class ListAvailsResponse {
|
| }
|
| }
|
|
|
| -/** Response to the 'ListComponents' method. */
|
| -class ListComponentsResponse {
|
| - /** List of Components that match the request criteria. */
|
| - core.List<Component> components;
|
| - /** See _List methods rules_ for info about this field. */
|
| - core.String nextPageToken;
|
| - /** See _List methods rules_ for more information about this field. */
|
| - core.int totalSize;
|
| -
|
| - ListComponentsResponse();
|
| -
|
| - ListComponentsResponse.fromJson(core.Map _json) {
|
| - if (_json.containsKey("components")) {
|
| - components = _json["components"].map((value) => new Component.fromJson(value)).toList();
|
| - }
|
| - if (_json.containsKey("nextPageToken")) {
|
| - nextPageToken = _json["nextPageToken"];
|
| - }
|
| - if (_json.containsKey("totalSize")) {
|
| - totalSize = _json["totalSize"];
|
| - }
|
| - }
|
| -
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| - if (components != null) {
|
| - _json["components"] = components.map((value) => (value).toJson()).toList();
|
| - }
|
| - if (nextPageToken != null) {
|
| - _json["nextPageToken"] = nextPageToken;
|
| - }
|
| - if (totalSize != null) {
|
| - _json["totalSize"] = totalSize;
|
| - }
|
| - return _json;
|
| - }
|
| -}
|
| -
|
| -/** Response to the 'ListExperienceLocales' method. */
|
| -class ListExperienceLocalesResponse {
|
| - /** List of ExperienceLocales that match the request criteria. */
|
| - core.List<ExperienceLocale> experienceLocales;
|
| - /** See _List methods rules_ for info about this field. */
|
| - core.String nextPageToken;
|
| - /** See _List methods rules_ for more information about this field. */
|
| - core.int totalSize;
|
| -
|
| - ListExperienceLocalesResponse();
|
| -
|
| - ListExperienceLocalesResponse.fromJson(core.Map _json) {
|
| - if (_json.containsKey("experienceLocales")) {
|
| - experienceLocales = _json["experienceLocales"].map((value) => new ExperienceLocale.fromJson(value)).toList();
|
| - }
|
| - if (_json.containsKey("nextPageToken")) {
|
| - nextPageToken = _json["nextPageToken"];
|
| - }
|
| - if (_json.containsKey("totalSize")) {
|
| - totalSize = _json["totalSize"];
|
| - }
|
| - }
|
| -
|
| - core.Map toJson() {
|
| - var _json = new core.Map();
|
| - if (experienceLocales != null) {
|
| - _json["experienceLocales"] = experienceLocales.map((value) => (value).toJson()).toList();
|
| - }
|
| - if (nextPageToken != null) {
|
| - _json["nextPageToken"] = nextPageToken;
|
| - }
|
| - if (totalSize != null) {
|
| - _json["totalSize"] = totalSize;
|
| - }
|
| - return _json;
|
| - }
|
| -}
|
| -
|
| /** Response to the 'ListOrders' method. */
|
| class ListOrdersResponse {
|
| /** See _List methods rules_ for info about this field. */
|
|
|