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 Details

  • Constructor Details

    • IssueAttributes

      public IssueAttributes()
  • Method Details

    • errorMessage

      public IssueAttributes errorMessage(String errorMessage)
    • getErrorMessage

      @Nullable public String getErrorMessage()
      Error message associated with the issue.
      Returns:
      errorMessage
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
    • errorType

      public IssueAttributes errorType(String errorType)
    • getErrorType

      @Nullable public String getErrorType()
      Type of the error that matches the issue.
      Returns:
      errorType
    • setErrorType

      public void setErrorType(String errorType)
    • filePath

      public IssueAttributes filePath(String filePath)
    • getFilePath

      @Nullable public String getFilePath()
      Path of the file where the issue occurred.
      Returns:
      filePath
    • setFilePath

      public void setFilePath(String filePath)
    • firstSeen

      public IssueAttributes firstSeen(Long firstSeen)
    • getFirstSeen

      @Nullable public Long getFirstSeen()
      Timestamp of the first seen error in milliseconds since the Unix epoch.
      Returns:
      firstSeen
    • setFirstSeen

      public void setFirstSeen(Long firstSeen)
    • firstSeenVersion

      public IssueAttributes firstSeenVersion(String firstSeenVersion)
    • getFirstSeenVersion

      @Nullable public String getFirstSeenVersion()
      The application version (for example, git commit hash) where the issue was first observed.
      Returns:
      firstSeenVersion
    • setFirstSeenVersion

      public void setFirstSeenVersion(String firstSeenVersion)
    • functionName

      public IssueAttributes functionName(String functionName)
    • getFunctionName

      @Nullable public String getFunctionName()
      Name of the function where the issue occurred.
      Returns:
      functionName
    • setFunctionName

      public void setFunctionName(String functionName)
    • isCrash

      public IssueAttributes isCrash(Boolean isCrash)
    • getIsCrash

      @Nullable public Boolean getIsCrash()
      Error is a crash.
      Returns:
      isCrash
    • setIsCrash

      public void setIsCrash(Boolean isCrash)
    • languages

      public IssueAttributes languages(List<IssueLanguage> languages)
    • addLanguagesItem

      public IssueAttributes addLanguagesItem(IssueLanguage languagesItem)
    • getLanguages

      @Nullable public List<IssueLanguage> getLanguages()
      Array of programming languages associated with the issue.
      Returns:
      languages
    • setLanguages

      public void setLanguages(List<IssueLanguage> languages)
    • lastSeen

      public IssueAttributes lastSeen(Long lastSeen)
    • getLastSeen

      @Nullable public Long getLastSeen()
      Timestamp of the last seen error in milliseconds since the Unix epoch.
      Returns:
      lastSeen
    • setLastSeen

      public void setLastSeen(Long lastSeen)
    • lastSeenVersion

      public IssueAttributes lastSeenVersion(String lastSeenVersion)
    • getLastSeenVersion

      @Nullable public String getLastSeenVersion()
      The application version (for example, git commit hash) where the issue was last observed.
      Returns:
      lastSeenVersion
    • setLastSeenVersion

      public void setLastSeenVersion(String lastSeenVersion)
    • platform

      public IssueAttributes platform(IssuePlatform platform)
    • getPlatform

      @Nullable public IssuePlatform getPlatform()
      Platform associated with the issue.
      Returns:
      platform
    • setPlatform

      public void setPlatform(IssuePlatform platform)
    • regression

      public IssueAttributes regression(IssueRegression regression)
    • getRegression

      @Nullable public IssueRegression getRegression()
      Regression information for an issue that was previously resolved and then reopened.
      Returns:
      regression
    • setRegression

      public void setRegression(IssueRegression regression)
    • service

      public IssueAttributes service(String service)
    • getService

      @Nullable public String getService()
      Service name.
      Returns:
      service
    • setService

      public void setService(String service)
    • state

      public IssueAttributes state(IssueState state)
    • getState

      @Nullable public IssueState getState()
      State of the issue
      Returns:
      state
    • setState

      public void setState(IssueState state)
    • putAdditionalProperty

      public IssueAttributes putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      IssueAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this IssueAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object