#[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 TimeSeriesChartThemeV1 {
#[serde(rename = "xAxisTickFontSize")]
x_axis_tick_font_size: i32,
#[serde(rename = "xAxisTickFontColor")]
x_axis_tick_font_color: super::HexColor,
#[serde(rename = "yAxisTitleFontSize")]
y_axis_title_font_size: i32,
#[serde(rename = "yAxisTickFontSize")]
y_axis_tick_font_size: i32,
#[builder(default, into)]
#[serde(
rename = "thresholdLineWidth",
skip_serializing_if = "Option::is_none",
default
)]
threshold_line_width: Option<i32>,
}
impl TimeSeriesChartThemeV1 {
#[inline]
pub fn x_axis_tick_font_size(&self) -> i32 {
self.x_axis_tick_font_size
}
#[inline]
pub fn x_axis_tick_font_color(&self) -> &super::HexColor {
&self.x_axis_tick_font_color
}
#[inline]
pub fn y_axis_title_font_size(&self) -> i32 {
self.y_axis_title_font_size
}
#[inline]
pub fn y_axis_tick_font_size(&self) -> i32 {
self.y_axis_tick_font_size
}
#[inline]
pub fn threshold_line_width(&self) -> Option<i32> {
self.threshold_line_width.as_ref().map(|o| *o)
}
}