Class: MicrosoftGraph::Models::WindowsInformationProtectionNetworkLearningSummary
- Inherits:
-
Entity
- Object
- Entity
- MicrosoftGraph::Models::WindowsInformationProtectionNetworkLearningSummary
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/windows_information_protection_network_learning_summary.rb
Overview
Windows Information Protection Network learning Summary entity.
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
-
#device_count ⇒ Object
Gets the deviceCount property value.
-
#device_count=(value) ⇒ Object
Sets the deviceCount property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new windowsInformationProtectionNetworkLearningSummary and sets the default values.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#url ⇒ Object
Gets the url property value.
-
#url=(value) ⇒ Object
Sets the url property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new windowsInformationProtectionNetworkLearningSummary and sets the default values.
21 22 23 |
# File 'lib/models/windows_information_protection_network_learning_summary.rb', line 21 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
29 30 31 32 |
# File 'lib/models/windows_information_protection_network_learning_summary.rb', line 29 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return WindowsInformationProtectionNetworkLearningSummary.new end |
Instance Method Details
#device_count ⇒ Object
Gets the deviceCount property value. Device Count
37 38 39 |
# File 'lib/models/windows_information_protection_network_learning_summary.rb', line 37 def device_count return @device_count end |
#device_count=(value) ⇒ Object
Sets the deviceCount property value. Device Count
45 46 47 |
# File 'lib/models/windows_information_protection_network_learning_summary.rb', line 45 def device_count=(value) @device_count = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
52 53 54 55 56 57 |
# File 'lib/models/windows_information_protection_network_learning_summary.rb', line 52 def get_field_deserializers() return super.merge({ "deviceCount" => lambda {|n| @device_count = n.get_number_value() }, "url" => lambda {|n| @url = n.get_string_value() }, }) end |
#serialize(writer) ⇒ Object
Serializes information the current object
63 64 65 66 67 68 |
# File 'lib/models/windows_information_protection_network_learning_summary.rb', line 63 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_number_value("deviceCount", @device_count) writer.write_string_value("url", @url) end |
#url ⇒ Object
Gets the url property value. Website url
73 74 75 |
# File 'lib/models/windows_information_protection_network_learning_summary.rb', line 73 def url return @url end |
#url=(value) ⇒ Object
Sets the url property value. Website url
81 82 83 |
# File 'lib/models/windows_information_protection_network_learning_summary.rb', line 81 def url=(value) @url = value end |