Class Status

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class Status
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    Status is a return value for calls that don't return other objects.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Status.Builder  
    • Constructor Summary

      Constructors 
      Constructor Description
      Status()  
      Status​(java.lang.String apiVersion, java.lang.Number code, StatusDetails details, java.lang.String kind, java.lang.String message, ListMeta metadata, java.lang.String reason, java.lang.String status)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Status.Builder builder()  
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getApiVersion()
      APIVersion defines the versioned schema of this representation of an object.
      java.lang.Number getCode()
      Suggested HTTP return code for this status, 0 if not set.
      StatusDetails getDetails()  
      java.lang.String getKind()
      Kind is a string value representing the REST resource this object represents.
      java.lang.String getMessage()
      A human-readable description of the status of this operation.
      ListMeta getMetadata()  
      java.lang.String getReason()
      A machine-readable description of why this operation is in the "Failure" status.
      java.lang.String getStatus()
      Status of the operation.
      int hashCode()  
      void setApiVersion​(java.lang.String apiVersion)
      APIVersion defines the versioned schema of this representation of an object.
      void setCode​(java.lang.Number code)
      Suggested HTTP return code for this status, 0 if not set.
      void setDetails​(StatusDetails details)  
      void setKind​(java.lang.String kind)
      Kind is a string value representing the REST resource this object represents.
      void setMessage​(java.lang.String message)
      A human-readable description of the status of this operation.
      void setMetadata​(ListMeta metadata)  
      void setReason​(java.lang.String reason)
      A machine-readable description of why this operation is in the "Failure" status.
      void setStatus​(java.lang.String status)
      Status of the operation.
      Status.Builder toBuilder()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Status

        public Status​(java.lang.String apiVersion,
                      java.lang.Number code,
                      StatusDetails details,
                      java.lang.String kind,
                      java.lang.String message,
                      ListMeta metadata,
                      java.lang.String reason,
                      java.lang.String status)
      • Status

        public Status()
    • Method Detail

      • getApiVersion

        public java.lang.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
      • getCode

        public java.lang.Number getCode()
        Suggested HTTP return code for this status, 0 if not set.
      • getKind

        public java.lang.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
      • getMessage

        public java.lang.String getMessage()
        A human-readable description of the status of this operation.
      • getMetadata

        public ListMeta getMetadata()
      • getReason

        public java.lang.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.
      • getStatus

        public java.lang.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
      • setApiVersion

        public void setApiVersion​(java.lang.String apiVersion)
        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
      • setCode

        public void setCode​(java.lang.Number code)
        Suggested HTTP return code for this status, 0 if not set.
      • setKind

        public void setKind​(java.lang.String kind)
        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
      • setMessage

        public void setMessage​(java.lang.String message)
        A human-readable description of the status of this operation.
      • setMetadata

        public void setMetadata​(ListMeta metadata)
      • setReason

        public void setReason​(java.lang.String reason)
        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.
      • setStatus

        public void setStatus​(java.lang.String status)
        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
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object