#[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 UpdatePagerDutyIntegrationDetails {
    #[builder(into)]
    #[serde(rename = "routingKey")]
    routing_key: String,
}
impl UpdatePagerDutyIntegrationDetails {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(routing_key: impl Into<String>) -> Self {
        Self::builder().routing_key(routing_key).build()
    }
    #[inline]
    pub fn routing_key(&self) -> &str {
        &*self.routing_key
    }
}
