Class: MicrosoftGraph::Models::PlannerCategoryDescriptions

Inherits:
Object
  • Object
show all
Includes:
MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/planner_category_descriptions.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeObject

Instantiates a new plannerCategoryDescriptions and sets the default values.



484
485
486
# File 'lib/models/planner_category_descriptions.rb', line 484

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

Parameters:

  • parse_node

    The parse node to use to read the discriminator value and create the object

Returns:

  • a planner_category_descriptions

Raises:

  • (StandardError)


492
493
494
495
# File 'lib/models/planner_category_descriptions.rb', line 492

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

Instance Method Details

#additional_dataObject

Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

Returns:

  • a i_dictionary



94
95
96
# File 'lib/models/planner_category_descriptions.rb', line 94

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.

Parameters:

  • value

    Value to set for the additionalData property.

Returns:

  • a void



102
103
104
# File 'lib/models/planner_category_descriptions.rb', line 102

def additional_data=(value)
    @additional_data = value
end

#category1Object

Gets the category1 property value. The label associated with Category 1

Returns:

  • a string



109
110
111
# File 'lib/models/planner_category_descriptions.rb', line 109

def category1
    return @category1
end

#category10Object

Gets the category10 property value. The label associated with Category 10

Returns:

  • a string



124
125
126
# File 'lib/models/planner_category_descriptions.rb', line 124

def category10
    return @category10
end

#category10=(value) ⇒ Object

Sets the category10 property value. The label associated with Category 10

Parameters:

  • value

    Value to set for the category10 property.

Returns:

  • a void



132
133
134
# File 'lib/models/planner_category_descriptions.rb', line 132

def category10=(value)
    @category10 = value
end

#category11Object

Gets the category11 property value. The label associated with Category 11

Returns:

  • a string



139
140
141
# File 'lib/models/planner_category_descriptions.rb', line 139

def category11
    return @category11
end

#category11=(value) ⇒ Object

Sets the category11 property value. The label associated with Category 11

Parameters:

  • value

    Value to set for the category11 property.

Returns:

  • a void



147
148
149
# File 'lib/models/planner_category_descriptions.rb', line 147

def category11=(value)
    @category11 = value
end

#category12Object

Gets the category12 property value. The label associated with Category 12

Returns:

  • a string



154
155
156
# File 'lib/models/planner_category_descriptions.rb', line 154

def category12
    return @category12
end

#category12=(value) ⇒ Object

Sets the category12 property value. The label associated with Category 12

Parameters:

  • value

    Value to set for the category12 property.

Returns:

  • a void



162
163
164
# File 'lib/models/planner_category_descriptions.rb', line 162

def category12=(value)
    @category12 = value
end

#category13Object

Gets the category13 property value. The label associated with Category 13

Returns:

  • a string



169
170
171
# File 'lib/models/planner_category_descriptions.rb', line 169

def category13
    return @category13
end

#category13=(value) ⇒ Object

Sets the category13 property value. The label associated with Category 13

Parameters:

  • value

    Value to set for the category13 property.

Returns:

  • a void



177
178
179
# File 'lib/models/planner_category_descriptions.rb', line 177

def category13=(value)
    @category13 = value
end

#category14Object

Gets the category14 property value. The label associated with Category 14

Returns:

  • a string



184
185
186
# File 'lib/models/planner_category_descriptions.rb', line 184

def category14
    return @category14
end

#category14=(value) ⇒ Object

Sets the category14 property value. The label associated with Category 14

Parameters:

  • value

    Value to set for the category14 property.

Returns:

  • a void



192
193
194
# File 'lib/models/planner_category_descriptions.rb', line 192

def category14=(value)
    @category14 = value
end

#category15Object

Gets the category15 property value. The label associated with Category 15

Returns:

  • a string



199
200
201
# File 'lib/models/planner_category_descriptions.rb', line 199

def category15
    return @category15
end

#category15=(value) ⇒ Object

Sets the category15 property value. The label associated with Category 15

Parameters:

  • value

    Value to set for the category15 property.

Returns:

  • a void



207
208
209
# File 'lib/models/planner_category_descriptions.rb', line 207

def category15=(value)
    @category15 = value
end

#category16Object

Gets the category16 property value. The label associated with Category 16

Returns:

  • a string



