/*
* Windmill API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.682.0
* 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,
}
}
}