Class: MicrosoftGraph::Models::WorkbookFilterCriteria
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::WorkbookFilterCriteria
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/workbook_filter_criteria.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
-
#additional_data ⇒ Object
Gets the additionalData property value.
-
#additional_data=(value) ⇒ Object
Sets the additionalData property value.
-
#color ⇒ Object
Gets the color property value.
-
#color=(value) ⇒ Object
Sets the color property value.
-
#criterion1 ⇒ Object
Gets the criterion1 property value.
-
#criterion1=(value) ⇒ Object
Sets the criterion1 property value.
-
#criterion2 ⇒ Object
Gets the criterion2 property value.
-
#criterion2=(value) ⇒ Object
Sets the criterion2 property value.
-
#dynamic_criteria ⇒ Object
Gets the dynamicCriteria property value.
-
#dynamic_criteria=(value) ⇒ Object
Sets the dynamicCriteria property value.
-
#filter_on ⇒ Object
Gets the filterOn property value.
-
#filter_on=(value) ⇒ Object
Sets the filterOn property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#icon ⇒ Object
Gets the icon property value.
-
#icon=(value) ⇒ Object
Sets the icon property value.
-
#initialize ⇒ Object
constructor
Instantiates a new workbookFilterCriteria and sets the default values.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#operator ⇒ Object
Gets the operator property value.
-
#operator=(value) ⇒ Object
Sets the operator property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#values ⇒ Object
Gets the values property value.
-
#values=(value) ⇒ Object
Sets the values property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new workbookFilterCriteria and sets the default values.
73 74 75 |
# File 'lib/models/workbook_filter_criteria.rb', line 73 def initialize() @additional_data = Hash.new end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
81 82 83 84 |
# File 'lib/models/workbook_filter_criteria.rb', line 81 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return WorkbookFilterCriteria.new end |
Instance Method Details
#additional_data ⇒ Object
Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
43 44 45 |
# File 'lib/models/workbook_filter_criteria.rb', line 43 def additional_data return @additional_data end |
#additional_data=(value) ⇒ Object
Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
51 52 53 |
# File 'lib/models/workbook_filter_criteria.rb', line 51 def additional_data=(value) @additional_data = value end |
#color ⇒ Object
Gets the color property value. The color property
58 59 60 |
# File 'lib/models/workbook_filter_criteria.rb', line 58 def color return @color end |
#color=(value) ⇒ Object
Sets the color property value. The color property
66 67 68 |
# File 'lib/models/workbook_filter_criteria.rb', line 66 def color=(value) @color = value end |
#criterion1 ⇒ Object
Gets the criterion1 property value. The criterion1 property
89 90 91 |
# File 'lib/models/workbook_filter_criteria.rb', line 89 def criterion1 return @criterion1 end |
#criterion1=(value) ⇒ Object
Sets the criterion1 property value. The criterion1 property
97 98 99 |
# File 'lib/models/workbook_filter_criteria.rb', line 97 def criterion1=(value) @criterion1 = value end |
#criterion2 ⇒ Object
Gets the criterion2 property value. The criterion2 property
104 105 106 |
# File 'lib/models/workbook_filter_criteria.rb', line 104 def criterion2 return @criterion2 end |
#criterion2=(value) ⇒ Object
Sets the criterion2 property value. The criterion2 property
112 113 114 |
# File 'lib/models/workbook_filter_criteria.rb', line 112 def criterion2=(value) @criterion2 = value end |
#dynamic_criteria ⇒ Object
Gets the dynamicCriteria property value. The dynamicCriteria property
119 120 121 |
# File 'lib/models/workbook_filter_criteria.rb', line 119 def dynamic_criteria return @dynamic_criteria end |
#dynamic_criteria=(value) ⇒ Object
Sets the dynamicCriteria property value. The dynamicCriteria property
127 128 129 |
# File 'lib/models/workbook_filter_criteria.rb', line 127 def dynamic_criteria=(value) @dynamic_criteria = value end |
#filter_on ⇒ Object
Gets the filterOn property value. The filterOn property
134 135 136 |
# File 'lib/models/workbook_filter_criteria.rb', line 134 def filter_on return @filter_on end |
#filter_on=(value) ⇒ Object
Sets the filterOn property value. The filterOn property
142 143 144 |
# File 'lib/models/workbook_filter_criteria.rb', line 142 def filter_on=(value) @filter_on = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
149 150 151 152 153 154 155 156 157 158 159 160 161 |
# File 'lib/models/workbook_filter_criteria.rb', line 149 def get_field_deserializers() return { "color" => lambda {|n| @color = n.get_string_value() }, "criterion1" => lambda {|n| @criterion1 = n.get_string_value() }, "criterion2" => lambda {|n| @criterion2 = n.get_string_value() }, "dynamicCriteria" => lambda {|n| @dynamic_criteria = n.get_string_value() }, "filterOn" => lambda {|n| @filter_on = n.get_string_value() }, "icon" => lambda {|n| @icon = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::WorkbookIcon.create_from_discriminator_value(pn) }) }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "operator" => lambda {|n| @operator = n.get_string_value() }, "values" => lambda {|n| @values = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Json.create_from_discriminator_value(pn) }) }, } end |
#icon ⇒ Object
Gets the icon property value. The icon property
166 167 168 |
# File 'lib/models/workbook_filter_criteria.rb', line 166 def icon return @icon end |
#icon=(value) ⇒ Object
Sets the icon property value. The icon property
174 175 176 |
# File 'lib/models/workbook_filter_criteria.rb', line 174 def icon=(value) @icon = value end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
181 182 183 |
# File 'lib/models/workbook_filter_criteria.rb', line 181 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
189 190 191 |
# File 'lib/models/workbook_filter_criteria.rb', line 189 def odata_type=(value) @odata_type = value end |
#operator ⇒ Object
Gets the operator property value. The operator property
196 197 198 |
# File 'lib/models/workbook_filter_criteria.rb', line 196 def operator return @operator end |
#operator=(value) ⇒ Object
Sets the operator property value. The operator property
204 205 206 |
# File 'lib/models/workbook_filter_criteria.rb', line 204 def operator=(value) @operator = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
212 213 214 215 216 217 218 219 220 221 222 223 224 |
# File 'lib/models/workbook_filter_criteria.rb', line 212 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("color", @color) writer.write_string_value("criterion1", @criterion1) writer.write_string_value("criterion2", @criterion2) writer.write_string_value("dynamicCriteria", @dynamic_criteria) writer.write_string_value("filterOn", @filter_on) writer.write_object_value("icon", @icon) writer.write_string_value("@odata.type", @odata_type) writer.write_string_value("operator", @operator) writer.write_object_value("values", @values) writer.write_additional_data(@additional_data) end |
#values ⇒ Object
Gets the values property value. The values property
229 230 231 |
# File 'lib/models/workbook_filter_criteria.rb', line 229 def values return @values end |
#values=(value) ⇒ Object
Sets the values property value. The values property
237 238 239 |
# File 'lib/models/workbook_filter_criteria.rb', line 237 def values=(value) @values = value end |