Skip to main content

geoengine_api_client/models/
data_path_upload.rs

1/*
2 * Geo Engine API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 0.9.0
7 * Contact: dev@geoengine.de
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct DataPathUpload {
16    #[serde(rename = "upload")]
17    pub upload: uuid::Uuid,
18}
19
20impl DataPathUpload {
21    pub fn new(upload: uuid::Uuid) -> DataPathUpload {
22        DataPathUpload {
23            upload,
24        }
25    }
26}
27