@Generated(value="org.jsonschema2pojo") public class Status extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Status.ApiVersion |
Constructor and Description |
---|
Status()
No args constructor for use in serialization
|
Status(Status.ApiVersion apiVersion,
Integer code,
StatusDetails details,
String kind,
String message,
ListMeta metadata,
String reason,
String status) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
Status.ApiVersion |
getApiVersion()
(Required)
|
Integer |
getCode()
suggested HTTP return code for this status; 0 if not set
|
StatusDetails |
getDetails() |
String |
getKind()
(Required)
|
String |
getMessage()
human-readable description of the status of this operation
|
ListMeta |
getMetadata() |
String |
getReason()
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
|
String |
getStatus()
status of the operation; either Success
|
void |
setAdditionalProperty(String name,
Object value) |
void |
setApiVersion(Status.ApiVersion apiVersion)
(Required)
|
void |
setCode(Integer code)
suggested HTTP return code for this status; 0 if not set
|
void |
setDetails(StatusDetails details) |
void |
setKind(String kind)
(Required)
|
void |
setMessage(String message)
human-readable description of the status of this operation
|
void |
setMetadata(ListMeta metadata) |
void |
setReason(String reason)
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
|
void |
setStatus(String status)
status of the operation; either Success
|
public Status()
public Status(Status.ApiVersion apiVersion, Integer code, StatusDetails details, String kind, String message, ListMeta metadata, String reason, String status)
message
- apiVersion
- details
- status
- reason
- code
- kind
- metadata
- public Status.ApiVersion getApiVersion()
public void setApiVersion(Status.ApiVersion apiVersion)
apiVersion
- The apiVersionpublic Integer getCode()
public void setCode(Integer code)
code
- The codepublic StatusDetails getDetails()
public void setDetails(StatusDetails details)
details
- The detailspublic String getKind()
public void setKind(String kind)
kind
- The kindpublic String getMessage()
public void setMessage(String message)
message
- The messagepublic ListMeta getMetadata()
public void setMetadata(ListMeta metadata)
metadata
- The metadatapublic String getReason()
public void setReason(String reason)
reason
- The reasonpublic String getStatus()
public void setStatus(String status)
status
- The statusCopyright © 2011–2015 Red Hat. All rights reserved.