Package com.datadog.api.client.v1.model
Class SyntheticsAssertionMCPServerCapabilitiesTarget
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsAssertionMCPServerCapabilitiesTarget
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsAssertionMCPServerCapabilitiesTarget
extends Object
An assertion that checks that an MCP server advertises the expected capabilities.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSyntheticsAssertionMCPServerCapabilitiesTarget(SyntheticsAssertionOperator operator, List<SyntheticsMCPServerCapability> target, SyntheticsAssertionMCPServerCapabilitiesType type) -
Method Summary
Modifier and TypeMethodDescriptionaddTargetItem(SyntheticsMCPServerCapability targetItem) booleanReturn true if this SyntheticsAssertionMCPServerCapabilitiesTarget object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Assertion operator to apply.List of MCP server capabilities to assert against.getType()Type of the assertion.inthashCode()operator(SyntheticsAssertionOperator operator) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetOperator(SyntheticsAssertionOperator operator) voidsetTarget(List<SyntheticsMCPServerCapability> target) voidtarget(List<SyntheticsMCPServerCapability> target) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_OPERATOR
- See Also:
-
JSON_PROPERTY_TARGET
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
SyntheticsAssertionMCPServerCapabilitiesTarget
public SyntheticsAssertionMCPServerCapabilitiesTarget() -
SyntheticsAssertionMCPServerCapabilitiesTarget
public SyntheticsAssertionMCPServerCapabilitiesTarget(SyntheticsAssertionOperator operator, List<SyntheticsMCPServerCapability> target, SyntheticsAssertionMCPServerCapabilitiesType type)
-
-
Method Details
-
operator
public SyntheticsAssertionMCPServerCapabilitiesTarget operator(SyntheticsAssertionOperator operator) -
getOperator
Assertion operator to apply.- Returns:
- operator
-
setOperator
-
target
public SyntheticsAssertionMCPServerCapabilitiesTarget target(List<SyntheticsMCPServerCapability> target) -
addTargetItem
public SyntheticsAssertionMCPServerCapabilitiesTarget addTargetItem(SyntheticsMCPServerCapability targetItem) -
getTarget
List of MCP server capabilities to assert against.- Returns:
- target
-
setTarget
-
type
-
getType
Type of the assertion.- Returns:
- type
-
setType
-
putAdditionalProperty
public SyntheticsAssertionMCPServerCapabilitiesTarget 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 setvalue- The associated value- Returns:
- SyntheticsAssertionMCPServerCapabilitiesTarget
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this SyntheticsAssertionMCPServerCapabilitiesTarget object is equal to o. -
hashCode
public int hashCode() -
toString
-