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