#[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 VisualCrossingConnectionDetails {
    #[serde(rename = "apiKeySecretRid")]
    api_key_secret_rid: super::SecretRid,
}
impl VisualCrossingConnectionDetails {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(api_key_secret_rid: super::SecretRid) -> Self {
        Self::builder().api_key_secret_rid(api_key_secret_rid).build()
    }
    /// Secret Rid of API key stored in Secrets Service.
    #[inline]
    pub fn api_key_secret_rid(&self) -> &super::SecretRid {
        &self.api_key_secret_rid
    }
}
