/*
 * API Documentation
 *
 * Source of truth and network automation platform
 *
 * The version of the OpenAPI document: 3.1.0 (3.1)
 *
 * Generated by: https://openapi-generator.tech
 */

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct ApprovalWorkflowDefinitionRequestRelationshipsValue {
    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
    pub id: Option<uuid::Uuid>,
    #[serde(rename = "url", skip_serializing_if = "Option::is_none")]
    pub url: Option<String>,
    #[serde(rename = "label", skip_serializing_if = "Option::is_none")]
    pub label: Option<String>,
    #[serde(rename = "type", skip_serializing_if = "Option::is_none")]
    pub r#type: Option<String>,
    #[serde(rename = "source", skip_serializing_if = "Option::is_none")]
    pub source:
        Option<Box<crate::models::ApprovalWorkflowDefinitionRequestRelationshipsValueSource>>,
    #[serde(rename = "destination", skip_serializing_if = "Option::is_none")]
    pub destination:
        Option<Box<crate::models::ApprovalWorkflowDefinitionRequestRelationshipsValueSource>>,
    #[serde(rename = "peer", skip_serializing_if = "Option::is_none")]
    pub peer: Option<Box<crate::models::ApprovalWorkflowDefinitionRequestRelationshipsValueSource>>,
}

impl ApprovalWorkflowDefinitionRequestRelationshipsValue {
    pub fn new() -> ApprovalWorkflowDefinitionRequestRelationshipsValue {
        ApprovalWorkflowDefinitionRequestRelationshipsValue {
            id: None,
            url: None,
            label: None,
            r#type: None,
            source: None,
            destination: None,
            peer: None,
        }
    }
}
