/// The user is not authorized to access the containerized extractor password.
#[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 ContainerizedExtractorUnauthorizedPasswordAccess {
    #[serde(rename = "extractorRid")]
    extractor_rid: super::super::super::super::objects::ingest::api::ContainerizedExtractorRid,
}
impl ContainerizedExtractorUnauthorizedPasswordAccess {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        extractor_rid: super::super::super::super::objects::ingest::api::ContainerizedExtractorRid,
    ) -> Self {
        Self::builder().extractor_rid(extractor_rid).build()
    }
    #[inline]
    pub fn extractor_rid(
        &self,
    ) -> &super::super::super::super::objects::ingest::api::ContainerizedExtractorRid {
        &self.extractor_rid
    }
}
impl conjure_error::ErrorType for ContainerizedExtractorUnauthorizedPasswordAccess {
    #[inline]
    fn code() -> conjure_error::ErrorCode {
        conjure_error::ErrorCode::PermissionDenied
    }
    #[inline]
    fn name() -> &'static str {
        "IngestService:ContainerizedExtractorUnauthorizedPasswordAccess"
    }
    #[inline]
    fn safe_args() -> &'static [&'static str] {
        &["extractorRid"]
    }
}
