Class V1beta2LimitResponse
java.lang.Object
io.kubernetes.client.openapi.models.V1beta2LimitResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
public class V1beta2LimitResponse
extends Object
LimitResponse defines how to handle requests that can not be executed right now.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1beta2LimitResponse
Create an instance of V1beta2LimitResponse given an JSON stringGet queuinggetType()
`type` is \"Queue\" or \"Reject\".int
hashCode()
queuing
(V1beta2QueuingConfiguration queuing) void
setQueuing
(V1beta2QueuingConfiguration queuing) void
toJson()
Convert an instance of V1beta2LimitResponse to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_QUEUING
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1beta2LimitResponse
public V1beta2LimitResponse()
-
-
Method Details
-
queuing
-
getQueuing
Get queuing- Returns:
- queuing
-
setQueuing
-
type
-
getType
`type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required.- Returns:
- type
-
setType
-
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 V1beta2LimitResponse
-
fromJson
Create an instance of V1beta2LimitResponse given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1beta2LimitResponse
- Throws:
IOException
- if the JSON string is invalid with respect to V1beta2LimitResponse
-
toJson
Convert an instance of V1beta2LimitResponse to an JSON string- Returns:
- JSON string
-