/*
* 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};
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum BandsByNameOrIndex {
/// Select bands by their names.
ArrayVecString(Vec<String>),
/// Select bands by zero-based band indices.
ArrayVeci32(Vec<i32>),
}
impl Default for BandsByNameOrIndex {
fn default() -> Self {
Self::ArrayVecString(Default::default())
}
}