MicrosoftGraphPresence Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphPresence
- com.
- com.
public final class MicrosoftGraphPresence
extends MicrosoftGraphEntity
presence.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphPresence() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
activity()
Get the activity property: The supplemental information to a user's availability. |
Map<String,Object> |
additionalProperties()
Get the additional |
String |
availability()
Get the availability property: The base presence information for a user. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withActivity(String activity)
Set the activity property: The supplemental information to a user's availability. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAvailability(String availability)
Set the availability property: The base presence information for a user. |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphPresence
public MicrosoftGraphPresence()
Creates an instance of MicrosoftGraphPresence class.
Method Details
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:
additionalProperties
public Map
Get the additionalProperties property: presence.
Overrides:
MicrosoftGraphPresence.additionalProperties()Returns:
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:
fromJson
public static MicrosoftGraphPresence fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphPresence from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphPresence.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphPresence.validate()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:
Returns:
withAdditionalProperties
public MicrosoftGraphPresence withAdditionalProperties(Map
Set the additionalProperties property: presence.
Overrides:
MicrosoftGraphPresence.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
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:
Returns:
withId
public MicrosoftGraphPresence withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphPresence.withId(String id)Parameters:
Applies to
Azure SDK for Java