Package com.datadog.api.client.v2.model
Class LogsResponseMetadata
java.lang.Object
com.datadog.api.client.v2.model.LogsResponseMetadata
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsResponseMetadata
extends Object
The metadata associated with a request
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddWarningsItem(LogsWarning warningsItem) booleanReturn true if this LogsResponseMetadata object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The time elapsed in millisecondsgetPage()Paging attributes.The identifier of the requestThe status of the responseA list of warnings (non fatal errors) encountered, partial results might be returned if warnings are present in the response.inthashCode()page(LogsResponseMetadataPage page) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetElapsed(Long elapsed) voidvoidsetRequestId(String requestId) voidsetStatus(LogsAggregateResponseStatus status) voidsetWarnings(List<LogsWarning> warnings) status(LogsAggregateResponseStatus status) toString()warnings(List<LogsWarning> warnings)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ELAPSED
- See Also:
-
JSON_PROPERTY_PAGE
- See Also:
-
JSON_PROPERTY_REQUEST_ID
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_WARNINGS
- See Also:
-
-
Constructor Details
-
LogsResponseMetadata
public LogsResponseMetadata()
-
-
Method Details
-
elapsed
-
getElapsed
The time elapsed in milliseconds- Returns:
- elapsed
-
setElapsed
-
page
-
getPage
Paging attributes.- Returns:
- page
-
setPage
-
requestId
-
getRequestId
The identifier of the request- Returns:
- requestId
-
setRequestId
-
status
-
getStatus
The status of the response- Returns:
- status
-
setStatus
-
warnings
-
addWarningsItem
-
getWarnings
A list of warnings (non fatal errors) encountered, partial results might be returned if warnings are present in the response.- Returns:
- warnings
-
setWarnings
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- LogsResponseMetadata
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this LogsResponseMetadata object is equal to o. -
hashCode
public int hashCode() -
toString
-