Package com.datadog.api.client.v2.model
Class SyntheticsNetworkAssertionPacketLossPercentage
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsNetworkAssertionPacketLossPercentage
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsNetworkAssertionPacketLossPercentage
extends Object
Packet loss percentage assertion for a Network Path test.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSyntheticsNetworkAssertionPacketLossPercentage(SyntheticsNetworkAssertionOperator operator, Double target, SyntheticsNetworkAssertionPacketLossPercentageType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SyntheticsNetworkAssertionPacketLossPercentage object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Assertion operator to apply.Target value as a percentage (0 to 1).getType()Type of the packet loss percentage assertion.inthashCode()operator(SyntheticsNetworkAssertionOperator operator) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_OPERATOR
- See Also:
-
JSON_PROPERTY_TARGET
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
SyntheticsNetworkAssertionPacketLossPercentage
public SyntheticsNetworkAssertionPacketLossPercentage() -
SyntheticsNetworkAssertionPacketLossPercentage
public SyntheticsNetworkAssertionPacketLossPercentage(SyntheticsNetworkAssertionOperator operator, Double target, SyntheticsNetworkAssertionPacketLossPercentageType type)
-
-
Method Details
-
operator
public SyntheticsNetworkAssertionPacketLossPercentage operator(SyntheticsNetworkAssertionOperator operator) -
getOperator
Assertion operator to apply.- Returns:
- operator
-
setOperator
-
target
-
getTarget
Target value as a percentage (0 to 1). minimum: 0 maximum: 1- Returns:
- target
-
setTarget
-
type
-
getType
Type of the packet loss percentage assertion.- Returns:
- type
-
setType
-
putAdditionalProperty
public SyntheticsNetworkAssertionPacketLossPercentage 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:
- SyntheticsNetworkAssertionPacketLossPercentage
-
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 SyntheticsNetworkAssertionPacketLossPercentage object is equal to o. -
hashCode
public int hashCode() -
toString
-