Class V2Presence

java.lang.Object
com.symphony.bdk.gen.api.model.V2Presence

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-26T16:14:56.804588655Z[Etc/UTC]") public class V2Presence extends Object
V2Presence
  • Field Details

  • Constructor Details

    • V2Presence

      public V2Presence()
  • Method Details

    • category

      public V2Presence category(String category)
    • getCategory

      public String getCategory()
      Presence status. Possible values are: - UNDEFINED - AVAILABLE - BUSY - DO_NOT_DISTURB - ON_THE_PHONE - BE_RIGHT_BACK - IN_A_MEETING - AWAY - OUT_OF_OFFICE - OFF_WORK - OFFLINE
      Returns:
      category
    • setCategory

      public void setCategory(String category)
    • userId

      public V2Presence userId(Long userId)
    • getUserId

      @Nullable public Long getUserId()
      The ID of the user to whom the presence state relates.
      Returns:
      userId
    • setUserId

      public void setUserId(Long userId)
    • timestamp

      public V2Presence timestamp(Long timestamp)
    • getTimestamp

      @Nullable public Long getTimestamp()
      The time, in milliseconds since Jan 1 1970, when the presence state was set.
      Returns:
      timestamp
    • setTimestamp

      public void setTimestamp(Long timestamp)
    • equals

      public boolean equals(Object o)
      Return true if this V2Presence object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object