Package com.datadog.api.client.v1.model
Class LogsAPIError
java.lang.Object
com.datadog.api.client.v1.model.LogsAPIError
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LogsAPIError
extends Object
Error returned by the Logs API
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDetailsItem(LogsAPIError detailsItem) details(List<LogsAPIError> details) booleanReturn true if this LogsAPIError object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCode()Code identifying the errorAdditional error detailsError messageinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetDetails(List<LogsAPIError> details) voidsetMessage(String message) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CODE
- See Also:
-
JSON_PROPERTY_DETAILS
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
-
Constructor Details
-
LogsAPIError
public LogsAPIError()
-
-
Method Details
-
code
-
getCode
Code identifying the error- Returns:
- code
-
setCode
-
details
-
addDetailsItem
-
getDetails
Additional error details- Returns:
- details
-
setDetails
-
message
-
getMessage
Error message- Returns:
- message
-
setMessage
-
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:
- LogsAPIError
-
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 LogsAPIError object is equal to o. -
hashCode
public int hashCode() -
toString
-