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 Details

  • Constructor Details

    • V1Status

      public V1Status()
  • Method Details

    • getApiVersion

      public String 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

      public void setApiVersion(String apiVersion)
      Set the apiVersion property value
      Parameters:
      apiVersion - property value to set
    • apiVersion

      public V1Status apiVersion(String apiVersion)
      Set apiVersion in a chainable fashion.
      Returns:
      The same instance of V1Status for chaining.
    • getCode

      public Integer getCode()
      Suggested HTTP return code for this status, 0 if not set.
      Returns:
      the code property value
    • setCode

      public void setCode(Integer code)
      Set the code property value
      Parameters:
      code - property value to set
    • code

      public V1Status code(Integer code)
      Set code in a chainable fashion.
      Returns:
      The same instance of V1Status for chaining.
    • getDetails

      public V1StatusDetails getDetails()
      Returns:
      the details property value
    • setDetails

      public void setDetails(V1StatusDetails details)
      Set the details property value
      Parameters:
      details - property value to set
    • details

      public V1Status details(V1StatusDetails details)
      Set details in a chainable fashion.
      Returns:
      The same instance of V1Status for chaining.
    • getKind

      public String 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

      public void setKind(String kind)
      Set the kind property value
      Parameters:
      kind - property value to set
    • kind

      public V1Status kind(String kind)
      Set kind in a chainable fashion.
      Returns:
      The same instance of V1Status for chaining.
    • getMessage

      public String getMessage()
      A human-readable description of the status of this operation.
      Returns:
      the message property value
    • setMessage

      public void setMessage(String message)
      Set the message property value
      Parameters:
      message - property value to set
    • message

      public V1Status message(String message)
      Set message in a chainable fashion.
      Returns:
      The same instance of V1Status for chaining.
    • getMetadata

      public V1ListMeta getMetadata()
      Returns:
      the metadata property value
    • setMetadata

      public void setMetadata(V1ListMeta metadata)
      Set the metadata property value
      Parameters:
      metadata - property value to set
    • metadata

      public V1Status metadata(V1ListMeta metadata)
      Set metadata in a chainable fashion.
      Returns:
      The same instance of V1Status for chaining.
    • getReason

      public String 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

      public void setReason(String reason)
      Set the reason property value
      Parameters:
      reason - property value to set
    • reason

      public V1Status reason(String reason)
      Set reason in a chainable fashion.
      Returns:
      The same instance of V1Status for chaining.
    • getStatus

      public String 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

      public void setStatus(String status)
      Set the status property value
      Parameters:
      status - property value to set
    • status

      public V1Status status(String status)
      Set status in a chainable fashion.
      Returns:
      The same instance of V1Status for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object