Class: MicrosoftGraph::Models::SecurityEdiscoveryCase
- Inherits:
-
SecurityCase
- Object
- Entity
- SecurityCase
- MicrosoftGraph::Models::SecurityEdiscoveryCase
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/security_ediscovery_case.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
-
#closed_by ⇒ Object
Gets the closedBy property value.
-
#closed_by=(value) ⇒ Object
Sets the closedBy property value.
-
#closed_date_time ⇒ Object
Gets the closedDateTime property value.
-
#closed_date_time=(value) ⇒ Object
Sets the closedDateTime property value.
-
#custodians ⇒ Object
Gets the custodians property value.
-
#custodians=(value) ⇒ Object
Sets the custodians property value.
-
#external_id ⇒ Object
Gets the externalId property value.
-
#external_id=(value) ⇒ Object
Sets the externalId property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new securityEdiscoveryCase and sets the default values.
-
#noncustodial_data_sources ⇒ Object
Gets the noncustodialDataSources property value.
-
#noncustodial_data_sources=(value) ⇒ Object
Sets the noncustodialDataSources property value.
-
#operations ⇒ Object
Gets the operations property value.
-
#operations=(value) ⇒ Object
Sets the operations property value.
-
#review_sets ⇒ Object
Gets the reviewSets property value.
-
#review_sets=(value) ⇒ Object
Sets the reviewSets property value.
-
#searches ⇒ Object
Gets the searches property value.
-
#searches=(value) ⇒ Object
Sets the searches property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#settings ⇒ Object
Gets the settings property value.
-
#settings=(value) ⇒ Object
Sets the settings property value.
-
#tags ⇒ Object
Gets the tags property value.
-
#tags=(value) ⇒ Object
Sets the tags property value.
Methods inherited from SecurityCase
#created_date_time, #created_date_time=, #description, #description=, #display_name, #display_name=, #last_modified_by, #last_modified_by=, #last_modified_date_time, #last_modified_date_time=, #status, #status=
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new securityEdiscoveryCase and sets the default values.
74 75 76 77 |
# File 'lib/models/security_ediscovery_case.rb', line 74 def initialize() super @odata_type = "#microsoft.graph.security.ediscoveryCase" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
83 84 85 86 |
# File 'lib/models/security_ediscovery_case.rb', line 83 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SecurityEdiscoveryCase.new end |
Instance Method Details
#closed_by ⇒ Object
Gets the closedBy property value. The user who closed the case.
44 45 46 |
# File 'lib/models/security_ediscovery_case.rb', line 44 def closed_by return @closed_by end |
#closed_by=(value) ⇒ Object
Sets the closedBy property value. The user who closed the case.
52 53 54 |
# File 'lib/models/security_ediscovery_case.rb', line 52 def closed_by=(value) @closed_by = value end |
#closed_date_time ⇒ Object
Gets the closedDateTime property value. The date and time when the case was closed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
59 60 61 |
# File 'lib/models/security_ediscovery_case.rb', line 59 def closed_date_time return @closed_date_time end |
#closed_date_time=(value) ⇒ Object
Sets the closedDateTime property value. The date and time when the case was closed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
67 68 69 |
# File 'lib/models/security_ediscovery_case.rb', line 67 def closed_date_time=(value) @closed_date_time = value end |
#custodians ⇒ Object
Gets the custodians property value. Returns a list of case ediscoveryCustodian objects for this case.
91 92 93 |
# File 'lib/models/security_ediscovery_case.rb', line 91 def custodians return @custodians end |
#custodians=(value) ⇒ Object
Sets the custodians property value. Returns a list of case ediscoveryCustodian objects for this case.
99 100 101 |
# File 'lib/models/security_ediscovery_case.rb', line 99 def custodians=(value) @custodians = value end |
#external_id ⇒ Object
Gets the externalId property value. The external case number for customer reference.
106 107 108 |
# File 'lib/models/security_ediscovery_case.rb', line 106 def external_id return @external_id end |
#external_id=(value) ⇒ Object
Sets the externalId property value. The external case number for customer reference.
114 115 116 |
# File 'lib/models/security_ediscovery_case.rb', line 114 def external_id=(value) @external_id = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
121 122 123 124 125 126 127 128 129 130 131 132 133 134 |
# File 'lib/models/security_ediscovery_case.rb', line 121 def get_field_deserializers() return super.merge({ "closedBy" => lambda {|n| @closed_by = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, "closedDateTime" => lambda {|n| @closed_date_time = n.get_date_time_value() }, "custodians" => lambda {|n| @custodians = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityEdiscoveryCustodian.create_from_discriminator_value(pn) }) }, "externalId" => lambda {|n| @external_id = n.get_string_value() }, "noncustodialDataSources" => lambda {|n| @noncustodial_data_sources = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityEdiscoveryNoncustodialDataSource.create_from_discriminator_value(pn) }) }, "operations" => lambda {|n| @operations = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityCaseOperation.create_from_discriminator_value(pn) }) }, "reviewSets" => lambda {|n| @review_sets = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityEdiscoveryReviewSet.create_from_discriminator_value(pn) }) }, "searches" => lambda {|n| @searches = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityEdiscoverySearch.create_from_discriminator_value(pn) }) }, "settings" => lambda {|n| @settings = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityEdiscoveryCaseSettings.create_from_discriminator_value(pn) }) }, "tags" => lambda {|n| = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityEdiscoveryReviewTag.create_from_discriminator_value(pn) }) }, }) end |
#noncustodial_data_sources ⇒ Object
Gets the noncustodialDataSources property value. Returns a list of case ediscoveryNoncustodialDataSource objects for this case.
139 140 141 |
# File 'lib/models/security_ediscovery_case.rb', line 139 def noncustodial_data_sources return @noncustodial_data_sources end |
#noncustodial_data_sources=(value) ⇒ Object
Sets the noncustodialDataSources property value. Returns a list of case ediscoveryNoncustodialDataSource objects for this case.
147 148 149 |
# File 'lib/models/security_ediscovery_case.rb', line 147 def noncustodial_data_sources=(value) @noncustodial_data_sources = value end |
#operations ⇒ Object
Gets the operations property value. Returns a list of case caseOperation objects for this case.
154 155 156 |
# File 'lib/models/security_ediscovery_case.rb', line 154 def operations return @operations end |
#operations=(value) ⇒ Object
Sets the operations property value. Returns a list of case caseOperation objects for this case.
162 163 164 |
# File 'lib/models/security_ediscovery_case.rb', line 162 def operations=(value) @operations = value end |
#review_sets ⇒ Object
Gets the reviewSets property value. Returns a list of eDiscoveryReviewSet objects in the case.
169 170 171 |
# File 'lib/models/security_ediscovery_case.rb', line 169 def review_sets return @review_sets end |
#review_sets=(value) ⇒ Object
Sets the reviewSets property value. Returns a list of eDiscoveryReviewSet objects in the case.
177 178 179 |
# File 'lib/models/security_ediscovery_case.rb', line 177 def review_sets=(value) @review_sets = value end |
#searches ⇒ Object
Gets the searches property value. Returns a list of eDiscoverySearch objects associated with this case.
184 185 186 |
# File 'lib/models/security_ediscovery_case.rb', line 184 def searches return @searches end |
#searches=(value) ⇒ Object
Sets the searches property value. Returns a list of eDiscoverySearch objects associated with this case.
192 193 194 |
# File 'lib/models/security_ediscovery_case.rb', line 192 def searches=(value) @searches = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
200 201 202 203 204 205 206 207 208 209 210 211 212 213 |
# File 'lib/models/security_ediscovery_case.rb', line 200 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("closedBy", @closed_by) writer.write_date_time_value("closedDateTime", @closed_date_time) writer.write_collection_of_object_values("custodians", @custodians) writer.write_string_value("externalId", @external_id) writer.write_collection_of_object_values("noncustodialDataSources", @noncustodial_data_sources) writer.write_collection_of_object_values("operations", @operations) writer.write_collection_of_object_values("reviewSets", @review_sets) writer.write_collection_of_object_values("searches", @searches) writer.write_object_value("settings", @settings) writer.write_collection_of_object_values("tags", ) end |
#settings ⇒ Object
Gets the settings property value. Returns a list of eDIscoverySettings objects in the case.
218 219 220 |
# File 'lib/models/security_ediscovery_case.rb', line 218 def settings return @settings end |
#settings=(value) ⇒ Object
Sets the settings property value. Returns a list of eDIscoverySettings objects in the case.
226 227 228 |
# File 'lib/models/security_ediscovery_case.rb', line 226 def settings=(value) @settings = value end |
#tags ⇒ Object
Gets the tags property value. Returns a list of ediscoveryReviewTag objects associated to this case.
233 234 235 |
# File 'lib/models/security_ediscovery_case.rb', line 233 def return end |
#tags=(value) ⇒ Object
Sets the tags property value. Returns a list of ediscoveryReviewTag objects associated to this case.
241 242 243 |
# File 'lib/models/security_ediscovery_case.rb', line 241 def (value) = value end |