chore(code-gen): update to latest version

Which is to be published
This commit is contained in:
Sebastian Thiel
2016-09-11 10:13:33 +02:00
parent 13ed4eaecb
commit 45d86f31f2
626 changed files with 285857 additions and 24274 deletions

View File

@@ -4,7 +4,7 @@
[package]
name = "google-youtubereporting1-cli"
version = "0.3.6+20160315"
version = "0.3.6+20160719"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with YouTube Reporting (protocol v1)"
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/youtubereporting1-cli"
@@ -19,10 +19,10 @@ name = "youtubereporting1"
[dependencies]
hyper = "^ 0.9"
mime = "^ 0.2.0"
serde = "^ 0.7.5"
serde_json = "^ 0.7.0"
yup-oauth2 = { version = "^ 0.6.0", optional = true, default-features = false }
serde_macros = { version = "^ 0.7.5", optional = true }
serde = "^ 0.8"
serde_json = "^ 0.8"
yup-oauth2 = { version = "^ 0.6", optional = true, default-features = false }
serde_macros = { version = "^ 0.8", optional = true }
strsim = "^0.4"
yup-hyper-mock = "^1.0"
clap = "^2.0"
@@ -33,7 +33,7 @@ nightly = ["serde_macros","yup-oauth2/nightly","google-youtubereporting1/nightly
with-serde-codegen = ["serde_codegen","yup-oauth2/with-serde-codegen","google-youtubereporting1/with-serde-codegen"]
[build-dependencies]
serde_codegen = { version = "^ 0.7.14", optional = true }
serde_codegen = { version = "^ 0.8", optional = true }
[dependencies.google-youtubereporting1]

View File

@@ -24,7 +24,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma
# Usage
This documentation was generated from the *YouTube Reporting* API at revision *20160315*. The CLI is at version *0.3.6*.
This documentation was generated from the *YouTube Reporting* API at revision *20160719*. The CLI is at version *0.3.6*.
```bash
youtubereporting1 [options]

View File

@@ -1,4 +1,4 @@
site_name: YouTube Reporting v0.3.6+20160315
site_name: YouTube Reporting v0.3.6+20160719
site_url: http://byron.github.io/google-apis-rs/google-youtubereporting1-cli
site_description: Write integrating applications with bcore

View File

@@ -68,13 +68,14 @@ impl<'n> Engine<'n> {
let type_info: Option<(&'static str, JsonTypeInfo)> =
match &temp_cursor.to_string()[..] {
"name" => Some(("name", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
"create-time" => Some(("createTime", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
"expire-time" => Some(("expireTime", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
"report-type-id" => Some(("reportTypeId", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
"system-managed" => Some(("systemManaged", JsonTypeInfo { jtype: JsonType::Boolean, ctype: ComplexType::Pod })),
"id" => Some(("id", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
"create-time" => Some(("createTime", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
"name" => Some(("name", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })),
_ => {
let suggestion = FieldCursor::did_you_mean(key, &vec!["create-time", "id", "name", "report-type-id", "system-managed"]);
let suggestion = FieldCursor::did_you_mean(key, &vec!["create-time", "expire-time", "id", "name", "report-type-id", "system-managed"]);
err.issues.push(CLIError::Field(FieldError::Unknown(temp_cursor.to_string(), suggestion, value.map(|v| v.to_string()))));
None
}
@@ -849,7 +850,7 @@ fn main() {
vec![
(Some(r##"resource-name"##),
None,
Some(r##"Name of the media that is being downloaded. See ByteStream.ReadRequest.resource_name."##),
Some(r##"Name of the media that is being downloaded. See ReadRequest.resource_name."##),
Some(true),
Some(false)),
@@ -890,8 +891,8 @@ fn main() {
let mut app = App::new("youtubereporting1")
.author("Sebastian Thiel <byronimo@gmail.com>")
.version("0.3.6+20160315")
.about("Schedules reporting jobs and downloads the resulting bulk data reports about YouTube channels, videos, etc. in the form of CSV files.")
.version("0.3.6+20160719")
.about("Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files.")
.after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_youtubereporting1_cli")
.arg(Arg::with_name("url")
.long("scope")