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

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

Issue 2973303002: Api-Roll 51: 2017-07-10 (Closed)
Patch Set: Created 3 years, 5 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 106 * [altId] - Filter Avails that match a case-insensitive, partner-specific
109 * custom id. 107 * custom id.
110 * NOTE: this field is deprecated and will be removed on V2; `alt_ids` 108 * NOTE: this field is deprecated and will be removed on V2; `alt_ids`
111 * should be used instead. 109 * should be used instead.
112 * 110 *
113 * [studioNames] - See _List methods rules_ for info about this field. 111 * [studioNames] - See _List methods rules_ for info about this field.
114 * 112 *
115 * [territories] - Filter Avails that match (case-insensitive) any of the 113 * [territories] - Filter Avails that match (case-insensitive) any of the
116 * given country codes, 114 * given country codes,
117 * using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us"). 115 * using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us").
118 * 116 *
119 * [title] - Filter that matches Avails with a `title_internal_alias`, 117 * [title] - Filter that matches Avails with a `title_internal_alias`,
120 * `series_title_internal_alias`, `season_title_internal_alias`, 118 * `series_title_internal_alias`, `season_title_internal_alias`,
121 * or `episode_title_internal_alias` that contains the given 119 * or `episode_title_internal_alias` that contains the given
122 * case-insensitive title. 120 * case-insensitive title.
123 * 121 *
124 * [pageToken] - See _List methods rules_ for info about this field. 122 * [pageToken] - See _List methods rules_ for info about this field.
125 * 123 *
126 * [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.
127 * 125 *
128 * [pageSize] - See _List methods rules_ for info about this field. 126 * [pageSize] - See _List methods rules_ for info about this field.
129 * 127 *
130 * [altIds] - Filter Avails that match (case-insensitive) any of the given 128 * [altIds] - Filter Avails that match (case-insensitive) any of the given
131 * partner-specific custom ids. 129 * partner-specific custom ids.
132 * 130 *
131 * [pphNames] - 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> pphNames, core.String altId, core.List<core.String> studioNames, core.Lis t<core.String> territories, core.String title, core.String pageToken, core.List< core.String> videoIds, core.int pageSize, core.List<core.String> altIds}) { 141 async.Future<ListAvailsResponse> list(core.String accountId, {core.String altI d, core.List<core.String> studioNames, core.List<core.String> territories, core. String title, core.String pageToken, core.List<core.String> videoIds, core.int p ageSize, core.List<core.String> altIds, core.List<core.String> pphNames}) {
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) { 152 if (altId != null) {
156 _queryParams["altId"] = [altId]; 153 _queryParams["altId"] = [altId];
157 } 154 }
158 if (studioNames != null) { 155 if (studioNames != null) {
159 _queryParams["studioNames"] = studioNames; 156 _queryParams["studioNames"] = studioNames;
160 } 157 }
161 if (territories != null) { 158 if (territories != null) {
162 _queryParams["territories"] = territories; 159 _queryParams["territories"] = territories;
163 } 160 }
164 if (title != null) { 161 if (title != null) {
165 _queryParams["title"] = [title]; 162 _queryParams["title"] = [title];
166 } 163 }
167 if (pageToken != null) { 164 if (pageToken != null) {
168 _queryParams["pageToken"] = [pageToken]; 165 _queryParams["pageToken"] = [pageToken];
169 } 166 }
170 if (videoIds != null) { 167 if (videoIds != null) {
171 _queryParams["videoIds"] = videoIds; 168 _queryParams["videoIds"] = videoIds;
172 } 169 }
173 if (pageSize != null) { 170 if (pageSize != null) {
174 _queryParams["pageSize"] = ["${pageSize}"]; 171 _queryParams["pageSize"] = ["${pageSize}"];
175 } 172 }
176 if (altIds != null) { 173 if (altIds != null) {
177 _queryParams["altIds"] = altIds; 174 _queryParams["altIds"] = altIds;
178 } 175 }
176 if (pphNames != null) {
177 _queryParams["pphNames"] = pphNames;
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 * [videoIds] - Filter Orders that match any of the given `video_id`s.
261 *
262 * [pageToken] - See _List methods rules_ for info about this field.
263 *
264 * [customId] - Filter Orders that match a case-insensitive, partner-specific
265 * custom id.
266 *
267 * [pageSize] - See _List methods rules_ for info about this field.
268 *
269 * [pphNames] - See _List methods rules_ for info about this field. 260 * [pphNames] - See _List methods rules_ for info about this field.
270 * 261 *
271 * [status] - Filter Orders that match one of the given status. 262 * [status] - Filter Orders that match one of the given status.
272 * 263 *
273 * [studioNames] - See _List methods rules_ for info about this field.
274 *
275 * [name] - Filter that matches Orders with a `name`, `show`, `season` or 264 * [name] - Filter that matches Orders with a `name`, `show`, `season` or
276 * `episode` 265 * `episode`
277 * that contains the given case-insensitive name. 266 * that contains the given case-insensitive name.
278 * 267 *
268 * [studioNames] - See _List methods rules_ for info about this field.
269 *
270 * [videoIds] - Filter Orders that match any of the given `video_id`s.
271 *
272 * [customId] - Filter Orders that match a case-insensitive, partner-specific
273 * custom id.
274 *
275 * [pageToken] - See _List methods rules_ for info about this field.
276 *
277 * [pageSize] - 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.List<core.S tring> videoIds, core.String pageToken, core.String customId, core.int pageSize, core.List<core.String> pphNames, core.List<core.String> status, core.List<core. String> studioNames, core.String name}) { 287 async.Future<ListOrdersResponse> list(core.String accountId, {core.List<core.S tring> pphNames, core.List<core.String> status, core.String name, core.List<core .String> studioNames, core.List<core.String> videoIds, core.String customId, cor e.String pageToken, core.int pageSize}) {
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 (videoIds != null) {
299 _queryParams["videoIds"] = videoIds;
300 }
301 if (pageToken != null) {
302 _queryParams["pageToken"] = [pageToken];
303 }
304 if (customId != null) {
305 _queryParams["customId"] = [customId];
306 }
307 if (pageSize != null) {
308 _queryParams["pageSize"] = ["${pageSize}"];
309 }
310 if (pphNames != null) { 298 if (pphNames != null) {
311 _queryParams["pphNames"] = pphNames; 299 _queryParams["pphNames"] = pphNames;
312 } 300 }
313 if (status != null) { 301 if (status != null) {
314 _queryParams["status"] = status; 302 _queryParams["status"] = status;
315 } 303 }
304 if (name != null) {
305 _queryParams["name"] = [name];
306 }
316 if (studioNames != null) { 307 if (studioNames != null) {
317 _queryParams["studioNames"] = studioNames; 308 _queryParams["studioNames"] = studioNames;
318 } 309 }
319 if (name != null) { 310 if (videoIds != null) {
320 _queryParams["name"] = [name]; 311 _queryParams["videoIds"] = videoIds;
312 }
313 if (customId != null) {
314 _queryParams["customId"] = [customId];
315 }
316 if (pageToken != null) {
317 _queryParams["pageToken"] = [pageToken];
318 }
319 if (pageSize != null) {
320 _queryParams["pageSize"] = ["${pageSize}"];
321 } 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,
(...skipping 16 matching lines...) Expand all
347 * List StoreInfos owned or managed by the partner. 347 * List StoreInfos owned or managed by the partner.
348 * 348 *
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 * [studioNames] - See _List methods rules_ for info about this field.
358 *
359 * [name] - Filter that matches StoreInfos with a `name` or `show_name`
360 * that contains the given case-insensitive name.
361 *
357 * [seasonIds] - Filter StoreInfos that match any of the given `season_id`s. 362 * [seasonIds] - Filter StoreInfos that match any of the given `season_id`s.
358 * 363 *
359 * [videoIds] - Filter StoreInfos that match any of the given `video_id`s. 364 * [pageToken] - See _List methods rules_ for info about this field.
360 * 365 *
361 * [videoId] - Filter StoreInfos that match a given `video_id`. 366 * [videoId] - Filter StoreInfos that match a given `video_id`.
362 * NOTE: this field is deprecated and will be removed on V2; `video_ids` 367 * NOTE: this field is deprecated and will be removed on V2; `video_ids`
363 * should be used instead. 368 * should be used instead.
364 * 369 *
365 * [pageToken] - See _List methods rules_ for info about this field. 370 * [videoIds] - Filter StoreInfos that match any of the given `video_id`s.
366 * 371 *
367 * [pageSize] - See _List methods rules_ for info about this field. 372 * [pageSize] - See _List methods rules_ for info about this field.
368 * 373 *
369 * [mids] - Filter StoreInfos that match any of the given `mid`s. 374 * [mids] - Filter StoreInfos that match any of the given `mid`s.
370 * 375 *
371 * [pphNames] - See _List methods rules_ for info about this field. 376 * [pphNames] - See _List methods rules_ for info about this field.
372 * 377 *
373 * [countries] - Filter StoreInfos that match (case-insensitive) any of the 378 * [countries] - Filter StoreInfos that match (case-insensitive) any of the
374 * given country 379 * given country
375 * codes, using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us"). 380 * codes, using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us").
376 * 381 *
377 * [studioNames] - See _List methods rules_ for info about this field.
378 *
379 * [name] - Filter that matches StoreInfos with a `name` or `show_name`
380 * that contains the given case-insensitive name.
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.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.List<core.String> stu dioNames, core.String name}) { 390 async.Future<ListStoreInfosResponse> list(core.String accountId, {core.List<co re.String> studioNames, core.String name, core.List<core.String> seasonIds, core .String pageToken, core.String videoId, core.List<core.String> videoIds, core.in t pageSize, core.List<core.String> mids, core.List<core.String> pphNames, core.L ist<core.String> countries}) {
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 (studioNames != null) {
402 _queryParams["studioNames"] = studioNames;
403 }
404 if (name != null) {
405 _queryParams["name"] = [name];
406 }
401 if (seasonIds != null) { 407 if (seasonIds != null) {
402 _queryParams["seasonIds"] = seasonIds; 408 _queryParams["seasonIds"] = seasonIds;
403 } 409 }
404 if (videoIds != null) { 410 if (pageToken != null) {
405 _queryParams["videoIds"] = videoIds; 411 _queryParams["pageToken"] = [pageToken];
406 } 412 }
407 if (videoId != null) { 413 if (videoId != null) {
408 _queryParams["videoId"] = [videoId]; 414 _queryParams["videoId"] = [videoId];
409 } 415 }
410 if (pageToken != null) { 416 if (videoIds != null) {
411 _queryParams["pageToken"] = [pageToken]; 417 _queryParams["videoIds"] = videoIds;
412 } 418 }
413 if (pageSize != null) { 419 if (pageSize != null) {
414 _queryParams["pageSize"] = ["${pageSize}"]; 420 _queryParams["pageSize"] = ["${pageSize}"];
415 } 421 }
416 if (mids != null) { 422 if (mids != null) {
417 _queryParams["mids"] = mids; 423 _queryParams["mids"] = mids;
418 } 424 }
419 if (pphNames != null) { 425 if (pphNames != null) {
420 _queryParams["pphNames"] = pphNames; 426 _queryParams["pphNames"] = pphNames;
421 } 427 }
422 if (countries != null) { 428 if (countries != null) {
423 _queryParams["countries"] = countries; 429 _queryParams["countries"] = countries;
424 } 430 }
425 if (studioNames != null) {
426 _queryParams["studioNames"] = studioNames;
427 }
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