Package com.veeroute.lss.account.model
Class VersionResult
java.lang.Object
com.veeroute.lss.account.model.VersionResult
@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 VersionResult
extends Object
Service version.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic VersionResultCreate an instance of VersionResult given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getBuild()Build version.getMajor()Product version.getMinor()Minor version of the service.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidtoJson()Convert an instance of VersionResult 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_MAJOR
- See Also:
-
SERIALIZED_NAME_MINOR
- See Also:
-
SERIALIZED_NAME_BUILD
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
VersionResult
public VersionResult()
-
-
Method Details
-
major
-
getMajor
Product version. Within a single version, compatibility of common data structures between services is guaranteed. A version change indicates changes that are incompatible with previous versions of the product (and all services). minimum: 1 maximum: 100- Returns:
- major
-
setMajor
-
minor
-
getMinor
Minor version of the service. A version change indicates new functionality. The update is backward compatible with the major version of the product. minimum: 0 maximum: 111- Returns:
- minor
-
setMinor
-
build
-
getBuild
Build version. Contains backwards compatible bug fixes and docs update.- Returns:
- build
-
setBuild
-
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 VersionResult 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 VersionResult
-
fromJson
Create an instance of VersionResult given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VersionResult
- Throws:
IOException- if the JSON string is invalid with respect to VersionResult
-
toJson
Convert an instance of VersionResult to an JSON string- Returns:
- JSON string
-