Class V1LimitResponse
java.lang.Object
io.kubernetes.client.openapi.models.V1LimitResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-04T19:37:38.574271Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1LimitResponse
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 V1LimitResponse
Create an instance of V1LimitResponse given an JSON stringGet queuinggetType()
`type` is \"Queue\" or \"Reject\".int
hashCode()
queuing
(V1QueuingConfiguration queuing) void
setQueuing
(V1QueuingConfiguration queuing) void
toJson()
Convert an instance of V1LimitResponse 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_QUEUING
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1LimitResponse
public V1LimitResponse()
-
-
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
-
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 V1LimitResponse
-
fromJson
Create an instance of V1LimitResponse given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1LimitResponse
- Throws:
IOException
- if the JSON string is invalid with respect to V1LimitResponse
-
toJson
Convert an instance of V1LimitResponse to an JSON string- Returns:
- JSON string
-