Class ExtensionSettings

java.lang.Object
com.veeroute.lss.studio.model.ExtensionSettings

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-11-23T13:47:57.513559297+03:00[Europe/Moscow]", comments="Generator version: 7.17.0") public class ExtensionSettings extends Object
Settings for using external extensions to adjust calculations.
  • Field Details

  • Constructor Details

    • ExtensionSettings

      public ExtensionSettings()
  • Method Details

    • enableExtension

      public ExtensionSettings enableExtension(@Nullable Boolean enableExtension)
    • getEnableExtension

      @Nullable public Boolean getEnableExtension()
      Use a third-party calculation adjuster.
      Returns:
      enableExtension
    • setEnableExtension

      public void setEnableExtension(@Nullable Boolean enableExtension)
    • extensionUrl

      public ExtensionSettings extensionUrl(@Nullable String extensionUrl)
    • getExtensionUrl

      @Nullable public String getExtensionUrl()
      The address of an external service implementing the Universal Extension API.
      Returns:
      extensionUrl
    • setExtensionUrl

      public void setExtensionUrl(@Nullable String extensionUrl)
    • requestTimeout

      public ExtensionSettings requestTimeout(@Nullable String requestTimeout)
    • getRequestTimeout

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

      public void setRequestTimeout(@Nullable String requestTimeout)
    • retryAttempts

      public ExtensionSettings retryAttempts(@Nullable Integer retryAttempts)
    • getRetryAttempts

      @Nullable public Integer getRetryAttempts()
      The number of attempts to request an external service implementing the Universal Extension API. minimum: 0 maximum: 100
      Returns:
      retryAttempts
    • setRetryAttempts

      public void setRetryAttempts(@Nullable Integer retryAttempts)
    • retryInterval

      public ExtensionSettings retryInterval(@Nullable String retryInterval)
    • getRetryInterval

      @Nullable public String getRetryInterval()
      The time between request attempts to an external service implementing the Universal Extension API.
      Returns:
      retryInterval
    • setRetryInterval

      public void setRetryInterval(@Nullable String retryInterval)
    • putAdditionalProperty

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

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

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