/// The requested module function could not be executed because a required parameter was not provided.
#[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 MissingFunctionParameter {
    #[builder(into)]
    #[serde(rename = "moduleName")]
    module_name: String,
    #[builder(into)]
    #[serde(rename = "moduleVersion")]
    module_version: String,
    #[builder(into)]
    #[serde(rename = "functionName")]
    function_name: String,
    #[builder(into)]
    #[serde(rename = "parameterName")]
    parameter_name: String,
}
impl MissingFunctionParameter {
    #[inline]
    pub fn module_name(&self) -> &str {
        &*self.module_name
    }
    #[inline]
    pub fn module_version(&self) -> &str {
        &*self.module_version
    }
    #[inline]
    pub fn function_name(&self) -> &str {
        &*self.function_name
    }
    #[inline]
    pub fn parameter_name(&self) -> &str {
        &*self.parameter_name
    }
}
impl conjure_error::ErrorType for MissingFunctionParameter {
    #[inline]
    fn code() -> conjure_error::ErrorCode {
        conjure_error::ErrorCode::InvalidArgument
    }
    #[inline]
    fn name() -> &'static str {
        "Compute:MissingFunctionParameter"
    }
    #[inline]
    fn safe_args() -> &'static [&'static str] {
        &[]
    }
}
