Class: MicrosoftGraph::Models::SecurityEdiscoveryCaseSettings
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/security_ediscovery_case_settings.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 securityEdiscoveryCaseSettings and sets the default values.
-
#ocr ⇒ Object
Gets the ocr property value.
-
#ocr=(value) ⇒ Object
Sets the ocr property value.
-
#redundancy_detection ⇒ Object
Gets the redundancyDetection property value.
-
#redundancy_detection=(value) ⇒ Object
Sets the redundancyDetection property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#topic_modeling ⇒ Object
Gets the topicModeling property value.
-
#topic_modeling=(value) ⇒ Object
Sets the topicModeling property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new securityEdiscoveryCaseSettings and sets the default values.
22 23 24 |
# File 'lib/models/security_ediscovery_case_settings.rb', line 22 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
30 31 32 33 |
# File 'lib/models/security_ediscovery_case_settings.rb', line 30 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SecurityEdiscoveryCaseSettings.new end |
Instance Method Details
#get_field_deserializers ⇒ Object
The deserialization information for the current model
38 39 40 41 42 43 44 |
# File 'lib/models/security_ediscovery_case_settings.rb', line 38 def get_field_deserializers() return super.merge({ "ocr" => lambda {|n| @ocr = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityOcrSettings.create_from_discriminator_value(pn) }) }, "redundancyDetection" => lambda {|n| @redundancy_detection = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityRedundancyDetectionSettings.create_from_discriminator_value(pn) }) }, "topicModeling" => lambda {|n| @topic_modeling = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityTopicModelingSettings.create_from_discriminator_value(pn) }) }, }) end |
#ocr ⇒ Object
Gets the ocr property value. The OCR (Optical Character Recognition) settings for the case.
49 50 51 |
# File 'lib/models/security_ediscovery_case_settings.rb', line 49 def ocr return @ocr end |
#ocr=(value) ⇒ Object
Sets the ocr property value. The OCR (Optical Character Recognition) settings for the case.
57 58 59 |
# File 'lib/models/security_ediscovery_case_settings.rb', line 57 def ocr=(value) @ocr = value end |
#redundancy_detection ⇒ Object
Gets the redundancyDetection property value. The redundancy (near duplicate and email threading) detection settings for the case.
64 65 66 |
# File 'lib/models/security_ediscovery_case_settings.rb', line 64 def redundancy_detection return @redundancy_detection end |
#redundancy_detection=(value) ⇒ Object
Sets the redundancyDetection property value. The redundancy (near duplicate and email threading) detection settings for the case.
72 73 74 |
# File 'lib/models/security_ediscovery_case_settings.rb', line 72 def redundancy_detection=(value) @redundancy_detection = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
80 81 82 83 84 85 86 |
# File 'lib/models/security_ediscovery_case_settings.rb', line 80 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("ocr", @ocr) writer.write_object_value("redundancyDetection", @redundancy_detection) writer.write_object_value("topicModeling", @topic_modeling) end |
#topic_modeling ⇒ Object
Gets the topicModeling property value. The Topic Modeling (Themes) settings for the case.
91 92 93 |
# File 'lib/models/security_ediscovery_case_settings.rb', line 91 def topic_modeling return @topic_modeling end |
#topic_modeling=(value) ⇒ Object
Sets the topicModeling property value. The Topic Modeling (Themes) settings for the case.
99 100 101 |
# File 'lib/models/security_ediscovery_case_settings.rb', line 99 def topic_modeling=(value) @topic_modeling = value end |