Class: MicrosoftGraph::Models::WorkbookChartAxes
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/workbook_chart_axes.rb
Class Method Summary collapse
-
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value.
Instance Method Summary collapse
-
#category_axis ⇒ Object
Gets the categoryAxis property value.
-
#category_axis=(value) ⇒ Object
Sets the categoryAxis property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new workbookChartAxes and sets the default values.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#series_axis ⇒ Object
Gets the seriesAxis property value.
-
#series_axis=(value) ⇒ Object
Sets the seriesAxis property value.
-
#value_axis ⇒ Object
Gets the valueAxis property value.
-
#value_axis=(value) ⇒ Object
Sets the valueAxis property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new workbookChartAxes and sets the default values.
37 38 39 |
# File 'lib/models/workbook_chart_axes.rb', line 37 def initialize() super end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
45 46 47 48 |
# File 'lib/models/workbook_chart_axes.rb', line 45 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return WorkbookChartAxes.new end |
Instance Method Details
#category_axis ⇒ Object
Gets the categoryAxis property value. Represents the category axis in a chart. Read-only.
22 23 24 |
# File 'lib/models/workbook_chart_axes.rb', line 22 def category_axis return @category_axis end |
#category_axis=(value) ⇒ Object
Sets the categoryAxis property value. Represents the category axis in a chart. Read-only.
30 31 32 |
# File 'lib/models/workbook_chart_axes.rb', line 30 def category_axis=(value) @category_axis = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
53 54 55 56 57 58 59 |
# File 'lib/models/workbook_chart_axes.rb', line 53 def get_field_deserializers() return super.merge({ "categoryAxis" => lambda {|n| @category_axis = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::WorkbookChartAxis.create_from_discriminator_value(pn) }) }, "seriesAxis" => lambda {|n| @series_axis = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::WorkbookChartAxis.create_from_discriminator_value(pn) }) }, "valueAxis" => lambda {|n| @value_axis = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::WorkbookChartAxis.create_from_discriminator_value(pn) }) }, }) end |
#serialize(writer) ⇒ Object
Serializes information the current object
65 66 67 68 69 70 71 |
# File 'lib/models/workbook_chart_axes.rb', line 65 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("categoryAxis", @category_axis) writer.write_object_value("seriesAxis", @series_axis) writer.write_object_value("valueAxis", @value_axis) end |
#series_axis ⇒ Object
Gets the seriesAxis property value. Represents the series axis of a 3-dimensional chart. Read-only.
76 77 78 |
# File 'lib/models/workbook_chart_axes.rb', line 76 def series_axis return @series_axis end |
#series_axis=(value) ⇒ Object
Sets the seriesAxis property value. Represents the series axis of a 3-dimensional chart. Read-only.
84 85 86 |
# File 'lib/models/workbook_chart_axes.rb', line 84 def series_axis=(value) @series_axis = value end |
#value_axis ⇒ Object
Gets the valueAxis property value. Represents the value axis in an axis. Read-only.
91 92 93 |
# File 'lib/models/workbook_chart_axes.rb', line 91 def value_axis return @value_axis end |
#value_axis=(value) ⇒ Object
Sets the valueAxis property value. Represents the value axis in an axis. Read-only.
99 100 101 |
# File 'lib/models/workbook_chart_axes.rb', line 99 def value_axis=(value) @value_axis = value end |