/*
* Hanzo Cloud API
*
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
*
* The version of the OpenAPI document: v1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GitlabProjectsOut {
/// Account is the connected GitLab username, so a client can label the list without a second call. Empty when the connection recorded none.
#[serde(rename = "account", skip_serializing_if = "Option::is_none")]
pub account: Option<String>,
/// Projects is every project the token reaches, newest activity first. Never null; [] when the account has none.
#[serde(rename = "projects", skip_serializing_if = "Option::is_none")]
pub projects: Option<Vec<models::GitlabProjectView>>,
}
impl GitlabProjectsOut {
pub fn new() -> GitlabProjectsOut {
GitlabProjectsOut {
account: None,
projects: None,
}
}
}