Class: MicrosoftGraph::Models::PlannerAssignedToTaskBoardTaskFormat
- Inherits:
-
Entity
- Object
- Entity
- MicrosoftGraph::Models::PlannerAssignedToTaskBoardTaskFormat
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/planner_assigned_to_task_board_task_format.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
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new plannerAssignedToTaskBoardTaskFormat and sets the default values.
-
#order_hints_by_assignee ⇒ Object
Gets the orderHintsByAssignee property value.
-
#order_hints_by_assignee=(value) ⇒ Object
Sets the orderHintsByAssignee property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#unassigned_order_hint ⇒ Object
Gets the unassignedOrderHint property value.
-
#unassigned_order_hint=(value) ⇒ Object
Sets the unassignedOrderHint property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new plannerAssignedToTaskBoardTaskFormat and sets the default values.
19 20 21 |
# File 'lib/models/planner_assigned_to_task_board_task_format.rb', line 19 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
27 28 29 30 |
# File 'lib/models/planner_assigned_to_task_board_task_format.rb', line 27 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return PlannerAssignedToTaskBoardTaskFormat.new end |
Instance Method Details
#get_field_deserializers ⇒ Object
The deserialization information for the current model
35 36 37 38 39 40 |
# File 'lib/models/planner_assigned_to_task_board_task_format.rb', line 35 def get_field_deserializers() return super.merge({ "orderHintsByAssignee" => lambda {|n| @order_hints_by_assignee = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::PlannerOrderHintsByAssignee.create_from_discriminator_value(pn) }) }, "unassignedOrderHint" => lambda {|n| @unassigned_order_hint = n.get_string_value() }, }) end |
#order_hints_by_assignee ⇒ Object
Gets the orderHintsByAssignee property value. Dictionary of hints used to order tasks on the AssignedTo view of the Task Board. The key of each entry is one of the users the task is assigned to and the value is the order hint. The format of each value is defined as outlined here.
45 46 47 |
# File 'lib/models/planner_assigned_to_task_board_task_format.rb', line 45 def order_hints_by_assignee return @order_hints_by_assignee end |
#order_hints_by_assignee=(value) ⇒ Object
Sets the orderHintsByAssignee property value. Dictionary of hints used to order tasks on the AssignedTo view of the Task Board. The key of each entry is one of the users the task is assigned to and the value is the order hint. The format of each value is defined as outlined here.
53 54 55 |
# File 'lib/models/planner_assigned_to_task_board_task_format.rb', line 53 def order_hints_by_assignee=(value) @order_hints_by_assignee = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
61 62 63 64 65 66 |
# File 'lib/models/planner_assigned_to_task_board_task_format.rb', line 61 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("orderHintsByAssignee", @order_hints_by_assignee) writer.write_string_value("unassignedOrderHint", @unassigned_order_hint) end |
#unassigned_order_hint ⇒ Object
Gets the unassignedOrderHint property value. Hint value used to order the task on the AssignedTo view of the Task Board when the task is not assigned to anyone, or if the orderHintsByAssignee dictionary does not provide an order hint for the user the task is assigned to. The format is defined as outlined here.
71 72 73 |
# File 'lib/models/planner_assigned_to_task_board_task_format.rb', line 71 def unassigned_order_hint return @unassigned_order_hint end |
#unassigned_order_hint=(value) ⇒ Object
Sets the unassignedOrderHint property value. Hint value used to order the task on the AssignedTo view of the Task Board when the task is not assigned to anyone, or if the orderHintsByAssignee dictionary does not provide an order hint for the user the task is assigned to. The format is defined as outlined here.
79 80 81 |
# File 'lib/models/planner_assigned_to_task_board_task_format.rb', line 79 def unassigned_order_hint=(value) @unassigned_order_hint = value end |