Regenerate all code

Related to #239
This commit is contained in:
Sebastian Thiel
2019-09-09 08:31:59 +02:00
parent bcc72e4fc1
commit 11db47ca2a
1565 changed files with 10716 additions and 9543 deletions

View File

@@ -72,24 +72,24 @@ pub struct JsonServerError {
/// The latter happen if the sent parameters or request structures are unsound
#[derive(Deserialize, Serialize, Debug)]
pub struct ErrorResponse {
error: ServerError,
pub error: ServerError,
}
#[derive(Deserialize, Serialize, Debug)]
pub struct ServerError {
errors: Vec<ServerMessage>,
code: u16,
message: String,
pub errors: Vec<ServerMessage>,
pub code: u16,
pub message: String,
}
#[derive(Deserialize, Serialize, Debug)]
pub struct ServerMessage {
domain: String,
reason: String,
message: String,
pub domain: String,
pub reason: String,
pub message: String,
#[serde(rename="locationType")]
location_type: Option<String>,
location: Option<String>
pub location_type: Option<String>,
pub location: Option<String>
}
#[derive(Copy, Clone)]

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 *taskqueue* crate version *1.0.10+20160428*, where *20160428* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.10*.
//! This documentation was generated from *taskqueue* crate version *1.0.11+20160428*, where *20160428* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.11*.
//!
//! Everything else about the *taskqueue* *v1_beta2* API can be found at the
//! [official documentation site](https://developers.google.com/appengine/docs/python/taskqueue/rest).
@@ -333,7 +333,7 @@ impl<'a, C, A> Taskqueue<C, A>
Taskqueue {
client: RefCell::new(client),
auth: RefCell::new(authenticator),
_user_agent: "google-api-rust-client/1.0.10".to_string(),
_user_agent: "google-api-rust-client/1.0.11".to_string(),
_base_url: "https://www.googleapis.com/taskqueue/v1beta2/projects/".to_string(),
_root_url: "https://www.googleapis.com/".to_string(),
}
@@ -347,7 +347,7 @@ impl<'a, C, A> Taskqueue<C, A>
}
/// Set the user-agent header field to use in all requests to the server.
/// It defaults to `google-api-rust-client/1.0.10`.
/// It defaults to `google-api-rust-client/1.0.11`.
///
/// Returns the previously set user-agent.
pub fn user_agent(&mut self, agent_name: String) -> String {