Class ProcessQuota

java.lang.Object
com.veeroute.lss.account.model.ProcessQuota

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-11-23T13:47:28.176551651+03:00[Europe/Moscow]", comments="Generator version: 7.17.0") public class ProcessQuota extends Object
Quota for the service process type. If any of the quotas are exceeded, the request is not returned with the quota exceeded error.
  • Field Details

  • Constructor Details

    • ProcessQuota

      public ProcessQuota()
  • Method Details

    • processType

      public ProcessQuota processType(@Nonnull ProcessType processType)
    • getProcessType

      @Nonnull public ProcessType getProcessType()
      Get processType
      Returns:
      processType
    • setProcessType

      public void setProcessType(@Nonnull ProcessType processType)
    • pointsPerRequest

      public ProcessQuota pointsPerRequest(@Nonnull Integer pointsPerRequest)
    • getPointsPerRequest

      @Nonnull public Integer getPointsPerRequest()
      Maximum number of non-unique points per request. minimum: 0 maximum: 1000000
      Returns:
      pointsPerRequest
    • setPointsPerRequest

      public void setPointsPerRequest(@Nonnull Integer pointsPerRequest)
    • pointsPerDay

      public ProcessQuota pointsPerDay(@Nonnull Integer pointsPerDay)
    • getPointsPerDay

      @Nonnull public Integer getPointsPerDay()
      Maximum number of non-unique points per request per day. minimum: 0 maximum: 100000000
      Returns:
      pointsPerDay
    • setPointsPerDay

      public void setPointsPerDay(@Nonnull Integer pointsPerDay)
    • maxConcurrentExecution

      public ProcessQuota maxConcurrentExecution(@Nonnull Integer maxConcurrentExecution)
    • getMaxConcurrentExecution

      @Nonnull public Integer getMaxConcurrentExecution()
      The maximum total number of concurrent process execution. The parameter is limited above by the maximum value for a specific environment. minimum: 0 maximum: 1000
      Returns:
      maxConcurrentExecution
    • setMaxConcurrentExecution

      public void setMaxConcurrentExecution(@Nonnull Integer maxConcurrentExecution)
    • putAdditionalProperty

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

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

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