nominal-api 0.1239.0

API bindings for the Nominal platform
Documentation
#[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 GetUserOrgsResponse {
    #[builder(
        default,
        map(key(type = conjure_object::Uuid), value(type = String, into))
    )]
    #[serde(
        rename = "orgs",
        serialize_with = "conjure_object::private::serialize_map_keys_as_strings",
        skip_serializing_if = "std::collections::BTreeMap::is_empty",
        default
    )]
    orgs: std::collections::BTreeMap<conjure_object::Uuid, String>,
}
impl GetUserOrgsResponse {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new() -> Self {
        Self::builder().build()
    }
    #[inline]
    pub fn orgs(&self) -> &std::collections::BTreeMap<conjure_object::Uuid, String> {
        &self.orgs
    }
}