#[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 OktaRegistrationResponse {
#[builder(default, list(item(type = super::OktaUpdateActionCommand)))]
#[serde(rename = "commands", skip_serializing_if = "Vec::is_empty", default)]
commands: Vec<super::OktaUpdateActionCommand>,
}
impl OktaRegistrationResponse {
#[inline]
pub fn new() -> Self {
Self::builder().build()
}
#[inline]
pub fn commands(&self) -> &[super::OktaUpdateActionCommand] {
&*self.commands
}
}