Class: MicrosoftGraph::Models::SecurityEdiscoveryEstimateOperation

Inherits:
SecurityCaseOperation show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/security_ediscovery_estimate_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 securityEdiscoveryEstimateOperation and sets the default values.



34
35
36
# File 'lib/models/security_ediscovery_estimate_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_estimate_operation

Raises:

  • (StandardError)


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

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

Instance Method Details

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



50
51
52
53
54
55
56
57
58
59
60
# File 'lib/models/security_ediscovery_estimate_operation.rb', line 50

def get_field_deserializers()
    return super.merge({
        "indexedItemCount" => lambda {|n| @indexed_item_count = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) },
        "indexedItemsSize" => lambda {|n| @indexed_items_size = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) },
        "mailboxCount" => lambda {|n| @mailbox_count = n.get_number_value() },
        "search" => lambda {|n| @search = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SecurityEdiscoverySearch.create_from_discriminator_value(pn) }) },
        "siteCount" => lambda {|n| @site_count = n.get_number_value() },
        "unindexedItemCount" => lambda {|n| @unindexed_item_count = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) },
        "unindexedItemsSize" => lambda {|n| @unindexed_items_size = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) },
    })
end

#indexed_item_countObject

Gets the indexedItemCount property value. The estimated count of items for the search that matched the content query.

Returns:

  • a int64



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

def indexed_item_count
    return @indexed_item_count
end

#indexed_item_count=(value) ⇒ Object

Sets the indexedItemCount property value. The estimated count of items for the search that matched the content query.

Parameters:

  • value

    Value to set for the indexedItemCount property.

Returns:

  • a void



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

def indexed_item_count=(value)
    @indexed_item_count = value
end

#indexed_items_sizeObject

Gets the indexedItemsSize property value. The estimated size of items for the search that matched the content query.

Returns:

  • a int64



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

def indexed_items_size
    return @indexed_items_size
end

#indexed_items_size=(value) ⇒ Object

Sets the indexedItemsSize property value. The estimated size of items for the search that matched the content query.

Parameters:

  • value

    Value to set for the indexedItemsSize property.

Returns:

  • a void



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

def indexed_items_size=(value)
    @indexed_items_size = value
end

#mailbox_countObject

Gets the mailboxCount property value. The number of mailboxes that had search hits.

Returns:

  • a integer



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

def mailbox_count
    return @mailbox_count
end

#mailbox_count=(value) ⇒ Object

Sets the mailboxCount property value. The number of mailboxes that had search hits.

Parameters:

  • value

    Value to set for the mailboxCount property.

Returns:

  • a void



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

def mailbox_count=(value)
    @mailbox_count = value
end

#searchObject

Gets the search property value. eDiscovery search.

Returns:

  • a security_ediscovery_search



110
111
112
# File 'lib/models/security_ediscovery_estimate_operation.rb', line 110

def search
    return @search
end

#search=(value) ⇒ Object

Sets the search property value. eDiscovery search.

Parameters:

  • value

    Value to set for the search property.

Returns:

  • a void



118
119
120
# File 'lib/models/security_ediscovery_estimate_operation.rb', line 118

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


126
127
128
129
130
131
132
133
134
135
136
# File 'lib/models/security_ediscovery_estimate_operation.rb', line 126

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    super
    writer.write_object_value("indexedItemCount", @indexed_item_count)
    writer.write_object_value("indexedItemsSize", @indexed_items_size)
    writer.write_number_value("mailboxCount", @mailbox_count)
    writer.write_object_value("search", @search)
    writer.write_number_value("siteCount", @site_count)
    writer.write_object_value("unindexedItemCount", @unindexed_item_count)
    writer.write_object_value("unindexedItemsSize", @unindexed_items_size)
end

#site_countObject

Gets the siteCount property value. The number of mailboxes that had search hits.

Returns:

  • a integer



141
142
143
# File 'lib/models/security_ediscovery_estimate_operation.rb', line 141

def site_count
    return @site_count
end

#site_count=(value) ⇒ Object

Sets the siteCount property value. The number of mailboxes that had search hits.

Parameters:

  • value

    Value to set for the siteCount property.

Returns:

  • a void



149
150
151
# File 'lib/models/security_ediscovery_estimate_operation.rb', line 149

def site_count=(value)
    @site_count = value
end

#unindexed_item_countObject

Gets the unindexedItemCount property value. The estimated count of unindexed items for the collection.

Returns:

  • a int64



156
157
158
# File 'lib/models/security_ediscovery_estimate_operation.rb', line 156

def unindexed_item_count
    return @unindexed_item_count
end

#unindexed_item_count=(value) ⇒ Object

Sets the unindexedItemCount property value. The estimated count of unindexed items for the collection.

Parameters:

  • value

    Value to set for the unindexedItemCount property.

Returns:

  • a void



164
165
166
# File 'lib/models/security_ediscovery_estimate_operation.rb', line 164

def unindexed_item_count=(value)
    @unindexed_item_count = value
end

#unindexed_items_sizeObject

Gets the unindexedItemsSize property value. The estimated size of unindexed items for the collection.

Returns:

  • a int64



171
172
173
# File 'lib/models/security_ediscovery_estimate_operation.rb', line 171

def unindexed_items_size
    return @unindexed_items_size
end

#unindexed_items_size=(value) ⇒ Object

Sets the unindexedItemsSize property value. The estimated size of unindexed items for the collection.

Parameters:

  • value

    Value to set for the unindexedItemsSize property.

Returns:

  • a void



179
180
181
# File 'lib/models/security_ediscovery_estimate_operation.rb', line 179

def unindexed_items_size=(value)
    @unindexed_items_size = value
end