Class MicrosoftGraphPlannerUser
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPlannerUser
-
public final class MicrosoftGraphPlannerUser extends MicrosoftGraphEntity
plannerUser.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphPlannerUser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: plannerUser.List<MicrosoftGraphPlannerPlan>plans()Get the plans property: Read-only.List<MicrosoftGraphPlannerTask>tasks()Get the tasks property: Read-only.voidvalidate()Validates the instance.MicrosoftGraphPlannerUserwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: plannerUser.MicrosoftGraphPlannerUserwithId(String id)Set the id property: Read-only.MicrosoftGraphPlannerUserwithPlans(List<MicrosoftGraphPlannerPlan> plans)Set the plans property: Read-only.MicrosoftGraphPlannerUserwithTasks(List<MicrosoftGraphPlannerTask> tasks)Set the tasks property: Read-only.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
plans
public List<MicrosoftGraphPlannerPlan> plans()
Get the plans property: Read-only. Nullable. Returns the plannerTasks assigned to the user.- Returns:
- the plans value.
-
withPlans
public MicrosoftGraphPlannerUser withPlans(List<MicrosoftGraphPlannerPlan> plans)
Set the plans property: Read-only. Nullable. Returns the plannerTasks assigned to the user.- Parameters:
plans- the plans value to set.- Returns:
- the MicrosoftGraphPlannerUser object itself.
-
tasks
public List<MicrosoftGraphPlannerTask> tasks()
Get the tasks property: Read-only. Nullable. Returns the plannerPlans shared with the user.- Returns:
- the tasks value.
-
withTasks
public MicrosoftGraphPlannerUser withTasks(List<MicrosoftGraphPlannerTask> tasks)
Set the tasks property: Read-only. Nullable. Returns the plannerPlans shared with the user.- Parameters:
tasks- the tasks value to set.- Returns:
- the MicrosoftGraphPlannerUser object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: plannerUser.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphPlannerUser withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: plannerUser.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphPlannerUser object itself.
-
withId
public MicrosoftGraphPlannerUser withId(String id)
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-