Skip to content

Commit d8a2a61

Browse files
author
Caitlin Bales (MSFT)
committed
Get order hint for assignee
1 parent 555e712 commit d8a2a61

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/main/java/com/microsoft/graph/models/extensions/PlannerAssignedToTaskBoardTaskFormat.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,12 @@
2424
*/
2525
public class PlannerAssignedToTaskBoardTaskFormat extends BasePlannerAssignedToTaskBoardTaskFormat {
2626

27+
/**
28+
* The GetOrderHintForAssignee
29+
*/
30+
public String orderHintForAssignee(String userId)
31+
{
32+
String orderHints = this.orderHintsByAssignee.get(userId);
33+
return (orderHints != null) ? orderHints : this.unassignedOrderHint;
34+
}
2735
}

src/main/java/com/microsoft/graph/models/generated/BasePlannerOrderHintsByAssignee.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
/**
2929
* The class for the Base Planner Order Hints By Assignee.
3030
*/
31-
public class BasePlannerOrderHintsByAssignee implements IJsonBackedObject {
31+
public class BasePlannerOrderHintsByAssignee extends HashMap<String, String> implements IJsonBackedObject {
3232

3333
@SerializedName("@odata.type")
3434
@Expose(serialize = false)

0 commit comments

Comments
 (0)