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

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

Issue 1296863002: Api-roll 22: 2015-08-17 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 5 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
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.coordinate.v1; 3 library googleapis.coordinate.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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 * 238 *
239 * Request parameters: 239 * Request parameters:
240 * 240 *
241 * [teamId] - Team ID 241 * [teamId] - Team ID
242 * 242 *
243 * [maxResults] - Maximum number of results to return in one page. 243 * [maxResults] - Maximum number of results to return in one page.
244 * 244 *
245 * [minModifiedTimestampMs] - Minimum time a job was modified in milliseconds 245 * [minModifiedTimestampMs] - Minimum time a job was modified in milliseconds
246 * since epoch. 246 * since epoch.
247 * 247 *
248 * [omitJobChanges] - Whether to omit detail job history information.
249 *
248 * [pageToken] - Continuation token 250 * [pageToken] - Continuation token
249 * 251 *
250 * Completes with a [JobListResponse]. 252 * Completes with a [JobListResponse].
251 * 253 *
252 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 254 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
253 * error. 255 * error.
254 * 256 *
255 * If the used [http.Client] completes with an error when making a REST call, 257 * If the used [http.Client] completes with an error when making a REST call,
256 * this method will complete with the same error. 258 * this method will complete with the same error.
257 */ 259 */
258 async.Future<JobListResponse> list(core.String teamId, {core.int maxResults, c ore.String minModifiedTimestampMs, core.String pageToken}) { 260 async.Future<JobListResponse> list(core.String teamId, {core.int maxResults, c ore.String minModifiedTimestampMs, core.bool omitJobChanges, core.String pageTok en}) {
259 var _url = null; 261 var _url = null;
260 var _queryParams = new core.Map(); 262 var _queryParams = new core.Map();
261 var _uploadMedia = null; 263 var _uploadMedia = null;
262 var _uploadOptions = null; 264 var _uploadOptions = null;
263 var _downloadOptions = commons.DownloadOptions.Metadata; 265 var _downloadOptions = commons.DownloadOptions.Metadata;
264 var _body = null; 266 var _body = null;
265 267
266 if (teamId == null) { 268 if (teamId == null) {
267 throw new core.ArgumentError("Parameter teamId is required."); 269 throw new core.ArgumentError("Parameter teamId is required.");
268 } 270 }
269 if (maxResults != null) { 271 if (maxResults != null) {
270 _queryParams["maxResults"] = ["${maxResults}"]; 272 _queryParams["maxResults"] = ["${maxResults}"];
271 } 273 }
272 if (minModifiedTimestampMs != null) { 274 if (minModifiedTimestampMs != null) {
273 _queryParams["minModifiedTimestampMs"] = [minModifiedTimestampMs]; 275 _queryParams["minModifiedTimestampMs"] = [minModifiedTimestampMs];
274 } 276 }
277 if (omitJobChanges != null) {
278 _queryParams["omitJobChanges"] = ["${omitJobChanges}"];
279 }
275 if (pageToken != null) { 280 if (pageToken != null) {
276 _queryParams["pageToken"] = [pageToken]; 281 _queryParams["pageToken"] = [pageToken];
277 } 282 }
278 283
279 _url = 'teams/' + commons.Escaper.ecapeVariable('$teamId') + '/jobs'; 284 _url = 'teams/' + commons.Escaper.ecapeVariable('$teamId') + '/jobs';
280 285
281 var _response = _requester.request(_url, 286 var _response = _requester.request(_url,
282 "GET", 287 "GET",
283 body: _body, 288 body: _body,
284 queryParams: _queryParams, 289 queryParams: _queryParams,
(...skipping 1398 matching lines...) Expand 10 before | Expand all | Expand 10 after
1683 var _json = new core.Map(); 1688 var _json = new core.Map();
1684 if (items != null) { 1689 if (items != null) {
1685 _json["items"] = items.map((value) => (value).toJson()).toList(); 1690 _json["items"] = items.map((value) => (value).toJson()).toList();
1686 } 1691 }
1687 if (kind != null) { 1692 if (kind != null) {
1688 _json["kind"] = kind; 1693 _json["kind"] = kind;
1689 } 1694 }
1690 return _json; 1695 return _json;
1691 } 1696 }
1692 } 1697 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/container/v1.dart ('k') | generated/googleapis/lib/deploymentmanager/v2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698