Package com.datadog.api.client.v2.model
Class SyntheticsDowntimeDataAttributesResponse
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsDowntimeDataAttributesResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsDowntimeDataAttributesResponse
extends Object
Attributes of a Synthetics downtime response object.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSyntheticsDowntimeDataAttributesResponse(OffsetDateTime createdAt, String createdBy, String createdByName, String description, Boolean isEnabled, String name, List<String> tags, List<String> testIds, List<SyntheticsDowntimeTimeSlotResponse> timeSlots, OffsetDateTime updatedAt, String updatedBy, String updatedByName) -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) addTestIdsItem(String testIdsItem) addTimeSlotsItem(SyntheticsDowntimeTimeSlotResponse timeSlotsItem) createdAt(OffsetDateTime createdAt) createdByName(String createdByName) description(String description) booleanReturn true if this SyntheticsDowntimeDataAttributesResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The timestamp when the downtime was created.The UUID of the user who created the downtime.The display name of the user who created the downtime.The 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 in a Synthetics downtime response.The timestamp when the downtime was last updated.The UUID of the user who last updated the downtime.The display name of the user who last updated the downtime.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedBy(String createdBy) voidsetCreatedByName(String createdByName) voidsetDescription(String description) voidsetIsEnabled(Boolean isEnabled) voidvoidvoidsetTestIds(List<String> testIds) voidsetTimeSlots(List<SyntheticsDowntimeTimeSlotResponse> timeSlots) voidsetUpdatedAt(OffsetDateTime updatedAt) voidsetUpdatedBy(String updatedBy) voidsetUpdatedByName(String updatedByName) timeSlots(List<SyntheticsDowntimeTimeSlotResponse> timeSlots) toString()updatedAt(OffsetDateTime updatedAt) updatedByName(String updatedByName)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_CREATED_BY
- See Also:
-
JSON_PROPERTY_CREATED_BY_NAME
- See Also:
-
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:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
JSON_PROPERTY_UPDATED_BY
- See Also:
-
JSON_PROPERTY_UPDATED_BY_NAME
- See Also:
-
-
Constructor Details
-
SyntheticsDowntimeDataAttributesResponse
public SyntheticsDowntimeDataAttributesResponse() -
SyntheticsDowntimeDataAttributesResponse
public SyntheticsDowntimeDataAttributesResponse(OffsetDateTime createdAt, String createdBy, String createdByName, String description, Boolean isEnabled, String name, List<String> tags, List<String> testIds, List<SyntheticsDowntimeTimeSlotResponse> timeSlots, OffsetDateTime updatedAt, String updatedBy, String updatedByName)
-
-
Method Details
-
createdAt
-
getCreatedAt
The timestamp when the downtime was created.- Returns:
- createdAt
-
setCreatedAt
-
createdBy
-
getCreatedBy
The UUID of the user who created the downtime.- Returns:
- createdBy
-
setCreatedBy
-
createdByName
-
getCreatedByName
The display name of the user who created the downtime.- Returns:
- createdByName
-
setCreatedByName
-
description
-
getDescription
The 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 SyntheticsDowntimeDataAttributesResponse timeSlots(List<SyntheticsDowntimeTimeSlotResponse> timeSlots) -
addTimeSlotsItem
public SyntheticsDowntimeDataAttributesResponse addTimeSlotsItem(SyntheticsDowntimeTimeSlotResponse timeSlotsItem) -
getTimeSlots
List of time slots in a Synthetics downtime response.- Returns:
- timeSlots
-
setTimeSlots
-
updatedAt
-
getUpdatedAt
The timestamp when the downtime was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
updatedBy
-
getUpdatedBy
The UUID of the user who last updated the downtime.- Returns:
- updatedBy
-
setUpdatedBy
-
updatedByName
-
getUpdatedByName
The display name of the user who last updated the downtime.- Returns:
- updatedByName
-
setUpdatedByName
-
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:
- SyntheticsDowntimeDataAttributesResponse
-
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 SyntheticsDowntimeDataAttributesResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-