Skip to main content

orvanta_api/models/
flow_note_canvas_position_td.rs

1/*
2 * Orvanta API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 6.5.0
7 * Contact: contact@orvanta.cloud
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// FlowNoteCanvasPositionTd : Position when the canvas is laid out top-to-bottom
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct FlowNoteCanvasPositionTd {
17    #[serde(rename = "x")]
18    pub x: f64,
19    #[serde(rename = "y")]
20    pub y: f64,
21}
22
23impl FlowNoteCanvasPositionTd {
24    /// Position when the canvas is laid out top-to-bottom
25    pub fn new(x: f64, y: f64) -> FlowNoteCanvasPositionTd {
26        FlowNoteCanvasPositionTd {
27            x,
28            y,
29        }
30    }
31}
32