Package com.datadog.api.client.v2.model
Class SyntheticsTestVersionAttributes
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsTestVersionAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsTestVersionAttributes
extends Object
Attributes of a specific Synthetic test version.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddChangeMetadataItem(SyntheticsTestVersionChangeMetadataItem changeMetadataItem) author(SyntheticsTestVersionAuthor author) changeMetadata(List<SyntheticsTestVersionChangeMetadataItem> changeMetadata) booleanReturn true if this SyntheticsTestVersionAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Object describing the author of a test version.List of metadata describing individual changes in this version.The full test configuration at this version.Timestamp of when this version was created.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putPayloadItem(String key, Object payloadItem) voidsetAuthor(SyntheticsTestVersionAuthor author) voidsetChangeMetadata(List<SyntheticsTestVersionChangeMetadataItem> changeMetadata) voidsetPayload(Map<String, Object> payload) voidsetVersionPayloadCreatedAt(OffsetDateTime versionPayloadCreatedAt) toString()versionPayloadCreatedAt(OffsetDateTime versionPayloadCreatedAt)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTHOR
- See Also:
-
JSON_PROPERTY_CHANGE_METADATA
- See Also:
-
JSON_PROPERTY_PAYLOAD
- See Also:
-
JSON_PROPERTY_VERSION_PAYLOAD_CREATED_AT
- See Also:
-
-
Constructor Details
-
SyntheticsTestVersionAttributes
public SyntheticsTestVersionAttributes()
-
-
Method Details
-
author
-
getAuthor
Object describing the author of a test version.- Returns:
- author
-
setAuthor
-
changeMetadata
public SyntheticsTestVersionAttributes changeMetadata(List<SyntheticsTestVersionChangeMetadataItem> changeMetadata) -
addChangeMetadataItem
public SyntheticsTestVersionAttributes addChangeMetadataItem(SyntheticsTestVersionChangeMetadataItem changeMetadataItem) -
getChangeMetadata
List of metadata describing individual changes in this version. Only returned when theinclude_change_metadataquery parameter istrue.- Returns:
- changeMetadata
-
setChangeMetadata
-
payload
-
putPayloadItem
-
getPayload
The full test configuration at this version.- Returns:
- payload
-
setPayload
-
versionPayloadCreatedAt
public SyntheticsTestVersionAttributes versionPayloadCreatedAt(OffsetDateTime versionPayloadCreatedAt) -
getVersionPayloadCreatedAt
Timestamp of when this version was created.- Returns:
- versionPayloadCreatedAt
-
setVersionPayloadCreatedAt
-
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:
- SyntheticsTestVersionAttributes
-
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 SyntheticsTestVersionAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-