Package com.datadog.api.client.v2.model
Class SyntheticsDowntimeDataAttributesRequest
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsDowntimeDataAttributesRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsDowntimeDataAttributesRequest
extends Object
Attributes for creating or updating a Synthetics downtime.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSyntheticsDowntimeDataAttributesRequest(Boolean isEnabled, String name, List<String> testIds, List<SyntheticsDowntimeTimeSlotRequest> timeSlots) -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) addTestIdsItem(String testIdsItem) addTimeSlotsItem(SyntheticsDowntimeTimeSlotRequest timeSlotsItem) description(String description) booleanReturn true if this SyntheticsDowntimeDataAttributesRequest object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.An optional description of the downtime.Whether the downtime is enabled.getName()The name of the downtime.getTags()List of tags associated with a Synthetics downtime.List of Synthetics test public IDs associated with a downtime.List of time slots for a Synthetics downtime create or update request.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDescription(String description) voidsetIsEnabled(Boolean isEnabled) voidvoidvoidsetTestIds(List<String> testIds) voidsetTimeSlots(List<SyntheticsDowntimeTimeSlotRequest> timeSlots) timeSlots(List<SyntheticsDowntimeTimeSlotRequest> timeSlots) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_IS_ENABLED
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TEST_IDS
- See Also:
-
JSON_PROPERTY_TIME_SLOTS
- See Also:
-
-
Constructor Details
-
SyntheticsDowntimeDataAttributesRequest
public SyntheticsDowntimeDataAttributesRequest() -
SyntheticsDowntimeDataAttributesRequest
-
-
Method Details
-
description
-
getDescription
An optional description of the downtime.- Returns:
- description
-
setDescription
-
isEnabled
-
getIsEnabled
Whether the downtime is enabled.- Returns:
- isEnabled
-
setIsEnabled
-
name
-
getName
The name of the downtime.- Returns:
- name
-
setName
-
tags
-
addTagsItem
-
getTags
List of tags associated with a Synthetics downtime.- Returns:
- tags
-
setTags
-
testIds
-
addTestIdsItem
-
getTestIds
List of Synthetics test public IDs associated with a downtime.- Returns:
- testIds
-
setTestIds
-
timeSlots
public SyntheticsDowntimeDataAttributesRequest timeSlots(List<SyntheticsDowntimeTimeSlotRequest> timeSlots) -
addTimeSlotsItem
public SyntheticsDowntimeDataAttributesRequest addTimeSlotsItem(SyntheticsDowntimeTimeSlotRequest timeSlotsItem) -
getTimeSlots
List of time slots for a Synthetics downtime create or update request.- Returns:
- timeSlots
-
setTimeSlots
-
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:
- SyntheticsDowntimeDataAttributesRequest
-
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 SyntheticsDowntimeDataAttributesRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-