/* Code generated by Azure.Iot.Operations.ProtocolCompilerLib v0.10.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};

/// A reference to the Device and Endpoint within the device (connection information) used by brokers to connect that provides data points for this asset.
#[derive(Serialize, Deserialize, Debug, Clone, Builder)]
pub struct AssetDeviceRef {
    /// Name of the device resource.
    #[serde(rename = "deviceName")]
    pub device_name: String,

    /// The name of endpoint to use.
    #[serde(rename = "endpointName")]
    pub endpoint_name: String,
}
