Class SyntheticsTestResultVariable

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsTestResultVariable extends Object
A variable used or extracted during a test.
  • Field Details

  • Constructor Details

    • SyntheticsTestResultVariable

      public SyntheticsTestResultVariable()
  • Method Details

    • err

    • getErr

      @Nullable public String getErr()
      Error encountered when evaluating the variable.
      Returns:
      err
    • setErr

      public void setErr(String err)
    • errorMessage

      public SyntheticsTestResultVariable errorMessage(String errorMessage)
    • getErrorMessage

      @Nullable public String getErrorMessage()
      Human-readable error message for variable evaluation.
      Returns:
      errorMessage
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
    • example

      public SyntheticsTestResultVariable example(String example)
    • getExample

      @Nullable public String getExample()
      Example value for the variable.
      Returns:
      example
    • setExample

      public void setExample(String example)
    • id

    • getId

      @Nullable public String getId()
      Variable identifier.
      Returns:
      id
    • setId

      public void setId(String id)
    • name

    • getName

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

      public void setName(String name)
    • pattern

      public SyntheticsTestResultVariable pattern(String pattern)
    • getPattern

      @Nullable public String getPattern()
      Pattern used to extract the variable.
      Returns:
      pattern
    • setPattern

      public void setPattern(String pattern)
    • secure

      public SyntheticsTestResultVariable secure(Boolean secure)
    • getSecure

      @Nullable public Boolean getSecure()
      Whether the variable holds a secure value.
      Returns:
      secure
    • setSecure

      public void setSecure(Boolean secure)
    • type

    • getType

      @Nullable public String getType()
      Variable type.
      Returns:
      type
    • setType

      public void setType(String type)
    • val

    • getVal

      @Nullable public String getVal()
      Evaluated value of the variable.
      Returns:
      val
    • setVal

      public void setVal(String val)
    • value

      public SyntheticsTestResultVariable value(String value)
    • getValue

      @Nullable public String getValue()
      Current value of the variable.
      Returns:
      value
    • setValue

      public void setValue(String value)
    • putAdditionalProperty

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