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.
  • Field Details

  • Constructor Details

    • SubscriptionFactFilter

      public SubscriptionFactFilter()
  • Method Details

    • factTypes

      public SubscriptionFactFilter factTypes(@Nullable Set<FactType> factTypes)
    • addFactTypesItem

      public SubscriptionFactFilter addFactTypesItem(FactType factTypesItem)
    • getFactTypes

      @Nullable public Set<FactType> 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

      public void setFactTypes(@Nullable Set<FactType> factTypes)
    • factStatuses

      public SubscriptionFactFilter factStatuses(@Nullable Set<FactStatus> factStatuses)
    • addFactStatusesItem

      public SubscriptionFactFilter addFactStatusesItem(FactStatus factStatusesItem)
    • getFactStatuses

      @Nullable public Set<FactStatus> 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

      public void setFactStatuses(@Nullable Set<FactStatus> factStatuses)
    • putAdditionalProperty

      public SubscriptionFactFilter 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 SubscriptionFactFilter 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 SubscriptionFactFilter
    • fromJson

      public static SubscriptionFactFilter fromJson(String jsonString) throws IOException
      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

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