Class: MicrosoftGraph::Models::SubjectRightsRequestDetail
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::SubjectRightsRequestDetail
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/subject_rights_request_detail.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
-
#additional_data ⇒ Object
Gets the additionalData property value.
-
#additional_data=(value) ⇒ Object
Sets the additionalData property value.
-
#excluded_item_count ⇒ Object
Gets the excludedItemCount property value.
-
#excluded_item_count=(value) ⇒ Object
Sets the excludedItemCount property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new subjectRightsRequestDetail and sets the default values.
-
#insight_counts ⇒ Object
Gets the insightCounts property value.
-
#insight_counts=(value) ⇒ Object
Sets the insightCounts property value.
-
#item_count ⇒ Object
Gets the itemCount property value.
-
#item_count=(value) ⇒ Object
Sets the itemCount property value.
-
#item_need_review ⇒ Object
Gets the itemNeedReview property value.
-
#item_need_review=(value) ⇒ Object
Sets the itemNeedReview property value.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#product_item_counts ⇒ Object
Gets the productItemCounts property value.
-
#product_item_counts=(value) ⇒ Object
Sets the productItemCounts property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#signed_off_item_count ⇒ Object
Gets the signedOffItemCount property value.
-
#signed_off_item_count=(value) ⇒ Object
Sets the signedOffItemCount property value.
-
#total_item_size ⇒ Object
Gets the totalItemSize property value.
-
#total_item_size=(value) ⇒ Object
Sets the totalItemSize property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new subjectRightsRequestDetail and sets the default values.
55 56 57 |
# File 'lib/models/subject_rights_request_detail.rb', line 55 def initialize() @additional_data = Hash.new end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
63 64 65 66 |
# File 'lib/models/subject_rights_request_detail.rb', line 63 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SubjectRightsRequestDetail.new end |
Instance Method Details
#additional_data ⇒ Object
Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
40 41 42 |
# File 'lib/models/subject_rights_request_detail.rb', line 40 def additional_data return @additional_data end |
#additional_data=(value) ⇒ Object
Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
48 49 50 |
# File 'lib/models/subject_rights_request_detail.rb', line 48 def additional_data=(value) @additional_data = value end |
#excluded_item_count ⇒ Object
Gets the excludedItemCount property value. Count of items that are excluded from the request.
71 72 73 |
# File 'lib/models/subject_rights_request_detail.rb', line 71 def excluded_item_count return @excluded_item_count end |
#excluded_item_count=(value) ⇒ Object
Sets the excludedItemCount property value. Count of items that are excluded from the request.
79 80 81 |
# File 'lib/models/subject_rights_request_detail.rb', line 79 def excluded_item_count=(value) @excluded_item_count = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/models/subject_rights_request_detail.rb', line 86 def get_field_deserializers() return { "excludedItemCount" => lambda {|n| @excluded_item_count = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "insightCounts" => lambda {|n| @insight_counts = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::KeyValuePair.create_from_discriminator_value(pn) }) }, "itemCount" => lambda {|n| @item_count = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "itemNeedReview" => lambda {|n| @item_need_review = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "productItemCounts" => lambda {|n| @product_item_counts = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::KeyValuePair.create_from_discriminator_value(pn) }) }, "signedOffItemCount" => lambda {|n| @signed_off_item_count = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "totalItemSize" => lambda {|n| @total_item_size = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, } end |
#insight_counts ⇒ Object
Gets the insightCounts property value. Count of items per insight.
102 103 104 |
# File 'lib/models/subject_rights_request_detail.rb', line 102 def insight_counts return @insight_counts end |
#insight_counts=(value) ⇒ Object
Sets the insightCounts property value. Count of items per insight.
110 111 112 |
# File 'lib/models/subject_rights_request_detail.rb', line 110 def insight_counts=(value) @insight_counts = value end |
#item_count ⇒ Object
Gets the itemCount property value. Count of items found.
117 118 119 |
# File 'lib/models/subject_rights_request_detail.rb', line 117 def item_count return @item_count end |
#item_count=(value) ⇒ Object
Sets the itemCount property value. Count of items found.
125 126 127 |
# File 'lib/models/subject_rights_request_detail.rb', line 125 def item_count=(value) @item_count = value end |
#item_need_review ⇒ Object
Gets the itemNeedReview property value. Count of item that need review.
132 133 134 |
# File 'lib/models/subject_rights_request_detail.rb', line 132 def item_need_review return @item_need_review end |
#item_need_review=(value) ⇒ Object
Sets the itemNeedReview property value. Count of item that need review.
140 141 142 |
# File 'lib/models/subject_rights_request_detail.rb', line 140 def item_need_review=(value) @item_need_review = value end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
147 148 149 |
# File 'lib/models/subject_rights_request_detail.rb', line 147 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
155 156 157 |
# File 'lib/models/subject_rights_request_detail.rb', line 155 def odata_type=(value) @odata_type = value end |
#product_item_counts ⇒ Object
Gets the productItemCounts property value. Count of items per product, such as Exchange, SharePoint, OneDrive, and Teams.
162 163 164 |
# File 'lib/models/subject_rights_request_detail.rb', line 162 def product_item_counts return @product_item_counts end |
#product_item_counts=(value) ⇒ Object
Sets the productItemCounts property value. Count of items per product, such as Exchange, SharePoint, OneDrive, and Teams.
170 171 172 |
# File 'lib/models/subject_rights_request_detail.rb', line 170 def product_item_counts=(value) @product_item_counts = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
178 179 180 181 182 183 184 185 186 187 188 189 |
# File 'lib/models/subject_rights_request_detail.rb', line 178 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_object_value("excludedItemCount", @excluded_item_count) writer.write_collection_of_object_values("insightCounts", @insight_counts) writer.write_object_value("itemCount", @item_count) writer.write_object_value("itemNeedReview", @item_need_review) writer.write_string_value("@odata.type", @odata_type) writer.write_collection_of_object_values("productItemCounts", @product_item_counts) writer.write_object_value("signedOffItemCount", @signed_off_item_count) writer.write_object_value("totalItemSize", @total_item_size) writer.write_additional_data(@additional_data) end |
#signed_off_item_count ⇒ Object
Gets the signedOffItemCount property value. Count of items signed off by the administrator.
194 195 196 |
# File 'lib/models/subject_rights_request_detail.rb', line 194 def signed_off_item_count return @signed_off_item_count end |
#signed_off_item_count=(value) ⇒ Object
Sets the signedOffItemCount property value. Count of items signed off by the administrator.
202 203 204 |
# File 'lib/models/subject_rights_request_detail.rb', line 202 def signed_off_item_count=(value) @signed_off_item_count = value end |
#total_item_size ⇒ Object
Gets the totalItemSize property value. Total item size in bytes.
209 210 211 |
# File 'lib/models/subject_rights_request_detail.rb', line 209 def total_item_size return @total_item_size end |
#total_item_size=(value) ⇒ Object
Sets the totalItemSize property value. Total item size in bytes.
217 218 219 |
# File 'lib/models/subject_rights_request_detail.rb', line 217 def total_item_size=(value) @total_item_size = value end |