/*
* Geo Engine API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* Contact: dev@geoengine.de
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// TaskResponse : Create a task somewhere and respond with a task id to query the task status.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TaskResponse {
#[serde(rename = "taskId")]
pub task_id: uuid::Uuid,
}
impl TaskResponse {
/// Create a task somewhere and respond with a task id to query the task status.
pub fn new(task_id: uuid::Uuid) -> TaskResponse {
TaskResponse {
task_id,
}
}
}