ehelply/models/
category_base.rs

1/*
2 * eHelply SDK - 1.1.118
3 *
4 * eHelply SDK for SuperStack Services
5 *
6 * The version of the OpenAPI document: 1.1.118
7 * Contact: support@ehelply.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11/// CategoryBase : **:param** name                                **type:** string **:param** meta                                **type:** dict or None  **:param** project_uuid                        **type:** string or None
12
13
14
15#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
16pub struct CategoryBase {
17    #[serde(rename = "name")]
18    pub name: String,
19    #[serde(rename = "meta_uuid", skip_serializing_if = "Option::is_none")]
20    pub meta_uuid: Option<String>,
21    #[serde(rename = "meta", skip_serializing_if = "Option::is_none")]
22    pub meta: Option<serde_json::Value>,
23    #[serde(rename = "project_uuid", skip_serializing_if = "Option::is_none")]
24    pub project_uuid: Option<String>,
25}
26
27impl CategoryBase {
28    /// **:param** name                                **type:** string **:param** meta                                **type:** dict or None  **:param** project_uuid                        **type:** string or None
29    pub fn new(name: String) -> CategoryBase {
30        CategoryBase {
31            name,
32            meta_uuid: None,
33            meta: None,
34            project_uuid: None,
35        }
36    }
37}
38
39