Package com.datadog.api.client.v2.model
Class IssueAttributes
java.lang.Object
com.datadog.api.client.v2.model.IssueAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IssueAttributes
extends Object
Object containing the information of an issue.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLanguagesItem(IssueLanguage languagesItem) booleanReturn true if this IssueAttributes object is equal to o.errorMessage(String errorMessage) firstSeenVersion(String firstSeenVersion) functionName(String functionName) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Error message associated with the issue.Type of the error that matches the issue.Path of the file where the issue occurred.Timestamp of the first seen error in milliseconds since the Unix epoch.The application version (for example, git commit hash) where the issue was first observed.Name of the function where the issue occurred.Error is a crash.Array of programming languages associated with the issue.Timestamp of the last seen error in milliseconds since the Unix epoch.The application version (for example, git commit hash) where the issue was last observed.Platform associated with the issue.Regression information for an issue that was previously resolved and then reopened.Service name.getState()State of the issueinthashCode()languages(List<IssueLanguage> languages) lastSeenVersion(String lastSeenVersion) platform(IssuePlatform platform) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.regression(IssueRegression regression) voidsetErrorMessage(String errorMessage) voidsetErrorType(String errorType) voidsetFilePath(String filePath) voidsetFirstSeen(Long firstSeen) voidsetFirstSeenVersion(String firstSeenVersion) voidsetFunctionName(String functionName) voidsetIsCrash(Boolean isCrash) voidsetLanguages(List<IssueLanguage> languages) voidsetLastSeen(Long lastSeen) voidsetLastSeenVersion(String lastSeenVersion) voidsetPlatform(IssuePlatform platform) voidsetRegression(IssueRegression regression) voidsetService(String service) voidsetState(IssueState state) state(IssueState state) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ERROR_MESSAGE
- See Also:
-
JSON_PROPERTY_ERROR_TYPE
- See Also:
-
JSON_PROPERTY_FILE_PATH
- See Also:
-
JSON_PROPERTY_FIRST_SEEN
- See Also:
-
JSON_PROPERTY_FIRST_SEEN_VERSION
- See Also:
-
JSON_PROPERTY_FUNCTION_NAME
- See Also:
-
JSON_PROPERTY_IS_CRASH
- See Also:
-
JSON_PROPERTY_LANGUAGES
- See Also:
-
JSON_PROPERTY_LAST_SEEN
- See Also:
-
JSON_PROPERTY_LAST_SEEN_VERSION
- See Also:
-
JSON_PROPERTY_PLATFORM
- See Also:
-
JSON_PROPERTY_REGRESSION
- See Also:
-
JSON_PROPERTY_SERVICE
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
-
Constructor Details
-
IssueAttributes
public IssueAttributes()
-
-
Method Details
-
errorMessage
-
getErrorMessage
Error message associated with the issue.- Returns:
- errorMessage
-
setErrorMessage
-
errorType
-
getErrorType
Type of the error that matches the issue.- Returns:
- errorType
-
setErrorType
-
filePath
-
getFilePath
Path of the file where the issue occurred.- Returns:
- filePath
-
setFilePath
-
firstSeen
-
getFirstSeen
Timestamp of the first seen error in milliseconds since the Unix epoch.- Returns:
- firstSeen
-
setFirstSeen
-
firstSeenVersion
-
getFirstSeenVersion
The application version (for example, git commit hash) where the issue was first observed.- Returns:
- firstSeenVersion
-
setFirstSeenVersion
-
functionName
-
getFunctionName
Name of the function where the issue occurred.- Returns:
- functionName
-
setFunctionName
-
isCrash
-
getIsCrash
Error is a crash.- Returns:
- isCrash
-
setIsCrash
-
languages
-
addLanguagesItem
-
getLanguages
Array of programming languages associated with the issue.- Returns:
- languages
-
setLanguages
-
lastSeen
-
getLastSeen
Timestamp of the last seen error in milliseconds since the Unix epoch.- Returns:
- lastSeen
-
setLastSeen
-
lastSeenVersion
-
getLastSeenVersion
The application version (for example, git commit hash) where the issue was last observed.- Returns:
- lastSeenVersion
-
setLastSeenVersion
-
platform
-
getPlatform
Platform associated with the issue.- Returns:
- platform
-
setPlatform
-
regression
-
getRegression
Regression information for an issue that was previously resolved and then reopened.- Returns:
- regression
-
setRegression
-
service
-
getService
Service name.- Returns:
- service
-
setService
-
state
-
getState
State of the issue- Returns:
- state
-
setState
-
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:
- IssueAttributes
-
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 IssueAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-