Class V1alpha2PodGroupTemplateReference
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha2PodGroupTemplateReference
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-06-26T22:35:15.319369Z[Etc/UTC]",
comments="Generator version: 7.18.0")
public class V1alpha2PodGroupTemplateReference
extends Object
PodGroupTemplateReference references a PodGroup template defined in some object (e.g. Workload). Exactly one reference must be set.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of V1alpha2PodGroupTemplateReference given an JSON stringGet workloadinthashCode()voidtoJson()Convert an instance of V1alpha2PodGroupTemplateReference 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_WORKLOAD
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha2PodGroupTemplateReference
public V1alpha2PodGroupTemplateReference()
-
-
Method Details
-
workload
public V1alpha2PodGroupTemplateReference workload(@Nullable V1alpha2WorkloadPodGroupTemplateReference workload) -
getWorkload
Get workload- Returns:
- workload
-
setWorkload
-
equals
-
hashCode
public int hashCode() -
toString
-
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 V1alpha2PodGroupTemplateReference
-
fromJson
Create an instance of V1alpha2PodGroupTemplateReference given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1alpha2PodGroupTemplateReference
- Throws:
IOException- if the JSON string is invalid with respect to V1alpha2PodGroupTemplateReference
-
toJson
Convert an instance of V1alpha2PodGroupTemplateReference to an JSON string- Returns:
- JSON string
-