Class MicrosoftGraphPresence
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPresence
presence.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphPresence class. -
Method Summary
Modifier and TypeMethodDescriptionactivity()Get the activity property: The supplemental information to a user's availability.Get the additionalProperties property: presence.Get the availability property: The base presence information for a user.voidvalidate()Validates the instance.withActivity(String activity) Set the activity property: The supplemental information to a user's availability.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: presence.withAvailability(String availability) Set the availability property: The base presence information for a user.Set the id property: Read-only.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphPresence
public MicrosoftGraphPresence()Creates an instance of MicrosoftGraphPresence class.
-
-
Method Details
-
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
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
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
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
Get the additionalProperties property: presence.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: presence.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphPresence object itself.
-
withId
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.
-