Class: MicrosoftGraph::Models::SecureScoreControlProfile
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/secure_score_control_profile.rb
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
-
#action_type ⇒ Object
Gets the actionType property value.
-
#action_type=(value) ⇒ Object
Sets the actionType property value.
-
#action_url ⇒ Object
Gets the actionUrl property value.
-
#action_url=(value) ⇒ Object
Sets the actionUrl property value.
-
#azure_tenant_id ⇒ Object
Gets the azureTenantId property value.
-
#azure_tenant_id=(value) ⇒ Object
Sets the azureTenantId property value.
-
#compliance_information ⇒ Object
Gets the complianceInformation property value.
-
#compliance_information=(value) ⇒ Object
Sets the complianceInformation property value.
-
#control_category ⇒ Object
Gets the controlCategory property value.
-
#control_category=(value) ⇒ Object
Sets the controlCategory property value.
-
#control_state_updates ⇒ Object
Gets the controlStateUpdates property value.
-
#control_state_updates=(value) ⇒ Object
Sets the controlStateUpdates property value.
-
#deprecated ⇒ Object
Gets the deprecated property value.
-
#deprecated=(value) ⇒ Object
Sets the deprecated property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#implementation_cost ⇒ Object
Gets the implementationCost property value.
-
#implementation_cost=(value) ⇒ Object
Sets the implementationCost property value.
-
#initialize ⇒ Object
constructor
Instantiates a new secureScoreControlProfile and sets the default values.
-
#last_modified_date_time ⇒ Object
Gets the lastModifiedDateTime property value.
-
#last_modified_date_time=(value) ⇒ Object
Sets the lastModifiedDateTime property value.
-
#max_score ⇒ Object
Gets the maxScore property value.
-
#max_score=(value) ⇒ Object
Sets the maxScore property value.
-
#rank ⇒ Object
Gets the rank property value.
-
#rank=(value) ⇒ Object
Sets the rank property value.
-
#remediation ⇒ Object
Gets the remediation property value.
-
#remediation=(value) ⇒ Object
Sets the remediation property value.
-
#remediation_impact ⇒ Object
Gets the remediationImpact property value.
-
#remediation_impact=(value) ⇒ Object
Sets the remediationImpact property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#service ⇒ Object
Gets the service property value.
-
#service=(value) ⇒ Object
Sets the service property value.
-
#threats ⇒ Object
Gets the threats property value.
-
#threats=(value) ⇒ Object
Sets the threats property value.
-
#tier ⇒ Object
Gets the tier property value.
-
#tier=(value) ⇒ Object
Sets the tier property value.
-
#title ⇒ Object
Gets the title property value.
-
#title=(value) ⇒ Object
Sets the title property value.
-
#user_impact ⇒ Object
Gets the userImpact property value.
-
#user_impact=(value) ⇒ Object
Sets the userImpact property value.
-
#vendor_information ⇒ Object
Gets the vendorInformation property value.
-
#vendor_information=(value) ⇒ Object
Sets the vendorInformation property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new secureScoreControlProfile and sets the default values.
131 132 133 |
# File 'lib/models/secure_score_control_profile.rb', line 131 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
169 170 171 172 |
# File 'lib/models/secure_score_control_profile.rb', line 169 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SecureScoreControlProfile.new end |
Instance Method Details
#action_type ⇒ Object
Gets the actionType property value. Control action type (Config, Review, Behavior).
71 72 73 |
# File 'lib/models/secure_score_control_profile.rb', line 71 def action_type return @action_type end |
#action_type=(value) ⇒ Object
Sets the actionType property value. Control action type (Config, Review, Behavior).
79 80 81 |
# File 'lib/models/secure_score_control_profile.rb', line 79 def action_type=(value) @action_type = value end |
#action_url ⇒ Object
Gets the actionUrl property value. URL to where the control can be actioned.
86 87 88 |
# File 'lib/models/secure_score_control_profile.rb', line 86 def action_url return @action_url end |
#action_url=(value) ⇒ Object
Sets the actionUrl property value. URL to where the control can be actioned.
94 95 96 |
# File 'lib/models/secure_score_control_profile.rb', line 94 def action_url=(value) @action_url = value end |
#azure_tenant_id ⇒ Object
Gets the azureTenantId property value. GUID string for tenant ID.
101 102 103 |
# File 'lib/models/secure_score_control_profile.rb', line 101 def azure_tenant_id return @azure_tenant_id end |
#azure_tenant_id=(value) ⇒ Object
Sets the azureTenantId property value. GUID string for tenant ID.
109 110 111 |
# File 'lib/models/secure_score_control_profile.rb', line 109 def azure_tenant_id=(value) @azure_tenant_id = value end |
#compliance_information ⇒ Object
Gets the complianceInformation property value. The collection of compliance information associated with secure score control
116 117 118 |
# File 'lib/models/secure_score_control_profile.rb', line 116 def compliance_information return @compliance_information end |
#compliance_information=(value) ⇒ Object
Sets the complianceInformation property value. The collection of compliance information associated with secure score control
124 125 126 |
# File 'lib/models/secure_score_control_profile.rb', line 124 def compliance_information=(value) @compliance_information = value end |
#control_category ⇒ Object
Gets the controlCategory property value. Control action category (Identity, Data, Device, Apps, Infrastructure).
138 139 140 |
# File 'lib/models/secure_score_control_profile.rb', line 138 def control_category return @control_category end |
#control_category=(value) ⇒ Object
Sets the controlCategory property value. Control action category (Identity, Data, Device, Apps, Infrastructure).
146 147 148 |
# File 'lib/models/secure_score_control_profile.rb', line 146 def control_category=(value) @control_category = value end |
#control_state_updates ⇒ Object
Gets the controlStateUpdates property value. Flag to indicate where the tenant has marked a control (ignored, thirdParty, reviewed) (supports update).
153 154 155 |
# File 'lib/models/secure_score_control_profile.rb', line 153 def control_state_updates return @control_state_updates end |
#control_state_updates=(value) ⇒ Object
Sets the controlStateUpdates property value. Flag to indicate where the tenant has marked a control (ignored, thirdParty, reviewed) (supports update).
161 162 163 |
# File 'lib/models/secure_score_control_profile.rb', line 161 def control_state_updates=(value) @control_state_updates = value end |
#deprecated ⇒ Object
Gets the deprecated property value. Flag to indicate if a control is depreciated.
177 178 179 |
# File 'lib/models/secure_score_control_profile.rb', line 177 def deprecated return @deprecated end |
#deprecated=(value) ⇒ Object
Sets the deprecated property value. Flag to indicate if a control is depreciated.
185 186 187 |
# File 'lib/models/secure_score_control_profile.rb', line 185 def deprecated=(value) @deprecated = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/models/secure_score_control_profile.rb', line 192 def get_field_deserializers() return super.merge({ "actionType" => lambda {|n| @action_type = n.get_string_value() }, "actionUrl" => lambda {|n| @action_url = n.get_string_value() }, "azureTenantId" => lambda {|n| @azure_tenant_id = n.get_string_value() }, "complianceInformation" => lambda {|n| @compliance_information = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::ComplianceInformation.create_from_discriminator_value(pn) }) }, "controlCategory" => lambda {|n| @control_category = n.get_string_value() }, "controlStateUpdates" => lambda {|n| @control_state_updates = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecureScoreControlStateUpdate.create_from_discriminator_value(pn) }) }, "deprecated" => lambda {|n| @deprecated = n.get_boolean_value() }, "implementationCost" => lambda {|n| @implementation_cost = n.get_string_value() }, "lastModifiedDateTime" => lambda {|n| @last_modified_date_time = n.get_date_time_value() }, "maxScore" => lambda {|n| @max_score = n.get_object_value(lambda {|pn| Double.create_from_discriminator_value(pn) }) }, "rank" => lambda {|n| @rank = n.get_number_value() }, "remediation" => lambda {|n| @remediation = n.get_string_value() }, "remediationImpact" => lambda {|n| @remediation_impact = n.get_string_value() }, "service" => lambda {|n| @service = n.get_string_value() }, "threats" => lambda {|n| @threats = n.get_collection_of_primitive_values(String) }, "tier" => lambda {|n| @tier = n.get_string_value() }, "title" => lambda {|n| @title = n.get_string_value() }, "userImpact" => lambda {|n| @user_impact = n.get_string_value() }, "vendorInformation" => lambda {|n| @vendor_information = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityVendorInformation.create_from_discriminator_value(pn) }) }, }) end |
#implementation_cost ⇒ Object
Gets the implementationCost property value. Resource cost of implemmentating control (low, moderate, high).
219 220 221 |
# File 'lib/models/secure_score_control_profile.rb', line 219 def implementation_cost return @implementation_cost end |
#implementation_cost=(value) ⇒ Object
Sets the implementationCost property value. Resource cost of implemmentating control (low, moderate, high).
227 228 229 |
# File 'lib/models/secure_score_control_profile.rb', line 227 def implementation_cost=(value) @implementation_cost = value end |
#last_modified_date_time ⇒ Object
Gets the lastModifiedDateTime property value. Time at which the control profile entity was last modified. The Timestamp type represents date and time
234 235 236 |
# File 'lib/models/secure_score_control_profile.rb', line 234 def last_modified_date_time return @last_modified_date_time end |
#last_modified_date_time=(value) ⇒ Object
Sets the lastModifiedDateTime property value. Time at which the control profile entity was last modified. The Timestamp type represents date and time
242 243 244 |
# File 'lib/models/secure_score_control_profile.rb', line 242 def last_modified_date_time=(value) @last_modified_date_time = value end |
#max_score ⇒ Object
Gets the maxScore property value. max attainable score for the control.
249 250 251 |
# File 'lib/models/secure_score_control_profile.rb', line 249 def max_score return @max_score end |
#max_score=(value) ⇒ Object
Sets the maxScore property value. max attainable score for the control.
257 258 259 |
# File 'lib/models/secure_score_control_profile.rb', line 257 def max_score=(value) @max_score = value end |
#rank ⇒ Object
Gets the rank property value. Microsoft’s stack ranking of control.
264 265 266 |
# File 'lib/models/secure_score_control_profile.rb', line 264 def rank return @rank end |
#rank=(value) ⇒ Object
Sets the rank property value. Microsoft’s stack ranking of control.
272 273 274 |
# File 'lib/models/secure_score_control_profile.rb', line 272 def rank=(value) @rank = value end |
#remediation ⇒ Object
Gets the remediation property value. Description of what the control will help remediate.
279 280 281 |
# File 'lib/models/secure_score_control_profile.rb', line 279 def remediation return @remediation end |
#remediation=(value) ⇒ Object
Sets the remediation property value. Description of what the control will help remediate.
287 288 289 |
# File 'lib/models/secure_score_control_profile.rb', line 287 def remediation=(value) @remediation = value end |
#remediation_impact ⇒ Object
Gets the remediationImpact property value. Description of the impact on users of the remediation.
294 295 296 |
# File 'lib/models/secure_score_control_profile.rb', line 294 def remediation_impact return @remediation_impact end |
#remediation_impact=(value) ⇒ Object
Sets the remediationImpact property value. Description of the impact on users of the remediation.
302 303 304 |
# File 'lib/models/secure_score_control_profile.rb', line 302 def remediation_impact=(value) @remediation_impact = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 |
# File 'lib/models/secure_score_control_profile.rb', line 310 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("actionType", @action_type) writer.write_string_value("actionUrl", @action_url) writer.write_string_value("azureTenantId", @azure_tenant_id) writer.write_collection_of_object_values("complianceInformation", @compliance_information) writer.write_string_value("controlCategory", @control_category) writer.write_collection_of_object_values("controlStateUpdates", @control_state_updates) writer.write_boolean_value("deprecated", @deprecated) writer.write_string_value("implementationCost", @implementation_cost) writer.write_date_time_value("lastModifiedDateTime", @last_modified_date_time) writer.write_object_value("maxScore", @max_score) writer.write_number_value("rank", @rank) writer.write_string_value("remediation", @remediation) writer.write_string_value("remediationImpact", @remediation_impact) writer.write_string_value("service", @service) writer.write_collection_of_primitive_values("threats", @threats) writer.write_string_value("tier", @tier) writer.write_string_value("title", @title) writer.write_string_value("userImpact", @user_impact) writer.write_object_value("vendorInformation", @vendor_information) end |
#service ⇒ Object
Gets the service property value. Service that owns the control (Exchange, Sharepoint, Azure AD).
337 338 339 |
# File 'lib/models/secure_score_control_profile.rb', line 337 def service return @service end |
#service=(value) ⇒ Object
Sets the service property value. Service that owns the control (Exchange, Sharepoint, Azure AD).
345 346 347 |
# File 'lib/models/secure_score_control_profile.rb', line 345 def service=(value) @service = value end |
#threats ⇒ Object
Gets the threats property value. List of threats the control mitigates (accountBreach, dataDeletion, dataExfiltration, dataSpillage,
352 353 354 |
# File 'lib/models/secure_score_control_profile.rb', line 352 def threats return @threats end |
#threats=(value) ⇒ Object
Sets the threats property value. List of threats the control mitigates (accountBreach, dataDeletion, dataExfiltration, dataSpillage,
360 361 362 |
# File 'lib/models/secure_score_control_profile.rb', line 360 def threats=(value) @threats = value end |
#tier ⇒ Object
Gets the tier property value. The tier property
367 368 369 |
# File 'lib/models/secure_score_control_profile.rb', line 367 def tier return @tier end |
#tier=(value) ⇒ Object
Sets the tier property value. The tier property
375 376 377 |
# File 'lib/models/secure_score_control_profile.rb', line 375 def tier=(value) @tier = value end |
#title ⇒ Object
Gets the title property value. The title property
382 383 384 |
# File 'lib/models/secure_score_control_profile.rb', line 382 def title return @title end |
#title=(value) ⇒ Object
Sets the title property value. The title property
390 391 392 |
# File 'lib/models/secure_score_control_profile.rb', line 390 def title=(value) @title = value end |
#user_impact ⇒ Object
Gets the userImpact property value. The userImpact property
397 398 399 |
# File 'lib/models/secure_score_control_profile.rb', line 397 def user_impact return @user_impact end |
#user_impact=(value) ⇒ Object
Sets the userImpact property value. The userImpact property
405 406 407 |
# File 'lib/models/secure_score_control_profile.rb', line 405 def user_impact=(value) @user_impact = value end |
#vendor_information ⇒ Object
Gets the vendorInformation property value. The vendorInformation property
412 413 414 |
# File 'lib/models/secure_score_control_profile.rb', line 412 def vendor_information return @vendor_information end |
#vendor_information=(value) ⇒ Object
Sets the vendorInformation property value. The vendorInformation property
420 421 422 |
# File 'lib/models/secure_score_control_profile.rb', line 420 def vendor_information=(value) @vendor_information = value end |