#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct Influx1LocatorTemplate {
    #[serde(rename = "database")]
    database: super::super::super::logicalseries::api::DatabaseName,
    #[serde(rename = "measurement")]
    measurement: super::super::super::logicalseries::api::MeasurementName,
    #[serde(rename = "field")]
    field: super::super::super::logicalseries::api::FieldName,
    #[serde(rename = "type")]
    type_: super::super::super::logicalseries::api::InfluxType,
}
impl Influx1LocatorTemplate {
    #[inline]
    pub fn database(&self) -> &super::super::super::logicalseries::api::DatabaseName {
        &self.database
    }
    #[inline]
    pub fn measurement(
        &self,
    ) -> &super::super::super::logicalseries::api::MeasurementName {
        &self.measurement
    }
    #[inline]
    pub fn field(&self) -> &super::super::super::logicalseries::api::FieldName {
        &self.field
    }
    #[inline]
    pub fn type_(&self) -> &super::super::super::logicalseries::api::InfluxType {
        &self.type_
    }
}
