netbox_openapi/models/
patched_fhrp_group_assignment_request.rs1#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
14pub struct PatchedFhrpGroupAssignmentRequest {
15 #[serde(rename = "group", skip_serializing_if = "Option::is_none")]
16 pub group: Option<Box<crate::models::FhrpGroupAssignmentRequestGroup>>,
17 #[serde(rename = "interface_type", skip_serializing_if = "Option::is_none")]
18 pub interface_type: Option<String>,
19 #[serde(rename = "interface_id", skip_serializing_if = "Option::is_none")]
20 pub interface_id: Option<i64>,
21 #[serde(rename = "priority", skip_serializing_if = "Option::is_none")]
22 pub priority: Option<i32>,
23}
24
25impl PatchedFhrpGroupAssignmentRequest {
26 pub fn new() -> PatchedFhrpGroupAssignmentRequest {
28 PatchedFhrpGroupAssignmentRequest {
29 group: None,
30 interface_type: None,
31 interface_id: None,
32 priority: None,
33 }
34 }
35}