Class: MicrosoftGraph::DeviceManagement::Reports::GetCachedReport::GetCachedReportPostRequestBody
- Inherits:
-
Object
- Object
- MicrosoftGraph::DeviceManagement::Reports::GetCachedReport::GetCachedReportPostRequestBody
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.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.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#group_by ⇒ Object
Gets the groupBy property value.
-
#group_by=(value) ⇒ Object
Sets the groupBy property value.
-
#id ⇒ Object
Gets the id property value.
-
#id=(value) ⇒ Object
Sets the id property value.
-
#initialize ⇒ Object
constructor
Instantiates a new getCachedReportPostRequestBody and sets the default values.
-
#order_by ⇒ Object
Gets the orderBy property value.
-
#order_by=(value) ⇒ Object
Sets the orderBy property value.
-
#search ⇒ Object
Gets the search property value.
-
#search=(value) ⇒ Object
Sets the search property value.
-
#select ⇒ Object
Gets the select property value.
-
#select=(value) ⇒ Object
Sets the select property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#skip ⇒ Object
Gets the skip property value.
-
#skip=(value) ⇒ Object
Sets the skip property value.
-
#top ⇒ Object
Gets the top property value.
-
#top=(value) ⇒ Object
Sets the top property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new getCachedReportPostRequestBody and sets the default values.
56 57 58 |
# File 'lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.rb', line 56 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
64 65 66 67 |
# File 'lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.rb', line 64 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return GetCachedReportPostRequestBody.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.
41 42 43 |
# File 'lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.rb', line 41 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.
49 50 51 |
# File 'lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.rb', line 49 def additional_data=(value) @additional_data = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.rb', line 72 def get_field_deserializers() return { "groupBy" => lambda {|n| @group_by = n.get_collection_of_primitive_values(String) }, "id" => lambda {|n| @id = n.get_string_value() }, "orderBy" => lambda {|n| @order_by = n.get_collection_of_primitive_values(String) }, "search" => lambda {|n| @search = n.get_string_value() }, "select" => lambda {|n| @select = n.get_collection_of_primitive_values(String) }, "skip" => lambda {|n| @skip = n.get_number_value() }, "top" => lambda {|n| @top = n.get_number_value() }, } end |
#group_by ⇒ Object
Gets the groupBy property value. The groupBy property
87 88 89 |
# File 'lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.rb', line 87 def group_by return @group_by end |
#group_by=(value) ⇒ Object
Sets the groupBy property value. The groupBy property
95 96 97 |
# File 'lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.rb', line 95 def group_by=(value) @group_by = value end |
#id ⇒ Object
Gets the id property value. The id property
102 103 104 |
# File 'lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.rb', line 102 def id return @id end |
#id=(value) ⇒ Object
Sets the id property value. The id property
110 111 112 |
# File 'lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.rb', line 110 def id=(value) @id = value end |
#order_by ⇒ Object
Gets the orderBy property value. The orderBy property
117 118 119 |
# File 'lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.rb', line 117 def order_by return @order_by end |
#order_by=(value) ⇒ Object
Sets the orderBy property value. The orderBy property
125 126 127 |
# File 'lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.rb', line 125 def order_by=(value) @order_by = value end |
#search ⇒ Object
Gets the search property value. The search property
132 133 134 |
# File 'lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.rb', line 132 def search return @search end |
#search=(value) ⇒ Object
Sets the search property value. The search property
140 141 142 |
# File 'lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.rb', line 140 def search=(value) @search = value end |
#select ⇒ Object
Gets the select property value. The select property
147 148 149 |
# File 'lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.rb', line 147 def select return @select end |
#select=(value) ⇒ Object
Sets the select property value. The select property
155 156 157 |
# File 'lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.rb', line 155 def select=(value) @select = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
163 164 165 166 167 168 169 170 171 172 173 |
# File 'lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.rb', line 163 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_collection_of_primitive_values("groupBy", @group_by) writer.write_string_value("id", @id) writer.write_collection_of_primitive_values("orderBy", @order_by) writer.write_string_value("search", @search) writer.write_collection_of_primitive_values("select", @select) writer.write_number_value("skip", @skip) writer.write_number_value("top", @top) writer.write_additional_data(@additional_data) end |
#skip ⇒ Object
Gets the skip property value. The skip property
178 179 180 |
# File 'lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.rb', line 178 def skip return @skip end |
#skip=(value) ⇒ Object
Sets the skip property value. The skip property
186 187 188 |
# File 'lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.rb', line 186 def skip=(value) @skip = value end |
#top ⇒ Object
Gets the top property value. The top property
193 194 195 |
# File 'lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.rb', line 193 def top return @top end |
#top=(value) ⇒ Object
Sets the top property value. The top property
201 202 203 |
# File 'lib/device_management/reports/get_cached_report/get_cached_report_post_request_body.rb', line 201 def top=(value) @top = value end |