Class: MicrosoftGraph::Models::SecurityBlobContainerEvidence
- Inherits:
-
SecurityAlertEvidence
- Object
- SecurityAlertEvidence
- MicrosoftGraph::Models::SecurityBlobContainerEvidence
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/security_blob_container_evidence.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
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new securityBlobContainerEvidence and sets the default values.
-
#name ⇒ Object
Gets the name property value.
-
#name=(value) ⇒ Object
Sets the name property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#storage_resource ⇒ Object
Gets the storageResource property value.
-
#storage_resource=(value) ⇒ Object
Sets the storageResource property value.
-
#url ⇒ Object
Gets the url property value.
-
#url=(value) ⇒ Object
Sets the url property value.
Methods inherited from SecurityAlertEvidence
#additional_data, #additional_data=, #created_date_time, #created_date_time=, #detailed_roles, #detailed_roles=, #odata_type, #odata_type=, #remediation_status, #remediation_status=, #remediation_status_details, #remediation_status_details=, #roles, #roles=, #tags, #tags=, #verdict, #verdict=
Constructor Details
#initialize ⇒ Object
Instantiates a new securityBlobContainerEvidence and sets the default values.
22 23 24 25 |
# File 'lib/models/security_blob_container_evidence.rb', line 22 def initialize() super @odata_type = "#microsoft.graph.security.blobContainerEvidence" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
31 32 33 34 |
# File 'lib/models/security_blob_container_evidence.rb', line 31 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SecurityBlobContainerEvidence.new end |
Instance Method Details
#get_field_deserializers ⇒ Object
The deserialization information for the current model
39 40 41 42 43 44 45 |
# File 'lib/models/security_blob_container_evidence.rb', line 39 def get_field_deserializers() return super.merge({ "name" => lambda {|n| @name = n.get_string_value() }, "storageResource" => lambda {|n| @storage_resource = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityAzureResourceEvidence.create_from_discriminator_value(pn) }) }, "url" => lambda {|n| @url = n.get_string_value() }, }) end |
#name ⇒ Object
Gets the name property value. The name of the blob container.
50 51 52 |
# File 'lib/models/security_blob_container_evidence.rb', line 50 def name return @name end |
#name=(value) ⇒ Object
Sets the name property value. The name of the blob container.
58 59 60 |
# File 'lib/models/security_blob_container_evidence.rb', line 58 def name=(value) @name = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
66 67 68 69 70 71 72 |
# File 'lib/models/security_blob_container_evidence.rb', line 66 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("name", @name) writer.write_object_value("storageResource", @storage_resource) writer.write_string_value("url", @url) end |
#storage_resource ⇒ Object
Gets the storageResource property value. The storage which the blob container belongs to.
77 78 79 |
# File 'lib/models/security_blob_container_evidence.rb', line 77 def storage_resource return @storage_resource end |
#storage_resource=(value) ⇒ Object
Sets the storageResource property value. The storage which the blob container belongs to.
85 86 87 |
# File 'lib/models/security_blob_container_evidence.rb', line 85 def storage_resource=(value) @storage_resource = value end |
#url ⇒ Object
Gets the url property value. The full URL representation of the blob container.
92 93 94 |
# File 'lib/models/security_blob_container_evidence.rb', line 92 def url return @url end |
#url=(value) ⇒ Object
Sets the url property value. The full URL representation of the blob container.
100 101 102 |
# File 'lib/models/security_blob_container_evidence.rb', line 100 def url=(value) @url = value end |