Class V1LimitResponse
java.lang.Object
io.kubernetes.client.openapi.models.V1LimitResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
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 TypeMethodDescriptionbooleanstatic V1LimitResponseCreate an instance of V1LimitResponse given an JSON stringGet queuinggetType()`type` is \"Queue\" or \"Reject\".inthashCode()queuing(V1QueuingConfiguration queuing) voidsetQueuing(V1QueuingConfiguration queuing) voidtoJson()Convert an instance of V1LimitResponse to an JSON stringtoString()static voidvalidateJsonObject(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
-
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
-
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 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
-