Class MicrosoftGraphPresence
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPresence
-
public final class MicrosoftGraphPresence extends MicrosoftGraphEntity
presence.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphPresence()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringactivity()Get the activity property: The supplemental information to a user's availability.Map<String,Object>additionalProperties()Get the additionalProperties property: presence.Stringavailability()Get the availability property: The base presence information for a user.voidvalidate()Validates the instance.MicrosoftGraphPresencewithActivity(String activity)Set the activity property: The supplemental information to a user's availability.MicrosoftGraphPresencewithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: presence.MicrosoftGraphPresencewithAvailability(String availability)Set the availability property: The base presence information for a user.MicrosoftGraphPresencewithId(String id)Set the id property: Read-only.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
activity
public String activity()
Get the activity property: The supplemental information to a user's availability. Possible values are Available, Away, BeRightBack,Busy, DoNotDisturb, InACall, InAConferenceCall, Inactive,InAMeeting, Offline, OffWork,OutOfOffice, PresenceUnknown,Presenting, UrgentInterruptionsOnly.- Returns:
- the activity value.
-
withActivity
public MicrosoftGraphPresence withActivity(String activity)
Set the activity property: The supplemental information to a user's availability. Possible values are Available, Away, BeRightBack,Busy, DoNotDisturb, InACall, InAConferenceCall, Inactive,InAMeeting, Offline, OffWork,OutOfOffice, PresenceUnknown,Presenting, UrgentInterruptionsOnly.- Parameters:
activity- the activity value to set.- Returns:
- the MicrosoftGraphPresence object itself.
-
availability
public String availability()
Get the availability property: The base presence information for a user. Possible values are Available, AvailableIdle, Away, BeRightBack, Busy, BusyIdle, DoNotDisturb, Offline, PresenceUnknown.- Returns:
- the availability value.
-
withAvailability
public MicrosoftGraphPresence withAvailability(String availability)
Set the availability property: The base presence information for a user. Possible values are Available, AvailableIdle, Away, BeRightBack, Busy, BusyIdle, DoNotDisturb, Offline, PresenceUnknown.- Parameters:
availability- the availability value to set.- Returns:
- the MicrosoftGraphPresence object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: presence.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphPresence withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: presence.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphPresence object itself.
-
withId
public MicrosoftGraphPresence 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.
-
-