nautobot_openapi/models/note_input_request.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#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
12pub struct NoteInputRequest {
13 #[serde(rename = "note")]
14 pub note: String,
15}
16
17impl NoteInputRequest {
18 pub fn new(note: String) -> NoteInputRequest {
19 NoteInputRequest { note }
20 }
21}