Class SyntheticsTestResultBrowserError

java.lang.Object
com.datadog.api.client.v2.model.SyntheticsTestResultBrowserError

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsTestResultBrowserError extends Object
A browser error captured during a browser test step.
  • Field Details

  • Constructor Details

    • SyntheticsTestResultBrowserError

      public SyntheticsTestResultBrowserError()
  • Method Details

    • description

      public SyntheticsTestResultBrowserError description(String description)
    • getDescription

      @Nullable public String getDescription()
      Error description.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • method

      public SyntheticsTestResultBrowserError method(String method)
    • getMethod

      @Nullable public String getMethod()
      HTTP method associated with the error (for network errors).
      Returns:
      method
    • setMethod

      public void setMethod(String method)
    • name

    • getName

      @Nullable public String getName()
      Error name.
      Returns:
      name
    • setName

      public void setName(String name)
    • status

      public SyntheticsTestResultBrowserError status(Long status)
    • getStatus

      @Nullable public Long getStatus()
      HTTP status code associated with the error (for network errors).
      Returns:
      status
    • setStatus

      public void setStatus(Long status)
    • type

    • getType

      @Nullable public String getType()
      Type of the browser error.
      Returns:
      type
    • setType

      public void setType(String type)
    • url

    • putUrlItem

      public SyntheticsTestResultBrowserError putUrlItem(String key, Object urlItem)
    • getUrl

      @Nullable public Map<String,Object> getUrl()
      URL associated with the error.
      Returns:
      url
    • setUrl

      public void setUrl(Map<String,Object> url)
    • putAdditionalProperty

      public SyntheticsTestResultBrowserError 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:
      SyntheticsTestResultBrowserError
    • 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 SyntheticsTestResultBrowserError 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