Class SyntheticsBrowserTestResultShortResult

java.lang.Object
com.datadog.api.client.v1.model.SyntheticsBrowserTestResultShortResult

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsBrowserTestResultShortResult extends Object
Object with the result of the last browser test run.
  • Field Details

  • Constructor Details

    • SyntheticsBrowserTestResultShortResult

      public SyntheticsBrowserTestResultShortResult()
  • Method Details

    • device

    • getDevice

      @Nullable public SyntheticsDevice getDevice()
      Object describing the device used to perform the Synthetic test.
      Returns:
      device
    • setDevice

      public void setDevice(SyntheticsDevice device)
    • duration

      public SyntheticsBrowserTestResultShortResult duration(Double duration)
    • getDuration

      @Nullable public Double getDuration()
      Length in milliseconds of the browser test run.
      Returns:
      duration
    • setDuration

      public void setDuration(Double duration)
    • errorCount

      public SyntheticsBrowserTestResultShortResult errorCount(Long errorCount)
    • getErrorCount

      @Nullable public Long getErrorCount()
      Amount of errors collected for a single browser test run.
      Returns:
      errorCount
    • setErrorCount

      public void setErrorCount(Long errorCount)
    • stepCountCompleted

      public SyntheticsBrowserTestResultShortResult stepCountCompleted(Long stepCountCompleted)
    • getStepCountCompleted

      @Nullable public Long getStepCountCompleted()
      Amount of browser test steps completed before failing.
      Returns:
      stepCountCompleted
    • setStepCountCompleted

      public void setStepCountCompleted(Long stepCountCompleted)
    • stepCountTotal

      public SyntheticsBrowserTestResultShortResult stepCountTotal(Long stepCountTotal)
    • getStepCountTotal

      @Nullable public Long getStepCountTotal()
      Total amount of browser test steps.
      Returns:
      stepCountTotal
    • setStepCountTotal

      public void setStepCountTotal(Long stepCountTotal)
    • putAdditionalProperty

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