windmill-api 1.683.2

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

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

/// FlowNoteSize : Size of the note in the flow editor
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct FlowNoteSize {
    /// Width in pixels
    #[serde(rename = "width")]
    pub width: f64,
    /// Height in pixels
    #[serde(rename = "height")]
    pub height: f64,
}

impl FlowNoteSize {
    /// Size of the note in the flow editor
    pub fn new(width: f64, height: f64) -> FlowNoteSize {
        FlowNoteSize {
            width,
            height,
        }
    }
}