Class SystemComponentVersion
java.lang.Object
io.github.alersrt.pod4j.openapi.model.SystemComponentVersion
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class SystemComponentVersion
extends Object
implements Serializable
SystemComponentVersion is the type used by pkg/domain/entities
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddComponentsItem(ComponentVersion componentsItem) apiVersion(String apiVersion) components(List<ComponentVersion> components) booleanexperimental(Boolean experimental) static SystemComponentVersionCreate an instance of SystemComponentVersion given an JSON stringGet apiVersiongetArch()Get archGet buildTime@Valid List<ComponentVersion>Get componentsGet experimentalGet gitCommitGet goVersionGet kernelVersionGet minAPIVersiongetOs()Get osGet platformGet versioninthashCode()kernelVersion(String kernelVersion) minAPIVersion(String minAPIVersion) platform(SystemComponentVersionPlatform platform) voidsetApiVersion(String apiVersion) voidvoidsetBuildTime(String buildTime) voidsetComponents(List<ComponentVersion> components) voidsetExperimental(Boolean experimental) voidsetGitCommit(String gitCommit) voidsetGoVersion(String goVersion) voidsetKernelVersion(String kernelVersion) voidsetMinAPIVersion(String minAPIVersion) voidvoidsetPlatform(SystemComponentVersionPlatform platform) voidsetVersion(String version) toJson()Convert an instance of SystemComponentVersion 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_API_VERSION
- See Also:
-
SERIALIZED_NAME_ARCH
- See Also:
-
SERIALIZED_NAME_BUILD_TIME
- See Also:
-
SERIALIZED_NAME_COMPONENTS
- See Also:
-
SERIALIZED_NAME_EXPERIMENTAL
- See Also:
-
SERIALIZED_NAME_GIT_COMMIT
- See Also:
-
SERIALIZED_NAME_GO_VERSION
- See Also:
-
SERIALIZED_NAME_KERNEL_VERSION
- See Also:
-
SERIALIZED_NAME_MIN_A_P_I_VERSION
- See Also:
-
SERIALIZED_NAME_OS
- See Also:
-
SERIALIZED_NAME_PLATFORM
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SystemComponentVersion
public SystemComponentVersion()
-
-
Method Details
-
apiVersion
-
getApiVersion
Get apiVersion- Returns:
- apiVersion
-
setApiVersion
-
arch
-
getArch
Get arch- Returns:
- arch
-
setArch
-
buildTime
-
getBuildTime
Get buildTime- Returns:
- buildTime
-
setBuildTime
-
components
-
addComponentsItem
-
getComponents
Get components- Returns:
- components
-
setComponents
-
experimental
-
getExperimental
Get experimental- Returns:
- experimental
-
setExperimental
-
gitCommit
-
getGitCommit
Get gitCommit- Returns:
- gitCommit
-
setGitCommit
-
goVersion
-
getGoVersion
Get goVersion- Returns:
- goVersion
-
setGoVersion
-
kernelVersion
-
getKernelVersion
Get kernelVersion- Returns:
- kernelVersion
-
setKernelVersion
-
minAPIVersion
-
getMinAPIVersion
Get minAPIVersion- Returns:
- minAPIVersion
-
setMinAPIVersion
-
os
-
getOs
Get os- Returns:
- os
-
setOs
-
platform
-
getPlatform
Get platform- Returns:
- platform
-
setPlatform
-
version
-
getVersion
Get version- Returns:
- version
-
setVersion
-
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 SystemComponentVersion
-
fromJson
Create an instance of SystemComponentVersion given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SystemComponentVersion
- Throws:
IOException- if the JSON string is invalid with respect to SystemComponentVersion
-
toJson
Convert an instance of SystemComponentVersion to an JSON string- Returns:
- JSON string
-