/*
* 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 EdrVectorSpec {
#[serde(rename = "time")]
pub time: String,
#[serde(rename = "x")]
pub x: String,
#[serde(rename = "y", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub y: Option<Option<String>>,
}
impl EdrVectorSpec {
pub fn new(time: String, x: String) -> EdrVectorSpec {
EdrVectorSpec {
time,
x,
y: None,
}
}
}