Skip to main content

geoengine_api_client/models/
multi_band_gdal_source.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/// MultiBandGdalSource : The [`MultiBandGdalSource`] is a source operator that reads multi-band raster data using GDAL.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct MultiBandGdalSource {
17    #[serde(rename = "params")]
18    pub params: Box<models::GdalSourceParameters>,
19    #[serde(rename = "type")]
20    pub r#type: Type,
21}
22
23impl MultiBandGdalSource {
24    /// The [`MultiBandGdalSource`] is a source operator that reads multi-band raster data using GDAL.
25    pub fn new(params: models::GdalSourceParameters, r#type: Type) -> MultiBandGdalSource {
26        MultiBandGdalSource {
27            params: Box::new(params),
28            r#type,
29        }
30    }
31}
32/// 
33#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
34pub enum Type {
35    #[serde(rename = "MultiBandGdalSource")]
36    MultiBandGdalSource,
37}
38
39impl Default for Type {
40    fn default() -> Type {
41        Self::MultiBandGdalSource
42    }
43}
44