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

