Class: MicrosoftGraph::Models::SecurityEdiscoveryExportOperation

Inherits:
SecurityCaseOperation show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/security_ediscovery_export_operation.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from SecurityCaseOperation

#action, #action=, #completed_date_time, #completed_date_time=, #created_by, #created_by=, #created_date_time, #created_date_time=, #percent_progress, #percent_progress=, #result_info, #result_info=, #status, #status=

Methods inherited from Entity

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

Constructor Details

#initializeObject

Instantiates a new securityEdiscoveryExportOperation and sets the default values.



34
35
36
# File 'lib/models/security_ediscovery_export_operation.rb', line 34

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_export_operation

Raises:

  • (StandardError)


42
43
44
45
# File 'lib/models/security_ediscovery_export_operation.rb', line 42

def self.create_from_discriminator_value(parse_node)
    raise StandardError, 'parse_node cannot be null' if parse_node.nil?
    return SecurityEdiscoveryExportOperation.new
end

Instance Method Details

#descriptionObject

Gets the description property value. The description provided for the export.

Returns:

  • a string



50
51
52
# File 'lib/models/security_ediscovery_export_operation.rb', line 50

def description
    return @description
end

#description=(value) ⇒ Object

Sets the description property value. The description provided for the export.

Parameters:

  • value

    Value to set for the description property.

Returns:

  • a void



58
59
60
# File 'lib/models/security_ediscovery_export_operation.rb', line 58

def description=(value)
    @description = value
end

#export_file_metadataObject

Gets the exportFileMetadata property value. The exportFileMetadata property

Returns:

  • a security_export_file_metadata



65
66
67
# File 'lib/models/security_ediscovery_export_operation.rb', line 65

def 
    return 
end

#export_file_metadata=(value) ⇒ Object

Sets the exportFileMetadata property value. The exportFileMetadata property

Parameters:

  • value

    Value to set for the exportFileMetadata property.

Returns:

  • a void



73
74
75
# File 'lib/models/security_ediscovery_export_operation.rb', line 73

def export_file_metadata=(value)
     = value
end

#export_optionsObject

Gets the exportOptions property value. The options provided for the export. For more details, see reviewSet: export. Possible values are: originalFiles, text, pdfReplacement, tags.

Returns:

  • a security_export_options



80
81
82
# File 'lib/models/security_ediscovery_export_operation.rb', line 80

def export_options
    return @export_options
end

#export_options=(value) ⇒ Object

Sets the exportOptions property value. The options provided for the export. For more details, see reviewSet: export. Possible values are: originalFiles, text, pdfReplacement, tags.

Parameters:

  • value

    Value to set for the exportOptions property.

Returns:

  • a void



88
89
90
# File 'lib/models/security_ediscovery_export_operation.rb', line 88

def export_options=(value)
    @export_options = value
end

#export_structureObject

Gets the exportStructure property value. The options provided that specify the structure of the export. For more details, see reviewSet: export. Possible values are: none, directory, pst.

Returns:

  • a security_export_file_structure



95
96
97
# File 'lib/models/security_ediscovery_export_operation.rb', line 95

def export_structure
    return @export_structure
end

#export_structure=(value) ⇒ Object

Sets the exportStructure property value. The options provided that specify the structure of the export. For more details, see reviewSet: export. Possible values are: none, directory, pst.

Parameters:

  • value

    Value to set for the exportStructure property.

Returns:

  • a void



103
104
105
# File 'lib/models/security_ediscovery_export_operation.rb', line 103

def export_structure=(value)
    @export_structure = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



110
111
112
113
114
115
116
117
118
119
120
# File 'lib/models/security_ediscovery_export_operation.rb', line 110

def get_field_deserializers()
    return super.merge({
        "description" => lambda {|n| @description = n.get_string_value() },
        "exportFileMetadata" => lambda {|n|  = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::.create_from_discriminator_value(pn) }) },
        "exportOptions" => lambda {|n| @export_options = n.get_enum_value(MicrosoftGraph::Models::SecurityExportOptions) },
        "exportStructure" => lambda {|n| @export_structure = n.get_enum_value(MicrosoftGraph::Models::SecurityExportFileStructure) },
        "outputName" => lambda {|n| @output_name = n.get_string_value() },
        "reviewSet" => lambda {|n| @review_set = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityEdiscoveryReviewSet.create_from_discriminator_value(pn) }) },
        "reviewSetQuery" => lambda {|n| @review_set_query = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityEdiscoveryReviewSetQuery.create_from_discriminator_value(pn) }) },
    })
end

#output_nameObject

Gets the outputName property value. The name provided for the export.

Returns:

  • a string



125
126
127
# File 'lib/models/security_ediscovery_export_operation.rb', line 125

def output_name
    return @output_name
end

#output_name=(value) ⇒ Object

Sets the outputName property value. The name provided for the export.

Parameters:

  • value

    Value to set for the outputName property.

Returns:

  • a void



133
134
135
# File 'lib/models/security_ediscovery_export_operation.rb', line 133

def output_name=(value)
    @output_name = value
end

#review_setObject

Gets the reviewSet property value. Review set from where documents are exported.

Returns:

  • a security_ediscovery_review_set



140
141
142
# File 'lib/models/security_ediscovery_export_operation.rb', line 140

def review_set
    return @review_set
end

#review_set=(value) ⇒ Object

Sets the reviewSet property value. Review set from where documents are exported.

Parameters:

  • value

    Value to set for the reviewSet property.

Returns:

  • a void



148
149
150
# File 'lib/models/security_ediscovery_export_operation.rb', line 148

def review_set=(value)
    @review_set = value
end

#review_set_queryObject

Gets the reviewSetQuery property value. The review set query which is used to filter the documents for export.

Returns:

  • a security_ediscovery_review_set_query



155
156
157
# File 'lib/models/security_ediscovery_export_operation.rb', line 155

def review_set_query
    return @review_set_query
end

#review_set_query=(value) ⇒ Object

Sets the reviewSetQuery property value. The review set query which is used to filter the documents for export.

Parameters:

  • value

    Value to set for the reviewSetQuery property.

Returns:

  • a void



163
164
165
# File 'lib/models/security_ediscovery_export_operation.rb', line 163

def review_set_query=(value)
    @review_set_query = 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)


171
172
173
174
175
176
177
178
179
180
181
# File 'lib/models/security_ediscovery_export_operation.rb', line 171

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    super
    writer.write_string_value("description", @description)
    writer.write_collection_of_object_values("exportFileMetadata", )
    writer.write_enum_value("exportOptions", @export_options)
    writer.write_enum_value("exportStructure", @export_structure)
    writer.write_string_value("outputName", @output_name)
    writer.write_object_value("reviewSet", @review_set)
    writer.write_object_value("reviewSetQuery", @review_set_query)
end