Class: MicrosoftGraph::Models::AndroidMinimumOperatingSystem
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::AndroidMinimumOperatingSystem
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/android_minimum_operating_system.rb
Overview
Contains properties for the minimum operating system required for an Android mobile app.
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.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new androidMinimumOperatingSystem and sets the default values.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#v10_0 ⇒ Object
Gets the v10_0 property value.
-
#v10_0=(value) ⇒ Object
Sets the v10_0 property value.
-
#v11_0 ⇒ Object
Gets the v11_0 property value.
-
#v11_0=(value) ⇒ Object
Sets the v11_0 property value.
-
#v4_0 ⇒ Object
Gets the v4_0 property value.
-
#v4_0=(value) ⇒ Object
Sets the v4_0 property value.
-
#v4_0_3 ⇒ Object
Gets the v4_0_3 property value.
-
#v4_0_3=(value) ⇒ Object
Sets the v4_0_3 property value.
-
#v4_1 ⇒ Object
Gets the v4_1 property value.
-
#v4_1=(value) ⇒ Object
Sets the v4_1 property value.
-
#v4_2 ⇒ Object
Gets the v4_2 property value.
-
#v4_2=(value) ⇒ Object
Sets the v4_2 property value.
-
#v4_3 ⇒ Object
Gets the v4_3 property value.
-
#v4_3=(value) ⇒ Object
Sets the v4_3 property value.
-
#v4_4 ⇒ Object
Gets the v4_4 property value.
-
#v4_4=(value) ⇒ Object
Sets the v4_4 property value.
-
#v5_0 ⇒ Object
Gets the v5_0 property value.
-
#v5_0=(value) ⇒ Object
Sets the v5_0 property value.
-
#v5_1 ⇒ Object
Gets the v5_1 property value.
-
#v5_1=(value) ⇒ Object
Sets the v5_1 property value.
-
#v6_0 ⇒ Object
Gets the v6_0 property value.
-
#v6_0=(value) ⇒ Object
Sets the v6_0 property value.
-
#v7_0 ⇒ Object
Gets the v7_0 property value.
-
#v7_0=(value) ⇒ Object
Sets the v7_0 property value.
-
#v7_1 ⇒ Object
Gets the v7_1 property value.
-
#v7_1=(value) ⇒ Object
Sets the v7_1 property value.
-
#v8_0 ⇒ Object
Gets the v8_0 property value.
-
#v8_0=(value) ⇒ Object
Sets the v8_0 property value.
-
#v8_1 ⇒ Object
Gets the v8_1 property value.
-
#v8_1=(value) ⇒ Object
Sets the v8_1 property value.
-
#v9_0 ⇒ Object
Gets the v9_0 property value.
-
#v9_0=(value) ⇒ Object
Sets the v9_0 property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new androidMinimumOperatingSystem and sets the default values.
84 85 86 |
# File 'lib/models/android_minimum_operating_system.rb', line 84 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
92 93 94 95 |
# File 'lib/models/android_minimum_operating_system.rb', line 92 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return .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.
69 70 71 |
# File 'lib/models/android_minimum_operating_system.rb', line 69 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.
77 78 79 |
# File 'lib/models/android_minimum_operating_system.rb', line 77 def additional_data=(value) @additional_data = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
# File 'lib/models/android_minimum_operating_system.rb', line 100 def get_field_deserializers() return { "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "v10_0" => lambda {|n| @v10_0 = n.get_boolean_value() }, "v11_0" => lambda {|n| @v11_0 = n.get_boolean_value() }, "v4_0" => lambda {|n| @v4_0 = n.get_boolean_value() }, "v4_0_3" => lambda {|n| @v4_0_3 = n.get_boolean_value() }, "v4_1" => lambda {|n| @v4_1 = n.get_boolean_value() }, "v4_2" => lambda {|n| @v4_2 = n.get_boolean_value() }, "v4_3" => lambda {|n| @v4_3 = n.get_boolean_value() }, "v4_4" => lambda {|n| @v4_4 = n.get_boolean_value() }, "v5_0" => lambda {|n| @v5_0 = n.get_boolean_value() }, "v5_1" => lambda {|n| @v5_1 = n.get_boolean_value() }, "v6_0" => lambda {|n| @v6_0 = n.get_boolean_value() }, "v7_0" => lambda {|n| @v7_0 = n.get_boolean_value() }, "v7_1" => lambda {|n| @v7_1 = n.get_boolean_value() }, "v8_0" => lambda {|n| @v8_0 = n.get_boolean_value() }, "v8_1" => lambda {|n| @v8_1 = n.get_boolean_value() }, "v9_0" => lambda {|n| @v9_0 = n.get_boolean_value() }, } end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
125 126 127 |
# File 'lib/models/android_minimum_operating_system.rb', line 125 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
133 134 135 |
# File 'lib/models/android_minimum_operating_system.rb', line 133 def odata_type=(value) @odata_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 |
# File 'lib/models/android_minimum_operating_system.rb', line 141 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("@odata.type", @odata_type) writer.write_boolean_value("v10_0", @v10_0) writer.write_boolean_value("v11_0", @v11_0) writer.write_boolean_value("v4_0", @v4_0) writer.write_boolean_value("v4_0_3", @v4_0_3) writer.write_boolean_value("v4_1", @v4_1) writer.write_boolean_value("v4_2", @v4_2) writer.write_boolean_value("v4_3", @v4_3) writer.write_boolean_value("v4_4", @v4_4) writer.write_boolean_value("v5_0", @v5_0) writer.write_boolean_value("v5_1", @v5_1) writer.write_boolean_value("v6_0", @v6_0) writer.write_boolean_value("v7_0", @v7_0) writer.write_boolean_value("v7_1", @v7_1) writer.write_boolean_value("v8_0", @v8_0) writer.write_boolean_value("v8_1", @v8_1) writer.write_boolean_value("v9_0", @v9_0) writer.write_additional_data(@additional_data) end |
#v10_0 ⇒ Object
Gets the v10_0 property value. When TRUE, only Version 10.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
166 167 168 |
# File 'lib/models/android_minimum_operating_system.rb', line 166 def v10_0 return @v10_0 end |
#v10_0=(value) ⇒ Object
Sets the v10_0 property value. When TRUE, only Version 10.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
174 175 176 |
# File 'lib/models/android_minimum_operating_system.rb', line 174 def v10_0=(value) @v10_0 = value end |
#v11_0 ⇒ Object
Gets the v11_0 property value. When TRUE, only Version 11.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
181 182 183 |
# File 'lib/models/android_minimum_operating_system.rb', line 181 def v11_0 return @v11_0 end |
#v11_0=(value) ⇒ Object
Sets the v11_0 property value. When TRUE, only Version 11.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
189 190 191 |
# File 'lib/models/android_minimum_operating_system.rb', line 189 def v11_0=(value) @v11_0 = value end |
#v4_0 ⇒ Object
Gets the v4_0 property value. When TRUE, only Version 4.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
196 197 198 |
# File 'lib/models/android_minimum_operating_system.rb', line 196 def v4_0 return @v4_0 end |
#v4_0=(value) ⇒ Object
Sets the v4_0 property value. When TRUE, only Version 4.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
204 205 206 |
# File 'lib/models/android_minimum_operating_system.rb', line 204 def v4_0=(value) @v4_0 = value end |
#v4_0_3 ⇒ Object
Gets the v4_0_3 property value. When TRUE, only Version 4.0.3 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
211 212 213 |
# File 'lib/models/android_minimum_operating_system.rb', line 211 def v4_0_3 return @v4_0_3 end |
#v4_0_3=(value) ⇒ Object
Sets the v4_0_3 property value. When TRUE, only Version 4.0.3 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
219 220 221 |
# File 'lib/models/android_minimum_operating_system.rb', line 219 def v4_0_3=(value) @v4_0_3 = value end |
#v4_1 ⇒ Object
Gets the v4_1 property value. When TRUE, only Version 4.1 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
226 227 228 |
# File 'lib/models/android_minimum_operating_system.rb', line 226 def v4_1 return @v4_1 end |
#v4_1=(value) ⇒ Object
Sets the v4_1 property value. When TRUE, only Version 4.1 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
234 235 236 |
# File 'lib/models/android_minimum_operating_system.rb', line 234 def v4_1=(value) @v4_1 = value end |
#v4_2 ⇒ Object
Gets the v4_2 property value. When TRUE, only Version 4.2 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
241 242 243 |
# File 'lib/models/android_minimum_operating_system.rb', line 241 def v4_2 return @v4_2 end |
#v4_2=(value) ⇒ Object
Sets the v4_2 property value. When TRUE, only Version 4.2 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
249 250 251 |
# File 'lib/models/android_minimum_operating_system.rb', line 249 def v4_2=(value) @v4_2 = value end |
#v4_3 ⇒ Object
Gets the v4_3 property value. When TRUE, only Version 4.3 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
256 257 258 |
# File 'lib/models/android_minimum_operating_system.rb', line 256 def v4_3 return @v4_3 end |
#v4_3=(value) ⇒ Object
Sets the v4_3 property value. When TRUE, only Version 4.3 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
264 265 266 |
# File 'lib/models/android_minimum_operating_system.rb', line 264 def v4_3=(value) @v4_3 = value end |
#v4_4 ⇒ Object
Gets the v4_4 property value. When TRUE, only Version 4.4 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
271 272 273 |
# File 'lib/models/android_minimum_operating_system.rb', line 271 def v4_4 return @v4_4 end |
#v4_4=(value) ⇒ Object
Sets the v4_4 property value. When TRUE, only Version 4.4 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
279 280 281 |
# File 'lib/models/android_minimum_operating_system.rb', line 279 def v4_4=(value) @v4_4 = value end |
#v5_0 ⇒ Object
Gets the v5_0 property value. When TRUE, only Version 5.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
286 287 288 |
# File 'lib/models/android_minimum_operating_system.rb', line 286 def v5_0 return @v5_0 end |
#v5_0=(value) ⇒ Object
Sets the v5_0 property value. When TRUE, only Version 5.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
294 295 296 |
# File 'lib/models/android_minimum_operating_system.rb', line 294 def v5_0=(value) @v5_0 = value end |
#v5_1 ⇒ Object
Gets the v5_1 property value. When TRUE, only Version 5.1 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
301 302 303 |
# File 'lib/models/android_minimum_operating_system.rb', line 301 def v5_1 return @v5_1 end |
#v5_1=(value) ⇒ Object
Sets the v5_1 property value. When TRUE, only Version 5.1 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
309 310 311 |
# File 'lib/models/android_minimum_operating_system.rb', line 309 def v5_1=(value) @v5_1 = value end |
#v6_0 ⇒ Object
Gets the v6_0 property value. When TRUE, only Version 6.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
316 317 318 |
# File 'lib/models/android_minimum_operating_system.rb', line 316 def v6_0 return @v6_0 end |
#v6_0=(value) ⇒ Object
Sets the v6_0 property value. When TRUE, only Version 6.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
324 325 326 |
# File 'lib/models/android_minimum_operating_system.rb', line 324 def v6_0=(value) @v6_0 = value end |
#v7_0 ⇒ Object
Gets the v7_0 property value. When TRUE, only Version 7.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
331 332 333 |
# File 'lib/models/android_minimum_operating_system.rb', line 331 def v7_0 return @v7_0 end |
#v7_0=(value) ⇒ Object
Sets the v7_0 property value. When TRUE, only Version 7.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
339 340 341 |
# File 'lib/models/android_minimum_operating_system.rb', line 339 def v7_0=(value) @v7_0 = value end |
#v7_1 ⇒ Object
Gets the v7_1 property value. When TRUE, only Version 7.1 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
346 347 348 |
# File 'lib/models/android_minimum_operating_system.rb', line 346 def v7_1 return @v7_1 end |
#v7_1=(value) ⇒ Object
Sets the v7_1 property value. When TRUE, only Version 7.1 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
354 355 356 |
# File 'lib/models/android_minimum_operating_system.rb', line 354 def v7_1=(value) @v7_1 = value end |
#v8_0 ⇒ Object
Gets the v8_0 property value. When TRUE, only Version 8.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
361 362 363 |
# File 'lib/models/android_minimum_operating_system.rb', line 361 def v8_0 return @v8_0 end |
#v8_0=(value) ⇒ Object
Sets the v8_0 property value. When TRUE, only Version 8.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
369 370 371 |
# File 'lib/models/android_minimum_operating_system.rb', line 369 def v8_0=(value) @v8_0 = value end |
#v8_1 ⇒ Object
Gets the v8_1 property value. When TRUE, only Version 8.1 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
376 377 378 |
# File 'lib/models/android_minimum_operating_system.rb', line 376 def v8_1 return @v8_1 end |
#v8_1=(value) ⇒ Object
Sets the v8_1 property value. When TRUE, only Version 8.1 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
384 385 386 |
# File 'lib/models/android_minimum_operating_system.rb', line 384 def v8_1=(value) @v8_1 = value end |
#v9_0 ⇒ Object
Gets the v9_0 property value. When TRUE, only Version 9.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
391 392 393 |
# File 'lib/models/android_minimum_operating_system.rb', line 391 def v9_0 return @v9_0 end |
#v9_0=(value) ⇒ Object
Sets the v9_0 property value. When TRUE, only Version 9.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
399 400 401 |
# File 'lib/models/android_minimum_operating_system.rb', line 399 def v9_0=(value) @v9_0 = value end |