@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsAssertion extends AbstractOpenApiSchema
| Modifier and Type | Class and Description |
|---|---|
static class |
SyntheticsAssertion.SyntheticsAssertionDeserializer |
static class |
SyntheticsAssertion.SyntheticsAssertionSerializer |
| Modifier and Type | Field and Description |
|---|---|
static Map<String,jakarta.ws.rs.core.GenericType> |
schemas |
boolean |
unparsed |
| Constructor and Description |
|---|
SyntheticsAssertion() |
SyntheticsAssertion(SyntheticsAssertionBodyHashTarget o) |
SyntheticsAssertion(SyntheticsAssertionJSONPathTarget o) |
SyntheticsAssertion(SyntheticsAssertionJSONSchemaTarget o) |
SyntheticsAssertion(SyntheticsAssertionTarget o) |
SyntheticsAssertion(SyntheticsAssertionXPathTarget o) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getActualInstance()
Get the actual instance, which can be the following: SyntheticsAssertionTarget,
SyntheticsAssertionBodyHashTarget, SyntheticsAssertionJSONPathTarget,
SyntheticsAssertionJSONSchemaTarget, SyntheticsAssertionXPathTarget
|
Map<String,jakarta.ws.rs.core.GenericType> |
getSchemas()
Get the list of oneOf/anyOf composed schemas allowed to be stored in this object
|
SyntheticsAssertionBodyHashTarget |
getSyntheticsAssertionBodyHashTarget()
Get the actual instance of `SyntheticsAssertionBodyHashTarget`.
|
SyntheticsAssertionJSONPathTarget |
getSyntheticsAssertionJSONPathTarget()
Get the actual instance of `SyntheticsAssertionJSONPathTarget`.
|
SyntheticsAssertionJSONSchemaTarget |
getSyntheticsAssertionJSONSchemaTarget()
Get the actual instance of `SyntheticsAssertionJSONSchemaTarget`.
|
SyntheticsAssertionTarget |
getSyntheticsAssertionTarget()
Get the actual instance of `SyntheticsAssertionTarget`.
|
SyntheticsAssertionXPathTarget |
getSyntheticsAssertionXPathTarget()
Get the actual instance of `SyntheticsAssertionXPathTarget`.
|
void |
setActualInstance(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
|
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toStringpublic SyntheticsAssertion()
public SyntheticsAssertion(SyntheticsAssertionTarget o)
public SyntheticsAssertion(SyntheticsAssertionBodyHashTarget o)
public SyntheticsAssertion(SyntheticsAssertionJSONPathTarget o)
public SyntheticsAssertion(SyntheticsAssertionJSONSchemaTarget o)
public SyntheticsAssertion(SyntheticsAssertionXPathTarget o)
public Map<String,jakarta.ws.rs.core.GenericType> getSchemas()
AbstractOpenApiSchemagetSchemas in class AbstractOpenApiSchemapublic void setActualInstance(Object instance)
It could be an instance of the 'oneOf' schemas. The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf).
setActualInstance in class AbstractOpenApiSchemainstance - the actual instance of the schema/objectpublic Object getActualInstance()
getActualInstance in class AbstractOpenApiSchemapublic SyntheticsAssertionTarget getSyntheticsAssertionTarget() throws ClassCastException
ClassCastException - if the instance is not `SyntheticsAssertionTarget`public SyntheticsAssertionBodyHashTarget getSyntheticsAssertionBodyHashTarget() throws ClassCastException
ClassCastException - if the instance is not `SyntheticsAssertionBodyHashTarget`public SyntheticsAssertionJSONPathTarget getSyntheticsAssertionJSONPathTarget() throws ClassCastException
ClassCastException - if the instance is not `SyntheticsAssertionJSONPathTarget`public SyntheticsAssertionJSONSchemaTarget getSyntheticsAssertionJSONSchemaTarget() throws ClassCastException
ClassCastException - if the instance is not `SyntheticsAssertionJSONSchemaTarget`public SyntheticsAssertionXPathTarget getSyntheticsAssertionXPathTarget() throws ClassCastException
ClassCastException - if the instance is not `SyntheticsAssertionXPathTarget`Copyright © 2024. All rights reserved.