/* 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};

/// The XID components that identify a Resource.
#[derive(Serialize, Deserialize, Debug, Clone, Builder)]
pub struct ResourceXid {
    /// Group type.
    #[serde(rename = "groupType")]
    pub group_type: String,

    /// Group identifier.
    #[serde(rename = "groupId")]
    pub group_id: String,

    /// Resource type.
    #[serde(rename = "resourceType")]
    pub resource_type: String,

    /// Resource identifier.
    #[serde(rename = "resourceId")]
    pub resource_id: String,
}
