hanzo-client 8.5.156

Generated client for the Hanzo API — every service, one crate.
Documentation
/*
 * 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 DataroomMembership {
    /// DataroomDocumentId is the new membership id.
    #[serde(rename = "dataroomDocumentId", skip_serializing_if = "Option::is_none")]
    pub dataroom_document_id: Option<String>,
    /// DataroomId is the room the document was added to.
    #[serde(rename = "dataroomId", skip_serializing_if = "Option::is_none")]
    pub dataroom_id: Option<String>,
    /// DocumentId is the document that was added.
    #[serde(rename = "documentId", skip_serializing_if = "Option::is_none")]
    pub document_id: Option<String>,
}

impl DataroomMembership {
    pub fn new() -> DataroomMembership {
        DataroomMembership {
            dataroom_document_id: None,
            dataroom_id: None,
            document_id: None,
        }
    }
}