Package com.datadog.api.client.v2.model
Class EventsResponseMetadata
java.lang.Object
com.datadog.api.client.v2.model.EventsResponseMetadata
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class EventsResponseMetadata
extends Object
The metadata associated with a request.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddWarningsItem(EventsWarning warningsItem) booleanReturn true if this EventsResponseMetadata object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The time elapsed in milliseconds.getPage()Pagination attributes.The identifier of the request.The request status.A list of warnings (non-fatal errors) encountered.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetElapsed(Long elapsed) voidvoidsetRequestId(String requestId) voidvoidsetWarnings(List<EventsWarning> warnings) toString()warnings(List<EventsWarning> 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
-
EventsResponseMetadata
public EventsResponseMetadata()
-
-
Method Details
-
elapsed
-
getElapsed
The time elapsed in milliseconds.- Returns:
- elapsed
-
setElapsed
-
page
-
getPage
Pagination attributes.- Returns:
- page
-
setPage
-
requestId
-
getRequestId
The identifier of the request.- Returns:
- requestId
-
setRequestId
-
status
-
getStatus
The request status.- 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:
- EventsResponseMetadata
-
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 EventsResponseMetadata object is equal to o. -
hashCode
public int hashCode() -
toString
-