Package com.veeroute.lss.monitor.model
Class SubscriptionFactFilter
java.lang.Object
com.veeroute.lss.monitor.model.SubscriptionFactFilter
@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 SubscriptionFactFilter
extends Object
Subscription fact filter - limits the changes of facts the notifications are sent about. It does not affect the other entities from `entity_types`. An empty list means that there is no limitation.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFactStatusesItem(FactStatus factStatusesItem) addFactTypesItem(FactType factTypesItem) booleanfactStatuses(Set<FactStatus> factStatuses) static SubscriptionFactFilterCreate an instance of SubscriptionFactFilter given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The processing statuses of facts whose changes are tracked - for example, `APPLIED` to receive notifications only about successfully processed facts.The types of facts whose changes are tracked - for example, `ORDER_DONE` to receive notifications only about completed orders.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetFactStatuses(Set<FactStatus> factStatuses) voidsetFactTypes(Set<FactType> factTypes) toJson()Convert an instance of SubscriptionFactFilter 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_FACT_TYPES
- See Also:
-
SERIALIZED_NAME_FACT_STATUSES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SubscriptionFactFilter
public SubscriptionFactFilter()
-
-
Method Details
-
factTypes
-
addFactTypesItem
-
getFactTypes
The types of facts whose changes are tracked - for example, `ORDER_DONE` to receive notifications only about completed orders. An empty list - the changes of facts of all types are tracked.- Returns:
- factTypes
-
setFactTypes
-
factStatuses
-
addFactStatusesItem
-
getFactStatuses
The processing statuses of facts whose changes are tracked - for example, `APPLIED` to receive notifications only about successfully processed facts. An empty list - the facts in any processing status are tracked.- Returns:
- factStatuses
-
setFactStatuses
-
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 SubscriptionFactFilter 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 SubscriptionFactFilter
-
fromJson
Create an instance of SubscriptionFactFilter given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SubscriptionFactFilter
- Throws:
IOException- if the JSON string is invalid with respect to SubscriptionFactFilter
-
toJson
Convert an instance of SubscriptionFactFilter to an JSON string- Returns:
- JSON string
-