Package com.veeroute.lss.monitor.model
Class ExtensionSettings
java.lang.Object
com.veeroute.lss.monitor.model.ExtensionSettings
@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 ExtensionSettings
extends Object
Settings for using external extensions to adjust calculations.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionenableExtension(Boolean enableExtension) booleanextensionUrl(String extensionUrl) static ExtensionSettingsCreate an instance of ExtensionSettings given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Use a third-party calculation adjuster.The address of an external service implementing the Universal Extension API.The maximum time to wait for a response from the external service implementing the Universal Extension API (for each request).The number of attempts to request an external service implementing the Universal Extension API.The time between request attempts to an external service implementing the Universal Extension API.inthashCode()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) voidsetEnableExtension(Boolean enableExtension) voidsetExtensionUrl(String extensionUrl) voidsetRequestTimeout(String requestTimeout) voidsetRetryAttempts(Integer retryAttempts) voidsetRetryInterval(String retryInterval) toJson()Convert an instance of ExtensionSettings 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_ENABLE_EXTENSION
- See Also:
-
SERIALIZED_NAME_EXTENSION_URL
- See Also:
-
SERIALIZED_NAME_REQUEST_TIMEOUT
- See Also:
-
SERIALIZED_NAME_RETRY_ATTEMPTS
- See Also:
-
SERIALIZED_NAME_RETRY_INTERVAL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ExtensionSettings
public ExtensionSettings()
-
-
Method Details
-
enableExtension
-
getEnableExtension
Use a third-party calculation adjuster.- Returns:
- enableExtension
-
setEnableExtension
-
extensionUrl
-
getExtensionUrl
The address of an external service implementing the Universal Extension API.- Returns:
- extensionUrl
-
setExtensionUrl
-
requestTimeout
-
getRequestTimeout
The maximum time to wait for a response from the external service implementing the Universal Extension API (for each request).- Returns:
- requestTimeout
-
setRequestTimeout
-
retryAttempts
-
getRetryAttempts
The number of attempts to request an external service implementing the Universal Extension API. minimum: 0 maximum: 100- Returns:
- retryAttempts
-
setRetryAttempts
-
retryInterval
-
getRetryInterval
The time between request attempts to an external service implementing the Universal Extension API.- 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 ExtensionSettings 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 ExtensionSettings
-
fromJson
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
Convert an instance of ExtensionSettings to an JSON string- Returns:
- JSON string
-