Class OCIRuntimeInfo
java.lang.Object
io.github.alersrt.pod4j.openapi.model.OCIRuntimeInfo
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class OCIRuntimeInfo
extends Object
implements Serializable
OCIRuntimeInfo describes the runtime (crun or runc) being used with podman
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic OCIRuntimeInfoCreate an instance of OCIRuntimeInfo given an JSON stringgetName()Get nameGet _packagegetPath()Get pathGet versioninthashCode()voidvoidsetPackage(String _package) voidvoidsetVersion(String version) toJson()Convert an instance of OCIRuntimeInfo 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_NAME
- See Also:
-
SERIALIZED_NAME_PACKAGE
- See Also:
-
SERIALIZED_NAME_PATH
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
OCIRuntimeInfo
public OCIRuntimeInfo()
-
-
Method Details
-
name
-
getName
Get name- Returns:
- name
-
setName
-
_package
-
getPackage
Get _package- Returns:
- _package
-
setPackage
-
path
-
getPath
Get path- Returns:
- path
-
setPath
-
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 OCIRuntimeInfo
-
fromJson
Create an instance of OCIRuntimeInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of OCIRuntimeInfo
- Throws:
IOException- if the JSON string is invalid with respect to OCIRuntimeInfo
-
toJson
Convert an instance of OCIRuntimeInfo to an JSON string- Returns:
- JSON string
-