Package com.veeroute.lss.monitor.model
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncallbackToken(String callbackToken) callbackUrl(String callbackUrl) booleanfilter(SubscriptionFilter filter) Create an instance of WaveSubscriptionSpecification given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Authorization token of the external service - the server sends it in the header of each notification in the `Authorization: Bearer <token>` format.The address of the external service to which the data change notification will be sent.Get filtergetKey()Unique (within the company) key of the wave data changes subscription.The subscription lifetime, counted from the moment of its creation.The minimum delay between notifications for one wave.The maximum time to wait for a response from the external service (for each request).The number of retries to send a notification if the external service did not respond successfully.The time between retries to send a notification.inthashCode()notificationDelay(String notificationDelay) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.requestTimeout(String requestTimeout) retryAttempts(Integer retryAttempts) retryInterval(String retryInterval) voidsetCallbackToken(String callbackToken) voidsetCallbackUrl(String callbackUrl) voidsetFilter(SubscriptionFilter filter) voidvoidsetLifetime(String lifetime) voidsetNotificationDelay(String notificationDelay) voidsetRequestTimeout(String requestTimeout) voidsetRetryAttempts(Integer retryAttempts) voidsetRetryInterval(String retryInterval) toJson()Convert an instance of WaveSubscriptionSpecification to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_KEY
- See Also:
-
SERIALIZED_NAME_CALLBACK_URL
- See Also:
-
SERIALIZED_NAME_CALLBACK_TOKEN
- See Also:
-
SERIALIZED_NAME_FILTER
- See Also:
-
SERIALIZED_NAME_LIFETIME
- See Also:
-
SERIALIZED_NAME_NOTIFICATION_DELAY
- See Also:
-
SERIALIZED_NAME_REQUEST_TIMEOUT
- See Also:
-
SERIALIZED_NAME_RETRY_ATTEMPTS
- See Also:
-
SERIALIZED_NAME_RETRY_INTERVAL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
WaveSubscriptionSpecification
public WaveSubscriptionSpecification()
-
-
Method Details
-
key
-
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
-
callbackUrl
-
getCallbackUrl
The address of the external service to which the data change notification will be sent.- Returns:
- callbackUrl
-
setCallbackUrl
-
callbackToken
-
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
-
filter
-
getFilter
Get filter- Returns:
- filter
-
setFilter
-
lifetime
-
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
-
notificationDelay
-
getNotificationDelay
The minimum delay between notifications for one wave. The changes that occurred during this time are included in one notification.- Returns:
- notificationDelay
-
setNotificationDelay
-
requestTimeout
-
getRequestTimeout
The maximum time to wait for a response from the external service (for each request).- Returns:
- requestTimeout
-
setRequestTimeout
-
retryAttempts
-
getRetryAttempts
The number of retries to send a notification if the external service did not respond successfully. minimum: 0 maximum: 100- Returns:
- retryAttempts
-
setRetryAttempts
-
retryInterval
-
getRetryInterval
The time between retries to send a notification.- Returns:
- retryInterval
-
setRetryInterval
-
putAdditionalProperty
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 propertyvalue- value of the property- Returns:
- the WaveSubscriptionSpecification instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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
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
Convert an instance of WaveSubscriptionSpecification to an JSON string- Returns:
- JSON string
-