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

Unified Diff: generated/googleapis/lib/kgsearch/v1.dart

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « generated/googleapis/lib/identitytoolkit/v3.dart ('k') | generated/googleapis/lib/logging/v2.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/kgsearch/v1.dart
diff --git a/generated/googleapis/lib/kgsearch/v1.dart b/generated/googleapis/lib/kgsearch/v1.dart
index 46e94920b708e6a754e713f6a4e63d84e0199628..33a26bb6cd690d01e6d521c32010cccf79a996ac 100644
--- a/generated/googleapis/lib/kgsearch/v1.dart
+++ b/generated/googleapis/lib/kgsearch/v1.dart
@@ -39,23 +39,23 @@ class EntitiesResourceApi {
*
* Request parameters:
*
- * [limit] - Limits the number of entities to be returned.
- *
* [ids] - The list of entity id to be used for search instead of query
* string.
* To specify multiple ids in the HTTP request, repeat the parameter in the
* URL as in ...?ids=A&ids=B
*
+ * [limit] - Limits the number of entities to be returned.
+ *
* [prefix] - Enables prefix match against names and aliases of entities
*
* [query] - The literal query string for search.
*
- * [indent] - Enables indenting of json results.
- *
* [types] - Restricts returned entities with these types, e.g. Person
* (as defined in http://schema.org/Person). If multiple types are specified,
* returned entities will contain one or more of these types.
*
+ * [indent] - Enables indenting of json results.
+ *
* [languages] - The list of language codes (defined in ISO 693) to run the
* query with,
* e.g. 'en'.
@@ -68,7 +68,7 @@ class EntitiesResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<SearchResponse> search({core.int limit, core.List<core.String> ids, core.bool prefix, core.String query, core.bool indent, core.List<core.String> types, core.List<core.String> languages}) {
+ async.Future<SearchResponse> search({core.List<core.String> ids, core.int limit, core.bool prefix, core.String query, core.List<core.String> types, core.bool indent, core.List<core.String> languages}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -76,24 +76,24 @@ class EntitiesResourceApi {
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
- if (limit != null) {
- _queryParams["limit"] = ["${limit}"];
- }
if (ids != null) {
_queryParams["ids"] = ids;
}
+ if (limit != null) {
+ _queryParams["limit"] = ["${limit}"];
+ }
if (prefix != null) {
_queryParams["prefix"] = ["${prefix}"];
}
if (query != null) {
_queryParams["query"] = [query];
}
- if (indent != null) {
- _queryParams["indent"] = ["${indent}"];
- }
if (types != null) {
_queryParams["types"] = types;
}
+ if (indent != null) {
+ _queryParams["indent"] = ["${indent}"];
+ }
if (languages != null) {
_queryParams["languages"] = languages;
}
« no previous file with comments | « generated/googleapis/lib/identitytoolkit/v3.dart ('k') | generated/googleapis/lib/logging/v2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698