#[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 BatchGetAvailableTagsForChannelRequest {
    #[builder(default, list(item(type = super::ChannelWithTagFilters)))]
    #[serde(
        rename = "channelsWithTagFilters",
        skip_serializing_if = "Vec::is_empty",
        default
    )]
    channels_with_tag_filters: Vec<super::ChannelWithTagFilters>,
    #[builder(
        custom(
            type = super::super::super::scout::run::api::UtcTimestamp,
            convert = Box::new
        )
    )]
    #[serde(rename = "startTime")]
    start_time: Box<super::super::super::scout::run::api::UtcTimestamp>,
    #[builder(
        custom(
            type = super::super::super::scout::run::api::UtcTimestamp,
            convert = Box::new
        )
    )]
    #[serde(rename = "endTime")]
    end_time: Box<super::super::super::scout::run::api::UtcTimestamp>,
}
impl BatchGetAvailableTagsForChannelRequest {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        start_time: super::super::super::scout::run::api::UtcTimestamp,
        end_time: super::super::super::scout::run::api::UtcTimestamp,
    ) -> Self {
        Self::builder().start_time(start_time).end_time(end_time).build()
    }
    #[inline]
    pub fn channels_with_tag_filters(&self) -> &[super::ChannelWithTagFilters] {
        &*self.channels_with_tag_filters
    }
    #[inline]
    pub fn start_time(&self) -> &super::super::super::scout::run::api::UtcTimestamp {
        &*self.start_time
    }
    #[inline]
    pub fn end_time(&self) -> &super::super::super::scout::run::api::UtcTimestamp {
        &*self.end_time
    }
}
