/// Orientation specified as Euler angles yaw/pitch/roll in degrees.
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    conjure_object::private::DeriveWith
)]
#[serde(crate = "conjure_object::serde")]
#[derive_with(PartialEq, Eq, PartialOrd, Ord, Hash)]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct Geo3dOrientationEulerAngles {
    #[builder(custom(type = super::VariableStaticOrChannel, convert = Box::new))]
    #[serde(rename = "yaw")]
    yaw: Box<super::VariableStaticOrChannel>,
    #[builder(custom(type = super::VariableStaticOrChannel, convert = Box::new))]
    #[serde(rename = "pitch")]
    pitch: Box<super::VariableStaticOrChannel>,
    #[builder(custom(type = super::VariableStaticOrChannel, convert = Box::new))]
    #[serde(rename = "roll")]
    roll: Box<super::VariableStaticOrChannel>,
}
impl Geo3dOrientationEulerAngles {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        yaw: super::VariableStaticOrChannel,
        pitch: super::VariableStaticOrChannel,
        roll: super::VariableStaticOrChannel,
    ) -> Self {
        Self::builder().yaw(yaw).pitch(pitch).roll(roll).build()
    }
    #[inline]
    pub fn yaw(&self) -> &super::VariableStaticOrChannel {
        &*self.yaw
    }
    #[inline]
    pub fn pitch(&self) -> &super::VariableStaticOrChannel {
        &*self.pitch
    }
    #[inline]
    pub fn roll(&self) -> &super::VariableStaticOrChannel {
        &*self.roll
    }
}
