#[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 BatchGetRequestProgressResponse {
    #[builder(
        default,
        map(key(type = conjure_object::Uuid), value(type = super::RequestProgress))
    )]
    #[serde(
        rename = "progressByRequestId",
        serialize_with = "conjure_object::private::serialize_map_keys_as_strings",
        skip_serializing_if = "std::collections::BTreeMap::is_empty",
        default
    )]
    progress_by_request_id: std::collections::BTreeMap<
        conjure_object::Uuid,
        super::RequestProgress,
    >,
}
impl BatchGetRequestProgressResponse {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new() -> Self {
        Self::builder().build()
    }
    /// Contains an entry for every requested request ID.
    #[inline]
    pub fn progress_by_request_id(
        &self,
    ) -> &std::collections::BTreeMap<conjure_object::Uuid, super::RequestProgress> {
        &self.progress_by_request_id
    }
}
