/// A JSON Web Key (JWK) representation for RSA public keys
#[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 Jwk {
    #[builder(into)]
    #[serde(rename = "kty")]
    kty: String,
    #[builder(into)]
    #[serde(rename = "kid")]
    kid: String,
    #[builder(into)]
    #[serde(rename = "use")]
    use_: String,
    #[builder(into)]
    #[serde(rename = "alg")]
    alg: String,
    #[builder(into)]
    #[serde(rename = "n")]
    n: String,
    #[builder(into)]
    #[serde(rename = "e")]
    e: String,
}
impl Jwk {
    #[inline]
    pub fn kty(&self) -> &str {
        &*self.kty
    }
    #[inline]
    pub fn kid(&self) -> &str {
        &*self.kid
    }
    #[inline]
    pub fn use_(&self) -> &str {
        &*self.use_
    }
    #[inline]
    pub fn alg(&self) -> &str {
        &*self.alg
    }
    #[inline]
    pub fn n(&self) -> &str {
        &*self.n
    }
    #[inline]
    pub fn e(&self) -> &str {
        &*self.e
    }
}
