@Generated(value="Generated by https://konfigthis.com") public class ResponseHeader extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ResponseHeader.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ERRORS |
static String |
SERIALIZED_NAME_SUCCEEDED |
static String |
SERIALIZED_NAME_TRACE_ID |
| Constructor and Description |
|---|
ResponseHeader() |
| Modifier and Type | Method and Description |
|---|---|
ResponseHeader |
addErrorsItem(Error2 errorsItem) |
boolean |
equals(Object o) |
ResponseHeader |
errors(List<Error2> errors) |
static ResponseHeader |
fromJson(String jsonString)
Create an instance of ResponseHeader given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
List<Error2> |
getErrors()
Get errors
|
Boolean |
getSucceeded()
Get succeeded
|
String |
getTraceId()
Get traceId
|
int |
hashCode() |
ResponseHeader |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setErrors(List<Error2> errors) |
void |
setSucceeded(Boolean succeeded) |
void |
setTraceId(String traceId) |
ResponseHeader |
succeeded(Boolean succeeded) |
String |
toJson()
Convert an instance of ResponseHeader to an JSON string
|
String |
toString() |
ResponseHeader |
traceId(String traceId) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_SUCCEEDED
public static final String SERIALIZED_NAME_ERRORS
public static final String SERIALIZED_NAME_TRACE_ID
public ResponseHeader succeeded(Boolean succeeded)
public void setSucceeded(Boolean succeeded)
public ResponseHeader errors(List<Error2> errors)
public ResponseHeader addErrorsItem(Error2 errorsItem)
public ResponseHeader traceId(String traceId)
public void setTraceId(String traceId)
public ResponseHeader putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to ResponseHeaderpublic static ResponseHeader fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ResponseHeaderpublic String toJson()
Copyright © 2024. All rights reserved.