#[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 UpdateIntegrationDetailsRequest {
    #[builder(custom(type = super::UpdateIntegrationDetails, convert = Box::new))]
    #[serde(rename = "updateIntegrationDetails")]
    update_integration_details: Box<super::UpdateIntegrationDetails>,
}
impl UpdateIntegrationDetailsRequest {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(update_integration_details: super::UpdateIntegrationDetails) -> Self {
        Self::builder().update_integration_details(update_integration_details).build()
    }
    /// Includes the information needed to rotate the integration-specific secrets.
    /// Examples include unsecured webhook URL or API keys.
    #[inline]
    pub fn update_integration_details(&self) -> &super::UpdateIntegrationDetails {
        &*self.update_integration_details
    }
}
