Class V1PriorityLevelConfigurationSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1PriorityLevelConfigurationSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-04T19:05:53.712211Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1PriorityLevelConfigurationSpec
extends Object
PriorityLevelConfigurationSpec specifies the configuration of a priority level.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of V1PriorityLevelConfigurationSpec given an JSON stringGet exemptGet limitedgetType()
`type` indicates whether this priority level is subject to limitation on request execution.int
hashCode()
void
void
void
toJson()
Convert an instance of V1PriorityLevelConfigurationSpec to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_EXEMPT
- See Also:
-
SERIALIZED_NAME_LIMITED
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1PriorityLevelConfigurationSpec
public V1PriorityLevelConfigurationSpec()
-
-
Method Details
-
exempt
-
getExempt
Get exempt- Returns:
- exempt
-
setExempt
-
limited
-
getLimited
Get limited- Returns:
- limited
-
setLimited
-
type
-
getType
`type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.- Returns:
- type
-
setType
-
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 V1PriorityLevelConfigurationSpec
-
fromJson
Create an instance of V1PriorityLevelConfigurationSpec given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1PriorityLevelConfigurationSpec
- Throws:
IOException
- if the JSON string is invalid with respect to V1PriorityLevelConfigurationSpec
-
toJson
Convert an instance of V1PriorityLevelConfigurationSpec to an JSON string- Returns:
- JSON string
-