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

@@ -81,6 +81,14 @@
//! ```toml
//! [dependencies]
//! google-adexchangeseller2 = "*"
//! # 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
@@ -1243,7 +1251,7 @@ impl<'a, C, A> AccountReportSavedGenerateCall<'a, C, A> where C: BorrowMut<hyper
};
dlg.begin(MethodInfo { id: "adexchangeseller.accounts.reports.saved.generate",
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(("accountId", self._account_id.to_string()));
params.push(("savedReportId", self._saved_report_id.to_string()));
if let Some(value) = self._start_index {
@@ -1527,7 +1535,7 @@ impl<'a, C, A> AccountMetadataMetricListCall<'a, C, A> where C: BorrowMut<hyper:
};
dlg.begin(MethodInfo { id: "adexchangeseller.accounts.metadata.metrics.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(("accountId", self._account_id.to_string()));
for &field in ["alt", "accountId"].iter() {
if self._additional_params.contains_key(field) {
@@ -1791,7 +1799,7 @@ impl<'a, C, A> AccountReportGenerateCall<'a, C, A> where C: BorrowMut<hyper::Cli
};
dlg.begin(MethodInfo { id: "adexchangeseller.accounts.reports.generate",
http_method: hyper::method::Method::Get });
let mut params: Vec<(&str, String)> = Vec::with_capacity((11 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(11 + self._additional_params.len());
params.push(("accountId", self._account_id.to_string()));
params.push(("startDate", self._start_date.to_string()));
params.push(("endDate", self._end_date.to_string()));
@@ -2159,7 +2167,7 @@ impl<'a, C, A> AccountUrlchannelListCall<'a, C, A> where C: BorrowMut<hyper::Cli
};
dlg.begin(MethodInfo { id: "adexchangeseller.accounts.urlchannels.list",
http_method: hyper::method::Method::Get });
let mut params: Vec<(&str, String)> = Vec::with_capacity((6 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(6 + self._additional_params.len());
params.push(("accountId", self._account_id.to_string()));
params.push(("adClientId", self._ad_client_id.to_string()));
if let Some(value) = self._page_token {
@@ -2437,7 +2445,7 @@ impl<'a, C, A> AccountReportSavedListCall<'a, C, A> where C: BorrowMut<hyper::Cl
};
dlg.begin(MethodInfo { id: "adexchangeseller.accounts.reports.saved.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());
params.push(("accountId", self._account_id.to_string()));
if let Some(value) = self._page_token {
params.push(("pageToken", value.to_string()));
@@ -2701,7 +2709,7 @@ impl<'a, C, A> AccountPreferreddealGetCall<'a, C, A> where C: BorrowMut<hyper::C
};
dlg.begin(MethodInfo { id: "adexchangeseller.accounts.preferreddeals.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(("accountId", self._account_id.to_string()));
params.push(("dealId", self._deal_id.to_string()));
for &field in ["alt", "accountId", "dealId"].iter() {
@@ -2959,7 +2967,7 @@ impl<'a, C, A> AccountAdclientListCall<'a, C, A> where C: BorrowMut<hyper::Clien
};
dlg.begin(MethodInfo { id: "adexchangeseller.accounts.adclients.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());
params.push(("accountId", self._account_id.to_string()));
if let Some(value) = self._page_token {
params.push(("pageToken", value.to_string()));
@@ -3222,7 +3230,7 @@ impl<'a, C, A> AccountMetadataDimensionListCall<'a, C, A> where C: BorrowMut<hyp
};
dlg.begin(MethodInfo { id: "adexchangeseller.accounts.metadata.dimensions.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(("accountId", self._account_id.to_string()));
for &field in ["alt", "accountId"].iter() {
if self._additional_params.contains_key(field) {
@@ -3467,7 +3475,7 @@ impl<'a, C, A> AccountCustomchannelGetCall<'a, C, A> where C: BorrowMut<hyper::C
};
dlg.begin(MethodInfo { id: "adexchangeseller.accounts.customchannels.get",
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());
params.push(("accountId", self._account_id.to_string()));
params.push(("adClientId", self._ad_client_id.to_string()));
params.push(("customChannelId", self._custom_channel_id.to_string()));
@@ -3737,7 +3745,7 @@ impl<'a, C, A> AccountCustomchannelListCall<'a, C, A> where C: BorrowMut<hyper::
};
dlg.begin(MethodInfo { id: "adexchangeseller.accounts.customchannels.list",
http_method: hyper::method::Method::Get });
let mut params: Vec<(&str, String)> = Vec::with_capacity((6 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(6 + self._additional_params.len());
params.push(("accountId", self._account_id.to_string()));
params.push(("adClientId", self._ad_client_id.to_string()));
if let Some(value) = self._page_token {
@@ -4014,7 +4022,7 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: o
};
dlg.begin(MethodInfo { id: "adexchangeseller.accounts.list",
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());
if let Some(value) = self._page_token {
params.push(("pageToken", value.to_string()));
}
@@ -4247,7 +4255,7 @@ impl<'a, C, A> AccountAlertListCall<'a, C, A> where C: BorrowMut<hyper::Client>,
};
dlg.begin(MethodInfo { id: "adexchangeseller.accounts.alerts.list",
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(("accountId", self._account_id.to_string()));
if let Some(value) = self._locale {
params.push(("locale", value.to_string()));
@@ -4500,7 +4508,7 @@ impl<'a, C, A> AccountPreferreddealListCall<'a, C, A> where C: BorrowMut<hyper::
};
dlg.begin(MethodInfo { id: "adexchangeseller.accounts.preferreddeals.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(("accountId", self._account_id.to_string()));
for &field in ["alt", "accountId"].iter() {
if self._additional_params.contains_key(field) {
@@ -4743,7 +4751,7 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oa
};
dlg.begin(MethodInfo { id: "adexchangeseller.accounts.get",
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(("accountId", self._account_id.to_string()));
for &field in ["alt", "accountId"].iter() {
if self._additional_params.contains_key(field) {