@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsAPIError extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CODE |
static String |
JSON_PROPERTY_DETAILS |
static String |
JSON_PROPERTY_MESSAGE |
boolean |
unparsed |
| Constructor and Description |
|---|
LogsAPIError() |
| Modifier and Type | Method and Description |
|---|---|
LogsAPIError |
addDetailsItem(LogsAPIError detailsItem) |
LogsAPIError |
code(String code) |
LogsAPIError |
details(List<LogsAPIError> details) |
boolean |
equals(Object o)
Return true if this LogsAPIError object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getCode()
Code identifying the error
|
List<LogsAPIError> |
getDetails()
Additional error details
|
String |
getMessage()
Error message
|
int |
hashCode() |
LogsAPIError |
message(String message) |
LogsAPIError |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCode(String code) |
void |
setDetails(List<LogsAPIError> details) |
void |
setMessage(String message) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CODE
public static final String JSON_PROPERTY_DETAILS
public static final String JSON_PROPERTY_MESSAGE
public LogsAPIError code(String code)
@Nullable public String getCode()
public void setCode(String code)
public LogsAPIError details(List<LogsAPIError> details)
public LogsAPIError addDetailsItem(LogsAPIError detailsItem)
@Nullable public List<LogsAPIError> getDetails()
public void setDetails(List<LogsAPIError> details)
public LogsAPIError message(String message)
@Nullable public String getMessage()
public void setMessage(String message)
public LogsAPIError putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.