/*
 * 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
 */

/// PatchedInterfaceRedundancyGroupAssociationRequest : InterfaceRedundancyGroupAssociation Serializer.

#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct PatchedInterfaceRedundancyGroupAssociationRequest {
    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
    pub id: Option<uuid::Uuid>,
    #[serde(rename = "priority", skip_serializing_if = "Option::is_none")]
    pub priority: Option<i32>,
    #[serde(
        rename = "interface_redundancy_group",
        skip_serializing_if = "Option::is_none"
    )]
    pub interface_redundancy_group:
        Option<Box<crate::models::ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
    #[serde(rename = "interface", skip_serializing_if = "Option::is_none")]
    pub interface: Option<Box<crate::models::ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
}

impl PatchedInterfaceRedundancyGroupAssociationRequest {
    /// InterfaceRedundancyGroupAssociation Serializer.
    pub fn new() -> PatchedInterfaceRedundancyGroupAssociationRequest {
        PatchedInterfaceRedundancyGroupAssociationRequest {
            id: None,
            priority: None,
            interface_redundancy_group: None,
            interface: None,
        }
    }
}
