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 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:
      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:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphPresence withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: presence.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      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:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.