Package com.datadog.api.client.v1.model
Class SyntheticsAPITest
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsAPITest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsAPITest
extends Object
Object containing details about a Synthetic API test.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSyntheticsAPITest(SyntheticsAPITestConfig config, List<String> locations, String message, String name, SyntheticsTestOptions options, SyntheticsAPITestType type) -
Method Summary
Modifier and TypeMethodDescriptionaddLocationsItem(String locationsItem) addTagsItem(String tagsItem) config(SyntheticsAPITestConfig config) booleanReturn true if this SyntheticsAPITest object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Configuration object for a Synthetic API test.Array of locations used to run the test.Notification message associated with the test.The associated monitor ID.getName()Name of the test.Object describing the extra options for a Synthetic test.The public ID for the test.Define whether you want to start (live) or pause (paused) a Synthetic test.The subtype of the Synthetic API test,http,ssl,tcp,dns,icmp,udp,websocket,grpcormulti.getTags()Array of tags attached to the test.getType()Type of the Synthetic test,api.inthashCode()options(SyntheticsTestOptions options) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetConfig(SyntheticsAPITestConfig config) voidsetLocations(List<String> locations) voidsetMessage(String message) voidvoidsetOptions(SyntheticsTestOptions options) voidsetStatus(SyntheticsTestPauseStatus status) voidsetSubtype(SyntheticsTestDetailsSubType subtype) voidvoidsetType(SyntheticsAPITestType type) status(SyntheticsTestPauseStatus status) subtype(SyntheticsTestDetailsSubType subtype) toString()type(SyntheticsAPITestType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONFIG
- See Also:
-
JSON_PROPERTY_LOCATIONS
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_MONITOR_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OPTIONS
- See Also:
-
JSON_PROPERTY_PUBLIC_ID
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_SUBTYPE
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
SyntheticsAPITest
public SyntheticsAPITest() -
SyntheticsAPITest
public SyntheticsAPITest(SyntheticsAPITestConfig config, List<String> locations, String message, String name, SyntheticsTestOptions options, SyntheticsAPITestType type)
-
-
Method Details
-
config
-
getConfig
Configuration object for a Synthetic API test.- Returns:
- config
-
setConfig
-
locations
-
addLocationsItem
-
getLocations
Array of locations used to run the test.- Returns:
- locations
-
setLocations
-
message
-
getMessage
Notification message associated with the test.- Returns:
- message
-
setMessage
-
getMonitorId
The associated monitor ID.- Returns:
- monitorId
-
name
-
getName
Name of the test.- Returns:
- name
-
setName
-
options
-
getOptions
Object describing the extra options for a Synthetic test.- Returns:
- options
-
setOptions
-
getPublicId
The public ID for the test.- Returns:
- publicId
-
status
-
getStatus
Define whether you want to start (live) or pause (paused) a Synthetic test.- Returns:
- status
-
setStatus
-
subtype
-
getSubtype
The subtype of the Synthetic API test,http,ssl,tcp,dns,icmp,udp,websocket,grpcormulti.- Returns:
- subtype
-
setSubtype
-
tags
-
addTagsItem
-
getTags
Array of tags attached to the test.- Returns:
- tags
-
setTags
-
type
-
getType
Type of the Synthetic test,api.- Returns:
- type
-
setType
-
putAdditionalProperty
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:
- SyntheticsAPITest
-
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 SyntheticsAPITest object is equal to o. -
hashCode
public int hashCode() -
toString
-