Class PresenceStatusMessage

java.lang.Object
com.microsoft.graph.models.PresenceStatusMessage
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class PresenceStatusMessage extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Presence Status Message.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • expiryDateTime

      @SerializedName(value="expiryDateTime", alternate="ExpiryDateTime") @Expose @Nullable public DateTimeTimeZone expiryDateTime
      The Expiry Date Time. Time in which the status message expires.If not provided, the status message doesn't expire.expiryDateTime.dateTime shouldn't include time zone.expiryDateTime isn't available when you request the presence of another user.
    • message

      @SerializedName(value="message", alternate="Message") @Expose @Nullable public ItemBody message
      The Message. Status message item. The only supported format currently is message.contentType = 'text'.
    • publishedDateTime

      @SerializedName(value="publishedDateTime", alternate="PublishedDateTime") @Expose @Nullable public OffsetDateTime publishedDateTime
      The Published Date Time. Time in which the status message was published.Read-only.publishedDateTime isn't available when you request the presence of another user.
  • Constructor Details

    • PresenceStatusMessage

      public PresenceStatusMessage()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to