Class SystemComponentVersion
java.lang.Object
io.github.alersrt.pod4j.openapi.model.SystemComponentVersion
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-29T01:29:49.168634544+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class SystemComponentVersion
extends Object
SystemComponentVersion is the type used by pkg/domain/entities
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddComponentsItem(ComponentVersion componentsItem) apiVersion(String apiVersion) components(List<@Valid ComponentVersion> components) booleanexperimental(Boolean experimental) static SystemComponentVersionCreate an instance of SystemComponentVersion given an JSON stringGet apiVersiongetArch()Get archGet buildTime@Valid List<@Valid 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<@Valid 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 voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element 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
-
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 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
-
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
-
toJson
Convert an instance of SystemComponentVersion to an JSON string- Returns:
- JSON string
-