Class V5EventsReadBody

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

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

  • Constructor Details

    • V5EventsReadBody

      public V5EventsReadBody()
  • Method Details

    • type

      public V5EventsReadBody type(String type)
    • getType

      public String getType()
      Type of the feed. Allowed values are \"fanout\" and \"datahose\"
      Returns:
      type
    • setType

      public void setType(String type)
    • tag

      public V5EventsReadBody tag(String tag)
    • getTag

      public String getTag()
      A unique identifier to ensure uniqueness of the datafeed.
      Returns:
      tag
    • setTag

      public void setTag(String tag)
    • eventTypes

      public V5EventsReadBody eventTypes(List<String> eventTypes)
    • addEventTypesItem

      public V5EventsReadBody addEventTypesItem(String eventTypesItem)
    • getEventTypes

      @Nullable public List<String> getEventTypes()
      At least one value is required if the type of feed is \"datahose\". Values must be a valid Real-Time Event type, i.e. one of: * MESSAGESENT * MESSAGESUPPRESSED * SYMPHONYELEMENTSACTION * SHAREDPOST * INSTANTMESSAGECREATED * ROOMCREATED * ROOMUPDATED * ROOMDEACTIVATED * ROOMREACTIVATED * USERREQUESTEDTOJOINROOM * USERJOINEDROOM * USERLEFTROOM * ROOMMEMBERPROMOTEDTOOWNER * ROOMMEMBERDEMOTEDFROMOWNER * CONNECTIONREQUESTED * CONNECTIONACCEPTED
      Returns:
      eventTypes
    • setEventTypes

      public void setEventTypes(List<String> eventTypes)
    • ackId

      public V5EventsReadBody ackId(String ackId)
    • getAckId

      @Nullable public String getAckId()
      Should be empty for the first call, acknowledges that the current batch of messages have been successfully received by the client.
      Returns:
      ackId
    • setAckId

      public void setAckId(String ackId)
    • updatePresence

      public V5EventsReadBody updatePresence(Boolean updatePresence)
    • getUpdatePresence

      @Nullable public Boolean getUpdatePresence()
      Whether to update the presence status of the account to AVAILABLE when calling the endpoint. Default value is true.
      Returns:
      updatePresence
    • setUpdatePresence

      public void setUpdatePresence(Boolean updatePresence)
    • equals

      public boolean equals(Object o)
      Return true if this V5EventsReadBody 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