sideko_rest_api 0.9.2

Rust API Client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// You must either provide `openapi` OR (`api_name` AND `api_version`)
#[derive(serde::Serialize, serde::Deserialize, Debug, Default, Clone)]
pub struct NewLint {
    /// Unique project name or the uuid
    #[serde(skip_serializing_if = "Option::is_none")]
    pub api_name: Option<String>,
    /// Can be either the semantic version or a released type (like latest)
    #[serde(skip_serializing_if = "Option::is_none")]
    pub api_version: Option<crate::models::ApiVersion>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub openapi: Option<crate::UploadFile>,
}