Class V4Event

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-05T16:35:19.322971670Z[Etc/UTC]") public class V4Event extends Object
V4Event
  • Field Details

  • Constructor Details

    • V4Event

      public V4Event()
  • Method Details

    • id

      public V4Event id(String id)
    • getId

      @Nullable public String getId()
      Event ID
      Returns:
      id
    • setId

      public void setId(String id)
    • messageId

      public V4Event messageId(String messageId)
    • getMessageId

      @Nullable public String getMessageId()
      Message ID
      Returns:
      messageId
    • setMessageId

      public void setMessageId(String messageId)
    • timestamp

      public V4Event timestamp(Long timestamp)
    • getTimestamp

      @Nullable public Long getTimestamp()
      Timestamp of event
      Returns:
      timestamp
    • setTimestamp

      public void setTimestamp(Long timestamp)
    • type

      public V4Event type(String type)
    • getType

      @Nullable public String getType()
      Event type, possible events are: - MESSAGESENT - SHAREDPOST - INSTANTMESSAGECREATED - ROOMCREATED - ROOMUPDATED - ROOMDEACTIVATED - ROOMREACTIVATED - USERJOINEDROOM - USERLEFTROOM - ROOMMEMBERPROMOTEDTOOWNER - ROOMMEMBERDEMOTEDFROMOWNER - CONNECTIONREQUESTED - CONNECTIONACCEPTED - MESSAGESUPPRESSED - SYMPHONYELEMENTSACTION - USERREQUESTEDTOJOINROOM
      Returns:
      type
    • setType

      public void setType(String type)
    • diagnostic

      public V4Event diagnostic(String diagnostic)
    • getDiagnostic

      @Nullable public String getDiagnostic()
      Details if event failed to parse for any reason. The contents of this field may not be useful, depending on the nature of the error. Only present when error occurs.
      Returns:
      diagnostic
    • setDiagnostic

      public void setDiagnostic(String diagnostic)
    • initiator

      public V4Event initiator(V4Initiator initiator)
    • getInitiator

      @Nullable public V4Initiator getInitiator()
      Get initiator
      Returns:
      initiator
    • setInitiator

      public void setInitiator(V4Initiator initiator)
    • payload

      public V4Event payload(V4Payload payload)
    • getPayload

      @Nullable public V4Payload getPayload()
      Get payload
      Returns:
      payload
    • setPayload

      public void setPayload(V4Payload payload)
    • equals

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