Package org.jdrupes.vmoperator.common
Class VmDefinitionModel
java.lang.Object
org.jdrupes.vmoperator.common.K8sDynamicModel
org.jdrupes.vmoperator.common.VmDefinitionModel
- All Implemented Interfaces:
io.kubernetes.client.common.KubernetesObject
,io.kubernetes.client.common.KubernetesType
Represents a VM definition.
-
Constructor Summary
ConstructorDescriptionVmDefinitionModel
(com.google.gson.Gson delegate, com.google.gson.JsonObject json) Instantiates a new model from the JSON representation. -
Method Summary
Methods inherited from class org.jdrupes.vmoperator.common.K8sDynamicModel
apiVersion, data, getApiVersion, getKind, getMetadata, kind, metadata, status, toString
-
Constructor Details
-
VmDefinitionModel
Instantiates a new model from the JSON representation.- Parameters:
delegate
- the gson instance to use for extracting structured datajson
- the JSON
-