/*
* NetBox REST API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 4.6.2 (4.6)
*
* Generated by: https://openapi-generator.tech
*/
/// AvailableVlan : Representation of a VLAN which does not exist in the database.
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct AvailableVlan {
#[serde(rename = "vid", skip_serializing_if = "Option::is_none")]
pub vid: Option<i32>,
#[serde(
rename = "group",
default,
with = "::serde_with::rust::double_option",
skip_serializing_if = "Option::is_none"
)]
pub group: Option<Option<Box<crate::models::BriefVlanGroup>>>,
}
impl AvailableVlan {
/// Representation of a VLAN which does not exist in the database.
pub fn new() -> AvailableVlan {
AvailableVlan {
vid: None,
group: None,
}
}
}