mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
chore(json): fetch latest json and re-gen all code
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
{
|
||||
"kind": "discovery#restDescription",
|
||||
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/0RRptSlHJI7MXoKAqjNEurqVvHk\"",
|
||||
"etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/sNrwy4GBJh0JDl02KcW1-1MdJOM\"",
|
||||
"discoveryVersion": "v1",
|
||||
"id": "civicinfo:v2",
|
||||
"name": "civicinfo",
|
||||
"canonicalName": "Civic Info",
|
||||
"version": "v2",
|
||||
"revision": "20160823",
|
||||
"revision": "20161102",
|
||||
"title": "Google Civic Information API",
|
||||
"description": "Provides polling places, early vote locations, contest data, election officials, and government representatives for U.S. residential addresses.",
|
||||
"ownerDomain": "google.com",
|
||||
"ownerName": "Google",
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||
},
|
||||
"documentationLink": "https://developers.google.com/civic-information",
|
||||
"protocol": "rest",
|
||||
@@ -191,7 +191,7 @@
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The candidate's name."
|
||||
"description": "The candidate's name. If this is a joint ticket it will indicate the name of the candidate at the top of a ticket followed by a / and that name of candidate at the bottom of the ticket. e.g. \"Mitt Romney / Paul Ryan\""
|
||||
},
|
||||
"orderOnBallot": {
|
||||
"type": "string",
|
||||
@@ -348,6 +348,35 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ContextParams": {
|
||||
"id": "ContextParams",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clientProfile": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"DivisionRepresentativeInfoRequest": {
|
||||
"id": "DivisionRepresentativeInfoRequest",
|
||||
"type": "object",
|
||||
"description": "A request to look up representative information for a single division.",
|
||||
"properties": {
|
||||
"contextParams": {
|
||||
"$ref": "ContextParams"
|
||||
}
|
||||
}
|
||||
},
|
||||
"DivisionSearchRequest": {
|
||||
"id": "DivisionSearchRequest",
|
||||
"type": "object",
|
||||
"description": "A search request for political geographies.",
|
||||
"properties": {
|
||||
"contextParams": {
|
||||
"$ref": "ContextParams"
|
||||
}
|
||||
}
|
||||
},
|
||||
"DivisionSearchResponse": {
|
||||
"id": "DivisionSearchResponse",
|
||||
"type": "object",
|
||||
@@ -439,6 +468,15 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ElectionsQueryRequest": {
|
||||
"id": "ElectionsQueryRequest",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"contextParams": {
|
||||
"$ref": "ContextParams"
|
||||
}
|
||||
}
|
||||
},
|
||||
"ElectionsQueryResponse": {
|
||||
"id": "ElectionsQueryResponse",
|
||||
"type": "object",
|
||||
@@ -650,6 +688,108 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"PostalAddress": {
|
||||
"id": "PostalAddress",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"addressLines": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"administrativeAreaName": {
|
||||
"type": "string"
|
||||
},
|
||||
"countryName": {
|
||||
"type": "string"
|
||||
},
|
||||
"countryNameCode": {
|
||||
"type": "string"
|
||||
},
|
||||
"dependentLocalityName": {
|
||||
"type": "string"
|
||||
},
|
||||
"dependentThoroughfareLeadingType": {
|
||||
"type": "string"
|
||||
},
|
||||
"dependentThoroughfareName": {
|
||||
"type": "string"
|
||||
},
|
||||
"dependentThoroughfarePostDirection": {
|
||||
"type": "string"
|
||||
},
|
||||
"dependentThoroughfarePreDirection": {
|
||||
"type": "string"
|
||||
},
|
||||
"dependentThoroughfareTrailingType": {
|
||||
"type": "string"
|
||||
},
|
||||
"dependentThoroughfaresConnector": {
|
||||
"type": "string"
|
||||
},
|
||||
"dependentThoroughfaresIndicator": {
|
||||
"type": "string"
|
||||
},
|
||||
"dependentThoroughfaresType": {
|
||||
"type": "string"
|
||||
},
|
||||
"firmName": {
|
||||
"type": "string"
|
||||
},
|
||||
"isDisputed": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"languageCode": {
|
||||
"type": "string"
|
||||
},
|
||||
"localityName": {
|
||||
"type": "string"
|
||||
},
|
||||
"postBoxNumber": {
|
||||
"type": "string"
|
||||
},
|
||||
"postalCodeNumber": {
|
||||
"type": "string"
|
||||
},
|
||||
"postalCodeNumberExtension": {
|
||||
"type": "string"
|
||||
},
|
||||
"premiseName": {
|
||||
"type": "string"
|
||||
},
|
||||
"recipientName": {
|
||||
"type": "string"
|
||||
},
|
||||
"sortingCode": {
|
||||
"type": "string"
|
||||
},
|
||||
"subAdministrativeAreaName": {
|
||||
"type": "string"
|
||||
},
|
||||
"subPremiseName": {
|
||||
"type": "string"
|
||||
},
|
||||
"thoroughfareLeadingType": {
|
||||
"type": "string"
|
||||
},
|
||||
"thoroughfareName": {
|
||||
"type": "string"
|
||||
},
|
||||
"thoroughfareNumber": {
|
||||
"type": "string"
|
||||
},
|
||||
"thoroughfarePostDirection": {
|
||||
"type": "string"
|
||||
},
|
||||
"thoroughfarePreDirection": {
|
||||
"type": "string"
|
||||
},
|
||||
"thoroughfareTrailingType": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"RepresentativeInfoData": {
|
||||
"id": "RepresentativeInfoData",
|
||||
"type": "object",
|
||||
@@ -678,6 +818,16 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"RepresentativeInfoRequest": {
|
||||
"id": "RepresentativeInfoRequest",
|
||||
"type": "object",
|
||||
"description": "A request for political geography and representative information for an address.",
|
||||
"properties": {
|
||||
"contextParams": {
|
||||
"$ref": "ContextParams"
|
||||
}
|
||||
}
|
||||
},
|
||||
"RepresentativeInfoResponse": {
|
||||
"id": "RepresentativeInfoResponse",
|
||||
"type": "object",
|
||||
@@ -766,6 +916,19 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"VoterInfoRequest": {
|
||||
"id": "VoterInfoRequest",
|
||||
"type": "object",
|
||||
"description": "A request for information about a voter.",
|
||||
"properties": {
|
||||
"contextParams": {
|
||||
"$ref": "ContextParams"
|
||||
},
|
||||
"voterInfoSegmentResult": {
|
||||
"$ref": "VoterInfoSegmentResult"
|
||||
}
|
||||
}
|
||||
},
|
||||
"VoterInfoResponse": {
|
||||
"id": "VoterInfoResponse",
|
||||
"type": "object",
|
||||
@@ -834,6 +997,25 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"VoterInfoSegmentResult": {
|
||||
"id": "VoterInfoSegmentResult",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"generatedMillis": {
|
||||
"type": "string",
|
||||
"format": "int64"
|
||||
},
|
||||
"postalAddress": {
|
||||
"$ref": "PostalAddress"
|
||||
},
|
||||
"request": {
|
||||
"$ref": "VoterInfoRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "VoterInfoResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"resources": {
|
||||
@@ -851,6 +1033,9 @@
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"request": {
|
||||
"$ref": "DivisionSearchRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "DivisionSearchResponse"
|
||||
}
|
||||
@@ -864,6 +1049,9 @@
|
||||
"path": "elections",
|
||||
"httpMethod": "GET",
|
||||
"description": "List of available elections to query.",
|
||||
"request": {
|
||||
"$ref": "ElectionsQueryRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "ElectionsQueryResponse"
|
||||
}
|
||||
@@ -903,6 +1091,9 @@
|
||||
"parameterOrder": [
|
||||
"address"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "VoterInfoRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "VoterInfoResponse"
|
||||
}
|
||||
@@ -989,6 +1180,9 @@
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"request": {
|
||||
"$ref": "RepresentativeInfoRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "RepresentativeInfoResponse"
|
||||
}
|
||||
@@ -1074,6 +1268,9 @@
|
||||
"parameterOrder": [
|
||||
"ocdId"
|
||||
],
|
||||
"request": {
|
||||
"$ref": "DivisionRepresentativeInfoRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "RepresentativeInfoData"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user