/*
* 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};
/// StatisticsParameters : The parameter spec for `Statistics`
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct StatisticsParameters {
/// # Vector data The names of the attributes to generate statistics for. # Raster data _Optional_: An alias for each input source. The operator will automatically name the rasters `Raster-1`, `Raster-2`, … if this parameter is empty. If aliases are given, the number of aliases must match the number of input rasters. Otherwise an error is returned.
#[serde(rename = "columnNames", skip_serializing_if = "Option::is_none")]
pub column_names: Option<Vec<String>>,
/// The percentiles to compute for each attribute.
#[serde(rename = "percentiles", skip_serializing_if = "Option::is_none")]
pub percentiles: Option<Vec<f64>>,
}
impl StatisticsParameters {
/// The parameter spec for `Statistics`
pub fn new() -> StatisticsParameters {
StatisticsParameters {
column_names: None,
percentiles: None,
}
}
}