Skip to main content

geoengine_api_client/models/
wrapped_plot_output.rs

1/*
2 * Geo Engine API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * Contact: dev@geoengine.de
7 * Generated by: https://openapi-generator.tech
8 */
9
10use crate::models;
11use serde::{Deserialize, Serialize};
12
13#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
14pub struct WrappedPlotOutput {
15    #[serde(rename = "data")]
16    pub data: serde_json::Value,
17    #[serde(rename = "outputFormat")]
18    pub output_format: models::PlotOutputFormat,
19    #[serde(rename = "plotType")]
20    pub plot_type: String,
21}
22
23impl WrappedPlotOutput {
24    pub fn new(data: serde_json::Value, output_format: models::PlotOutputFormat, plot_type: String) -> WrappedPlotOutput {
25        WrappedPlotOutput {
26            data,
27            output_format,
28            plot_type,
29        }
30    }
31}
32