mirror of
https://github.com/Tribufu/TribufuRust
synced 2026-08-09 21:01:07 +00:00
Update api to 1.4.3
This commit is contained in:
parent
9eb473d6d6
commit
732ad87783
53 changed files with 321 additions and 1022 deletions
|
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
* Generated by: https://openapi-generator.tech
|
||||
*/
|
||||
|
|
@ -23,20 +23,22 @@ pub struct Package {
|
|||
pub author_id: Option<String>,
|
||||
#[serde(rename = "image_url", deserialize_with = "Option::deserialize")]
|
||||
pub image_url: Option<String>,
|
||||
#[serde(rename = "application_id", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||
pub application_id: Option<Option<String>>,
|
||||
#[serde(rename = "category_id", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||
pub category_id: Option<Option<String>>,
|
||||
#[serde(rename = "application_id", skip_serializing_if = "Option::is_none")]
|
||||
pub application_id: Option<String>,
|
||||
#[serde(rename = "category_id", skip_serializing_if = "Option::is_none")]
|
||||
pub category_id: Option<String>,
|
||||
#[serde(rename = "download_count", skip_serializing_if = "Option::is_none")]
|
||||
pub download_count: Option<i32>,
|
||||
#[serde(rename = "last_download", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||
pub last_download: Option<Option<String>>,
|
||||
#[serde(rename = "releases", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||
pub releases: Option<Option<Vec<models::PackageRelease>>>,
|
||||
#[serde(rename = "created", skip_serializing_if = "Option::is_none")]
|
||||
pub created: Option<String>,
|
||||
#[serde(rename = "updated", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||
pub updated: Option<Option<String>>,
|
||||
#[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
|
||||
pub created_at: Option<String>,
|
||||
#[serde(rename = "updated_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||
pub updated_at: Option<Option<String>>,
|
||||
#[serde(rename = "deleted_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
|
||||
pub deleted_at: Option<Option<String>>,
|
||||
}
|
||||
|
||||
impl Package {
|
||||
|
|
@ -52,8 +54,9 @@ impl Package {
|
|||
download_count: None,
|
||||
last_download: None,
|
||||
releases: None,
|
||||
created: None,
|
||||
updated: None,
|
||||
created_at: None,
|
||||
updated_at: None,
|
||||
deleted_at: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue