Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1ResourceQuotaStatus
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1ResourceQuotaStatus
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1ResourceQuotaStatus extends Object
ResourceQuotaStatus defines the enforced hard limits and observed use.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_HARDstatic StringJSON_PROPERTY_USED
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1ResourceQuotaStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Map<String,String>getHard()Hard is the set of enforced hard limits for each named resource.Map<String,String>getUsed()Used is the current observed total usage of the resource in the namespace.IoK8sApiCoreV1ResourceQuotaStatushard(Map<String,String> hard)inthashCode()IoK8sApiCoreV1ResourceQuotaStatusputHardItem(String key, String hardItem)IoK8sApiCoreV1ResourceQuotaStatusputUsedItem(String key, String usedItem)voidsetHard(Map<String,String> hard)voidsetUsed(Map<String,String> used)StringtoString()IoK8sApiCoreV1ResourceQuotaStatusused(Map<String,String> used)
-
-
-
Field Detail
-
JSON_PROPERTY_HARD
public static final String JSON_PROPERTY_HARD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USED
public static final String JSON_PROPERTY_USED
- See Also:
- Constant Field Values
-
-
Method Detail
-
hard
public IoK8sApiCoreV1ResourceQuotaStatus hard(Map<String,String> hard)
-
putHardItem
public IoK8sApiCoreV1ResourceQuotaStatus putHardItem(String key, String hardItem)
-
getHard
@Nullable public Map<String,String> 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
-
used
public IoK8sApiCoreV1ResourceQuotaStatus used(Map<String,String> used)
-
putUsedItem
public IoK8sApiCoreV1ResourceQuotaStatus putUsedItem(String key, String usedItem)
-
getUsed
@Nullable public Map<String,String> getUsed()
Used is the current observed total usage of the resource in the namespace.- Returns:
- used
-
-