Class WaveSubscriptionSpecification

java.lang.Object
com.veeroute.lss.monitor.model.WaveSubscriptionSpecification

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-11-23T13:47:38.388455705+03:00[Europe/Moscow]", comments="Generator version: 7.17.0") public class WaveSubscriptionSpecification extends Object
Wave data changes subscription - notification settings for informing an external integration about changes in the active waves of the account.
  • Field Details

  • Constructor Details

    • WaveSubscriptionSpecification

      public WaveSubscriptionSpecification()
  • Method Details

    • key

      public WaveSubscriptionSpecification key(@Nonnull String key)
    • getKey

      @Nonnull public String getKey()
      Unique (within the company) key of the wave data changes subscription. Set by the integration when creating a subscription and cannot be changed.
      Returns:
      key
    • setKey

      public void setKey(@Nonnull String key)
    • callbackUrl

      public WaveSubscriptionSpecification callbackUrl(@Nonnull String callbackUrl)
    • getCallbackUrl

      @Nonnull public String getCallbackUrl()
      The address of the external service to which the data change notification will be sent.
      Returns:
      callbackUrl
    • setCallbackUrl

      public void setCallbackUrl(@Nonnull String callbackUrl)
    • callbackToken

      public WaveSubscriptionSpecification callbackToken(@Nullable String callbackToken)
    • getCallbackToken

      @Nullable public String getCallbackToken()
      Authorization token of the external service - the server sends it in the header of each notification in the `Authorization: Bearer <token>` format. If the token is not specified, the notifications are sent without the authorization header. The token is not returned in the server responses.
      Returns:
      callbackToken
    • setCallbackToken

      public void setCallbackToken(@Nullable String callbackToken)
    • filter

      public WaveSubscriptionSpecification filter(@Nullable SubscriptionFilter filter)
    • getFilter

      @Nullable public SubscriptionFilter getFilter()
      Get filter
      Returns:
      filter
    • setFilter

      public void setFilter(@Nullable SubscriptionFilter filter)
    • lifetime

      public WaveSubscriptionSpecification lifetime(@Nullable String lifetime)
    • getLifetime

      @Nullable public String getLifetime()
      The subscription lifetime, counted from the moment of its creation. After this time the subscription is automatically deleted and the notifications are no longer sent - to continue receiving notifications, create the subscription again. The maximum value is 7 days (`P7D`).
      Returns:
      lifetime
    • setLifetime

      public void setLifetime(@Nullable String lifetime)
    • notificationDelay

      public WaveSubscriptionSpecification notificationDelay(@Nullable String notificationDelay)
    • getNotificationDelay

      @Nullable public String getNotificationDelay()
      The minimum delay between notifications for one wave. The changes that occurred during this time are included in one notification.
      Returns:
      notificationDelay
    • setNotificationDelay

      public void setNotificationDelay(@Nullable String notificationDelay)
    • requestTimeout

      public WaveSubscriptionSpecification requestTimeout(@Nullable String requestTimeout)
    • getRequestTimeout

      @Nullable public String getRequestTimeout()
      The maximum time to wait for a response from the external service (for each request).
      Returns:
      requestTimeout
    • setRequestTimeout

      public void setRequestTimeout(@Nullable String requestTimeout)
    • retryAttempts

      public WaveSubscriptionSpecification retryAttempts(@Nullable Integer retryAttempts)
    • getRetryAttempts

      @Nullable public Integer getRetryAttempts()
      The number of retries to send a notification if the external service did not respond successfully. minimum: 0 maximum: 100
      Returns:
      retryAttempts
    • setRetryAttempts

      public void setRetryAttempts(@Nullable Integer retryAttempts)
    • retryInterval

      public WaveSubscriptionSpecification retryInterval(@Nullable String retryInterval)
    • getRetryInterval

      @Nullable public String getRetryInterval()
      The time between retries to send a notification.
      Returns:
      retryInterval
    • setRetryInterval

      public void setRetryInterval(@Nullable String retryInterval)
    • putAdditionalProperty

      public WaveSubscriptionSpecification putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - name of the property
      value - value of the property
      Returns:
      the WaveSubscriptionSpecification instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • 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
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to WaveSubscriptionSpecification
    • fromJson

      public static WaveSubscriptionSpecification fromJson(String jsonString) throws IOException
      Create an instance of WaveSubscriptionSpecification given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of WaveSubscriptionSpecification
      Throws:
      IOException - if the JSON string is invalid with respect to WaveSubscriptionSpecification
    • toJson

      public String toJson()
      Convert an instance of WaveSubscriptionSpecification to an JSON string
      Returns:
      JSON string