/* Code generated by Azure.Iot.Operations.ProtocolCompilerLib v1.0.0.0; DO NOT EDIT. */
#![allow(unused_imports)]

use std::collections::HashMap;

use chrono::{DateTime, Utc};
use derive_builder::Builder;
use iso8601_duration::Duration;
use serde::{Deserialize, Serialize};
use uuid::Uuid;

use super::super::common_types::{b64::Bytes, date_only::Date, decimal::Decimal, time_only::Time};
use super::thing_description_extension_error::ThingDescriptionExtensionError;
use super::thing_description_version_xid_list::ThingDescriptionVersionXidList;

/// List of Thing Description Version XIDs matching the provided constraints.
#[derive(Serialize, Deserialize, Debug, Clone, Builder)]
pub struct ListThingDescriptionVersionsResponseSchema {
    /// Error for the 'listThingDescriptionVersions' Action.
    #[serde(rename = "_error")]
    #[serde(skip_serializing_if = "Option::is_none")]
    #[builder(default = "None")]
    pub error: Option<ThingDescriptionExtensionError>,

    /// Output for the 'listThingDescriptionVersions' Action.
    #[serde(rename = "_output")]
    #[serde(skip_serializing_if = "Option::is_none")]
    #[builder(default = "None")]
    pub output: Option<ThingDescriptionVersionXidList>,
}
