geoengine-api-client 0.0.33

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Geo Engine API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 0.9.0
 * Contact: dev@geoengine.de
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct StrokeParam {
    #[serde(rename = "color")]
    pub color: Box<models::ColorParam>,
    #[serde(rename = "width")]
    pub width: Box<models::NumberParam>,
}

impl StrokeParam {
    pub fn new(color: models::ColorParam, width: models::NumberParam) -> StrokeParam {
        StrokeParam {
            color: Box::new(color),
            width: Box::new(width),
        }
    }
}