Class SyntheticsAssertionJSONPathTargetTarget

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsAssertionJSONPathTargetTarget extends Object
Composed target for validatesJSONPath operator.
  • Field Details

  • Constructor Details

    • SyntheticsAssertionJSONPathTargetTarget

      public SyntheticsAssertionJSONPathTargetTarget()
  • Method Details

    • elementsOperator

      public SyntheticsAssertionJSONPathTargetTarget elementsOperator(String elementsOperator)
    • getElementsOperator

      @Nullable public String getElementsOperator()
      The element from the list of results to assert on. To choose from the first element in the list firstElementMatches, every element in the list everyElementMatches, at least one element in the list atLeastOneElementMatches or the serialized value of the list serializationMatches.
      Returns:
      elementsOperator
    • setElementsOperator

      public void setElementsOperator(String elementsOperator)
    • jsonPath

      public SyntheticsAssertionJSONPathTargetTarget jsonPath(String jsonPath)
    • getJsonPath

      @Nullable public String getJsonPath()
      The JSON path to assert.
      Returns:
      jsonPath
    • setJsonPath

      public void setJsonPath(String jsonPath)
    • operator

      public SyntheticsAssertionJSONPathTargetTarget operator(String operator)
    • getOperator

      @Nullable public String getOperator()
      The specific operator to use on the path.
      Returns:
      operator
    • setOperator

      public void setOperator(String operator)
    • targetValue

    • getTargetValue

      @Nullable public SyntheticsAssertionTargetValue getTargetValue()
      Value used by the operator in assertions. Can be either a number or string.
      Returns:
      targetValue
    • setTargetValue

      public void setTargetValue(SyntheticsAssertionTargetValue targetValue)
    • putAdditionalProperty

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