Index: generated/googleapis/lib/playmoviespartner/v1.dart |
diff --git a/generated/googleapis/lib/playmoviespartner/v1.dart b/generated/googleapis/lib/playmoviespartner/v1.dart |
index 582393476549393cb74bcfdec2cb609bcbb96674..ad0c428e128cb82a9ca58f171c61d718b9d8bd70 100644 |
--- a/generated/googleapis/lib/playmoviespartner/v1.dart |
+++ b/generated/googleapis/lib/playmoviespartner/v1.dart |
@@ -9,62 +9,62 @@ import 'dart:convert' as convert; |
import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
import 'package:http/http.dart' as http; |
-export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show |
- ApiRequestError, DetailedApiRequestError; |
+export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' |
+ show ApiRequestError, DetailedApiRequestError; |
const core.String USER_AGENT = 'dart-api-client playmoviespartner/v1'; |
-/** Gets the delivery status of titles for Google Play Movies Partners. */ |
+/// Gets the delivery status of titles for Google Play Movies Partners. |
class PlaymoviespartnerApi { |
- /** View the digital assets you publish on Google Play Movies and TV */ |
- static const PlaymoviesPartnerReadonlyScope = "https://www.googleapis.com/auth/playmovies_partner.readonly"; |
- |
+ /// View the digital assets you publish on Google Play Movies and TV |
+ static const PlaymoviesPartnerReadonlyScope = |
+ "https://www.googleapis.com/auth/playmovies_partner.readonly"; |
final commons.ApiRequester _requester; |
AccountsResourceApi get accounts => new AccountsResourceApi(_requester); |
- PlaymoviespartnerApi(http.Client client, {core.String rootUrl: "https://playmoviespartner.googleapis.com/", core.String servicePath: ""}) : |
- _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT); |
+ PlaymoviespartnerApi(http.Client client, |
+ {core.String rootUrl: "https://playmoviespartner.googleapis.com/", |
+ core.String servicePath: ""}) |
+ : _requester = |
+ new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT); |
} |
- |
class AccountsResourceApi { |
final commons.ApiRequester _requester; |
- AccountsAvailsResourceApi get avails => new AccountsAvailsResourceApi(_requester); |
- AccountsOrdersResourceApi get orders => new AccountsOrdersResourceApi(_requester); |
- AccountsStoreInfosResourceApi get storeInfos => new AccountsStoreInfosResourceApi(_requester); |
+ AccountsAvailsResourceApi get avails => |
+ new AccountsAvailsResourceApi(_requester); |
+ AccountsOrdersResourceApi get orders => |
+ new AccountsOrdersResourceApi(_requester); |
+ AccountsStoreInfosResourceApi get storeInfos => |
+ new AccountsStoreInfosResourceApi(_requester); |
- AccountsResourceApi(commons.ApiRequester client) : |
- _requester = client; |
+ AccountsResourceApi(commons.ApiRequester client) : _requester = client; |
} |
- |
class AccountsAvailsResourceApi { |
final commons.ApiRequester _requester; |
- AccountsAvailsResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Get an Avail given its avail group id and avail id. |
- * |
- * Request parameters: |
- * |
- * [accountId] - REQUIRED. See _General rules_ for more information about this |
- * field. |
- * |
- * [availId] - REQUIRED. Avail ID. |
- * |
- * Completes with a [Avail]. |
- * |
- * 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. |
- */ |
+ AccountsAvailsResourceApi(commons.ApiRequester client) : _requester = client; |
+ |
+ /// Get an Avail given its avail group id and avail id. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [accountId] - REQUIRED. See _General rules_ for more information about |
+ /// this field. |
+ /// |
+ /// [availId] - REQUIRED. Avail ID. |
+ /// |
+ /// Completes with a [Avail]. |
+ /// |
+ /// 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<Avail> get(core.String accountId, core.String availId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -80,65 +80,74 @@ class AccountsAvailsResourceApi { |
throw new core.ArgumentError("Parameter availId is required."); |
} |
- _url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/avails/' + commons.Escaper.ecapeVariable('$availId'); |
+ _url = 'v1/accounts/' + |
+ commons.Escaper.ecapeVariable('$accountId') + |
+ '/avails/' + |
+ commons.Escaper.ecapeVariable('$availId'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Avail.fromJson(data)); |
} |
- /** |
- * List Avails 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. |
- * |
- * [pphNames] - See _List methods rules_ for info about this field. |
- * |
- * [altId] - Filter Avails that match a case-insensitive, partner-specific |
- * custom id. |
- * NOTE: this field is deprecated and will be removed on V2; `alt_ids` |
- * should be used instead. |
- * |
- * [studioNames] - See _List methods rules_ for info about this field. |
- * |
- * [territories] - Filter Avails that match (case-insensitive) any of the |
- * given country codes, |
- * using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us"). |
- * |
- * [title] - Filter that matches Avails with a `title_internal_alias`, |
- * `series_title_internal_alias`, `season_title_internal_alias`, |
- * or `episode_title_internal_alias` that contains the given |
- * case-insensitive title. |
- * |
- * [videoIds] - Filter Avails that match any of the given `video_id`s. |
- * |
- * [pageToken] - See _List methods rules_ for info about this field. |
- * |
- * [pageSize] - See _List methods rules_ for info about this field. |
- * |
- * [altIds] - Filter Avails that match (case-insensitive) any of the given |
- * partner-specific custom ids. |
- * |
- * Completes with a [ListAvailsResponse]. |
- * |
- * 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<ListAvailsResponse> list(core.String accountId, {core.List<core.String> pphNames, core.String altId, core.List<core.String> studioNames, core.List<core.String> territories, core.String title, core.List<core.String> videoIds, core.String pageToken, core.int pageSize, core.List<core.String> altIds}) { |
+ /// List Avails 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. |
+ /// |
+ /// [territories] - Filter Avails that match (case-insensitive) any of the |
+ /// given country codes, |
+ /// using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us"). |
+ /// |
+ /// [title] - Filter that matches Avails with a `title_internal_alias`, |
+ /// `series_title_internal_alias`, `season_title_internal_alias`, |
+ /// or `episode_title_internal_alias` that contains the given |
+ /// case-insensitive title. |
+ /// |
+ /// [videoIds] - Filter Avails that match any of the given `video_id`s. |
+ /// |
+ /// [pageToken] - See _List methods rules_ for info about this field. |
+ /// |
+ /// [pageSize] - See _List methods rules_ for info about this field. |
+ /// |
+ /// [altIds] - Filter Avails that match (case-insensitive) any of the given |
+ /// partner-specific custom ids. |
+ /// |
+ /// [pphNames] - See _List methods rules_ for info about this field. |
+ /// |
+ /// [altId] - Filter Avails that match a case-insensitive, partner-specific |
+ /// custom id. |
+ /// NOTE: this field is deprecated and will be removed on V2; `alt_ids` |
+ /// should be used instead. |
+ /// |
+ /// [studioNames] - See _List methods rules_ for info about this field. |
+ /// |
+ /// Completes with a [ListAvailsResponse]. |
+ /// |
+ /// 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<ListAvailsResponse> list(core.String accountId, |
+ {core.List<core.String> territories, |
+ core.String title, |
+ core.List<core.String> videoIds, |
+ core.String pageToken, |
+ core.int pageSize, |
+ core.List<core.String> altIds, |
+ core.List<core.String> pphNames, |
+ core.String altId, |
+ core.List<core.String> studioNames}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -149,15 +158,6 @@ class AccountsAvailsResourceApi { |
if (accountId == null) { |
throw new core.ArgumentError("Parameter accountId is required."); |
} |
- if (pphNames != null) { |
- _queryParams["pphNames"] = pphNames; |
- } |
- if (altId != null) { |
- _queryParams["altId"] = [altId]; |
- } |
- if (studioNames != null) { |
- _queryParams["studioNames"] = studioNames; |
- } |
if (territories != null) { |
_queryParams["territories"] = territories; |
} |
@@ -176,49 +176,54 @@ class AccountsAvailsResourceApi { |
if (altIds != null) { |
_queryParams["altIds"] = altIds; |
} |
+ if (pphNames != null) { |
+ _queryParams["pphNames"] = pphNames; |
+ } |
+ if (altId != null) { |
+ _queryParams["altId"] = [altId]; |
+ } |
+ if (studioNames != null) { |
+ _queryParams["studioNames"] = studioNames; |
+ } |
- _url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/avails'; |
+ _url = 'v1/accounts/' + |
+ commons.Escaper.ecapeVariable('$accountId') + |
+ '/avails'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new ListAvailsResponse.fromJson(data)); |
} |
- |
} |
- |
class AccountsOrdersResourceApi { |
final commons.ApiRequester _requester; |
- AccountsOrdersResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Get an Order 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. |
- * |
- * [orderId] - REQUIRED. Order ID. |
- * |
- * Completes with a [Order]. |
- * |
- * 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. |
- */ |
+ AccountsOrdersResourceApi(commons.ApiRequester client) : _requester = client; |
+ |
+ /// Get an Order 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. |
+ /// |
+ /// [orderId] - REQUIRED. Order ID. |
+ /// |
+ /// Completes with a [Order]. |
+ /// |
+ /// 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<Order> get(core.String accountId, core.String orderId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -234,57 +239,65 @@ class AccountsOrdersResourceApi { |
throw new core.ArgumentError("Parameter orderId is required."); |
} |
- _url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/orders/' + commons.Escaper.ecapeVariable('$orderId'); |
+ _url = 'v1/accounts/' + |
+ commons.Escaper.ecapeVariable('$accountId') + |
+ '/orders/' + |
+ commons.Escaper.ecapeVariable('$orderId'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Order.fromJson(data)); |
} |
- /** |
- * List Orders 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. |
- * |
- * [pageToken] - See _List methods rules_ for info about this field. |
- * |
- * [customId] - Filter Orders that match a case-insensitive, partner-specific |
- * custom id. |
- * |
- * [videoIds] - Filter Orders that match any of the given `video_id`s. |
- * |
- * [pageSize] - See _List methods rules_ for info about this field. |
- * |
- * [pphNames] - See _List methods rules_ for info about this field. |
- * |
- * [status] - Filter Orders that match one of the given status. |
- * |
- * [studioNames] - See _List methods rules_ for info about this field. |
- * |
- * [name] - Filter that matches Orders with a `name`, `show`, `season` or |
- * `episode` |
- * that contains the given case-insensitive name. |
- * |
- * Completes with a [ListOrdersResponse]. |
- * |
- * 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<ListOrdersResponse> list(core.String accountId, {core.String pageToken, core.String customId, core.List<core.String> videoIds, core.int pageSize, core.List<core.String> pphNames, core.List<core.String> status, core.List<core.String> studioNames, core.String name}) { |
+ /// List Orders 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. |
+ /// |
+ /// [pageToken] - See _List methods rules_ for info about this field. |
+ /// |
+ /// [customId] - Filter Orders that match a case-insensitive, |
+ /// partner-specific custom id. |
+ /// |
+ /// [videoIds] - Filter Orders that match any of the given `video_id`s. |
+ /// |
+ /// [pageSize] - See _List methods rules_ for info about this field. |
+ /// |
+ /// [pphNames] - See _List methods rules_ for info about this field. |
+ /// |
+ /// [status] - Filter Orders that match one of the given status. |
+ /// |
+ /// [studioNames] - See _List methods rules_ for info about this field. |
+ /// |
+ /// [name] - Filter that matches Orders with a `name`, `show`, `season` or |
+ /// `episode` |
+ /// that contains the given case-insensitive name. |
+ /// |
+ /// Completes with a [ListOrdersResponse]. |
+ /// |
+ /// 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<ListOrdersResponse> list(core.String accountId, |
+ {core.String pageToken, |
+ core.String customId, |
+ core.List<core.String> videoIds, |
+ core.int pageSize, |
+ core.List<core.String> pphNames, |
+ core.List<core.String> status, |
+ core.List<core.String> studioNames, |
+ core.String name}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -320,74 +333,83 @@ class AccountsOrdersResourceApi { |
_queryParams["name"] = [name]; |
} |
- _url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/orders'; |
+ _url = 'v1/accounts/' + |
+ commons.Escaper.ecapeVariable('$accountId') + |
+ '/orders'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new ListOrdersResponse.fromJson(data)); |
} |
- |
} |
- |
class AccountsStoreInfosResourceApi { |
final commons.ApiRequester _requester; |
- AccountsStoreInfosCountryResourceApi get country => new AccountsStoreInfosCountryResourceApi(_requester); |
- |
- AccountsStoreInfosResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * List StoreInfos 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. |
- * |
- * [seasonIds] - Filter StoreInfos that match any of the given `season_id`s. |
- * |
- * [videoIds] - Filter StoreInfos that match any of the given `video_id`s. |
- * |
- * [videoId] - Filter StoreInfos that match a given `video_id`. |
- * NOTE: this field is deprecated and will be removed on V2; `video_ids` |
- * should be used instead. |
- * |
- * [pageToken] - See _List methods rules_ for info about this field. |
- * |
- * [pageSize] - See _List methods rules_ for info about this field. |
- * |
- * [mids] - Filter StoreInfos that match any of the given `mid`s. |
- * |
- * [pphNames] - See _List methods rules_ for info about this field. |
- * |
- * [countries] - Filter StoreInfos that match (case-insensitive) any of the |
- * given country |
- * codes, using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us"). |
- * |
- * [name] - Filter that matches StoreInfos with a `name` or `show_name` |
- * that contains the given case-insensitive name. |
- * |
- * [studioNames] - See _List methods rules_ for info about this field. |
- * |
- * Completes with a [ListStoreInfosResponse]. |
- * |
- * 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<ListStoreInfosResponse> list(core.String accountId, {core.List<core.String> seasonIds, core.List<core.String> videoIds, core.String videoId, core.String pageToken, core.int pageSize, core.List<core.String> mids, core.List<core.String> pphNames, core.List<core.String> countries, core.String name, core.List<core.String> studioNames}) { |
+ AccountsStoreInfosCountryResourceApi get country => |
+ new AccountsStoreInfosCountryResourceApi(_requester); |
+ |
+ AccountsStoreInfosResourceApi(commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// List StoreInfos 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. |
+ /// |
+ /// [seasonIds] - Filter StoreInfos that match any of the given `season_id`s. |
+ /// |
+ /// [pageToken] - See _List methods rules_ for info about this field. |
+ /// |
+ /// [videoId] - Filter StoreInfos that match a given `video_id`. |
+ /// NOTE: this field is deprecated and will be removed on V2; `video_ids` |
+ /// should be used instead. |
+ /// |
+ /// [videoIds] - Filter StoreInfos that match any of the given `video_id`s. |
+ /// |
+ /// [pageSize] - See _List methods rules_ for info about this field. |
+ /// |
+ /// [mids] - Filter StoreInfos that match any of the given `mid`s. |
+ /// |
+ /// [pphNames] - See _List methods rules_ for info about this field. |
+ /// |
+ /// [countries] - Filter StoreInfos that match (case-insensitive) any of the |
+ /// given country |
+ /// codes, using the "ISO 3166-1 alpha-2" format (examples: "US", "us", |
+ /// "Us"). |
+ /// |
+ /// [studioNames] - See _List methods rules_ for info about this field. |
+ /// |
+ /// [name] - Filter that matches StoreInfos with a `name` or `show_name` |
+ /// that contains the given case-insensitive name. |
+ /// |
+ /// Completes with a [ListStoreInfosResponse]. |
+ /// |
+ /// 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<ListStoreInfosResponse> list(core.String accountId, |
+ {core.List<core.String> seasonIds, |
+ core.String pageToken, |
+ core.String videoId, |
+ core.List<core.String> videoIds, |
+ core.int pageSize, |
+ core.List<core.String> mids, |
+ core.List<core.String> pphNames, |
+ core.List<core.String> countries, |
+ core.List<core.String> studioNames, |
+ core.String name}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -401,14 +423,14 @@ class AccountsStoreInfosResourceApi { |
if (seasonIds != null) { |
_queryParams["seasonIds"] = seasonIds; |
} |
- if (videoIds != null) { |
- _queryParams["videoIds"] = videoIds; |
+ if (pageToken != null) { |
+ _queryParams["pageToken"] = [pageToken]; |
} |
if (videoId != null) { |
_queryParams["videoId"] = [videoId]; |
} |
- if (pageToken != null) { |
- _queryParams["pageToken"] = [pageToken]; |
+ if (videoIds != null) { |
+ _queryParams["videoIds"] = videoIds; |
} |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
@@ -422,58 +444,56 @@ class AccountsStoreInfosResourceApi { |
if (countries != null) { |
_queryParams["countries"] = countries; |
} |
- if (name != null) { |
- _queryParams["name"] = [name]; |
- } |
if (studioNames != null) { |
_queryParams["studioNames"] = studioNames; |
} |
+ if (name != null) { |
+ _queryParams["name"] = [name]; |
+ } |
- _url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/storeInfos'; |
+ _url = 'v1/accounts/' + |
+ commons.Escaper.ecapeVariable('$accountId') + |
+ '/storeInfos'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new ListStoreInfosResponse.fromJson(data)); |
} |
- |
} |
- |
class AccountsStoreInfosCountryResourceApi { |
final commons.ApiRequester _requester; |
- AccountsStoreInfosCountryResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Get a StoreInfo given its video id and country. |
- * |
- * 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. |
- * |
- * [videoId] - REQUIRED. Video ID. |
- * |
- * [country] - REQUIRED. Edit country. |
- * |
- * Completes with a [StoreInfo]. |
- * |
- * 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<StoreInfo> get(core.String accountId, core.String videoId, core.String country) { |
+ AccountsStoreInfosCountryResourceApi(commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// Get a StoreInfo given its video id and country. |
+ /// |
+ /// 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. |
+ /// |
+ /// [videoId] - REQUIRED. Video ID. |
+ /// |
+ /// [country] - REQUIRED. Edit country. |
+ /// |
+ /// Completes with a [StoreInfo]. |
+ /// |
+ /// 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<StoreInfo> get( |
+ core.String accountId, core.String videoId, core.String country) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -491,253 +511,224 @@ class AccountsStoreInfosCountryResourceApi { |
throw new core.ArgumentError("Parameter country is required."); |
} |
- _url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/storeInfos/' + commons.Escaper.ecapeVariable('$videoId') + '/country/' + commons.Escaper.ecapeVariable('$country'); |
+ _url = 'v1/accounts/' + |
+ commons.Escaper.ecapeVariable('$accountId') + |
+ '/storeInfos/' + |
+ commons.Escaper.ecapeVariable('$videoId') + |
+ '/country/' + |
+ commons.Escaper.ecapeVariable('$country'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new StoreInfo.fromJson(data)); |
} |
- |
} |
- |
- |
-/** |
- * An Avail describes the Availability Window of a specific Edit in a given |
- * country, which means the period Google is allowed to sell or rent the Edit. |
- * |
- * Avails are exposed in EMA format Version 1.6b (available at |
- * http://www.movielabs.com/md/avails/) |
- * |
- * Studios can see the Avails for the Titles they own. |
- * Post-production houses cannot see any Avails. |
- */ |
+/// An Avail describes the Availability Window of a specific Edit in a given |
+/// country, which means the period Google is allowed to sell or rent the Edit. |
+/// |
+/// Avails are exposed in EMA format Version 1.6b (available at |
+/// http://www.movielabs.com/md/avails/) |
+/// |
+/// Studios can see the Avails for the Titles they own. |
+/// Post-production houses cannot see any Avails. |
class Avail { |
- /** |
- * Other identifier referring to the Edit, as defined by partner. |
- * Example: "GOOGLER_2006" |
- */ |
+ /// Other identifier referring to the Edit, as defined by partner. |
+ /// Example: "GOOGLER_2006" |
core.String altId; |
- /** |
- * ID internally generated by Google to uniquely identify an Avail. |
- * Not part of EMA Specs. |
- */ |
+ |
+ /// ID internally generated by Google to uniquely identify an Avail. |
+ /// Not part of EMA Specs. |
core.String availId; |
- /** |
- * Communicating an exempt category as defined by FCC regulations. |
- * It is not required for non-US Avails. |
- * Example: "1" |
- */ |
+ |
+ /// Communicating an exempt category as defined by FCC regulations. |
+ /// It is not required for non-US Avails. |
+ /// Example: "1" |
core.String captionExemption; |
- /** Communicating if caption file will be delivered. */ |
+ |
+ /// Communicating if caption file will be delivered. |
core.bool captionIncluded; |
- /** |
- * Title Identifier. This should be the Title Level EIDR. |
- * Example: "10.5240/1489-49A2-3956-4B2D-FE16-5". |
- */ |
+ |
+ /// Title Identifier. This should be the Title Level EIDR. |
+ /// Example: "10.5240/1489-49A2-3956-4B2D-FE16-5". |
core.String contentId; |
- /** |
- * The name of the studio that owns the Edit referred in the Avail. |
- * This is the equivalent of `studio_name` in other resources, but it follows |
- * the EMA nomenclature. |
- * Example: "Google Films". |
- */ |
+ |
+ /// The name of the studio that owns the Edit referred in the Avail. |
+ /// This is the equivalent of `studio_name` in other resources, but it |
+ /// follows |
+ /// the EMA nomenclature. |
+ /// Example: "Google Films". |
core.String displayName; |
- /** |
- * Manifestation Identifier. This should be the Manifestation |
- * Level EIDR. |
- * Example: "10.2340/1489-49A2-3956-4B2D-FE16-7" |
- */ |
+ |
+ /// Manifestation Identifier. This should be the Manifestation |
+ /// Level EIDR. |
+ /// Example: "10.2340/1489-49A2-3956-4B2D-FE16-7" |
core.String encodeId; |
- /** |
- * End of term in YYYY-MM-DD format in the timezone of the country |
- * of the Avail. |
- * "Open" if no end date is available. |
- * Example: "2019-02-17" |
- */ |
+ |
+ /// End of term in YYYY-MM-DD format in the timezone of the country |
+ /// of the Avail. |
+ /// "Open" if no end date is available. |
+ /// Example: "2019-02-17" |
core.String end; |
- /** |
- * Other identifier referring to the episode, as defined by partner. |
- * Only available on TV avails. |
- * Example: "rs_googlers_s1_3". |
- */ |
+ |
+ /// Other identifier referring to the episode, as defined by partner. |
+ /// Only available on TV avails. |
+ /// Example: "rs_googlers_s1_3". |
core.String episodeAltId; |
- /** |
- * The number assigned to the episode within a season. |
- * Only available on TV Avails. |
- * Example: "3". |
- */ |
+ |
+ /// The number assigned to the episode within a season. |
+ /// Only available on TV Avails. |
+ /// Example: "3". |
core.String episodeNumber; |
- /** |
- * OPTIONAL.TV Only. Title used by involved parties to refer to this episode. |
- * Only available on TV Avails. |
- * Example: "Coding at Google". |
- */ |
+ |
+ /// OPTIONAL.TV Only. Title used by involved parties to refer to this |
+ /// episode. |
+ /// Only available on TV Avails. |
+ /// Example: "Coding at Google". |
core.String episodeTitleInternalAlias; |
- /** |
- * Indicates the format profile covered by the transaction. |
- * Possible string values are: |
- * - "FORMAT_PROFILE_UNSPECIFIED" : Value could not be determined, please |
- * contact technical support if |
- * it should. |
- * - "SD" : Standard-definition format. |
- * - "HD" : High-definition format. |
- * - "UHD" : 4K UHD. |
- */ |
+ |
+ /// Indicates the format profile covered by the transaction. |
+ /// Possible string values are: |
+ /// - "FORMAT_PROFILE_UNSPECIFIED" : Value could not be determined, please |
+ /// contact technical support if |
+ /// it should. |
+ /// - "SD" : Standard-definition format. |
+ /// - "HD" : High-definition format. |
+ /// - "UHD" : 4K UHD. |
core.String formatProfile; |
- /** |
- * Type of transaction. |
- * Possible string values are: |
- * - "LICENSE_TYPE_UNSPECIFIED" : Value could not be determined, please |
- * contact technical support if |
- * it should. |
- * - "EST" : Electronic Sell Through - purchase policy for unlimited viewing. |
- * - "VOD" : Video On Demand - rental policy for temporary viewing. |
- * - "SVOD" : Subscription Video On Demand - used for subscription platforms. |
- * Not supported on Google Play. |
- * - "POEST" : Pre-order Electronic Sell Through - pre-order purchase only |
- * window. |
- */ |
+ |
+ /// Type of transaction. |
+ /// Possible string values are: |
+ /// - "LICENSE_TYPE_UNSPECIFIED" : Value could not be determined, please |
+ /// contact technical support if |
+ /// it should. |
+ /// - "EST" : Electronic Sell Through - purchase policy for unlimited |
+ /// viewing. |
+ /// - "VOD" : Video On Demand - rental policy for temporary viewing. |
+ /// - "SVOD" : Subscription Video On Demand - used for subscription |
+ /// platforms. |
+ /// Not supported on Google Play. |
+ /// - "POEST" : Pre-order Electronic Sell Through - pre-order purchase only |
+ /// window. |
core.String licenseType; |
- /** |
- * Name of the post-production houses that manage the Avail. |
- * Not part of EMA Specs. |
- */ |
+ |
+ /// Name of the post-production houses that manage the Avail. |
+ /// Not part of EMA Specs. |
core.List<core.String> pphNames; |
- /** |
- * Type of pricing that should be applied to this Avail |
- * based on how the partner classify them. |
- * Example: "Tier", "WSP", "SRP", or "Category". |
- */ |
+ |
+ /// Type of pricing that should be applied to this Avail |
+ /// based on how the partner classify them. |
+ /// Example: "Tier", "WSP", "SRP", or "Category". |
core.String priceType; |
- /** |
- * Value to be applied to the pricing type. |
- * Example: "4" or "2.99" |
- */ |
+ |
+ /// Value to be applied to the pricing type. |
+ /// Example: "4" or "2.99" |
core.String priceValue; |
- /** |
- * Edit Identifier. This should be the Edit Level EIDR. |
- * Example: "10.2340/1489-49A2-3956-4B2D-FE16-6" |
- */ |
+ |
+ /// Edit Identifier. This should be the Edit Level EIDR. |
+ /// Example: "10.2340/1489-49A2-3956-4B2D-FE16-6" |
core.String productId; |
- /** |
- * Value representing the rating reason. |
- * Rating reasons should be formatted as per |
- * [EMA ratings spec](http://www.movielabs.com/md/ratings/) |
- * and comma-separated for inclusion of multiple reasons. |
- * Example: "L, S, V" |
- */ |
+ |
+ /// Value representing the rating reason. |
+ /// Rating reasons should be formatted as per |
+ /// [EMA ratings spec](http://www.movielabs.com/md/ratings/) |
+ /// and comma-separated for inclusion of multiple reasons. |
+ /// Example: "L, S, V" |
core.String ratingReason; |
- /** |
- * Rating system applied to the version of title within territory |
- * of Avail. |
- * Rating systems should be formatted as per |
- * [EMA ratings spec](http://www.movielabs.com/md/ratings/) |
- * Example: "MPAA" |
- */ |
+ |
+ /// Rating system applied to the version of title within territory |
+ /// of Avail. |
+ /// Rating systems should be formatted as per |
+ /// [EMA ratings spec](http://www.movielabs.com/md/ratings/) |
+ /// Example: "MPAA" |
core.String ratingSystem; |
- /** |
- * Value representing the rating. |
- * Ratings should be formatted as per http://www.movielabs.com/md/ratings/ |
- * Example: "PG" |
- */ |
+ |
+ /// Value representing the rating. |
+ /// Ratings should be formatted as per http://www.movielabs.com/md/ratings/ |
+ /// Example: "PG" |
core.String ratingValue; |
- /** |
- * Release date of the Title in earliest released territory. |
- * Typically it is just the year, but it is free-form as per EMA spec. |
- * Examples: "1979", "Oct 2014" |
- */ |
+ |
+ /// Release date of the Title in earliest released territory. |
+ /// Typically it is just the year, but it is free-form as per EMA spec. |
+ /// Examples: "1979", "Oct 2014" |
core.String releaseDate; |
- /** |
- * Other identifier referring to the season, as defined by partner. |
- * Only available on TV avails. |
- * Example: "rs_googlers_s1". |
- */ |
+ |
+ /// Other identifier referring to the season, as defined by partner. |
+ /// Only available on TV avails. |
+ /// Example: "rs_googlers_s1". |
core.String seasonAltId; |
- /** |
- * The number assigned to the season within a series. |
- * Only available on TV Avails. |
- * Example: "1". |
- */ |
+ |
+ /// The number assigned to the season within a series. |
+ /// Only available on TV Avails. |
+ /// Example: "1". |
core.String seasonNumber; |
- /** |
- * Title used by involved parties to refer to this season. |
- * Only available on TV Avails. |
- * Example: "Googlers, The". |
- */ |
+ |
+ /// Title used by involved parties to refer to this season. |
+ /// Only available on TV Avails. |
+ /// Example: "Googlers, The". |
core.String seasonTitleInternalAlias; |
- /** |
- * Other identifier referring to the series, as defined by partner. |
- * Only available on TV avails. |
- * Example: "rs_googlers". |
- */ |
+ |
+ /// Other identifier referring to the series, as defined by partner. |
+ /// Only available on TV avails. |
+ /// Example: "rs_googlers". |
core.String seriesAltId; |
- /** |
- * Title used by involved parties to refer to this series. |
- * Only available on TV Avails. |
- * Example: "Googlers, The". |
- */ |
+ |
+ /// Title used by involved parties to refer to this series. |
+ /// Only available on TV Avails. |
+ /// Example: "Googlers, The". |
core.String seriesTitleInternalAlias; |
- /** |
- * Start of term in YYYY-MM-DD format in the timezone of the |
- * country of the Avail. |
- * Example: "2013-05-14". |
- */ |
+ |
+ /// Start of term in YYYY-MM-DD format in the timezone of the |
+ /// country of the Avail. |
+ /// Example: "2013-05-14". |
core.String start; |
- /** |
- * Spoken language of the intended audience. |
- * Language shall be encoded in accordance with RFC 5646. |
- * Example: "fr". |
- */ |
+ |
+ /// Spoken language of the intended audience. |
+ /// Language shall be encoded in accordance with RFC 5646. |
+ /// Example: "fr". |
core.String storeLanguage; |
- /** |
- * First date an Edit could be publically announced as becoming |
- * available at a specific future date in territory of Avail. |
- * *Not* the Avail start date or pre-order start date. |
- * Format is YYYY-MM-DD. |
- * Only available for pre-orders. |
- * Example: "2012-12-10" |
- */ |
+ |
+ /// First date an Edit could be publically announced as becoming |
+ /// available at a specific future date in territory of Avail. |
+ /// *Not* the Avail start date or pre-order start date. |
+ /// Format is YYYY-MM-DD. |
+ /// Only available for pre-orders. |
+ /// Example: "2012-12-10" |
core.String suppressionLiftDate; |
- /** |
- * ISO 3166-1 alpha-2 country code for the country or territory |
- * of this Avail. |
- * For Avails, we use Territory in lieu of Country to comply with |
- * EMA specifications. |
- * But please note that Territory and Country identify the same thing. |
- * Example: "US". |
- */ |
+ |
+ /// ISO 3166-1 alpha-2 country code for the country or territory |
+ /// of this Avail. |
+ /// For Avails, we use Territory in lieu of Country to comply with |
+ /// EMA specifications. |
+ /// But please note that Territory and Country identify the same thing. |
+ /// Example: "US". |
core.String territory; |
- /** |
- * Title used by involved parties to refer to this content. |
- * Example: "Googlers, The". |
- * Only available on Movie Avails. |
- */ |
+ |
+ /// Title used by involved parties to refer to this content. |
+ /// Example: "Googlers, The". |
+ /// Only available on Movie Avails. |
core.String titleInternalAlias; |
- /** |
- * Google-generated ID identifying the video linked to this Avail, once |
- * delivered. |
- * Not part of EMA Specs. |
- * Example: 'gtry456_xc' |
- */ |
+ |
+ /// Google-generated ID identifying the video linked to this Avail, once |
+ /// delivered. |
+ /// Not part of EMA Specs. |
+ /// Example: 'gtry456_xc' |
core.String videoId; |
- /** |
- * Work type as enumerated in EMA. |
- * Possible string values are: |
- * - "TITLE_TYPE_UNSPECIFIED" : Value could not be determined, please contact |
- * technical support if |
- * it should. |
- * - "MOVIE" : A movie picture. |
- * - "SEASON" : A season of a TV show. |
- * - "EPISODE" : An episode of a TV show. |
- * - "BUNDLE" : A collection of movies, i.e. "Googlers 1 and Googlers, the |
- * return" |
- */ |
+ |
+ /// Work type as enumerated in EMA. |
+ /// Possible string values are: |
+ /// - "TITLE_TYPE_UNSPECIFIED" : Value could not be determined, please |
+ /// contact technical support if |
+ /// it should. |
+ /// - "MOVIE" : A movie picture. |
+ /// - "SEASON" : A season of a TV show. |
+ /// - "EPISODE" : An episode of a TV show. |
+ /// - "BUNDLE" : A collection of movies, i.e. "Googlers 1 and Googlers, the |
+ /// return" |
core.String workType; |
Avail(); |
@@ -845,7 +836,8 @@ class Avail { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (altId != null) { |
_json["altId"] = altId; |
} |
@@ -949,20 +941,23 @@ class Avail { |
} |
} |
-/** Response to the 'ListAvails' method. */ |
+/// Response to the 'ListAvails' method. |
class ListAvailsResponse { |
- /** List of Avails that match the request criteria. */ |
+ /// List of Avails that match the request criteria. |
core.List<Avail> avails; |
- /** See _List methods rules_ for info about this field. */ |
+ |
+ /// See _List methods rules_ for info about this field. |
core.String nextPageToken; |
- /** See _List methods rules_ for more information about this field. */ |
+ |
+ /// See _List methods rules_ for more information about this field. |
core.int totalSize; |
ListAvailsResponse(); |
ListAvailsResponse.fromJson(core.Map _json) { |
if (_json.containsKey("avails")) { |
- avails = _json["avails"].map((value) => new Avail.fromJson(value)).toList(); |
+ avails = |
+ _json["avails"].map((value) => new Avail.fromJson(value)).toList(); |
} |
if (_json.containsKey("nextPageToken")) { |
nextPageToken = _json["nextPageToken"]; |
@@ -973,7 +968,8 @@ class ListAvailsResponse { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (avails != null) { |
_json["avails"] = avails.map((value) => (value).toJson()).toList(); |
} |
@@ -987,13 +983,15 @@ class ListAvailsResponse { |
} |
} |
-/** Response to the 'ListOrders' method. */ |
+/// Response to the 'ListOrders' method. |
class ListOrdersResponse { |
- /** See _List methods rules_ for info about this field. */ |
+ /// See _List methods rules_ for info about this field. |
core.String nextPageToken; |
- /** List of Orders that match the request criteria. */ |
+ |
+ /// List of Orders that match the request criteria. |
core.List<Order> orders; |
- /** See _List methods rules_ for more information about this field. */ |
+ |
+ /// See _List methods rules_ for more information about this field. |
core.int totalSize; |
ListOrdersResponse(); |
@@ -1003,7 +1001,8 @@ class ListOrdersResponse { |
nextPageToken = _json["nextPageToken"]; |
} |
if (_json.containsKey("orders")) { |
- orders = _json["orders"].map((value) => new Order.fromJson(value)).toList(); |
+ orders = |
+ _json["orders"].map((value) => new Order.fromJson(value)).toList(); |
} |
if (_json.containsKey("totalSize")) { |
totalSize = _json["totalSize"]; |
@@ -1011,7 +1010,8 @@ class ListOrdersResponse { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (nextPageToken != null) { |
_json["nextPageToken"] = nextPageToken; |
} |
@@ -1025,13 +1025,15 @@ class ListOrdersResponse { |
} |
} |
-/** Response to the 'ListStoreInfos' method. */ |
+/// Response to the 'ListStoreInfos' method. |
class ListStoreInfosResponse { |
- /** See 'List methods rules' for info about this field. */ |
+ /// See 'List methods rules' for info about this field. |
core.String nextPageToken; |
- /** List of StoreInfos that match the request criteria. */ |
+ |
+ /// List of StoreInfos that match the request criteria. |
core.List<StoreInfo> storeInfos; |
- /** See _List methods rules_ for more information about this field. */ |
+ |
+ /// See _List methods rules_ for more information about this field. |
core.int totalSize; |
ListStoreInfosResponse(); |
@@ -1041,7 +1043,9 @@ class ListStoreInfosResponse { |
nextPageToken = _json["nextPageToken"]; |
} |
if (_json.containsKey("storeInfos")) { |
- storeInfos = _json["storeInfos"].map((value) => new StoreInfo.fromJson(value)).toList(); |
+ storeInfos = _json["storeInfos"] |
+ .map((value) => new StoreInfo.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("totalSize")) { |
totalSize = _json["totalSize"]; |
@@ -1049,12 +1053,14 @@ class ListStoreInfosResponse { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (nextPageToken != null) { |
_json["nextPageToken"] = nextPageToken; |
} |
if (storeInfos != null) { |
- _json["storeInfos"] = storeInfos.map((value) => (value).toJson()).toList(); |
+ _json["storeInfos"] = |
+ storeInfos.map((value) => (value).toJson()).toList(); |
} |
if (totalSize != null) { |
_json["totalSize"] = totalSize; |
@@ -1063,166 +1069,152 @@ class ListStoreInfosResponse { |
} |
} |
-/** |
- * An Order tracks the fulfillment of an Edit when delivered using the |
- * legacy, non-component-based delivery. |
- * |
- * Each Order is uniquely identified by an `order_id`, which is generated |
- * by Google. |
- * |
- * Externally, Orders can also be identified by partners using its `custom_id` |
- * (when provided). |
- */ |
+/// An Order tracks the fulfillment of an Edit when delivered using the |
+/// legacy, non-component-based delivery. |
+/// |
+/// Each Order is uniquely identified by an `order_id`, which is generated |
+/// by Google. |
+/// |
+/// Externally, Orders can also be identified by partners using its `custom_id` |
+/// (when provided). |
class Order { |
- /** Timestamp when the Order was approved. */ |
+ /// Timestamp when the Order was approved. |
core.String approvedTime; |
- /** |
- * YouTube Channel ID that should be used to fulfill the Order. |
- * Example: "UCRG64darCZhb". |
- */ |
+ |
+ /// YouTube Channel ID that should be used to fulfill the Order. |
+ /// Example: "UCRG64darCZhb". |
core.String channelId; |
- /** |
- * YouTube Channel Name that should be used to fulfill the Order. |
- * Example: "Google_channel". |
- */ |
+ |
+ /// YouTube Channel Name that should be used to fulfill the Order. |
+ /// Example: "Google_channel". |
core.String channelName; |
- /** |
- * Countries where the Order is available, |
- * using the "ISO 3166-1 alpha-2" format (example: "US"). |
- */ |
+ |
+ /// Countries where the Order is available, |
+ /// using the "ISO 3166-1 alpha-2" format (example: "US"). |
core.List<core.String> countries; |
- /** |
- * ID that can be used to externally identify an Order. |
- * This ID is provided by partners when submitting the Avails. |
- * Example: 'GOOGLER_2006' |
- */ |
+ |
+ /// ID that can be used to externally identify an Order. |
+ /// This ID is provided by partners when submitting the Avails. |
+ /// Example: 'GOOGLER_2006' |
core.String customId; |
- /** |
- * Timestamp of the earliest start date of the Avails |
- * linked to this Order. |
- */ |
+ |
+ /// Timestamp of the earliest start date of the Avails |
+ /// linked to this Order. |
core.String earliestAvailStartTime; |
- /** |
- * Default Episode name, |
- * usually in the language of the country of origin. |
- * Only available for TV Edits |
- * Example: "Googlers, The - Pilot". |
- */ |
+ |
+ /// Default Episode name, |
+ /// usually in the language of the country of origin. |
+ /// Only available for TV Edits |
+ /// Example: "Googlers, The - Pilot". |
core.String episodeName; |
- /** |
- * Legacy Order priority, as defined by Google. |
- * Example: 'P0' |
- */ |
+ |
+ /// Legacy Order priority, as defined by Google. |
+ /// Example: 'P0' |
core.String legacyPriority; |
- /** |
- * Default Edit name, |
- * usually in the language of the country of origin. |
- * Example: "Googlers, The". |
- */ |
+ |
+ /// 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" : Value could not be determined, please |
- * contact technical support if |
- * it should. |
- * - "LOW_PRIORITY" : A low-priority asset, typically from a library movie. |
- * - "HIGH_PRIORITY" : A high-priority asset, typically from a new release or |
- * box office hit. |
- */ |
+ |
+ /// A simpler representation of the priority. |
+ /// Possible string values are: |
+ /// - "NORMALIZED_PRIORITY_UNSPECIFIED" : Value could not be determined, |
+ /// please contact technical support if |
+ /// it should. |
+ /// - "LOW_PRIORITY" : A low-priority asset, typically from a library movie. |
+ /// - "HIGH_PRIORITY" : A high-priority asset, typically from a new release |
+ /// or box office hit. |
core.String normalizedPriority; |
- /** |
- * ID internally generated by Google to uniquely identify an Order. |
- * Example: 'abcde12_x' |
- */ |
+ |
+ /// ID internally generated by Google to uniquely identify an Order. |
+ /// Example: 'abcde12_x' |
core.String orderId; |
- /** Timestamp when the Order was created. */ |
+ |
+ /// Timestamp when the Order was created. |
core.String orderedTime; |
- /** Name of the post-production house that manages the Edit ordered. */ |
+ |
+ /// Name of the post-production house that manages the Edit ordered. |
core.String pphName; |
- /** |
- * Order priority, as defined by Google. |
- * The higher the value, the higher the priority. |
- * Example: 90 |
- */ |
+ |
+ /// Order priority, as defined by Google. |
+ /// The higher the value, the higher the priority. |
+ /// Example: 90 |
core.double priority; |
- /** Timestamp when the Order was fulfilled. */ |
+ |
+ /// Timestamp when the Order was fulfilled. |
core.String receivedTime; |
- /** |
- * Field explaining why an Order has been rejected. |
- * Example: "Trailer audio is 2ch mono, please re-deliver in stereo". |
- */ |
+ |
+ /// Field explaining why an Order has been rejected. |
+ /// Example: "Trailer audio is 2ch mono, please re-deliver in stereo". |
core.String rejectionNote; |
- /** |
- * Default Season name, |
- * usually in the language of the country of origin. |
- * Only available for TV Edits |
- * Example: "Googlers, The - A Brave New World". |
- */ |
+ |
+ /// Default Season name, |
+ /// usually in the language of the country of origin. |
+ /// Only available for TV Edits |
+ /// Example: "Googlers, The - A Brave New World". |
core.String seasonName; |
- /** |
- * Default Show name, |
- * usually in the language of the country of origin. |
- * Only available for TV Edits |
- * Example: "Googlers, The". |
- */ |
+ |
+ /// Default Show name, |
+ /// usually in the language of the country of origin. |
+ /// Only available for TV Edits |
+ /// Example: "Googlers, The". |
core.String showName; |
- /** |
- * High-level status of the order. |
- * Possible string values are: |
- * - "STATUS_UNSPECIFIED" : Value could not be determined, please contact |
- * technical support if |
- * it should. |
- * - "STATUS_APPROVED" : Approved by Google. |
- * - "STATUS_FAILED" : Waiting for partner to re-deliver the asset after a |
- * rejection by Google. |
- * - "STATUS_PROCESSING" : Waiting for Google to process the asset. |
- * - "STATUS_UNFULFILLED" : Waiting for partner to deliver the asset. |
- * - "STATUS_NOT_AVAILABLE" : Used when Status is not available (i.e: Orders |
- * for TV Seasons). |
- */ |
+ |
+ /// High-level status of the order. |
+ /// Possible string values are: |
+ /// - "STATUS_UNSPECIFIED" : Value could not be determined, please contact |
+ /// technical support if |
+ /// it should. |
+ /// - "STATUS_APPROVED" : Approved by Google. |
+ /// - "STATUS_FAILED" : Waiting for partner to re-deliver the asset after a |
+ /// rejection by Google. |
+ /// - "STATUS_PROCESSING" : Waiting for Google to process the asset. |
+ /// - "STATUS_UNFULFILLED" : Waiting for partner to deliver the asset. |
+ /// - "STATUS_NOT_AVAILABLE" : Used when Status is not available (i.e: Orders |
+ /// for TV Seasons). |
core.String status; |
- /** |
- * Detailed status of the order |
- * Possible string values are: |
- * - "ORDER_STATUS_UNSPECIFIED" : Value could not be determined, please |
- * contact technical support if |
- * it should. |
- * - "ORDER_STATUS_QC_APPROVED" : Approved by Google's Quality Control team. |
- * - "ORDER_STATUS_QC_REJECTION" : Rejected by Google's Quality Control team, |
- * pending partner redelivery. |
- * - "ORDER_STATUS_INTERNAL_FIX" : Internal error while processing the Order. |
- * - "ORDER_STATUS_OPEN_ORDER" : Waiting for initial delivery from partner. |
- * - "ORDER_STATUS_NOT_AVAILABLE" : Used on Orders that do not have Status, |
- * like TV Seasons. |
- * - "ORDER_STATUS_AWAITING_REDELIVERY" : Waiting for re-delivery from |
- * partner. |
- * - "ORDER_STATUS_READY_FOR_QC" : Asset was delivered by partner, but is |
- * being reviewed by Google's |
- * Quality Control team. |
- * - "ORDER_STATUS_FILE_PROCESSING" : Waiting for Google to process the asset. |
- */ |
+ |
+ /// Detailed status of the order |
+ /// Possible string values are: |
+ /// - "ORDER_STATUS_UNSPECIFIED" : Value could not be determined, please |
+ /// contact technical support if |
+ /// it should. |
+ /// - "ORDER_STATUS_QC_APPROVED" : Approved by Google's Quality Control team. |
+ /// - "ORDER_STATUS_QC_REJECTION" : Rejected by Google's Quality Control |
+ /// team, pending partner redelivery. |
+ /// - "ORDER_STATUS_INTERNAL_FIX" : Internal error while processing the |
+ /// Order. |
+ /// - "ORDER_STATUS_OPEN_ORDER" : Waiting for initial delivery from partner. |
+ /// - "ORDER_STATUS_NOT_AVAILABLE" : Used on Orders that do not have Status, |
+ /// like TV Seasons. |
+ /// - "ORDER_STATUS_AWAITING_REDELIVERY" : Waiting for re-delivery from |
+ /// partner. |
+ /// - "ORDER_STATUS_READY_FOR_QC" : Asset was delivered by partner, but is |
+ /// being reviewed by Google's |
+ /// Quality Control team. |
+ /// - "ORDER_STATUS_FILE_PROCESSING" : Waiting for Google to process the |
+ /// asset. |
core.String statusDetail; |
- /** Name of the studio that owns the Edit ordered. */ |
+ |
+ /// Name of the studio that owns the Edit ordered. |
core.String studioName; |
- /** |
- * Type of the Edit linked to the Order. |
- * Possible string values are: |
- * - "TITLE_TYPE_UNSPECIFIED" : Value could not be determined, please contact |
- * technical support if |
- * it should. |
- * - "MOVIE" : A movie picture. |
- * - "SEASON" : A season of a TV show. |
- * - "EPISODE" : An episode of a TV show. |
- * - "BUNDLE" : A collection of movies, i.e. "Googlers 1 and Googlers, the |
- * return" |
- */ |
+ |
+ /// Type of the Edit linked to the Order. |
+ /// Possible string values are: |
+ /// - "TITLE_TYPE_UNSPECIFIED" : Value could not be determined, please |
+ /// contact technical support if |
+ /// it should. |
+ /// - "MOVIE" : A movie picture. |
+ /// - "SEASON" : A season of a TV show. |
+ /// - "EPISODE" : An episode of a TV show. |
+ /// - "BUNDLE" : A collection of movies, i.e. "Googlers 1 and Googlers, the |
+ /// return" |
core.String type; |
- /** |
- * Google-generated ID identifying the video linked to this Order, once |
- * delivered. |
- * Example: 'gtry456_xc'. |
- */ |
+ |
+ /// Google-generated ID identifying the video linked to this Order, once |
+ /// delivered. |
+ /// Example: 'gtry456_xc'. |
core.String videoId; |
Order(); |
@@ -1300,7 +1292,8 @@ class Order { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (approvedTime != null) { |
_json["approvedTime"] = approvedTime; |
} |
@@ -1374,130 +1367,124 @@ class Order { |
} |
} |
-/** |
- * Information about a playable sequence (video) associated with an Edit |
- * and available at the Google Play Store. |
- * |
- * Internally, each StoreInfo is uniquely identified by a `video_id` |
- * and `country`. |
- * |
- * Externally, Title-level EIDR or Edit-level EIDR, if provided, |
- * can also be used to identify a specific title or edit in a country. |
- */ |
+/// Information about a playable sequence (video) associated with an Edit |
+/// and available at the Google Play Store. |
+/// |
+/// Internally, each StoreInfo is uniquely identified by a `video_id` |
+/// and `country`. |
+/// |
+/// Externally, Title-level EIDR or Edit-level EIDR, if provided, |
+/// can also be used to identify a specific title or edit in a country. |
class StoreInfo { |
- /** Audio tracks available for this Edit. */ |
+ /// Audio tracks available for this Edit. |
core.List<core.String> audioTracks; |
- /** |
- * Country where Edit is available in ISO 3166-1 alpha-2 country |
- * code. |
- * Example: "US". |
- */ |
+ |
+ /// Country where Edit is available in ISO 3166-1 alpha-2 country |
+ /// code. |
+ /// Example: "US". |
core.String country; |
- /** |
- * Edit-level EIDR ID. |
- * Example: "10.5240/1489-49A2-3956-4B2D-FE16-6". |
- */ |
+ |
+ /// Edit-level EIDR ID. |
+ /// Example: "10.5240/1489-49A2-3956-4B2D-FE16-6". |
core.String editLevelEidr; |
- /** |
- * The number assigned to the episode within a season. |
- * Only available on TV Edits. |
- * Example: "1". |
- */ |
+ |
+ /// The number assigned to the episode within a season. |
+ /// Only available on TV Edits. |
+ /// Example: "1". |
core.String episodeNumber; |
- /** Whether the Edit has a 5.1 channel audio track. */ |
+ |
+ /// Whether the Edit has a 5.1 channel audio track. |
core.bool hasAudio51; |
- /** Whether the Edit has a EST offer. */ |
+ |
+ /// Whether the Edit has a EST offer. |
core.bool hasEstOffer; |
- /** Whether the Edit has a HD offer. */ |
+ |
+ /// Whether the Edit has a HD offer. |
core.bool hasHdOffer; |
- /** Whether the Edit has info cards. */ |
+ |
+ /// Whether the Edit has info cards. |
core.bool hasInfoCards; |
- /** Whether the Edit has a SD offer. */ |
+ |
+ /// Whether the Edit has a SD offer. |
core.bool hasSdOffer; |
- /** Whether the Edit has a VOD offer. */ |
+ |
+ /// Whether the Edit has a VOD offer. |
core.bool hasVodOffer; |
- /** Timestamp when the Edit went live on the Store. */ |
+ |
+ /// Timestamp when the Edit went live on the Store. |
core.String liveTime; |
- /** |
- * Knowledge Graph ID associated to this Edit, if available. |
- * This ID links the Edit to its knowledge entity, externally accessible |
- * at http://freebase.com. |
- * In the absense of Title EIDR or Edit EIDR, this ID helps link together |
- * multiple Edits across countries. |
- * Example: '/m/0ffx29' |
- */ |
+ |
+ /// Knowledge Graph ID associated to this Edit, if available. |
+ /// This ID links the Edit to its knowledge entity, externally accessible |
+ /// at http://freebase.com. |
+ /// In the absense of Title EIDR or Edit EIDR, this ID helps link together |
+ /// multiple Edits across countries. |
+ /// Example: '/m/0ffx29' |
core.String mid; |
- /** |
- * Default Edit name, usually in the language of the country of |
- * origin. |
- * Example: "Googlers, The". |
- */ |
+ |
+ /// Default Edit name, usually in the language of the country of |
+ /// origin. |
+ /// Example: "Googlers, The". |
core.String name; |
- /** Name of the post-production houses that manage the Edit. */ |
+ |
+ /// Name of the post-production houses that manage the Edit. |
core.List<core.String> pphNames; |
- /** |
- * Google-generated ID identifying the season linked to the Edit. |
- * Only available for TV Edits. |
- * Example: 'ster23ex' |
- */ |
+ |
+ /// Google-generated ID identifying the season linked to the Edit. |
+ /// Only available for TV Edits. |
+ /// Example: 'ster23ex' |
core.String seasonId; |
- /** |
- * Default Season name, usually in the language of the country of |
- * origin. |
- * Only available for TV Edits |
- * Example: "Googlers, The - A Brave New World". |
- */ |
+ |
+ /// Default Season name, usually in the language of the country of |
+ /// origin. |
+ /// Only available for TV Edits |
+ /// Example: "Googlers, The - A Brave New World". |
core.String seasonName; |
- /** |
- * The number assigned to the season within a show. |
- * Only available on TV Edits. |
- * Example: "1". |
- */ |
+ |
+ /// The number assigned to the season within a show. |
+ /// Only available on TV Edits. |
+ /// Example: "1". |
core.String seasonNumber; |
- /** |
- * Google-generated ID identifying the show linked to the Edit. |
- * Only available for TV Edits. |
- * Example: 'et2hsue_x' |
- */ |
+ |
+ /// Google-generated ID identifying the show linked to the Edit. |
+ /// Only available for TV Edits. |
+ /// Example: 'et2hsue_x' |
core.String showId; |
- /** |
- * Default Show name, usually in the language of the country of |
- * origin. |
- * Only available for TV Edits |
- * Example: "Googlers, The". |
- */ |
+ |
+ /// Default Show name, usually in the language of the country of |
+ /// origin. |
+ /// Only available for TV Edits |
+ /// Example: "Googlers, The". |
core.String showName; |
- /** Name of the studio that owns the Edit ordered. */ |
+ |
+ /// Name of the studio that owns the Edit ordered. |
core.String studioName; |
- /** Subtitles available for this Edit. */ |
+ |
+ /// Subtitles available for this Edit. |
core.List<core.String> subtitles; |
- /** |
- * Title-level EIDR ID. |
- * Example: "10.5240/1489-49A2-3956-4B2D-FE16-5". |
- */ |
+ |
+ /// Title-level EIDR ID. |
+ /// Example: "10.5240/1489-49A2-3956-4B2D-FE16-5". |
core.String titleLevelEidr; |
- /** |
- * Google-generated ID identifying the trailer linked to the Edit. |
- * Example: 'bhd_4e_cx' |
- */ |
+ |
+ /// Google-generated ID identifying the trailer linked to the Edit. |
+ /// Example: 'bhd_4e_cx' |
core.String trailerId; |
- /** |
- * Edit type, like Movie, Episode or Season. |
- * Possible string values are: |
- * - "TITLE_TYPE_UNSPECIFIED" : Value could not be determined, please contact |
- * technical support if |
- * it should. |
- * - "MOVIE" : A movie picture. |
- * - "SEASON" : A season of a TV show. |
- * - "EPISODE" : An episode of a TV show. |
- * - "BUNDLE" : A collection of movies, i.e. "Googlers 1 and Googlers, the |
- * return" |
- */ |
+ |
+ /// Edit type, like Movie, Episode or Season. |
+ /// Possible string values are: |
+ /// - "TITLE_TYPE_UNSPECIFIED" : Value could not be determined, please |
+ /// contact technical support if |
+ /// it should. |
+ /// - "MOVIE" : A movie picture. |
+ /// - "SEASON" : A season of a TV show. |
+ /// - "EPISODE" : An episode of a TV show. |
+ /// - "BUNDLE" : A collection of movies, i.e. "Googlers 1 and Googlers, the |
+ /// return" |
core.String type; |
- /** |
- * Google-generated ID identifying the video linked to the Edit. |
- * Example: 'gtry456_xc' |
- */ |
+ |
+ /// Google-generated ID identifying the video linked to the Edit. |
+ /// Example: 'gtry456_xc' |
core.String videoId; |
StoreInfo(); |
@@ -1581,7 +1568,8 @@ class StoreInfo { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (audioTracks != null) { |
_json["audioTracks"] = audioTracks; |
} |