java.lang.Object
dev.vality.swag.wallets.webhook.events.model.Event
Direct Known Subclasses:
DestinationAuthorized, DestinationCreated, DestinationUnauthorized, WithdrawalFailed, WithdrawalStarted, WithdrawalSucceeded

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
           date="2023-05-31T03:52:57.575432417Z[Etc/UTC]")
public class Event
extends Object
Данные события
  • Field Details

  • Constructor Details

    • Event

      public Event()
  • Method Details

    • eventID

      public Event eventID​(String eventID)
    • getEventID

      @Nullable public String getEventID()
      Идентификатор события в системе
      Returns:
      eventID
    • setEventID

      public void setEventID​(String eventID)
    • occuredAt

      public Event occuredAt​(OffsetDateTime occuredAt)
    • getOccuredAt

      @Nonnull public OffsetDateTime getOccuredAt()
      Дата и время возникновения события
      Returns:
      occuredAt
    • setOccuredAt

      public void setOccuredAt​(OffsetDateTime occuredAt)
    • topic

      public Event topic​(Event.TopicEnum topic)
    • getTopic

      @Nonnull public Event.TopicEnum getTopic()
      Предмет оповещения
      Returns:
      topic
    • setTopic

      public void setTopic​(Event.TopicEnum topic)
    • eventType

      public Event eventType​(Event.EventTypeEnum eventType)
    • getEventType

      @Nonnull public Event.EventTypeEnum getEventType()
      Тип произошедшего с предметом оповещения события
      Returns:
      eventType
    • setEventType

      public void setEventType​(Event.EventTypeEnum eventType)
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object