Class V1alpha2PodSchedulingContextStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha2PodSchedulingContextStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1alpha2PodSchedulingContextStatus
extends Object
PodSchedulingContextStatus describes where resources for the Pod can be allocated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddResourceClaimsItem(V1alpha2ResourceClaimSchedulingStatus resourceClaimsItem) booleanCreate an instance of V1alpha2PodSchedulingContextStatus given an JSON stringResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode.inthashCode()resourceClaims(List<V1alpha2ResourceClaimSchedulingStatus> resourceClaims) voidsetResourceClaims(List<V1alpha2ResourceClaimSchedulingStatus> resourceClaims) toJson()Convert an instance of V1alpha2PodSchedulingContextStatus 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_RESOURCE_CLAIMS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha2PodSchedulingContextStatus
public V1alpha2PodSchedulingContextStatus()
-
-
Method Details
-
resourceClaims
public V1alpha2PodSchedulingContextStatus resourceClaims(List<V1alpha2ResourceClaimSchedulingStatus> resourceClaims) -
addResourceClaimsItem
public V1alpha2PodSchedulingContextStatus addResourceClaimsItem(V1alpha2ResourceClaimSchedulingStatus resourceClaimsItem) -
getResourceClaims
ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode.- Returns:
- resourceClaims
-
setResourceClaims
-
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 V1alpha2PodSchedulingContextStatus
-
fromJson
Create an instance of V1alpha2PodSchedulingContextStatus given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1alpha2PodSchedulingContextStatus
- Throws:
IOException- if the JSON string is invalid with respect to V1alpha2PodSchedulingContextStatus
-
toJson
Convert an instance of V1alpha2PodSchedulingContextStatus to an JSON string- Returns:
- JSON string
-