/// An unexpected timeout occurred when executing a query. This indicates an internal error
/// where the query may have succeeded but the response did not reach the client.
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash,
    Copy
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct UnexpectedTimeout {
    #[serde(rename = "queryId")]
    query_id: conjure_object::Uuid,
}
impl UnexpectedTimeout {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(query_id: conjure_object::Uuid) -> Self {
        Self::builder().query_id(query_id).build()
    }
    #[inline]
    pub fn query_id(&self) -> conjure_object::Uuid {
        self.query_id
    }
}
impl conjure_error::ErrorType for UnexpectedTimeout {
    #[inline]
    fn code() -> conjure_error::ErrorCode {
        conjure_error::ErrorCode::InvalidArgument
    }
    #[inline]
    fn name() -> &'static str {
        "Compute:UnexpectedTimeout"
    }
    #[inline]
    fn safe_args() -> &'static [&'static str] {
        &["queryId"]
    }
}
