Skip to main content

nautobot_openapi/models/
bulk_writable_module_bay_request_module_family.rs

1/*
2 * API Documentation
3 *
4 * Source of truth and network automation platform
5 *
6 * The version of the OpenAPI document: 3.1.0 (3.1)
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11/// BulkWritableModuleBayRequestModuleFamily : Module family that can be installed in this bay
12
13#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
14pub struct BulkWritableModuleBayRequestModuleFamily {
15    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
16    pub id: Option<Box<crate::models::ApprovalWorkflowApprovalWorkflowDefinitionId>>,
17    #[serde(rename = "object_type", skip_serializing_if = "Option::is_none")]
18    pub object_type: Option<String>,
19    #[serde(rename = "url", skip_serializing_if = "Option::is_none")]
20    pub url: Option<String>,
21}
22
23impl BulkWritableModuleBayRequestModuleFamily {
24    /// Module family that can be installed in this bay
25    pub fn new() -> BulkWritableModuleBayRequestModuleFamily {
26        BulkWritableModuleBayRequestModuleFamily {
27            id: None,
28            object_type: None,
29            url: None,
30        }
31    }
32}