#[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 Geo3dOrientationPrincipalAxes {
    #[builder(default, into)]
    #[serde(
        rename = "headingVariableName",
        skip_serializing_if = "Option::is_none",
        default
    )]
    heading_variable_name: Option<
        super::super::super::channelvariables::api::ChannelVariableName,
    >,
    #[builder(default, into)]
    #[serde(
        rename = "pitchVariableName",
        skip_serializing_if = "Option::is_none",
        default
    )]
    pitch_variable_name: Option<
        super::super::super::channelvariables::api::ChannelVariableName,
    >,
    #[builder(default, into)]
    #[serde(
        rename = "rollVariableName",
        skip_serializing_if = "Option::is_none",
        default
    )]
    roll_variable_name: Option<
        super::super::super::channelvariables::api::ChannelVariableName,
    >,
}
impl Geo3dOrientationPrincipalAxes {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new() -> Self {
        Self::builder().build()
    }
    #[inline]
    pub fn heading_variable_name(
        &self,
    ) -> Option<&super::super::super::channelvariables::api::ChannelVariableName> {
        self.heading_variable_name.as_ref().map(|o| &*o)
    }
    #[inline]
    pub fn pitch_variable_name(
        &self,
    ) -> Option<&super::super::super::channelvariables::api::ChannelVariableName> {
        self.pitch_variable_name.as_ref().map(|o| &*o)
    }
    #[inline]
    pub fn roll_variable_name(
        &self,
    ) -> Option<&super::super::super::channelvariables::api::ChannelVariableName> {
        self.roll_variable_name.as_ref().map(|o| &*o)
    }
}
