@@ -27,6 +27,9 @@ class WidgetFormula
2727 # Define a display mode for the table cell.
2828 attr_accessor :cell_display_mode
2929
30+ # Cell display mode options for the widget formula. (only if `cell_display_mode` is set to `trend`).
31+ attr_accessor :cell_display_mode_options
32+
3033 # List of conditional formats.
3134 attr_accessor :conditional_formats
3235
@@ -50,6 +53,7 @@ def self.attribute_map
5053 {
5154 :'_alias' => :'alias' ,
5255 :'cell_display_mode' => :'cell_display_mode' ,
56+ :'cell_display_mode_options' => :'cell_display_mode_options' ,
5357 :'conditional_formats' => :'conditional_formats' ,
5458 :'formula' => :'formula' ,
5559 :'limit' => :'limit' ,
@@ -64,6 +68,7 @@ def self.openapi_types
6468 {
6569 :'_alias' => :'String' ,
6670 :'cell_display_mode' => :'TableWidgetCellDisplayMode' ,
71+ :'cell_display_mode_options' => :'WidgetFormulaCellDisplayModeOptions' ,
6772 :'conditional_formats' => :'Array<WidgetConditionalFormat>' ,
6873 :'formula' => :'String' ,
6974 :'limit' => :'WidgetFormulaLimit' ,
@@ -98,6 +103,10 @@ def initialize(attributes = {})
98103 self . cell_display_mode = attributes [ :'cell_display_mode' ]
99104 end
100105
106+ if attributes . key? ( :'cell_display_mode_options' )
107+ self . cell_display_mode_options = attributes [ :'cell_display_mode_options' ]
108+ end
109+
101110 if attributes . key? ( :'conditional_formats' )
102111 if ( value = attributes [ :'conditional_formats' ] ) . is_a? ( Array )
103112 self . conditional_formats = value
@@ -167,6 +176,7 @@ def ==(o)
167176 self . class == o . class &&
168177 _alias == o . _alias &&
169178 cell_display_mode == o . cell_display_mode &&
179+ cell_display_mode_options == o . cell_display_mode_options &&
170180 conditional_formats == o . conditional_formats &&
171181 formula == o . formula &&
172182 limit == o . limit &&
@@ -179,7 +189,7 @@ def ==(o)
179189 # @return [Integer] Hash code
180190 # @!visibility private
181191 def hash
182- [ _alias , cell_display_mode , conditional_formats , formula , limit , number_format , style , additional_properties ] . hash
192+ [ _alias , cell_display_mode , cell_display_mode_options , conditional_formats , formula , limit , number_format , style , additional_properties ] . hash
183193 end
184194 end
185195end
0 commit comments