orvanta-api 6.5.0

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 6.5.0
 * Contact: contact@orvanta.cloud
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// FlowNoteCanvasPositionLr : Position when the canvas is laid out left-to-right
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct FlowNoteCanvasPositionLr {
    #[serde(rename = "x")]
    pub x: f64,
    #[serde(rename = "y")]
    pub y: f64,
}

impl FlowNoteCanvasPositionLr {
    /// Position when the canvas is laid out left-to-right
    pub fn new(x: f64, y: f64) -> FlowNoteCanvasPositionLr {
        FlowNoteCanvasPositionLr {
            x,
            y,
        }
    }
}