dtz_objectstore/models/
object.rs

1/*
2 * DTZ Objectstore
3 *
4 * a generated client for the DTZ Objectstore API
5 *
6 * Contact: jens@apimeister.com
7 * Generated by: https://openapi-generator.tech
8 */
9
10#[allow(unused_imports)]
11use crate::models;
12#[allow(unused_imports)]
13use serde::{Deserialize, Serialize};
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct Object {
17    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
18    pub id: Option<String>,
19    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
20    pub name: Option<String>,
21}
22
23impl Object {
24    pub fn new() -> Object {
25        Object {
26            id: None,
27            name: None,
28        }
29    }
30}
31