Class: MicrosoftGraph::Models::WindowsInformationProtectionDesktopApp
- Inherits:
-
WindowsInformationProtectionApp
- Object
- WindowsInformationProtectionApp
- MicrosoftGraph::Models::WindowsInformationProtectionDesktopApp
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/windows_information_protection_desktop_app.rb
Overview
Desktop App for Windows information protection
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
-
#binary_name ⇒ Object
Gets the binaryName property value.
-
#binary_name=(value) ⇒ Object
Sets the binaryName property value.
-
#binary_version_high ⇒ Object
Gets the binaryVersionHigh property value.
-
#binary_version_high=(value) ⇒ Object
Sets the binaryVersionHigh property value.
-
#binary_version_low ⇒ Object
Gets the binaryVersionLow property value.
-
#binary_version_low=(value) ⇒ Object
Sets the binaryVersionLow property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new windowsInformationProtectionDesktopApp and sets the default values.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from WindowsInformationProtectionApp
#additional_data, #additional_data=, #denied, #denied=, #description, #description=, #display_name, #display_name=, #odata_type, #odata_type=, #product_name, #product_name=, #publisher_name, #publisher_name=
Constructor Details
#initialize ⇒ Object
Instantiates a new windowsInformationProtectionDesktopApp and sets the default values.
69 70 71 72 |
# File 'lib/models/windows_information_protection_desktop_app.rb', line 69 def initialize() super @odata_type = "#microsoft.graph.windowsInformationProtectionDesktopApp" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
78 79 80 81 |
# File 'lib/models/windows_information_protection_desktop_app.rb', line 78 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return WindowsInformationProtectionDesktopApp.new end |
Instance Method Details
#binary_name ⇒ Object
Gets the binaryName property value. The binary name.
24 25 26 |
# File 'lib/models/windows_information_protection_desktop_app.rb', line 24 def binary_name return @binary_name end |
#binary_name=(value) ⇒ Object
Sets the binaryName property value. The binary name.
32 33 34 |
# File 'lib/models/windows_information_protection_desktop_app.rb', line 32 def binary_name=(value) @binary_name = value end |
#binary_version_high ⇒ Object
Gets the binaryVersionHigh property value. The high binary version.
39 40 41 |
# File 'lib/models/windows_information_protection_desktop_app.rb', line 39 def binary_version_high return @binary_version_high end |
#binary_version_high=(value) ⇒ Object
Sets the binaryVersionHigh property value. The high binary version.
47 48 49 |
# File 'lib/models/windows_information_protection_desktop_app.rb', line 47 def binary_version_high=(value) @binary_version_high = value end |
#binary_version_low ⇒ Object
Gets the binaryVersionLow property value. The lower binary version.
54 55 56 |
# File 'lib/models/windows_information_protection_desktop_app.rb', line 54 def binary_version_low return @binary_version_low end |
#binary_version_low=(value) ⇒ Object
Sets the binaryVersionLow property value. The lower binary version.
62 63 64 |
# File 'lib/models/windows_information_protection_desktop_app.rb', line 62 def binary_version_low=(value) @binary_version_low = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
86 87 88 89 90 91 92 |
# File 'lib/models/windows_information_protection_desktop_app.rb', line 86 def get_field_deserializers() return super.merge({ "binaryName" => lambda {|n| @binary_name = n.get_string_value() }, "binaryVersionHigh" => lambda {|n| @binary_version_high = n.get_string_value() }, "binaryVersionLow" => lambda {|n| @binary_version_low = n.get_string_value() }, }) end |
#serialize(writer) ⇒ Object
Serializes information the current object
98 99 100 101 102 103 104 |
# File 'lib/models/windows_information_protection_desktop_app.rb', line 98 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("binaryName", @binary_name) writer.write_string_value("binaryVersionHigh", @binary_version_high) writer.write_string_value("binaryVersionLow", @binary_version_low) end |