Regen all APIs from new JSON

This commit is contained in:
Guy Taylor
2019-04-04 18:16:26 +01:00
committed by Sebastian Thiel
parent 86a884c48b
commit 2ad9f3781d
1212 changed files with 440610 additions and 142417 deletions

View File

@@ -4,12 +4,12 @@
[package]
name = "google-clouddebugger2"
version = "1.0.8+20180925"
version = "1.0.8+20190313"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with Cloud Debugger (protocol v2)"
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/clouddebugger2"
homepage = "https://cloud.google.com/debugger"
documentation = "https://docs.rs/google-clouddebugger2/1.0.8+20180925"
documentation = "https://docs.rs/google-clouddebugger2/1.0.8+20190313"
license = "MIT"
keywords = ["clouddebugger", "google", "protocol", "web", "api"]
autobins = false
@@ -25,7 +25,7 @@ serde = "^ 1.0"
serde_json = "^ 1.0"
serde_derive = "^ 1.0"
yup-oauth2 = "^ 1.0"
url = "= 0.5"
url = "= 1.7"
[features]

View File

@@ -5,18 +5,18 @@ DO NOT EDIT !
-->
The `google-clouddebugger2` library allows access to all features of the *Google Cloud Debugger* service.
This documentation was generated from *Cloud Debugger* crate version *1.0.8+20180925*, where *20180925* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.8*.
This documentation was generated from *Cloud Debugger* crate version *1.0.8+20190313*, where *20190313* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.8*.
Everything else about the *Cloud Debugger* *v2* API can be found at the
[official documentation site](https://cloud.google.com/debugger).
# Features
Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/struct.CloudDebugger.html) ...
Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/struct.CloudDebugger.html) ...
* controller
* [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/struct.ControllerDebuggeeBreakpointListCall.html), [*debuggees breakpoints update*](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/struct.ControllerDebuggeeBreakpointUpdateCall.html) and [*debuggees register*](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/struct.ControllerDebuggeeRegisterCall.html)
* [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/struct.ControllerDebuggeeBreakpointListCall.html), [*debuggees breakpoints update*](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/struct.ControllerDebuggeeBreakpointUpdateCall.html) and [*debuggees register*](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/struct.ControllerDebuggeeRegisterCall.html)
* debugger
* [*debuggees breakpoints delete*](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointDeleteCall.html), [*debuggees breakpoints get*](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointGetCall.html), [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointListCall.html), [*debuggees breakpoints set*](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointSetCall.html) and [*debuggees list*](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/struct.DebuggerDebuggeeListCall.html)
* [*debuggees breakpoints delete*](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointDeleteCall.html), [*debuggees breakpoints get*](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointGetCall.html), [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointListCall.html), [*debuggees breakpoints set*](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointSetCall.html) and [*debuggees list*](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/struct.DebuggerDebuggeeListCall.html)
@@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r
The API is structured into the following primary items:
* **[Hub](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/struct.CloudDebugger.html)**
* **[Hub](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/struct.CloudDebugger.html)**
* a central object to maintain state and allow accessing all *Activities*
* creates [*Method Builders*](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/trait.MethodsBuilder.html) which in turn
allow access to individual [*Call Builders*](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/trait.CallBuilder.html)
* **[Resources](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/trait.Resource.html)**
* creates [*Method Builders*](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/trait.MethodsBuilder.html) which in turn
allow access to individual [*Call Builders*](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/trait.CallBuilder.html)
* **[Resources](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/trait.Resource.html)**
* primary types that you can apply *Activities* to
* a collection of properties and *Parts*
* **[Parts](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/trait.Part.html)**
* **[Parts](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/trait.Part.html)**
* a collection of properties
* never directly used in *Activities*
* **[Activities](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/trait.CallBuilder.html)**
* **[Activities](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/trait.CallBuilder.html)**
* operations to apply to *Resources*
All *structures* are marked with applicable traits to further categorize them and ease browsing.
@@ -133,17 +133,17 @@ match result {
```
## Handling Errors
All errors produced by the system are provided either as [Result](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/enum.Result.html) enumeration as return value of
All errors produced by the system are provided either as [Result](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/enum.Result.html) enumeration as return value of
the doit() methods, or handed as possibly intermediate results to either the
[Hub Delegate](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html).
[Hub Delegate](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html).
When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This
makes the system potentially resilient to all kinds of errors.
## Uploads and Downloads
If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/enum.Result.html), should be
If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/enum.Result.html), should be
read by you to obtain the media.
If such a method also supports a [Response Result](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/trait.ResponseResult.html), it will return that by default.
If such a method also supports a [Response Result](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/trait.ResponseResult.html), it will return that by default.
You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making
this call: `.param("alt", "media")`.
@@ -153,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols:
## Customization and Callbacks
You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/trait.Delegate.html) to the
[Method Builder](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/trait.CallBuilder.html) before making the final `doit()` call.
You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/trait.Delegate.html) to the
[Method Builder](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/trait.CallBuilder.html) before making the final `doit()` call.
Respective methods will be called to provide progress information, as well as determine whether the system should
retry on failure.
The [delegate trait](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort.
The [delegate trait](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort.
## Optional Parts in Server-Requests
All structures provided by this library are made to be [enocodable](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/trait.RequestValue.html) and
[decodable](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses
All structures provided by this library are made to be [enocodable](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/trait.RequestValue.html) and
[decodable](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses
are valid.
Most optionals are are considered [Parts](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/trait.Part.html) which are identifiable by name, which will be sent to
Most optionals are are considered [Parts](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/trait.Part.html) which are identifiable by name, which will be sent to
the server to indicate either the set parts of the request or the desired parts in the response.
## Builder Arguments
Using [method builders](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods.
Using [method builders](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods.
These will always take a single argument, for which the following statements are true.
* [PODs][wiki-pod] are handed by copy
* strings are passed as `&str`
* [request values](https://docs.rs/google-clouddebugger2/1.0.8+20180925/google_clouddebugger2/trait.RequestValue.html) are moved
* [request values](https://docs.rs/google-clouddebugger2/1.0.8+20190313/google_clouddebugger2/trait.RequestValue.html) are moved
Arguments will always be copied or cloned into the builder, to make them independent of their original life times.

View File

@@ -2,7 +2,7 @@
// This file was generated automatically from 'src/mako/api/lib.rs.mako'
// DO NOT EDIT !
//! This documentation was generated from *Cloud Debugger* crate version *1.0.8+20180925*, where *20180925* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.8*.
//! This documentation was generated from *Cloud Debugger* crate version *1.0.8+20190313*, where *20190313* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.8*.
//!
//! Everything else about the *Cloud Debugger* *v2* API can be found at the
//! [official documentation site](https://cloud.google.com/debugger).
@@ -448,14 +448,14 @@ impl Part for CloudWorkspaceSourceContext {}
pub struct StackFrame {
/// Demangled function name at the call site.
pub function: Option<String>,
/// Source location of the call site.
pub location: Option<SourceLocation>,
/// Set of local variables at the stack frame location.
/// Note that this might not be populated for all stack frames.
pub locals: Option<Vec<Variable>>,
/// Set of arguments passed to this function.
/// Note that this might not be populated for all stack frames.
pub arguments: Option<Vec<Variable>>,
/// Set of local variables at the stack frame location.
/// Note that this might not be populated for all stack frames.
pub locals: Option<Vec<Variable>>,
/// Source location of the call site.
pub location: Option<SourceLocation>,
}
impl Part for StackFrame {}
@@ -682,7 +682,7 @@ impl Part for GerritSourceContext {}
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct RegisterDebuggeeResponse {
/// Debuggee resource.
/// The field `id` is guranteed to be set (in addition to the echoed fields).
/// The field `id` is guaranteed to be set (in addition to the echoed fields).
/// If the field `is_disabled` is set to `true`, the agent should disable
/// itself by removing all breakpoints and detaching from the application.
/// It should however continue to poll `RegisterDebuggee` until reenabled.
@@ -778,10 +778,10 @@ pub struct Debuggee {
/// A set of custom debuggee properties, populated by the agent, to be
/// displayed to the user.
pub labels: Option<HashMap<String, String>>,
/// Uniquifier to further distiguish the application.
/// Uniquifier to further distinguish the application.
/// It is possible that different applications might have identical values in
/// the debuggee message, thus, incorrectly identified as a single application
/// by the Controller service. This field adds salt to further distiguish the
/// by the Controller service. This field adds salt to further distinguish the
/// application. Agents should consider seeding this field with value that
/// identifies the code, binary, configuration and environment.
pub uniquifier: Option<String>,
@@ -861,12 +861,12 @@ impl Part for GitSourceContext {}
///
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct CloudWorkspaceId {
/// The ID of the repo containing the workspace.
#[serde(rename="repoId")]
pub repo_id: Option<RepoId>,
/// The unique name of the workspace within the repo. This is the name
/// chosen by the client in the Source API's CreateWorkspace method.
pub name: Option<String>,
/// The ID of the repo containing the workspace.
#[serde(rename="repoId")]
pub repo_id: Option<RepoId>,
}
impl Part for CloudWorkspaceId {}
@@ -1162,14 +1162,14 @@ impl ResponseResult for SetBreakpointResponse {}
///
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct StatusMessage {
/// Distinguishes errors from informational messages.
#[serde(rename="isError")]
pub is_error: Option<bool>,
/// Status message text.
pub description: Option<FormatMessage>,
/// Reference to which the message applies.
#[serde(rename="refersTo")]
pub refers_to: Option<String>,
/// Status message text.
pub description: Option<FormatMessage>,
/// Distinguishes errors from informational messages.
#[serde(rename="isError")]
pub is_error: Option<bool>,
}
impl Part for StatusMessage {}
@@ -1586,10 +1586,7 @@ impl<'a, C, A> ControllerDebuggeeBreakpointUpdateCall<'a, C, A> where C: BorrowM
}
}
if params.len() > 0 {
url.push('?');
url.push_str(&url::form_urlencoded::serialize(params));
}
let url = hyper::Url::parse_with_params(&url, params).unwrap();
let mut json_mime_type = mime::Mime(mime::TopLevel::Application, mime::SubLevel::Json, Default::default());
let mut request_value_reader =
@@ -1621,7 +1618,7 @@ impl<'a, C, A> ControllerDebuggeeBreakpointUpdateCall<'a, C, A> where C: BorrowM
request_value_reader.seek(io::SeekFrom::Start(0)).unwrap();
let mut req_result = {
let mut client = &mut *self.hub.client.borrow_mut();
let mut req = client.borrow_mut().request(hyper::method::Method::Put, &url)
let mut req = client.borrow_mut().request(hyper::method::Method::Put, url.clone())
.header(UserAgent(self.hub._user_agent.clone()))
.header(auth_header.clone())
.header(ContentType(json_mime_type.clone()))
@@ -1721,7 +1718,7 @@ impl<'a, C, A> ControllerDebuggeeBreakpointUpdateCall<'a, C, A> where C: BorrowM
/// It should be used to set parameters which are not yet available through their own
/// setters.
///
/// Please note that this method must not be used to set any of the known paramters
/// Please note that this method must not be used to set any of the known parameters
/// which have their own setter method. If done anyway, the request will fail.
///
/// # Additional Parameters
@@ -1860,10 +1857,7 @@ impl<'a, C, A> ControllerDebuggeeRegisterCall<'a, C, A> where C: BorrowMut<hyper
}
if params.len() > 0 {
url.push('?');
url.push_str(&url::form_urlencoded::serialize(params));
}
let url = hyper::Url::parse_with_params(&url, params).unwrap();
let mut json_mime_type = mime::Mime(mime::TopLevel::Application, mime::SubLevel::Json, Default::default());
let mut request_value_reader =
@@ -1895,7 +1889,7 @@ impl<'a, C, A> ControllerDebuggeeRegisterCall<'a, C, A> where C: BorrowMut<hyper
request_value_reader.seek(io::SeekFrom::Start(0)).unwrap();
let mut req_result = {
let mut client = &mut *self.hub.client.borrow_mut();
let mut req = client.borrow_mut().request(hyper::method::Method::Post, &url)
let mut req = client.borrow_mut().request(hyper::method::Method::Post, url.clone())
.header(UserAgent(self.hub._user_agent.clone()))
.header(auth_header.clone())
.header(ContentType(json_mime_type.clone()))
@@ -1975,7 +1969,7 @@ impl<'a, C, A> ControllerDebuggeeRegisterCall<'a, C, A> where C: BorrowMut<hyper
/// It should be used to set parameters which are not yet available through their own
/// setters.
///
/// Please note that this method must not be used to set any of the known paramters
/// Please note that this method must not be used to set any of the known parameters
/// which have their own setter method. If done anyway, the request will fail.
///
/// # Additional Parameters
@@ -2143,10 +2137,7 @@ impl<'a, C, A> ControllerDebuggeeBreakpointListCall<'a, C, A> where C: BorrowMut
}
}
if params.len() > 0 {
url.push('?');
url.push_str(&url::form_urlencoded::serialize(params));
}
let url = hyper::Url::parse_with_params(&url, params).unwrap();
@@ -2166,7 +2157,7 @@ impl<'a, C, A> ControllerDebuggeeBreakpointListCall<'a, C, A> where C: BorrowMut
let auth_header = Authorization(Bearer { token: token.access_token });
let mut req_result = {
let mut client = &mut *self.hub.client.borrow_mut();
let mut req = client.borrow_mut().request(hyper::method::Method::Get, &url)
let mut req = client.borrow_mut().request(hyper::method::Method::Get, url.clone())
.header(UserAgent(self.hub._user_agent.clone()))
.header(auth_header.clone());
@@ -2266,7 +2257,7 @@ impl<'a, C, A> ControllerDebuggeeBreakpointListCall<'a, C, A> where C: BorrowMut
/// It should be used to set parameters which are not yet available through their own
/// setters.
///
/// Please note that this method must not be used to set any of the known paramters
/// Please note that this method must not be used to set any of the known parameters
/// which have their own setter method. If done anyway, the request will fail.
///
/// # Additional Parameters
@@ -2419,10 +2410,7 @@ impl<'a, C, A> DebuggerDebuggeeBreakpointGetCall<'a, C, A> where C: BorrowMut<hy
}
}
if params.len() > 0 {
url.push('?');
url.push_str(&url::form_urlencoded::serialize(params));
}
let url = hyper::Url::parse_with_params(&url, params).unwrap();
@@ -2442,7 +2430,7 @@ impl<'a, C, A> DebuggerDebuggeeBreakpointGetCall<'a, C, A> where C: BorrowMut<hy
let auth_header = Authorization(Bearer { token: token.access_token });
let mut req_result = {
let mut client = &mut *self.hub.client.borrow_mut();
let mut req = client.borrow_mut().request(hyper::method::Method::Get, &url)
let mut req = client.borrow_mut().request(hyper::method::Method::Get, url.clone())
.header(UserAgent(self.hub._user_agent.clone()))
.header(auth_header.clone());
@@ -2538,7 +2526,7 @@ impl<'a, C, A> DebuggerDebuggeeBreakpointGetCall<'a, C, A> where C: BorrowMut<hy
/// It should be used to set parameters which are not yet available through their own
/// setters.
///
/// Please note that this method must not be used to set any of the known paramters
/// Please note that this method must not be used to set any of the known parameters
/// which have their own setter method. If done anyway, the request will fail.
///
/// # Additional Parameters
@@ -2691,10 +2679,7 @@ impl<'a, C, A> DebuggerDebuggeeBreakpointDeleteCall<'a, C, A> where C: BorrowMut
}
}
if params.len() > 0 {
url.push('?');
url.push_str(&url::form_urlencoded::serialize(params));
}
let url = hyper::Url::parse_with_params(&url, params).unwrap();
@@ -2714,7 +2699,7 @@ impl<'a, C, A> DebuggerDebuggeeBreakpointDeleteCall<'a, C, A> where C: BorrowMut
let auth_header = Authorization(Bearer { token: token.access_token });
let mut req_result = {
let mut client = &mut *self.hub.client.borrow_mut();
let mut req = client.borrow_mut().request(hyper::method::Method::Delete, &url)
let mut req = client.borrow_mut().request(hyper::method::Method::Delete, url.clone())
.header(UserAgent(self.hub._user_agent.clone()))
.header(auth_header.clone());
@@ -2810,7 +2795,7 @@ impl<'a, C, A> DebuggerDebuggeeBreakpointDeleteCall<'a, C, A> where C: BorrowMut
/// It should be used to set parameters which are not yet available through their own
/// setters.
///
/// Please note that this method must not be used to set any of the known paramters
/// Please note that this method must not be used to set any of the known parameters
/// which have their own setter method. If done anyway, the request will fail.
///
/// # Additional Parameters
@@ -2948,10 +2933,7 @@ impl<'a, C, A> DebuggerDebuggeeListCall<'a, C, A> where C: BorrowMut<hyper::Clie
}
if params.len() > 0 {
url.push('?');
url.push_str(&url::form_urlencoded::serialize(params));
}
let url = hyper::Url::parse_with_params(&url, params).unwrap();
@@ -2971,7 +2953,7 @@ impl<'a, C, A> DebuggerDebuggeeListCall<'a, C, A> where C: BorrowMut<hyper::Clie
let auth_header = Authorization(Bearer { token: token.access_token });
let mut req_result = {
let mut client = &mut *self.hub.client.borrow_mut();
let mut req = client.borrow_mut().request(hyper::method::Method::Get, &url)
let mut req = client.borrow_mut().request(hyper::method::Method::Get, url.clone())
.header(UserAgent(self.hub._user_agent.clone()))
.header(auth_header.clone());
@@ -3062,7 +3044,7 @@ impl<'a, C, A> DebuggerDebuggeeListCall<'a, C, A> where C: BorrowMut<hyper::Clie
/// It should be used to set parameters which are not yet available through their own
/// setters.
///
/// Please note that this method must not be used to set any of the known paramters
/// Please note that this method must not be used to set any of the known parameters
/// which have their own setter method. If done anyway, the request will fail.
///
/// # Additional Parameters
@@ -3220,10 +3202,7 @@ impl<'a, C, A> DebuggerDebuggeeBreakpointSetCall<'a, C, A> where C: BorrowMut<hy
}
}
if params.len() > 0 {
url.push('?');
url.push_str(&url::form_urlencoded::serialize(params));
}
let url = hyper::Url::parse_with_params(&url, params).unwrap();
let mut json_mime_type = mime::Mime(mime::TopLevel::Application, mime::SubLevel::Json, Default::default());
let mut request_value_reader =
@@ -3255,7 +3234,7 @@ impl<'a, C, A> DebuggerDebuggeeBreakpointSetCall<'a, C, A> where C: BorrowMut<hy
request_value_reader.seek(io::SeekFrom::Start(0)).unwrap();
let mut req_result = {
let mut client = &mut *self.hub.client.borrow_mut();
let mut req = client.borrow_mut().request(hyper::method::Method::Post, &url)
let mut req = client.borrow_mut().request(hyper::method::Method::Post, url.clone())
.header(UserAgent(self.hub._user_agent.clone()))
.header(auth_header.clone())
.header(ContentType(json_mime_type.clone()))
@@ -3353,7 +3332,7 @@ impl<'a, C, A> DebuggerDebuggeeBreakpointSetCall<'a, C, A> where C: BorrowMut<hy
/// It should be used to set parameters which are not yet available through their own
/// setters.
///
/// Please note that this method must not be used to set any of the known paramters
/// Please note that this method must not be used to set any of the known parameters
/// which have their own setter method. If done anyway, the request will fail.
///
/// # Additional Parameters
@@ -3529,10 +3508,7 @@ impl<'a, C, A> DebuggerDebuggeeBreakpointListCall<'a, C, A> where C: BorrowMut<h
}
}
if params.len() > 0 {
url.push('?');
url.push_str(&url::form_urlencoded::serialize(params));
}
let url = hyper::Url::parse_with_params(&url, params).unwrap();
@@ -3552,7 +3528,7 @@ impl<'a, C, A> DebuggerDebuggeeBreakpointListCall<'a, C, A> where C: BorrowMut<h
let auth_header = Authorization(Bearer { token: token.access_token });
let mut req_result = {
let mut client = &mut *self.hub.client.borrow_mut();
let mut req = client.borrow_mut().request(hyper::method::Method::Get, &url)
let mut req = client.borrow_mut().request(hyper::method::Method::Get, url.clone())
.header(UserAgent(self.hub._user_agent.clone()))
.header(auth_header.clone());
@@ -3680,7 +3656,7 @@ impl<'a, C, A> DebuggerDebuggeeBreakpointListCall<'a, C, A> where C: BorrowMut<h
/// It should be used to set parameters which are not yet available through their own
/// setters.
///
/// Please note that this method must not be used to set any of the known paramters
/// Please note that this method must not be used to set any of the known parameters
/// which have their own setter method. If done anyway, the request will fail.
///
/// # Additional Parameters