Package com.datadog.api.client.v1.model
Class SyntheticsAssertion
java.lang.Object
com.datadog.api.client.AbstractOpenApiSchema
com.datadog.api.client.v1.model.SyntheticsAssertion
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsAssertion
extends AbstractOpenApiSchema
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionGet the actual instance, which can be the following: SyntheticsAssertionTarget, SyntheticsAssertionBodyHashTarget, SyntheticsAssertionJSONPathTarget, SyntheticsAssertionJSONSchemaTarget, SyntheticsAssertionXPathTarget, SyntheticsAssertionJavascript, SyntheticsAssertionMCPServerCapabilitiesTarget, SyntheticsAssertionMCPRespectsSpecificationGet the list of oneOf/anyOf composed schemas allowed to be stored in this objectGet the actual instance of `SyntheticsAssertionBodyHashTarget`.Get the actual instance of `SyntheticsAssertionJavascript`.Get the actual instance of `SyntheticsAssertionJSONPathTarget`.Get the actual instance of `SyntheticsAssertionJSONSchemaTarget`.Get the actual instance of `SyntheticsAssertionMCPRespectsSpecification`.Get the actual instance of `SyntheticsAssertionMCPServerCapabilitiesTarget`.Get the actual instance of `SyntheticsAssertionTarget`.Get the actual instance of `SyntheticsAssertionXPathTarget`.voidsetActualInstance(Object instance) Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: SyntheticsAssertionTarget, SyntheticsAssertionBodyHashTarget, SyntheticsAssertionJSONPathTarget, SyntheticsAssertionJSONSchemaTarget, SyntheticsAssertionXPathTarget, SyntheticsAssertionJavascript, SyntheticsAssertionMCPServerCapabilitiesTarget, SyntheticsAssertionMCPRespectsSpecificationMethods inherited from class com.datadog.api.client.AbstractOpenApiSchema
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toString
-
Field Details
-
unparsed
public boolean unparsed -
schemas
-
-
Constructor Details
-
SyntheticsAssertion
public SyntheticsAssertion() -
SyntheticsAssertion
-
SyntheticsAssertion
-
SyntheticsAssertion
-
SyntheticsAssertion
-
SyntheticsAssertion
-
SyntheticsAssertion
-
SyntheticsAssertion
-
SyntheticsAssertion
-
-
Method Details
-
getSchemas
Description copied from class:AbstractOpenApiSchemaGet the list of oneOf/anyOf composed schemas allowed to be stored in this object- Specified by:
getSchemasin classAbstractOpenApiSchema- Returns:
- an instance of the actual schema/object
-
setActualInstance
Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: SyntheticsAssertionTarget, SyntheticsAssertionBodyHashTarget, SyntheticsAssertionJSONPathTarget, SyntheticsAssertionJSONSchemaTarget, SyntheticsAssertionXPathTarget, SyntheticsAssertionJavascript, SyntheticsAssertionMCPServerCapabilitiesTarget, SyntheticsAssertionMCPRespectsSpecificationIt could be an instance of the 'oneOf' schemas. The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf).
- Overrides:
setActualInstancein classAbstractOpenApiSchema- Parameters:
instance- the actual instance of the schema/object
-
getActualInstance
Get the actual instance, which can be the following: SyntheticsAssertionTarget, SyntheticsAssertionBodyHashTarget, SyntheticsAssertionJSONPathTarget, SyntheticsAssertionJSONSchemaTarget, SyntheticsAssertionXPathTarget, SyntheticsAssertionJavascript, SyntheticsAssertionMCPServerCapabilitiesTarget, SyntheticsAssertionMCPRespectsSpecification- Overrides:
getActualInstancein classAbstractOpenApiSchema- Returns:
- The actual instance (SyntheticsAssertionTarget, SyntheticsAssertionBodyHashTarget, SyntheticsAssertionJSONPathTarget, SyntheticsAssertionJSONSchemaTarget, SyntheticsAssertionXPathTarget, SyntheticsAssertionJavascript, SyntheticsAssertionMCPServerCapabilitiesTarget, SyntheticsAssertionMCPRespectsSpecification)
-
getSyntheticsAssertionTarget
Get the actual instance of `SyntheticsAssertionTarget`. If the actual instance is not `SyntheticsAssertionTarget`, the ClassCastException will be thrown.- Returns:
- The actual instance of `SyntheticsAssertionTarget`
- Throws:
ClassCastException- if the instance is not `SyntheticsAssertionTarget`
-
getSyntheticsAssertionBodyHashTarget
public SyntheticsAssertionBodyHashTarget getSyntheticsAssertionBodyHashTarget() throws ClassCastExceptionGet the actual instance of `SyntheticsAssertionBodyHashTarget`. If the actual instance is not `SyntheticsAssertionBodyHashTarget`, the ClassCastException will be thrown.- Returns:
- The actual instance of `SyntheticsAssertionBodyHashTarget`
- Throws:
ClassCastException- if the instance is not `SyntheticsAssertionBodyHashTarget`
-
getSyntheticsAssertionJSONPathTarget
public SyntheticsAssertionJSONPathTarget getSyntheticsAssertionJSONPathTarget() throws ClassCastExceptionGet the actual instance of `SyntheticsAssertionJSONPathTarget`. If the actual instance is not `SyntheticsAssertionJSONPathTarget`, the ClassCastException will be thrown.- Returns:
- The actual instance of `SyntheticsAssertionJSONPathTarget`
- Throws:
ClassCastException- if the instance is not `SyntheticsAssertionJSONPathTarget`
-
getSyntheticsAssertionJSONSchemaTarget
public SyntheticsAssertionJSONSchemaTarget getSyntheticsAssertionJSONSchemaTarget() throws ClassCastExceptionGet the actual instance of `SyntheticsAssertionJSONSchemaTarget`. If the actual instance is not `SyntheticsAssertionJSONSchemaTarget`, the ClassCastException will be thrown.- Returns:
- The actual instance of `SyntheticsAssertionJSONSchemaTarget`
- Throws:
ClassCastException- if the instance is not `SyntheticsAssertionJSONSchemaTarget`
-
getSyntheticsAssertionXPathTarget
Get the actual instance of `SyntheticsAssertionXPathTarget`. If the actual instance is not `SyntheticsAssertionXPathTarget`, the ClassCastException will be thrown.- Returns:
- The actual instance of `SyntheticsAssertionXPathTarget`
- Throws:
ClassCastException- if the instance is not `SyntheticsAssertionXPathTarget`
-
getSyntheticsAssertionJavascript
Get the actual instance of `SyntheticsAssertionJavascript`. If the actual instance is not `SyntheticsAssertionJavascript`, the ClassCastException will be thrown.- Returns:
- The actual instance of `SyntheticsAssertionJavascript`
- Throws:
ClassCastException- if the instance is not `SyntheticsAssertionJavascript`
-
getSyntheticsAssertionMCPServerCapabilitiesTarget
public SyntheticsAssertionMCPServerCapabilitiesTarget getSyntheticsAssertionMCPServerCapabilitiesTarget() throws ClassCastExceptionGet the actual instance of `SyntheticsAssertionMCPServerCapabilitiesTarget`. If the actual instance is not `SyntheticsAssertionMCPServerCapabilitiesTarget`, the ClassCastException will be thrown.- Returns:
- The actual instance of `SyntheticsAssertionMCPServerCapabilitiesTarget`
- Throws:
ClassCastException- if the instance is not `SyntheticsAssertionMCPServerCapabilitiesTarget`
-
getSyntheticsAssertionMCPRespectsSpecification
public SyntheticsAssertionMCPRespectsSpecification getSyntheticsAssertionMCPRespectsSpecification() throws ClassCastExceptionGet the actual instance of `SyntheticsAssertionMCPRespectsSpecification`. If the actual instance is not `SyntheticsAssertionMCPRespectsSpecification`, the ClassCastException will be thrown.- Returns:
- The actual instance of `SyntheticsAssertionMCPRespectsSpecification`
- Throws:
ClassCastException- if the instance is not `SyntheticsAssertionMCPRespectsSpecification`
-