Class: MicrosoftGraph::Models::IosMinimumOperatingSystem
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::IosMinimumOperatingSystem
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/ios_minimum_operating_system.rb
Overview
Contains properties of the minimum operating system required for an iOS 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 iosMinimumOperatingSystem 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.
-
#v12_0 ⇒ Object
Gets the v12_0 property value.
-
#v12_0=(value) ⇒ Object
Sets the v12_0 property value.
-
#v13_0 ⇒ Object
Gets the v13_0 property value.
-
#v13_0=(value) ⇒ Object
Sets the v13_0 property value.
-
#v14_0 ⇒ Object
Gets the v14_0 property value.
-
#v14_0=(value) ⇒ Object
Sets the v14_0 property value.
-
#v15_0 ⇒ Object
Gets the v15_0 property value.
-
#v15_0=(value) ⇒ Object
Sets the v15_0 property value.
-
#v8_0 ⇒ Object
Gets the v8_0 property value.
-
#v8_0=(value) ⇒ Object
Sets the v8_0 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 iosMinimumOperatingSystem and sets the default values.
60 61 62 |
# File 'lib/models/ios_minimum_operating_system.rb', line 60 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
68 69 70 71 |
# File 'lib/models/ios_minimum_operating_system.rb', line 68 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.
45 46 47 |
# File 'lib/models/ios_minimum_operating_system.rb', line 45 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.
53 54 55 |
# File 'lib/models/ios_minimum_operating_system.rb', line 53 def additional_data=(value) @additional_data = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
76 77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/models/ios_minimum_operating_system.rb', line 76 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() }, "v12_0" => lambda {|n| @v12_0 = n.get_boolean_value() }, "v13_0" => lambda {|n| @v13_0 = n.get_boolean_value() }, "v14_0" => lambda {|n| @v14_0 = n.get_boolean_value() }, "v15_0" => lambda {|n| @v15_0 = n.get_boolean_value() }, "v8_0" => lambda {|n| @v8_0 = 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
93 94 95 |
# File 'lib/models/ios_minimum_operating_system.rb', line 93 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
101 102 103 |
# File 'lib/models/ios_minimum_operating_system.rb', line 101 def odata_type=(value) @odata_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/models/ios_minimum_operating_system.rb', line 109 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("v12_0", @v12_0) writer.write_boolean_value("v13_0", @v13_0) writer.write_boolean_value("v14_0", @v14_0) writer.write_boolean_value("v15_0", @v15_0) writer.write_boolean_value("v8_0", @v8_0) 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.
126 127 128 |
# File 'lib/models/ios_minimum_operating_system.rb', line 126 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.
134 135 136 |
# File 'lib/models/ios_minimum_operating_system.rb', line 134 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.
141 142 143 |
# File 'lib/models/ios_minimum_operating_system.rb', line 141 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.
149 150 151 |
# File 'lib/models/ios_minimum_operating_system.rb', line 149 def v11_0=(value) @v11_0 = value end |
#v12_0 ⇒ Object
Gets the v12_0 property value. When TRUE, only Version 12.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
156 157 158 |
# File 'lib/models/ios_minimum_operating_system.rb', line 156 def v12_0 return @v12_0 end |
#v12_0=(value) ⇒ Object
Sets the v12_0 property value. When TRUE, only Version 12.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
164 165 166 |
# File 'lib/models/ios_minimum_operating_system.rb', line 164 def v12_0=(value) @v12_0 = value end |
#v13_0 ⇒ Object
Gets the v13_0 property value. When TRUE, only Version 13.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
171 172 173 |
# File 'lib/models/ios_minimum_operating_system.rb', line 171 def v13_0 return @v13_0 end |
#v13_0=(value) ⇒ Object
Sets the v13_0 property value. When TRUE, only Version 13.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
179 180 181 |
# File 'lib/models/ios_minimum_operating_system.rb', line 179 def v13_0=(value) @v13_0 = value end |
#v14_0 ⇒ Object
Gets the v14_0 property value. When TRUE, only Version 14.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
186 187 188 |
# File 'lib/models/ios_minimum_operating_system.rb', line 186 def v14_0 return @v14_0 end |
#v14_0=(value) ⇒ Object
Sets the v14_0 property value. When TRUE, only Version 14.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
194 195 196 |
# File 'lib/models/ios_minimum_operating_system.rb', line 194 def v14_0=(value) @v14_0 = value end |
#v15_0 ⇒ Object
Gets the v15_0 property value. When TRUE, only Version 15.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
201 202 203 |
# File 'lib/models/ios_minimum_operating_system.rb', line 201 def v15_0 return @v15_0 end |
#v15_0=(value) ⇒ Object
Sets the v15_0 property value. When TRUE, only Version 15.0 or later is supported. Default value is FALSE. Exactly one of the minimum operating system boolean values will be TRUE.
209 210 211 |
# File 'lib/models/ios_minimum_operating_system.rb', line 209 def v15_0=(value) @v15_0 = 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.
216 217 218 |
# File 'lib/models/ios_minimum_operating_system.rb', line 216 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.
224 225 226 |
# File 'lib/models/ios_minimum_operating_system.rb', line 224 def v8_0=(value) @v8_0 = 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.
231 232 233 |
# File 'lib/models/ios_minimum_operating_system.rb', line 231 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.
239 240 241 |
# File 'lib/models/ios_minimum_operating_system.rb', line 239 def v9_0=(value) @v9_0 = value end |