Update to latest versions of API declarations

This commit is contained in:
Sebastian Thiel
2018-10-13 13:49:14 +02:00
parent 5a67475b54
commit 255c7f5ad5
1508 changed files with 819225 additions and 838421 deletions

View File

@@ -78,6 +78,14 @@
//! ```toml
//! [dependencies]
//! google-coordinate1 = "*"
//! # This project intentionally uses an old version of Hyper. See
//! # https://github.com/Byron/google-apis-rs/issues/173 for more
//! # information.
//! hyper = "^0.10"
//! hyper-rustls = "^0.6"
//! serde = "^1.0"
//! serde_json = "^1.0"
//! yup-oauth2 = "^1.0"
//! ```
//!
//! ## A complete example
@@ -1404,7 +1412,7 @@ impl<'a, C, A> JobGetCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oauth2
};
dlg.begin(MethodInfo { id: "coordinate.jobs.get",
http_method: hyper::method::Method::Get });
let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(4 + self._additional_params.len());
params.push(("teamId", self._team_id.to_string()));
params.push(("jobId", self._job_id.to_string()));
for &field in ["alt", "teamId", "jobId"].iter() {
@@ -1686,7 +1694,7 @@ impl<'a, C, A> JobUpdateCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oau
};
dlg.begin(MethodInfo { id: "coordinate.jobs.update",
http_method: hyper::method::Method::Put });
let mut params: Vec<(&str, String)> = Vec::with_capacity((15 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(15 + self._additional_params.len());
params.push(("teamId", self._team_id.to_string()));
params.push(("jobId", self._job_id.to_string()));
if let Some(value) = self._title {
@@ -2095,7 +2103,7 @@ impl<'a, C, A> JobPatchCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oaut
};
dlg.begin(MethodInfo { id: "coordinate.jobs.patch",
http_method: hyper::method::Method::Patch });
let mut params: Vec<(&str, String)> = Vec::with_capacity((15 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(15 + self._additional_params.len());
params.push(("teamId", self._team_id.to_string()));
params.push(("jobId", self._job_id.to_string()));
if let Some(value) = self._title {
@@ -2484,7 +2492,7 @@ impl<'a, C, A> JobListCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oauth
};
dlg.begin(MethodInfo { id: "coordinate.jobs.list",
http_method: hyper::method::Method::Get });
let mut params: Vec<(&str, String)> = Vec::with_capacity((7 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(7 + self._additional_params.len());
params.push(("teamId", self._team_id.to_string()));
if let Some(value) = self._page_token {
params.push(("pageToken", value.to_string()));
@@ -2788,7 +2796,7 @@ impl<'a, C, A> JobInsertCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oau
};
dlg.begin(MethodInfo { id: "coordinate.jobs.insert",
http_method: hyper::method::Method::Post });
let mut params: Vec<(&str, String)> = Vec::with_capacity((13 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(13 + self._additional_params.len());
params.push(("teamId", self._team_id.to_string()));
params.push(("address", self._address.to_string()));
params.push(("lat", self._lat.to_string()));
@@ -3168,7 +3176,7 @@ impl<'a, C, A> ScheduleUpdateCall<'a, C, A> where C: BorrowMut<hyper::Client>, A
};
dlg.begin(MethodInfo { id: "coordinate.schedule.update",
http_method: hyper::method::Method::Put });
let mut params: Vec<(&str, String)> = Vec::with_capacity((9 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(9 + self._additional_params.len());
params.push(("teamId", self._team_id.to_string()));
params.push(("jobId", self._job_id.to_string()));
if let Some(value) = self._start_time {
@@ -3502,7 +3510,7 @@ impl<'a, C, A> SchedulePatchCall<'a, C, A> where C: BorrowMut<hyper::Client>, A:
};
dlg.begin(MethodInfo { id: "coordinate.schedule.patch",
http_method: hyper::method::Method::Patch });
let mut params: Vec<(&str, String)> = Vec::with_capacity((9 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(9 + self._additional_params.len());
params.push(("teamId", self._team_id.to_string()));
params.push(("jobId", self._job_id.to_string()));
if let Some(value) = self._start_time {
@@ -3821,7 +3829,7 @@ impl<'a, C, A> ScheduleGetCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: o
};
dlg.begin(MethodInfo { id: "coordinate.schedule.get",
http_method: hyper::method::Method::Get });
let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(4 + self._additional_params.len());
params.push(("teamId", self._team_id.to_string()));
params.push(("jobId", self._job_id.to_string()));
for &field in ["alt", "teamId", "jobId"].iter() {
@@ -4075,7 +4083,7 @@ impl<'a, C, A> WorkerListCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oa
};
dlg.begin(MethodInfo { id: "coordinate.worker.list",
http_method: hyper::method::Method::Get });
let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len());
params.push(("teamId", self._team_id.to_string()));
for &field in ["alt", "teamId"].iter() {
if self._additional_params.contains_key(field) {
@@ -4324,7 +4332,7 @@ impl<'a, C, A> LocationListCall<'a, C, A> where C: BorrowMut<hyper::Client>, A:
};
dlg.begin(MethodInfo { id: "coordinate.location.list",
http_method: hyper::method::Method::Get });
let mut params: Vec<(&str, String)> = Vec::with_capacity((7 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(7 + self._additional_params.len());
params.push(("teamId", self._team_id.to_string()));
params.push(("workerEmail", self._worker_email.to_string()));
params.push(("startTimestampMs", self._start_timestamp_ms.to_string()));
@@ -4614,7 +4622,7 @@ impl<'a, C, A> TeamListCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oaut
};
dlg.begin(MethodInfo { id: "coordinate.team.list",
http_method: hyper::method::Method::Get });
let mut params: Vec<(&str, String)> = Vec::with_capacity((5 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(5 + self._additional_params.len());
if let Some(value) = self._worker {
params.push(("worker", value.to_string()));
}
@@ -4855,7 +4863,7 @@ impl<'a, C, A> CustomFieldDefListCall<'a, C, A> where C: BorrowMut<hyper::Client
};
dlg.begin(MethodInfo { id: "coordinate.customFieldDef.list",
http_method: hyper::method::Method::Get });
let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len());
params.push(("teamId", self._team_id.to_string()));
for &field in ["alt", "teamId"].iter() {
if self._additional_params.contains_key(field) {