214
215
216
# File 'lib/models/planner_category_descriptions.rb', line 214

def category16
    return @category16
end

#category16=(value) ⇒ Object

Sets the category16 property value. The label associated with Category 16

Parameters:

  • value

    Value to set for the category16 property.

Returns:

  • a void



222
223
224
# File 'lib/models/planner_category_descriptions.rb', line 222

def category16=(value)
    @category16 = value
end

#category17Object

Gets the category17 property value. The label associated with Category 17

Returns:

  • a string



229
230
231
# File 'lib/models/planner_category_descriptions.rb', line 229

def category17
    return @category17
end

#category17=(value) ⇒ Object

Sets the category17 property value. The label associated with Category 17

Parameters:

  • value

    Value to set for the category17 property.

Returns:

  • a void



237
238
239
# File 'lib/models/planner_category_descriptions.rb', line 237

def category17=(value)
    @category17 = value
end

#category18Object

Gets the category18 property value. The label associated with Category 18

Returns:

  • a string



244
245
246
# File 'lib/models/planner_category_descriptions.rb', line 244

def category18
    return @category18
end

#category18=(value) ⇒ Object

Sets the category18 property value. The label associated with Category 18

Parameters:

  • value

    Value to set for the category18 property.

Returns:

  • a void



252
253
254
# File 'lib/models/planner_category_descriptions.rb', line 252

def category18=(value)
    @category18 = value
end

#category19Object

Gets the category19 property value. The label associated with Category 19

Returns:

  • a string



259
260
261
# File 'lib/models/planner_category_descriptions.rb', line 259

def category19
    return @category19
end

#category19=(value) ⇒ Object

Sets the category19 property value. The label associated with Category 19

Parameters:

  • value

    Value to set for the category19 property.

Returns:

  • a void



267
268
269
# File 'lib/models/planner_category_descriptions.rb', line 267

def category19=(value)
    @category19 = value
end

#category1=(value) ⇒ Object

Sets the category1 property value. The label associated with Category 1

Parameters:

  • value

    Value to set for the category1 property.

Returns:

  • a void



117
118
119
# File 'lib/models/planner_category_descriptions.rb', line 117

def category1=(value)
    @category1 = value
end

#category2Object

Gets the category2 property value. The label associated with Category 2

Returns:

  • a string



274
275
276
# File 'lib/models/planner_category_descriptions.rb', line 274

def category2
    return @category2
end

#category20Object

Gets the category20 property value. The label associated with Category 20

Returns:

  • a string



289
290
291
# File 'lib/models/planner_category_descriptions.rb', line 289

def category20
    return @category20
end

#category20=(value) ⇒ Object

Sets the category20 property value. The label associated with Category 20

Parameters:

  • value

    Value to set for the category20 property.

Returns:

  • a void



297
298
299
# File 'lib/models/planner_category_descriptions.rb', line 297

def category20=(value)
    @category20 = value
end

#category21Object

Gets the category21 property value. The label associated with Category 21

Returns:

  • a string



304
305
306
# File 'lib/models/planner_category_descriptions.rb', line 304

def category21
    return @category21
end

#category21=(value) ⇒ Object

Sets the category21 property value. The label associated with Category 21

Parameters:

  • value

    Value to set for the category21 property.

Returns:

  • a void



312
313
314
# File 'lib/models/planner_category_descriptions.rb', line 312

def category21=(value)
    @category21 = value
end

#category22Object

Gets the category22 property value. The label associated with Category 22

Returns:

  • a string



319
320
321
# File 'lib/models/planner_category_descriptions.rb', line 319

def category22
    return @category22
end

#category22=(value) ⇒ Object

Sets the category22 property value. The label associated with Category 22

Parameters:

  • value

    Value to set for the category22 property.

Returns:

  • a void



327
328
329
# File 'lib/models/planner_category_descriptions.rb', line 327

def category22=(value)
    @category22 = value
end

#category23Object

Gets the category23 property value. The label associated with Category 23

Returns:

  • a string



334
335
336
# File 'lib/models/planner_category_descriptions.rb', line 334

def category23
    return @category23
end

#category23=(value) ⇒ Object

Sets the category23 property value. The label associated with Category 23

Parameters:

  • value

    Value to set for the category23 property.

Returns:

  • a void



342
343
344
# File 'lib/models/planner_category_descriptions.rb', line 342

