@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsResponseMetadata extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ELAPSED |
static String |
JSON_PROPERTY_PAGE |
static String |
JSON_PROPERTY_REQUEST_ID |
static String |
JSON_PROPERTY_STATUS |
static String |
JSON_PROPERTY_WARNINGS |
boolean |
unparsed |
| Constructor and Description |
|---|
LogsResponseMetadata() |
| Modifier and Type | Method and Description |
|---|---|
LogsResponseMetadata |
addWarningsItem(LogsWarning warningsItem) |
LogsResponseMetadata |
elapsed(Long elapsed) |
boolean |
equals(Object o)
Return true if this LogsResponseMetadata 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.
|
Long |
getElapsed()
The time elapsed in milliseconds
|
LogsResponseMetadataPage |
getPage()
Paging attributes.
|
String |
getRequestId()
The identifier of the request
|
LogsAggregateResponseStatus |
getStatus()
The status of the response
|
List<LogsWarning> |
getWarnings()
A list of warnings (non fatal errors) encountered, partial results might be returned if
warnings are present in the response.
|
int |
hashCode() |
LogsResponseMetadata |
page(LogsResponseMetadataPage page) |
LogsResponseMetadata |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
LogsResponseMetadata |
requestId(String requestId) |
void |
setElapsed(Long elapsed) |
void |
setPage(LogsResponseMetadataPage page) |
void |
setRequestId(String requestId) |
void |
setStatus(LogsAggregateResponseStatus status) |
void |
setWarnings(List<LogsWarning> warnings) |
LogsResponseMetadata |
status(LogsAggregateResponseStatus status) |
String |
toString() |
LogsResponseMetadata |
warnings(List<LogsWarning> warnings) |
public boolean unparsed
public static final String JSON_PROPERTY_ELAPSED
public static final String JSON_PROPERTY_PAGE
public static final String JSON_PROPERTY_REQUEST_ID
public static final String JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_WARNINGS
public LogsResponseMetadata elapsed(Long elapsed)
@Nullable public Long getElapsed()
public void setElapsed(Long elapsed)
public LogsResponseMetadata page(LogsResponseMetadataPage page)
@Nullable public LogsResponseMetadataPage getPage()
public void setPage(LogsResponseMetadataPage page)
public LogsResponseMetadata requestId(String requestId)
@Nullable public String getRequestId()
public void setRequestId(String requestId)
public LogsResponseMetadata status(LogsAggregateResponseStatus status)
@Nullable public LogsAggregateResponseStatus getStatus()
public void setStatus(LogsAggregateResponseStatus status)
public LogsResponseMetadata warnings(List<LogsWarning> warnings)
public LogsResponseMetadata addWarningsItem(LogsWarning warningsItem)
@Nullable public List<LogsWarning> getWarnings()
public void setWarnings(List<LogsWarning> warnings)
public LogsResponseMetadata 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.