Class VersionInfo
java.lang.Object
io.kubernetes.client.openapi.models.VersionInfo
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class VersionInfo
extends Object
Info contains versioning information. how we'll want to distribute that information.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic VersionInfoCreate an instance of VersionInfo given an JSON stringGet buildDateGet compilerGet gitCommitGet gitTreeStateGet gitVersionGet goVersiongetMajor()Get majorgetMinor()Get minorGet platformgitTreeState(String gitTreeState) gitVersion(String gitVersion) inthashCode()voidsetBuildDate(String buildDate) voidsetCompiler(String compiler) voidsetGitCommit(String gitCommit) voidsetGitTreeState(String gitTreeState) voidsetGitVersion(String gitVersion) voidsetGoVersion(String goVersion) voidvoidvoidsetPlatform(String platform) toJson()Convert an instance of VersionInfo 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_BUILD_DATE
- See Also:
-
SERIALIZED_NAME_COMPILER
- See Also:
-
SERIALIZED_NAME_GIT_COMMIT
- See Also:
-
SERIALIZED_NAME_GIT_TREE_STATE
- See Also:
-
SERIALIZED_NAME_GIT_VERSION
- See Also:
-
SERIALIZED_NAME_GO_VERSION
- See Also:
-
SERIALIZED_NAME_MAJOR
- See Also:
-
SERIALIZED_NAME_MINOR
- See Also:
-
SERIALIZED_NAME_PLATFORM
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
VersionInfo
public VersionInfo()
-
-
Method Details
-
buildDate
-
getBuildDate
Get buildDate- Returns:
- buildDate
-
setBuildDate
-
compiler
-
getCompiler
Get compiler- Returns:
- compiler
-
setCompiler
-
gitCommit
-
getGitCommit
Get gitCommit- Returns:
- gitCommit
-
setGitCommit
-
gitTreeState
-
getGitTreeState
Get gitTreeState- Returns:
- gitTreeState
-
setGitTreeState
-
gitVersion
-
getGitVersion
Get gitVersion- Returns:
- gitVersion
-
setGitVersion
-
goVersion
-
getGoVersion
Get goVersion- Returns:
- goVersion
-
setGoVersion
-
major
-
getMajor
Get major- Returns:
- major
-
setMajor
-
minor
-
getMinor
Get minor- Returns:
- minor
-
setMinor
-
platform
-
getPlatform
Get platform- Returns:
- platform
-
setPlatform
-
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 VersionInfo
-
fromJson
Create an instance of VersionInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VersionInfo
- Throws:
IOException- if the JSON string is invalid with respect to VersionInfo
-
toJson
Convert an instance of VersionInfo to an JSON string- Returns:
- JSON string
-