Class V1ResourceQuotaStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1ResourceQuotaStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T21:15:49.397498Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1ResourceQuotaStatus
extends Object
ResourceQuotaStatus defines the enforced hard limits and observed use.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1ResourceQuotaStatusCreate an instance of V1ResourceQuotaStatus given an JSON stringgetHard()Hard is the set of enforced hard limits for each named resource.getUsed()Used is the current observed total usage of the resource in the namespace.inthashCode()putHardItem(String key, Quantity hardItem) putUsedItem(String key, Quantity usedItem) voidvoidtoJson()Convert an instance of V1ResourceQuotaStatus 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_HARD
- See Also:
-
SERIALIZED_NAME_USED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1ResourceQuotaStatus
public V1ResourceQuotaStatus()
-
-
Method Details
-
hard
-
putHardItem
-
getHard
Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/- Returns:
- hard
-
setHard
-
used
-
putUsedItem
-
getUsed
Used is the current observed total usage of the resource in the namespace.- Returns:
- used
-
setUsed
-
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 V1ResourceQuotaStatus
-
fromJson
Create an instance of V1ResourceQuotaStatus given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1ResourceQuotaStatus
- Throws:
IOException- if the JSON string is invalid with respect to V1ResourceQuotaStatus
-
toJson
Convert an instance of V1ResourceQuotaStatus to an JSON string- Returns:
- JSON string
-