Class: MicrosoftGraph::Models::SecurityEdiscoverySearch
- Inherits:
-
SecuritySearch
- Object
- Entity
- SecuritySearch
- MicrosoftGraph::Models::SecurityEdiscoverySearch
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/security_ediscovery_search.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
-
#add_to_review_set_operation ⇒ Object
Gets the addToReviewSetOperation property value.
-
#add_to_review_set_operation=(value) ⇒ Object
Sets the addToReviewSetOperation property value.
-
#additional_sources ⇒ Object
Gets the additionalSources property value.
-
#additional_sources=(value) ⇒ Object
Sets the additionalSources property value.
-
#custodian_sources ⇒ Object
Gets the custodianSources property value.
-
#custodian_sources=(value) ⇒ Object
Sets the custodianSources property value.
-
#data_source_scopes ⇒ Object
Gets the dataSourceScopes property value.
-
#data_source_scopes=(value) ⇒ Object
Sets the dataSourceScopes property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new securityEdiscoverySearch and sets the default values.
-
#last_estimate_statistics_operation ⇒ Object
Gets the lastEstimateStatisticsOperation property value.
-
#last_estimate_statistics_operation=(value) ⇒ Object
Sets the lastEstimateStatisticsOperation property value.
-
#noncustodial_sources ⇒ Object
Gets the noncustodialSources property value.
-
#noncustodial_sources=(value) ⇒ Object
Sets the noncustodialSources property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from SecuritySearch
#content_query, #content_query=, #created_by, #created_by=, #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=
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new securityEdiscoverySearch and sets the default values.
61 62 63 64 |
# File 'lib/models/security_ediscovery_search.rb', line 61 def initialize() super @odata_type = "#microsoft.graph.security.ediscoverySearch" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
70 71 72 73 |
# File 'lib/models/security_ediscovery_search.rb', line 70 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SecurityEdiscoverySearch.new end |
Instance Method Details
#add_to_review_set_operation ⇒ Object
Gets the addToReviewSetOperation property value. Adds the results of the eDiscovery search to the specified reviewSet.
31 32 33 |
# File 'lib/models/security_ediscovery_search.rb', line 31 def add_to_review_set_operation return @add_to_review_set_operation end |
#add_to_review_set_operation=(value) ⇒ Object
Sets the addToReviewSetOperation property value. Adds the results of the eDiscovery search to the specified reviewSet.
39 40 41 |
# File 'lib/models/security_ediscovery_search.rb', line 39 def add_to_review_set_operation=(value) @add_to_review_set_operation = value end |
#additional_sources ⇒ Object
Gets the additionalSources property value. Adds an additional source to the eDiscovery search.
46 47 48 |
# File 'lib/models/security_ediscovery_search.rb', line 46 def additional_sources return @additional_sources end |
#additional_sources=(value) ⇒ Object
Sets the additionalSources property value. Adds an additional source to the eDiscovery search.
54 55 56 |
# File 'lib/models/security_ediscovery_search.rb', line 54 def additional_sources=(value) @additional_sources = value end |
#custodian_sources ⇒ Object
Gets the custodianSources property value. Custodian sources that are included in the eDiscovery search.
78 79 80 |
# File 'lib/models/security_ediscovery_search.rb', line 78 def custodian_sources return @custodian_sources end |
#custodian_sources=(value) ⇒ Object
Sets the custodianSources property value. Custodian sources that are included in the eDiscovery search.
86 87 88 |
# File 'lib/models/security_ediscovery_search.rb', line 86 def custodian_sources=(value) @custodian_sources = value end |
#data_source_scopes ⇒ Object
Gets the dataSourceScopes property value. When specified, the collection will span across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources.
93 94 95 |
# File 'lib/models/security_ediscovery_search.rb', line 93 def data_source_scopes return @data_source_scopes end |
#data_source_scopes=(value) ⇒ Object
Sets the dataSourceScopes property value. When specified, the collection will span across a service for an entire workload. Possible values are: none, allTenantMailboxes, allTenantSites, allCaseCustodians, allCaseNoncustodialDataSources.
101 102 103 |
# File 'lib/models/security_ediscovery_search.rb', line 101 def data_source_scopes=(value) @data_source_scopes = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
108 109 110 111 112 113 114 115 116 117 |
# File 'lib/models/security_ediscovery_search.rb', line 108 def get_field_deserializers() return super.merge({ "addToReviewSetOperation" => lambda {|n| @add_to_review_set_operation = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityEdiscoveryAddToReviewSetOperation.create_from_discriminator_value(pn) }) }, "additionalSources" => lambda {|n| @additional_sources = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityDataSource.create_from_discriminator_value(pn) }) }, "custodianSources" => lambda {|n| @custodian_sources = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityDataSource.create_from_discriminator_value(pn) }) }, "dataSourceScopes" => lambda {|n| @data_source_scopes = n.get_enum_value(MicrosoftGraph::Models::SecurityDataSourceScopes) }, "lastEstimateStatisticsOperation" => lambda {|n| @last_estimate_statistics_operation = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityEdiscoveryEstimateOperation.create_from_discriminator_value(pn) }) }, "noncustodialSources" => lambda {|n| @noncustodial_sources = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecurityEdiscoveryNoncustodialDataSource.create_from_discriminator_value(pn) }) }, }) end |
#last_estimate_statistics_operation ⇒ Object
Gets the lastEstimateStatisticsOperation property value. The last estimate operation associated with the eDiscovery search.
122 123 124 |
# File 'lib/models/security_ediscovery_search.rb', line 122 def last_estimate_statistics_operation return @last_estimate_statistics_operation end |
#last_estimate_statistics_operation=(value) ⇒ Object
Sets the lastEstimateStatisticsOperation property value. The last estimate operation associated with the eDiscovery search.
130 131 132 |
# File 'lib/models/security_ediscovery_search.rb', line 130 def last_estimate_statistics_operation=(value) @last_estimate_statistics_operation = value end |
#noncustodial_sources ⇒ Object
Gets the noncustodialSources property value. noncustodialDataSource sources that are included in the eDiscovery search
137 138 139 |
# File 'lib/models/security_ediscovery_search.rb', line 137 def noncustodial_sources return @noncustodial_sources end |
#noncustodial_sources=(value) ⇒ Object
Sets the noncustodialSources property value. noncustodialDataSource sources that are included in the eDiscovery search
145 146 147 |
# File 'lib/models/security_ediscovery_search.rb', line 145 def noncustodial_sources=(value) @noncustodial_sources = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
153 154 155 156 157 158 159 160 161 162 |
# File 'lib/models/security_ediscovery_search.rb', line 153 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("addToReviewSetOperation", @add_to_review_set_operation) writer.write_collection_of_object_values("additionalSources", @additional_sources) writer.write_collection_of_object_values("custodianSources", @custodian_sources) writer.write_enum_value("dataSourceScopes", @data_source_scopes) writer.write_object_value("lastEstimateStatisticsOperation", @last_estimate_statistics_operation) writer.write_collection_of_object_values("noncustodialSources", @noncustodial_sources) end |