Class V1Status
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1Status
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1Status
extends Object
Status is a return value for calls that don't return other objects.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapiVersion
(String apiVersion) Set apiVersion in a chainable fashion.Set code in a chainable fashion.details
(V1StatusDetails details) Set details in a chainable fashion.boolean
APIVersion defines the versioned schema of this representation of an object.getCode()
Suggested HTTP return code for this status, 0 if not set.getKind()
Kind is a string value representing the REST resource this object represents.A human-readable description of the status of this operation.A machine-readable description of why this operation is in the \"Failure\" status.Status of the operation.int
hashCode()
Set kind in a chainable fashion.Set message in a chainable fashion.metadata
(V1ListMeta metadata) Set metadata in a chainable fashion.Set reason in a chainable fashion.void
setApiVersion
(String apiVersion) Set the apiVersion property valuevoid
Set the code property valuevoid
setDetails
(V1StatusDetails details) Set the details property valuevoid
Set the kind property valuevoid
setMessage
(String message) Set the message property valuevoid
setMetadata
(V1ListMeta metadata) Set the metadata property valuevoid
Set the reason property valuevoid
Set the status property valueSet status in a chainable fashion.toString()
-
Field Details
-
JSON_PROPERTY_API_VERSION
- See Also:
-
JSON_PROPERTY_CODE
- See Also:
-
JSON_PROPERTY_DETAILS
- See Also:
-
JSON_PROPERTY_KIND
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_REASON
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
-
Constructor Details
-
V1Status
public V1Status()
-
-
Method Details
-
getApiVersion
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources- Returns:
- the apiVersion property value
-
setApiVersion
Set the apiVersion property value- Parameters:
apiVersion
- property value to set
-
apiVersion
Set apiVersion in a chainable fashion.- Returns:
- The same instance of V1Status for chaining.
-
getCode
Suggested HTTP return code for this status, 0 if not set.- Returns:
- the code property value
-
setCode
Set the code property value- Parameters:
code
- property value to set
-
code
Set code in a chainable fashion.- Returns:
- The same instance of V1Status for chaining.
-
getDetails
- Returns:
- the details property value
-
setDetails
Set the details property value- Parameters:
details
- property value to set
-
details
Set details in a chainable fashion.- Returns:
- The same instance of V1Status for chaining.
-
getKind
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Returns:
- the kind property value
-
setKind
Set the kind property value- Parameters:
kind
- property value to set
-
kind
Set kind in a chainable fashion.- Returns:
- The same instance of V1Status for chaining.
-
getMessage
A human-readable description of the status of this operation.- Returns:
- the message property value
-
setMessage
Set the message property value- Parameters:
message
- property value to set
-
message
Set message in a chainable fashion.- Returns:
- The same instance of V1Status for chaining.
-
getMetadata
- Returns:
- the metadata property value
-
setMetadata
Set the metadata property value- Parameters:
metadata
- property value to set
-
metadata
Set metadata in a chainable fashion.- Returns:
- The same instance of V1Status for chaining.
-
getReason
A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.- Returns:
- the reason property value
-
setReason
Set the reason property value- Parameters:
reason
- property value to set
-
reason
Set reason in a chainable fashion.- Returns:
- The same instance of V1Status for chaining.
-
getStatus
Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status- Returns:
- the status property value
-
setStatus
Set the status property value- Parameters:
status
- property value to set
-
status
Set status in a chainable fashion.- Returns:
- The same instance of V1Status for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-