Class VersionInfo
java.lang.Object
io.kubernetes.client.openapi.models.VersionInfo
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[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 TypeMethodDescriptionboolean
static VersionInfo
Create an instance of VersionInfo given an JSON stringGet buildDateGet compilerGet gitCommitGet gitTreeStateGet gitVersionGet goVersiongetMajor()
Get majorgetMinor()
Get minorGet platformgitTreeState
(String gitTreeState) gitVersion
(String gitVersion) int
hashCode()
void
setBuildDate
(String buildDate) void
setCompiler
(String compiler) void
setGitCommit
(String gitCommit) void
setGitTreeState
(String gitTreeState) void
setGitVersion
(String gitVersion) void
setGoVersion
(String goVersion) void
void
void
setPlatform
(String platform) toJson()
Convert an instance of VersionInfo to an JSON stringtoString()
static void
validateJsonObject
(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
-