def category23=(value)
    @category23 = value
end

#category24Object

Gets the category24 property value. The label associated with Category 24

Returns:

  • a string



349
350
351
# File 'lib/models/planner_category_descriptions.rb', line 349

def category24
    return @category24
end

#category24=(value) ⇒ Object

Sets the category24 property value. The label associated with Category 24

Parameters:

  • value

    Value to set for the category24 property.

Returns:

  • a void



357
358
359
# File 'lib/models/planner_category_descriptions.rb', line 357

def category24=(value)
    @category24 = value
end

#category25Object

Gets the category25 property value. The label associated with Category 25

Returns:

  • a string



364
365
366
# File 'lib/models/planner_category_descriptions.rb', line 364

def category25
    return @category25
end

#category25=(value) ⇒ Object

Sets the category25 property value. The label associated with Category 25

Parameters:

  • value

    Value to set for the category25 property.

Returns:

  • a void



372
373
374
# File 'lib/models/planner_category_descriptions.rb', line 372

def category25=(value)
    @category25 = value
end

#category2=(value) ⇒ Object

Sets the category2 property value. The label associated with Category 2

Parameters:

  • value

    Value to set for the category2 property.

Returns:

  • a void



282
283
284
# File 'lib/models/planner_category_descriptions.rb', line 282

def category2=(value)
    @category2 = value
end

#category3Object

Gets the category3 property value. The label associated with Category 3

Returns:

  • a string



379
380
381
# File 'lib/models/planner_category_descriptions.rb', line 379

def category3
    return @category3
end

#category3=(value) ⇒ Object

Sets the category3 property value. The label associated with Category 3

Parameters:

  • value

    Value to set for the category3 property.

Returns:

  • a void



387
388
389
# File 'lib/models/planner_category_descriptions.rb', line 387

def category3=(value)
    @category3 = value
end

#category4Object

Gets the category4 property value. The label associated with Category 4

Returns:

  • a string



394
395
396
# File 'lib/models/planner_category_descriptions.rb', line 394

def category4
    return @category4
end

#category4=(value) ⇒ Object

Sets the category4 property value. The label associated with Category 4

Parameters:

  • value

    Value to set for the category4 property.

Returns:

  • a void



402
403
404
# File 'lib/models/planner_category_descriptions.rb', line 402

def category4=(value)
    @category4 = value
end

#category5Object

Gets the category5 property value. The label associated with Category 5

Returns:

  • a string



409
410
411
# File 'lib/models/planner_category_descriptions.rb', line 409

def category5
    return @category5
end

#category5=(value) ⇒ Object

Sets the category5 property value. The label associated with Category 5

Parameters:

  • value

    Value to set for the category5 property.

Returns:

  • a void



417
418
419
# File 'lib/models/planner_category_descriptions.rb', line 417

def category5=(value)
    @category5 = value
end

#category6Object

Gets the category6 property value. The label associated with Category 6

Returns:

  • a string



424
425
426
# File 'lib/models/planner_category_descriptions.rb', line 424

def category6
    return @category6
end

#category6=(value) ⇒ Object

Sets the category6 property value. The label associated with Category 6

Parameters:

  • value

    Value to set for the category6 property.

Returns:

  • a void



432
433
434
# File 'lib/models/planner_category_descriptions.rb', line 432

def category6=(value)
    @category6 = value
end

#category7Object

Gets the category7 property value. The label associated with Category 7

Returns:

  • a string



439
440
441
# File 'lib/models/planner_category_descriptions.rb', line 439

def category7
    return @category7
end

#category7=(value) ⇒ Object

Sets the category7 property value. The label associated with Category 7

Parameters:

  • value

    Value to set for the category7 property.

Returns:

  • a void



447
448
449
# File 'lib/models/planner_category_descriptions.rb', line 447

def category7=(value)
    @category7 = value
end

#category8Object

Gets the category8 property value. The label associated with Category 8

Returns:

  • a string



454
455
456
# File 'lib/models/planner_category_descriptions.rb', line 454

def category8
    return @category8
end

#category8=(value) ⇒ Object

Sets the category8 property value. The label associated with Category 8

Parameters:

  • value

    Value to set for the category8 property.

Returns:

  • a void



462
463
464
# File 'lib/models/planner_category_descriptions.rb', line 462

