Class: MicrosoftGraph::Models::SecurityEdiscoveryCaseSettings

Inherits:
Entity
  • Object
show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/security_ediscovery_case_settings.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Entity

#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=

Constructor Details

#initializeObject

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

Parameters:

  • parse_node

    The parse node to use to read the discriminator value and create the object

Returns:

  • a security_ediscovery_case_settings

Raises:

  • (StandardError)


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_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



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

#ocrObject

Gets the ocr property value. The OCR (Optical Character Recognition) settings for the case.

Returns:

  • a security_ocr_settings



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.

Parameters:

  • value

    Value to set for the ocr property.

Returns:

  • a void



57
58
59
# File 'lib/models/security_ediscovery_case_settings.rb', line 57

def ocr=(value)
    @ocr = value
end

#redundancy_detectionObject

Gets the redundancyDetection property value. The redundancy (near duplicate and email threading) detection settings for the case.

Returns:

  • a security_redundancy_detection_settings



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.

Parameters:

  • value

    Value to set for the redundancyDetection property.

Returns:

  • a void



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

Parameters:

  • writer

    Serialization writer to use to serialize this model

Returns:

  • a void

Raises:

  • (StandardError)


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_modelingObject

Gets the topicModeling property value. The Topic Modeling (Themes) settings for the case.

Returns:

  • a security_topic_modeling_settings



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.

Parameters:

  • value

    Value to set for the topicModeling property.

Returns:

  • a void



99
100
101
# File 'lib/models/security_ediscovery_case_settings.rb', line 99

def topic_modeling=(value)
    @topic_modeling = value
end