Class: MicrosoftGraph::Drives::Item::Items::Item::Workbook::Functions::PercentRank_Inc::PercentRankIncPostRequestBody
- Inherits:
-
Object
- Object
- MicrosoftGraph::Drives::Item::Items::Item::Workbook::Functions::PercentRank_Inc::PercentRankIncPostRequestBody
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_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.
-
#array ⇒ Object
Gets the array property value.
-
#array=(value) ⇒ Object
Sets the array property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new PercentRankIncPostRequestBody and sets the default values.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#significance ⇒ Object
Gets the significance property value.
-
#significance=(value) ⇒ Object
Sets the significance property value.
-
#x ⇒ Object
Gets the x property value.
-
#x=(value) ⇒ Object
Sets the x property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new PercentRankIncPostRequestBody and sets the default values.
68 69 70 |
# File 'lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_post_request_body.rb', line 68 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
76 77 78 79 |
# File 'lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_post_request_body.rb', line 76 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return PercentRankIncPostRequestBody.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.
38 39 40 |
# File 'lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_post_request_body.rb', line 38 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.
46 47 48 |
# File 'lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_post_request_body.rb', line 46 def additional_data=(value) @additional_data = value end |
#array ⇒ Object
Gets the array property value. The array property
53 54 55 |
# File 'lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_post_request_body.rb', line 53 def array return @array end |
#array=(value) ⇒ Object
Sets the array property value. The array property
61 62 63 |
# File 'lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_post_request_body.rb', line 61 def array=(value) @array = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
84 85 86 87 88 89 90 |
# File 'lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_post_request_body.rb', line 84 def get_field_deserializers() return { "array" => lambda {|n| @array = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Json.create_from_discriminator_value(pn) }) }, "significance" => lambda {|n| @significance = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Json.create_from_discriminator_value(pn) }) }, "x" => lambda {|n| @x = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Json.create_from_discriminator_value(pn) }) }, } end |
#serialize(writer) ⇒ Object
Serializes information the current object
96 97 98 99 100 101 102 |
# File 'lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_post_request_body.rb', line 96 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_object_value("array", @array) writer.write_object_value("significance", @significance) writer.write_object_value("x", @x) writer.write_additional_data(@additional_data) end |
#significance ⇒ Object
Gets the significance property value. The significance property
107 108 109 |
# File 'lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_post_request_body.rb', line 107 def significance return @significance end |
#significance=(value) ⇒ Object
Sets the significance property value. The significance property
115 116 117 |
# File 'lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_post_request_body.rb', line 115 def significance=(value) @significance = value end |
#x ⇒ Object
Gets the x property value. The x property
122 123 124 |
# File 'lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_post_request_body.rb', line 122 def x return @x end |
#x=(value) ⇒ Object
Sets the x property value. The x property
130 131 132 |
# File 'lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_post_request_body.rb', line 130 def x=(value) @x = value end |