def category8=(value)
    @category8 = value
end

#category9Object

Gets the category9 property value. The label associated with Category 9

Returns:

  • a string



469
470
471
# File 'lib/models/planner_category_descriptions.rb', line 469

def category9
    return @category9
end

#category9=(value) ⇒ Object

Sets the category9 property value. The label associated with Category 9

Parameters:

  • value

    Value to set for the category9 property.

Returns:

  • a void



477
478
479
# File 'lib/models/planner_category_descriptions.rb', line 477

def category9=(value)
    @category9 = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
# File 'lib/models/planner_category_descriptions.rb', line 500

def get_field_deserializers()
    return {
        "category1" => lambda {|n| @category1 = n.get_string_value() },
        "category10" => lambda {|n| @category10 = n.get_string_value() },
        "category11" => lambda {|n| @category11 = n.get_string_value() },
        "category12" => lambda {|n| @category12 = n.get_string_value() },
        "category13" => lambda {|n| @category13 = n.get_string_value() },
        "category14" => lambda {|n| @category14 = n.get_string_value() },
        "category15" => lambda {|n| @category15 = n.get_string_value() },
        "category16" => lambda {|n| @category16 = n.get_string_value() },
        "category17" => lambda {|n| @category17 = n.get_string_value() },
        "category18" => lambda {|n| @category18 = n.get_string_value() },
        "category19" => lambda {|n| @category19 = n.get_string_value() },
        "category2" => lambda {|n| @category2 = n.get_string_value() },
        "category20" => lambda {|n| @category20 = n.get_string_value() },
        "category21" => lambda {|n| @category21 = n.get_string_value() },
        "category22" => lambda {|n| @category22 = n.get_string_value() },
        "category23" => lambda {|n| @category23 = n.get_string_value() },
        "category24" => lambda {|n| @category24 = n.get_string_value() },
        "category25" => lambda {|n| @category25 = n.get_string_value() },
        "category3" => lambda {|n| @category3 = n.get_string_value() },
        "category4" => lambda {|n| @category4 = n.get_string_value() },
        "category5" => lambda {|n| @category5 = n.get_string_value() },
        "category6" => lambda {|n| @category6 = n.get_string_value() },
        "category7" => lambda {|n| @category7 = n.get_string_value() },
        "category8" => lambda {|n| @category8 = n.get_string_value() },
        "category9" => lambda {|n| @category9 = n.get_string_value() },
        "@odata.type" => lambda {|n| @odata_type = n.get_string_value() },
    }
end

#odata_typeObject

Gets the @odata.type property value. The OdataType property

Returns:

  • a string



534
535
536
# File 'lib/models/planner_category_descriptions.rb', line 534

def odata_type
    return @odata_type
end

#odata_type=(value) ⇒ Object

Sets the @odata.type property value. The OdataType property

Parameters:

  • value

    Value to set for the @odata.type property.

Returns:

  • a void



542
543
544
# File 'lib/models/planner_category_descriptions.rb', line 542

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


550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
# File 'lib/models/planner_category_descriptions.rb', line 550

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    writer.write_string_value("category1", @category1)
    writer.write_string_value("category10", @category10)
    writer.write_string_value("category11", @category11)
    writer.write_string_value("category12", @category12)
    writer.write_string_value("category13", @category13)
    writer.write_string_value("category14", @category14)
    writer.write_string_value("category15", @category15)
    writer.write_string_value("category16", @category16)
    writer.write_string_value("category17", @category17)
    writer.write_string_value("category18", @category18)
    writer.write_string_value("category19", @category19)
    writer.write_string_value("category2", @category2)
    writer.write_string_value("category20", @category20)
    writer.write_string_value("category21", @category21)
    writer.write_string_value("category22", @category22)
    writer.write_string_value("category23", @category23)
    writer.write_string_value("category24", @category24)
    writer.write_string_value("category25", @category25)
    writer.write_string_value("category3", @category3)
    writer.write_string_value("category4", @category4)
    writer.write_string_value("category5", @category5)
    writer.write_string_value("category6", @category6)
    writer.write_string_value("category7", @category7)
    writer.write_string_value("category8", @category8)
    writer.write_string_value("category9", @category9)
    writer.write_string_value("@odata.type", @odata_type)
    writer.write_additional_data(@additional_data)
end