orvanta_api/models/flow_note_canvas_position_lr.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/// FlowNoteCanvasPositionLr : Position when the canvas is laid out left-to-right
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct FlowNoteCanvasPositionLr {
17 #[serde(rename = "x")]
18 pub x: f64,
19 #[serde(rename = "y")]
20 pub y: f64,
21}
22
23impl FlowNoteCanvasPositionLr {
24 /// Position when the canvas is laid out left-to-right
25 pub fn new(x: f64, y: f64) -> FlowNoteCanvasPositionLr {
26 FlowNoteCanvasPositionLr {
27 x,
28 y,
29 }
30 }
31}
32