Class: MicrosoftGraph::Models::SecurityCloudApplicationEvidence
- Inherits:
-
SecurityAlertEvidence
- Object
- SecurityAlertEvidence
- MicrosoftGraph::Models::SecurityCloudApplicationEvidence
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/security_cloud_application_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
-
#app_id ⇒ Object
Gets the appId property value.
-
#app_id=(value) ⇒ Object
Sets the appId property value.
-
#display_name ⇒ Object
Gets the displayName property value.
-
#display_name=(value) ⇒ Object
Sets the displayName property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new securityCloudApplicationEvidence and sets the default values.
-
#instance_id ⇒ Object
Gets the instanceId property value.
-
#instance_id=(value) ⇒ Object
Sets the instanceId property value.
-
#instance_name ⇒ Object
Gets the instanceName property value.
-
#instance_name=(value) ⇒ Object
Sets the instanceName property value.
-
#saas_app_id ⇒ Object
Gets the saasAppId property value.
-
#saas_app_id=(value) ⇒ Object
Sets the saasAppId property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
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 securityCloudApplicationEvidence and sets the default values.
43 44 45 46 |
# File 'lib/models/security_cloud_application_evidence.rb', line 43 def initialize() super @odata_type = "#microsoft.graph.security.cloudApplicationEvidence" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
52 53 54 55 |
# File 'lib/models/security_cloud_application_evidence.rb', line 52 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SecurityCloudApplicationEvidence.new end |
Instance Method Details
#app_id ⇒ Object
Gets the appId property value. Unique identifier of the application.
28 29 30 |
# File 'lib/models/security_cloud_application_evidence.rb', line 28 def app_id return @app_id end |
#app_id=(value) ⇒ Object
Sets the appId property value. Unique identifier of the application.
36 37 38 |
# File 'lib/models/security_cloud_application_evidence.rb', line 36 def app_id=(value) @app_id = value end |
#display_name ⇒ Object
Gets the displayName property value. Name of the application.
60 61 62 |
# File 'lib/models/security_cloud_application_evidence.rb', line 60 def display_name return @display_name end |
#display_name=(value) ⇒ Object
Sets the displayName property value. Name of the application.
68 69 70 |
# File 'lib/models/security_cloud_application_evidence.rb', line 68 def display_name=(value) @display_name = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
75 76 77 78 79 80 81 82 83 |
# File 'lib/models/security_cloud_application_evidence.rb', line 75 def get_field_deserializers() return super.merge({ "appId" => lambda {|n| @app_id = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "displayName" => lambda {|n| @display_name = n.get_string_value() }, "instanceId" => lambda {|n| @instance_id = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "instanceName" => lambda {|n| @instance_name = n.get_string_value() }, "saasAppId" => lambda {|n| @saas_app_id = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, }) end |
#instance_id ⇒ Object
Gets the instanceId property value. Identifier of the instance of the Software as a Service (SaaS) application.
88 89 90 |
# File 'lib/models/security_cloud_application_evidence.rb', line 88 def instance_id return @instance_id end |
#instance_id=(value) ⇒ Object
Sets the instanceId property value. Identifier of the instance of the Software as a Service (SaaS) application.
96 97 98 |
# File 'lib/models/security_cloud_application_evidence.rb', line 96 def instance_id=(value) @instance_id = value end |
#instance_name ⇒ Object
Gets the instanceName property value. Name of the instance of the SaaS application.
103 104 105 |
# File 'lib/models/security_cloud_application_evidence.rb', line 103 def instance_name return @instance_name end |
#instance_name=(value) ⇒ Object
Sets the instanceName property value. Name of the instance of the SaaS application.
111 112 113 |
# File 'lib/models/security_cloud_application_evidence.rb', line 111 def instance_name=(value) @instance_name = value end |
#saas_app_id ⇒ Object
Gets the saasAppId property value. The identifier of the SaaS application.
118 119 120 |
# File 'lib/models/security_cloud_application_evidence.rb', line 118 def saas_app_id return @saas_app_id end |
#saas_app_id=(value) ⇒ Object
Sets the saasAppId property value. The identifier of the SaaS application.
126 127 128 |
# File 'lib/models/security_cloud_application_evidence.rb', line 126 def saas_app_id=(value) @saas_app_id = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
134 135 136 137 138 139 140 141 142 |
# File 'lib/models/security_cloud_application_evidence.rb', line 134 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("appId", @app_id) writer.write_string_value("displayName", @display_name) writer.write_object_value("instanceId", @instance_id) writer.write_string_value("instanceName", @instance_name) writer.write_object_value("saasAppId", @saas_app_id) end |