Class Version
java.lang.Object
io.github.alersrt.pod4j.openapi.model.Version
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class Version
extends Object
implements Serializable
Version
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapIVersion(String apIVersion) booleanstatic VersionCreate an instance of Version given an JSON stringGet apIVersiongetBuilt()Get builtGet builtTimeGet gitCommitGet goVersiongetIndex()Get indexgetOs()Get osGet osArchGet versioninthashCode()voidsetApIVersion(String apIVersion) voidvoidsetBuiltTime(String builtTime) voidsetGitCommit(String gitCommit) voidsetGoVersion(String goVersion) voidvoidvoidvoidsetVersion(String version) toJson()Convert an instance of Version to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_AP_I_VERSION
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
SERIALIZED_NAME_GO_VERSION
- See Also:
-
SERIALIZED_NAME_GIT_COMMIT
- See Also:
-
SERIALIZED_NAME_BUILT_TIME
- See Also:
-
SERIALIZED_NAME_BUILT
- See Also:
-
SERIALIZED_NAME_OS_ARCH
- See Also:
-
SERIALIZED_NAME_OS
- See Also:
-
SERIALIZED_NAME_INDEX
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Version
public Version()
-
-
Method Details
-
apIVersion
-
getApIVersion
Get apIVersion- Returns:
- apIVersion
-
setApIVersion
-
version
-
getVersion
Get version- Returns:
- version
-
setVersion
-
goVersion
-
getGoVersion
Get goVersion- Returns:
- goVersion
-
setGoVersion
-
gitCommit
-
getGitCommit
Get gitCommit- Returns:
- gitCommit
-
setGitCommit
-
builtTime
-
getBuiltTime
Get builtTime- Returns:
- builtTime
-
setBuiltTime
-
built
-
getBuilt
Get built- Returns:
- built
-
setBuilt
-
osArch
-
getOsArch
Get osArch- Returns:
- osArch
-
setOsArch
-
os
-
getOs
Get os- Returns:
- os
-
setOs
-
index
-
getIndex
Get index- Returns:
- index
-
setIndex
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to Version
-
fromJson
Create an instance of Version given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Version
- Throws:
IOException- if the JSON string is invalid with respect to Version
-
toJson
Convert an instance of Version to an JSON string- Returns:
- JSON string
-