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

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

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « generated/googleapis/lib/people/v1.dart ('k') | generated/googleapis/lib/pubsub/v1.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis.playmoviespartner.v1; 3 library googleapis.playmoviespartner.v1;
4 4
5 import 'dart:core' as core; 5 import 'dart:core' as core;
6 import 'dart:async' as async; 6 import 'dart:async' as async;
7 import 'dart:convert' as convert; 7 import 'dart:convert' as convert;
8 8
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
10 import 'package:http/http.dart' as http; 10 import 'package:http/http.dart' as http;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 * List Avails owned or managed by the partner. 96 * List Avails owned or managed by the partner.
97 * 97 *
98 * See _Authentication and Authorization rules_ and 98 * See _Authentication and Authorization rules_ and
99 * _List methods rules_ for more information about this method. 99 * _List methods rules_ for more information about this method.
100 * 100 *
101 * Request parameters: 101 * Request parameters:
102 * 102 *
103 * [accountId] - REQUIRED. See _General rules_ for more information about this 103 * [accountId] - REQUIRED. See _General rules_ for more information about this
104 * field. 104 * field.
105 * 105 *
106 * [pphNames] - See _List methods rules_ for info about this field.
107 *
108 * [altId] - Filter Avails that match a case-insensitive, partner-specific
109 * custom id.
110 * NOTE: this field is deprecated and will be removed on V2; `alt_ids`
111 * should be used instead.
112 *
113 * [studioNames] - See _List methods rules_ for info about this field.
114 *
106 * [territories] - Filter Avails that match (case-insensitive) any of the 115 * [territories] - Filter Avails that match (case-insensitive) any of the
107 * given country codes, 116 * given country codes,
108 * using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us"). 117 * using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us").
109 * 118 *
110 * [title] - Filter that matches Avails with a `title_internal_alias`, 119 * [title] - Filter that matches Avails with a `title_internal_alias`,
111 * `series_title_internal_alias`, `season_title_internal_alias`, 120 * `series_title_internal_alias`, `season_title_internal_alias`,
112 * or `episode_title_internal_alias` that contains the given 121 * or `episode_title_internal_alias` that contains the given
113 * case-insensitive title. 122 * case-insensitive title.
114 * 123 *
115 * [videoIds] - Filter Avails that match any of the given `video_id`s. 124 * [videoIds] - Filter Avails that match any of the given `video_id`s.
116 * 125 *
117 * [pageToken] - See _List methods rules_ for info about this field. 126 * [pageToken] - See _List methods rules_ for info about this field.
118 * 127 *
119 * [pageSize] - See _List methods rules_ for info about this field. 128 * [pageSize] - See _List methods rules_ for info about this field.
120 * 129 *
121 * [altIds] - Filter Avails that match (case-insensitive) any of the given 130 * [altIds] - Filter Avails that match (case-insensitive) any of the given
122 * partner-specific custom ids. 131 * partner-specific custom ids.
123 * 132 *
124 * [pphNames] - See _List methods rules_ for info about this field.
125 *
126 * [altId] - Filter Avails that match a case-insensitive, partner-specific
127 * custom id.
128 * NOTE: this field is deprecated and will be removed on V2; `alt_ids`
129 * should be used instead.
130 *
131 * [studioNames] - See _List methods rules_ for info about this field.
132 *
133 * Completes with a [ListAvailsResponse]. 133 * Completes with a [ListAvailsResponse].
134 * 134 *
135 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 135 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
136 * error. 136 * error.
137 * 137 *
138 * If the used [http.Client] completes with an error when making a REST call, 138 * If the used [http.Client] completes with an error when making a REST call,
139 * this method will complete with the same error. 139 * this method will complete with the same error.
140 */ 140 */
141 async.Future<ListAvailsResponse> list(core.String accountId, {core.List<core.S tring> territories, core.String title, core.List<core.String> videoIds, core.Str ing pageToken, core.int pageSize, core.List<core.String> altIds, core.List<core. String> pphNames, core.String altId, core.List<core.String> studioNames}) { 141 async.Future<ListAvailsResponse> list(core.String accountId, {core.List<core.S tring> pphNames, core.String altId, core.List<core.String> studioNames, core.Lis t<core.String> territories, core.String title, core.List<core.String> videoIds, core.String pageToken, core.int pageSize, core.List<core.String> altIds}) {
142 var _url = null; 142 var _url = null;
143 var _queryParams = new core.Map(); 143 var _queryParams = new core.Map();
144 var _uploadMedia = null; 144 var _uploadMedia = null;
145 var _uploadOptions = null; 145 var _uploadOptions = null;
146 var _downloadOptions = commons.DownloadOptions.Metadata; 146 var _downloadOptions = commons.DownloadOptions.Metadata;
147 var _body = null; 147 var _body = null;
148 148
149 if (accountId == null) { 149 if (accountId == null) {
150 throw new core.ArgumentError("Parameter accountId is required."); 150 throw new core.ArgumentError("Parameter accountId is required.");
151 } 151 }
152 if (pphNames != null) {
153 _queryParams["pphNames"] = pphNames;
154 }
155 if (altId != null) {
156 _queryParams["altId"] = [altId];
157 }
158 if (studioNames != null) {
159 _queryParams["studioNames"] = studioNames;
160 }
152 if (territories != null) { 161 if (territories != null) {
153 _queryParams["territories"] = territories; 162 _queryParams["territories"] = territories;
154 } 163 }
155 if (title != null) { 164 if (title != null) {
156 _queryParams["title"] = [title]; 165 _queryParams["title"] = [title];
157 } 166 }
158 if (videoIds != null) { 167 if (videoIds != null) {
159 _queryParams["videoIds"] = videoIds; 168 _queryParams["videoIds"] = videoIds;
160 } 169 }
161 if (pageToken != null) { 170 if (pageToken != null) {
162 _queryParams["pageToken"] = [pageToken]; 171 _queryParams["pageToken"] = [pageToken];
163 } 172 }
164 if (pageSize != null) { 173 if (pageSize != null) {
165 _queryParams["pageSize"] = ["${pageSize}"]; 174 _queryParams["pageSize"] = ["${pageSize}"];
166 } 175 }
167 if (altIds != null) { 176 if (altIds != null) {
168 _queryParams["altIds"] = altIds; 177 _queryParams["altIds"] = altIds;
169 } 178 }
170 if (pphNames != null) {
171 _queryParams["pphNames"] = pphNames;
172 }
173 if (altId != null) {
174 _queryParams["altId"] = [altId];
175 }
176 if (studioNames != null) {
177 _queryParams["studioNames"] = studioNames;
178 }
179 179
180 _url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/avai ls'; 180 _url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/avai ls';
181 181
182 var _response = _requester.request(_url, 182 var _response = _requester.request(_url,
183 "GET", 183 "GET",
184 body: _body, 184 body: _body,
185 queryParams: _queryParams, 185 queryParams: _queryParams,
186 uploadOptions: _uploadOptions, 186 uploadOptions: _uploadOptions,
187 uploadMedia: _uploadMedia, 187 uploadMedia: _uploadMedia,
188 downloadOptions: _downloadOptions); 188 downloadOptions: _downloadOptions);
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 * List Orders owned or managed by the partner. 250 * List Orders owned or managed by the partner.
251 * 251 *
252 * See _Authentication and Authorization rules_ and 252 * See _Authentication and Authorization rules_ and
253 * _List methods rules_ for more information about this method. 253 * _List methods rules_ for more information about this method.
254 * 254 *
255 * Request parameters: 255 * Request parameters:
256 * 256 *
257 * [accountId] - REQUIRED. See _General rules_ for more information about this 257 * [accountId] - REQUIRED. See _General rules_ for more information about this
258 * field. 258 * field.
259 * 259 *
260 * [pageToken] - See _List methods rules_ for info about this field.
261 *
262 * [customId] - Filter Orders that match a case-insensitive, partner-specific
263 * custom id.
264 *
265 * [videoIds] - Filter Orders that match any of the given `video_id`s.
266 *
260 * [pageSize] - See _List methods rules_ for info about this field. 267 * [pageSize] - See _List methods rules_ for info about this field.
261 * 268 *
262 * [pphNames] - See _List methods rules_ for info about this field. 269 * [pphNames] - See _List methods rules_ for info about this field.
263 * 270 *
264 * [status] - Filter Orders that match one of the given status. 271 * [status] - Filter Orders that match one of the given status.
265 * 272 *
273 * [studioNames] - See _List methods rules_ for info about this field.
274 *
266 * [name] - Filter that matches Orders with a `name`, `show`, `season` or 275 * [name] - Filter that matches Orders with a `name`, `show`, `season` or
267 * `episode` 276 * `episode`
268 * that contains the given case-insensitive name. 277 * that contains the given case-insensitive name.
269 * 278 *
270 * [studioNames] - See _List methods rules_ for info about this field.
271 *
272 * [videoIds] - Filter Orders that match any of the given `video_id`s.
273 *
274 * [customId] - Filter Orders that match a case-insensitive, partner-specific
275 * custom id.
276 *
277 * [pageToken] - See _List methods rules_ for info about this field.
278 *
279 * Completes with a [ListOrdersResponse]. 279 * Completes with a [ListOrdersResponse].
280 * 280 *
281 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 281 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
282 * error. 282 * error.
283 * 283 *
284 * If the used [http.Client] completes with an error when making a REST call, 284 * If the used [http.Client] completes with an error when making a REST call,
285 * this method will complete with the same error. 285 * this method will complete with the same error.
286 */ 286 */
287 async.Future<ListOrdersResponse> list(core.String accountId, {core.int pageSiz e, core.List<core.String> pphNames, core.List<core.String> status, core.String n ame, core.List<core.String> studioNames, core.List<core.String> videoIds, core.S tring customId, core.String pageToken}) { 287 async.Future<ListOrdersResponse> list(core.String accountId, {core.String page Token, 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}) {
288 var _url = null; 288 var _url = null;
289 var _queryParams = new core.Map(); 289 var _queryParams = new core.Map();
290 var _uploadMedia = null; 290 var _uploadMedia = null;
291 var _uploadOptions = null; 291 var _uploadOptions = null;
292 var _downloadOptions = commons.DownloadOptions.Metadata; 292 var _downloadOptions = commons.DownloadOptions.Metadata;
293 var _body = null; 293 var _body = null;
294 294
295 if (accountId == null) { 295 if (accountId == null) {
296 throw new core.ArgumentError("Parameter accountId is required."); 296 throw new core.ArgumentError("Parameter accountId is required.");
297 } 297 }
298 if (pageToken != null) {
299 _queryParams["pageToken"] = [pageToken];
300 }
301 if (customId != null) {
302 _queryParams["customId"] = [customId];
303 }
304 if (videoIds != null) {
305 _queryParams["videoIds"] = videoIds;
306 }
298 if (pageSize != null) { 307 if (pageSize != null) {
299 _queryParams["pageSize"] = ["${pageSize}"]; 308 _queryParams["pageSize"] = ["${pageSize}"];
300 } 309 }
301 if (pphNames != null) { 310 if (pphNames != null) {
302 _queryParams["pphNames"] = pphNames; 311 _queryParams["pphNames"] = pphNames;
303 } 312 }
304 if (status != null) { 313 if (status != null) {
305 _queryParams["status"] = status; 314 _queryParams["status"] = status;
306 } 315 }
316 if (studioNames != null) {
317 _queryParams["studioNames"] = studioNames;
318 }
307 if (name != null) { 319 if (name != null) {
308 _queryParams["name"] = [name]; 320 _queryParams["name"] = [name];
309 } 321 }
310 if (studioNames != null) {
311 _queryParams["studioNames"] = studioNames;
312 }
313 if (videoIds != null) {
314 _queryParams["videoIds"] = videoIds;
315 }
316 if (customId != null) {
317 _queryParams["customId"] = [customId];
318 }
319 if (pageToken != null) {
320 _queryParams["pageToken"] = [pageToken];
321 }
322 322
323 _url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/orde rs'; 323 _url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/orde rs';
324 324
325 var _response = _requester.request(_url, 325 var _response = _requester.request(_url,
326 "GET", 326 "GET",
327 body: _body, 327 body: _body,
328 queryParams: _queryParams, 328 queryParams: _queryParams,
329 uploadOptions: _uploadOptions, 329 uploadOptions: _uploadOptions,
330 uploadMedia: _uploadMedia, 330 uploadMedia: _uploadMedia,
331 downloadOptions: _downloadOptions); 331 downloadOptions: _downloadOptions);
(...skipping 17 matching lines...) Expand all
349 * See _Authentication and Authorization rules_ and 349 * See _Authentication and Authorization rules_ and
350 * _List methods rules_ for more information about this method. 350 * _List methods rules_ for more information about this method.
351 * 351 *
352 * Request parameters: 352 * Request parameters:
353 * 353 *
354 * [accountId] - REQUIRED. See _General rules_ for more information about this 354 * [accountId] - REQUIRED. See _General rules_ for more information about this
355 * field. 355 * field.
356 * 356 *
357 * [seasonIds] - Filter StoreInfos that match any of the given `season_id`s. 357 * [seasonIds] - Filter StoreInfos that match any of the given `season_id`s.
358 * 358 *
359 * [pageToken] - See _List methods rules_ for info about this field. 359 * [videoIds] - Filter StoreInfos that match any of the given `video_id`s.
360 * 360 *
361 * [videoId] - Filter StoreInfos that match a given `video_id`. 361 * [videoId] - Filter StoreInfos that match a given `video_id`.
362 * NOTE: this field is deprecated and will be removed on V2; `video_ids` 362 * NOTE: this field is deprecated and will be removed on V2; `video_ids`
363 * should be used instead. 363 * should be used instead.
364 * 364 *
365 * [videoIds] - Filter StoreInfos that match any of the given `video_id`s. 365 * [pageToken] - See _List methods rules_ for info about this field.
366 * 366 *
367 * [pageSize] - See _List methods rules_ for info about this field. 367 * [pageSize] - See _List methods rules_ for info about this field.
368 * 368 *
369 * [mids] - Filter StoreInfos that match any of the given `mid`s. 369 * [mids] - Filter StoreInfos that match any of the given `mid`s.
370 * 370 *
371 * [pphNames] - See _List methods rules_ for info about this field. 371 * [pphNames] - See _List methods rules_ for info about this field.
372 * 372 *
373 * [countries] - Filter StoreInfos that match (case-insensitive) any of the 373 * [countries] - Filter StoreInfos that match (case-insensitive) any of the
374 * given country 374 * given country
375 * codes, using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us"). 375 * codes, using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us").
376 * 376 *
377 * [studioNames] - See _List methods rules_ for info about this field.
378 *
379 * [name] - Filter that matches StoreInfos with a `name` or `show_name` 377 * [name] - Filter that matches StoreInfos with a `name` or `show_name`
380 * that contains the given case-insensitive name. 378 * that contains the given case-insensitive name.
381 * 379 *
380 * [studioNames] - See _List methods rules_ for info about this field.
381 *
382 * Completes with a [ListStoreInfosResponse]. 382 * Completes with a [ListStoreInfosResponse].
383 * 383 *
384 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 384 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
385 * error. 385 * error.
386 * 386 *
387 * If the used [http.Client] completes with an error when making a REST call, 387 * If the used [http.Client] completes with an error when making a REST call,
388 * this method will complete with the same error. 388 * this method will complete with the same error.
389 */ 389 */
390 async.Future<ListStoreInfosResponse> list(core.String accountId, {core.List<co re.String> seasonIds, core.String pageToken, core.String videoId, core.List<core .String> videoIds, core.int pageSize, core.List<core.String> mids, core.List<cor e.String> pphNames, core.List<core.String> countries, core.List<core.String> stu dioNames, core.String name}) { 390 async.Future<ListStoreInfosResponse> list(core.String accountId, {core.List<co re.String> seasonIds, core.List<core.String> videoIds, core.String videoId, core .String pageToken, core.int pageSize, core.List<core.String> mids, core.List<cor e.String> pphNames, core.List<core.String> countries, core.String name, core.Lis t<core.String> studioNames}) {
391 var _url = null; 391 var _url = null;
392 var _queryParams = new core.Map(); 392 var _queryParams = new core.Map();
393 var _uploadMedia = null; 393 var _uploadMedia = null;
394 var _uploadOptions = null; 394 var _uploadOptions = null;
395 var _downloadOptions = commons.DownloadOptions.Metadata; 395 var _downloadOptions = commons.DownloadOptions.Metadata;
396 var _body = null; 396 var _body = null;
397 397
398 if (accountId == null) { 398 if (accountId == null) {
399 throw new core.ArgumentError("Parameter accountId is required."); 399 throw new core.ArgumentError("Parameter accountId is required.");
400 } 400 }
401 if (seasonIds != null) { 401 if (seasonIds != null) {
402 _queryParams["seasonIds"] = seasonIds; 402 _queryParams["seasonIds"] = seasonIds;
403 } 403 }
404 if (videoIds != null) {
405 _queryParams["videoIds"] = videoIds;
406 }
407 if (videoId != null) {
408 _queryParams["videoId"] = [videoId];
409 }
404 if (pageToken != null) { 410 if (pageToken != null) {
405 _queryParams["pageToken"] = [pageToken]; 411 _queryParams["pageToken"] = [pageToken];
406 } 412 }
407 if (videoId != null) {
408 _queryParams["videoId"] = [videoId];
409 }
410 if (videoIds != null) {
411 _queryParams["videoIds"] = videoIds;
412 }
413 if (pageSize != null) { 413 if (pageSize != null) {
414 _queryParams["pageSize"] = ["${pageSize}"]; 414 _queryParams["pageSize"] = ["${pageSize}"];
415 } 415 }
416 if (mids != null) { 416 if (mids != null) {
417 _queryParams["mids"] = mids; 417 _queryParams["mids"] = mids;
418 } 418 }
419 if (pphNames != null) { 419 if (pphNames != null) {
420 _queryParams["pphNames"] = pphNames; 420 _queryParams["pphNames"] = pphNames;
421 } 421 }
422 if (countries != null) { 422 if (countries != null) {
423 _queryParams["countries"] = countries; 423 _queryParams["countries"] = countries;
424 } 424 }
425 if (name != null) {
426 _queryParams["name"] = [name];
427 }
425 if (studioNames != null) { 428 if (studioNames != null) {
426 _queryParams["studioNames"] = studioNames; 429 _queryParams["studioNames"] = studioNames;
427 } 430 }
428 if (name != null) {
429 _queryParams["name"] = [name];
430 }
431 431
432 _url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/stor eInfos'; 432 _url = 'v1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/stor eInfos';
433 433
434 var _response = _requester.request(_url, 434 var _response = _requester.request(_url,
435 "GET", 435 "GET",
436 body: _body, 436 body: _body,
437 queryParams: _queryParams, 437 queryParams: _queryParams,
438 uploadOptions: _uploadOptions, 438 uploadOptions: _uploadOptions,
439 uploadMedia: _uploadMedia, 439 uploadMedia: _uploadMedia,
440 downloadOptions: _downloadOptions); 440 downloadOptions: _downloadOptions);
(...skipping 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after
1653 } 1653 }
1654 if (type != null) { 1654 if (type != null) {
1655 _json["type"] = type; 1655 _json["type"] = type;
1656 } 1656 }
1657 if (videoId != null) { 1657 if (videoId != null) {
1658 _json["videoId"] = videoId; 1658 _json["videoId"] = videoId;
1659 } 1659 }
1660 return _json; 1660 return _json;
1661 } 1661 }
1662 } 1662 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/people/v1.dart ('k') | generated/googleapis/lib/pubsub/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698