/// The requested module application could not be found.
/// This may be because the reference is incorrect or the application is unavailable in the current execution context.
#[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 MissingModuleApplication {
    #[serde(rename = "moduleApplicationRid")]
    module_application_rid: conjure_object::ResourceIdentifier,
}
impl MissingModuleApplication {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(module_application_rid: conjure_object::ResourceIdentifier) -> Self {
        Self::builder().module_application_rid(module_application_rid).build()
    }
    #[inline]
    pub fn module_application_rid(&self) -> &conjure_object::ResourceIdentifier {
        &self.module_application_rid
    }
}
impl conjure_error::ErrorType for MissingModuleApplication {
    #[inline]
    fn code() -> conjure_error::ErrorCode {
        conjure_error::ErrorCode::InvalidArgument
    }
    #[inline]
    fn name() -> &'static str {
        "Compute:MissingModuleApplication"
    }
    #[inline]
    fn safe_args() -> &'static [&'static str] {
        &["moduleApplicationRid"]
    }
}
