Class: MicrosoftGraph::Models::Windows10SecureAssessmentConfiguration
- Inherits:
-
DeviceConfiguration
- Object
- Entity
- DeviceConfiguration
- MicrosoftGraph::Models::Windows10SecureAssessmentConfiguration
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/windows10_secure_assessment_configuration.rb
Overview
This topic provides descriptions of the declared methods, properties and relationships exposed by the secureAssessment resource.
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
-
#allow_printing ⇒ Object
Gets the allowPrinting property value.
-
#allow_printing=(value) ⇒ Object
Sets the allowPrinting property value.
-
#allow_screen_capture ⇒ Object
Gets the allowScreenCapture property value.
-
#allow_screen_capture=(value) ⇒ Object
Sets the allowScreenCapture property value.
-
#allow_text_suggestion ⇒ Object
Gets the allowTextSuggestion property value.
-
#allow_text_suggestion=(value) ⇒ Object
Sets the allowTextSuggestion property value.
-
#configuration_account ⇒ Object
Gets the configurationAccount property value.
-
#configuration_account=(value) ⇒ Object
Sets the configurationAccount property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new windows10SecureAssessmentConfiguration and sets the default values.
-
#launch_uri ⇒ Object
Gets the launchUri property value.
-
#launch_uri=(value) ⇒ Object
Sets the launchUri property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from DeviceConfiguration
#assignments, #assignments=, #created_date_time, #created_date_time=, #description, #description=, #device_setting_state_summaries, #device_setting_state_summaries=, #device_status_overview, #device_status_overview=, #device_statuses, #device_statuses=, #display_name, #display_name=, #last_modified_date_time, #last_modified_date_time=, #user_status_overview, #user_status_overview=, #user_statuses, #user_statuses=, #version, #version=
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new windows10SecureAssessmentConfiguration and sets the default values.
90 91 92 93 |
# File 'lib/models/windows10_secure_assessment_configuration.rb', line 90 def initialize() super @odata_type = "#microsoft.graph.windows10SecureAssessmentConfiguration" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
99 100 101 102 |
# File 'lib/models/windows10_secure_assessment_configuration.rb', line 99 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return Windows10SecureAssessmentConfiguration.new end |
Instance Method Details
#allow_printing ⇒ Object
Gets the allowPrinting property value. Indicates whether or not to allow the app from printing during the test.
30 31 32 |
# File 'lib/models/windows10_secure_assessment_configuration.rb', line 30 def allow_printing return @allow_printing end |
#allow_printing=(value) ⇒ Object
Sets the allowPrinting property value. Indicates whether or not to allow the app from printing during the test.
38 39 40 |
# File 'lib/models/windows10_secure_assessment_configuration.rb', line 38 def allow_printing=(value) @allow_printing = value end |
#allow_screen_capture ⇒ Object
Gets the allowScreenCapture property value. Indicates whether or not to allow screen capture capability during a test.
45 46 47 |
# File 'lib/models/windows10_secure_assessment_configuration.rb', line 45 def allow_screen_capture return @allow_screen_capture end |
#allow_screen_capture=(value) ⇒ Object
Sets the allowScreenCapture property value. Indicates whether or not to allow screen capture capability during a test.
53 54 55 |
# File 'lib/models/windows10_secure_assessment_configuration.rb', line 53 def allow_screen_capture=(value) @allow_screen_capture = value end |
#allow_text_suggestion ⇒ Object
Gets the allowTextSuggestion property value. Indicates whether or not to allow text suggestions during the test.
60 61 62 |
# File 'lib/models/windows10_secure_assessment_configuration.rb', line 60 def allow_text_suggestion return @allow_text_suggestion end |
#allow_text_suggestion=(value) ⇒ Object
Sets the allowTextSuggestion property value. Indicates whether or not to allow text suggestions during the test.
68 69 70 |
# File 'lib/models/windows10_secure_assessment_configuration.rb', line 68 def allow_text_suggestion=(value) @allow_text_suggestion = value end |
#configuration_account ⇒ Object
Gets the configurationAccount property value. The account used to configure the Windows device for taking the test. The user can be a domain account (domain/user), an AAD account ([email protected]) or a local account (username).
75 76 77 |
# File 'lib/models/windows10_secure_assessment_configuration.rb', line 75 def configuration_account return @configuration_account end |
#configuration_account=(value) ⇒ Object
Sets the configurationAccount property value. The account used to configure the Windows device for taking the test. The user can be a domain account (domain/user), an AAD account ([email protected]) or a local account (username).
83 84 85 |
# File 'lib/models/windows10_secure_assessment_configuration.rb', line 83 def configuration_account=(value) @configuration_account = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
107 108 109 110 111 112 113 114 115 |
# File 'lib/models/windows10_secure_assessment_configuration.rb', line 107 def get_field_deserializers() return super.merge({ "allowPrinting" => lambda {|n| @allow_printing = n.get_boolean_value() }, "allowScreenCapture" => lambda {|n| @allow_screen_capture = n.get_boolean_value() }, "allowTextSuggestion" => lambda {|n| @allow_text_suggestion = n.get_boolean_value() }, "configurationAccount" => lambda {|n| @configuration_account = n.get_string_value() }, "launchUri" => lambda {|n| @launch_uri = n.get_string_value() }, }) end |
#launch_uri ⇒ Object
Gets the launchUri property value. Url link to an assessment that’s automatically loaded when the secure assessment browser is launched. It has to be a valid Url (http://msdn.microsoft.com/).
120 121 122 |
# File 'lib/models/windows10_secure_assessment_configuration.rb', line 120 def launch_uri return @launch_uri end |
#launch_uri=(value) ⇒ Object
Sets the launchUri property value. Url link to an assessment that’s automatically loaded when the secure assessment browser is launched. It has to be a valid Url (http://msdn.microsoft.com/).
128 129 130 |
# File 'lib/models/windows10_secure_assessment_configuration.rb', line 128 def launch_uri=(value) @launch_uri = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
136 137 138 139 140 141 142 143 144 |
# File 'lib/models/windows10_secure_assessment_configuration.rb', line 136 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_boolean_value("allowPrinting", @allow_printing) writer.write_boolean_value("allowScreenCapture", @allow_screen_capture) writer.write_boolean_value("allowTextSuggestion", @allow_text_suggestion) writer.write_string_value("configurationAccount", @configuration_account) writer.write_string_value("launchUri", @launch_uri) end |