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

Unified Diff: generated/googleapis/lib/civicinfo/v2.dart

Issue 2281923002: Api-roll 41: 2016-08-26 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « generated/googleapis/lib/bigquery/v2.dart ('k') | generated/googleapis/lib/classroom/v1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/civicinfo/v2.dart
diff --git a/generated/googleapis/lib/civicinfo/v2.dart b/generated/googleapis/lib/civicinfo/v2.dart
index 4f9f9a63407927870be9f33fd2b0a7517dbb4411..a4aff1dab3bd2597dbbc5dc6de0689b4d8265bfa 100644
--- a/generated/googleapis/lib/civicinfo/v2.dart
+++ b/generated/googleapis/lib/civicinfo/v2.dart
@@ -138,6 +138,11 @@ class ElectionsResourceApi {
* [officialOnly] - If set to true, only data from official state sources will
* be returned.
*
+ * [returnAllAvailableData] - If set to true, the query will return the
+ * success codeand include any partial information when it is unable to
+ * determine a matching address or unable to determine the election for
+ * electionId=0 queries.
+ *
* Completes with a [VoterInfoResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -146,7 +151,7 @@ class ElectionsResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<VoterInfoResponse> voterInfoQuery(core.String address, {core.String electionId, core.bool officialOnly}) {
+ async.Future<VoterInfoResponse> voterInfoQuery(core.String address, {core.String electionId, core.bool officialOnly, core.bool returnAllAvailableData}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -164,6 +169,9 @@ class ElectionsResourceApi {
if (officialOnly != null) {
_queryParams["officialOnly"] = ["${officialOnly}"];
}
+ if (returnAllAvailableData != null) {
+ _queryParams["returnAllAvailableData"] = ["${returnAllAvailableData}"];
+ }
_url = 'voterinfo';
@@ -680,8 +688,8 @@ class Contest {
/**
* The set of ballot responses for the referendum. A ballot response
* represents a line on the ballot. Common examples might include "yes" or
- * "no" for referenda, or a judge's name for a retention contest. This field
- * is only populated for contests of type 'Referendum'.
+ * "no" for referenda. This field is only populated for contests of type
+ * 'Referendum'.
*/
core.List<core.String> referendumBallotResponses;
/**
@@ -748,7 +756,7 @@ class Contest {
/**
* The type of contest. Usually this will be 'General', 'Primary', or
* 'Run-off' for contests with candidates. For referenda this will be
- * 'Referendum'.
+ * 'Referendum'. For Retention contests this will typically be 'Retention'.
*/
core.String type;
@@ -1132,6 +1140,7 @@ class ElectoralDistrict {
* 34th State Senate district would have id "34" and a scope of stateUpper.
*/
core.String id;
+ core.String kgForeignKey;
/** The name of the district. */
core.String name;
/**
@@ -1148,6 +1157,9 @@ class ElectoralDistrict {
if (_json.containsKey("id")) {
id = _json["id"];
}
+ if (_json.containsKey("kgForeignKey")) {
+ kgForeignKey = _json["kgForeignKey"];
+ }
if (_json.containsKey("name")) {
name = _json["name"];
}
@@ -1161,6 +1173,9 @@ class ElectoralDistrict {
if (id != null) {
_json["id"] = id;
}
+ if (kgForeignKey != null) {
+ _json["kgForeignKey"] = kgForeignKey;
+ }
if (name != null) {
_json["name"] = name;
}
« no previous file with comments | « generated/googleapis/lib/bigquery/v2.dart ('k') | generated/googleapis/lib/classroom/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698