Package com.datadog.api.client.v2.model
Class DowntimeResponse
java.lang.Object
com.datadog.api.client.v2.model.DowntimeResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DowntimeResponse
extends Object
Downtiming gives you greater control over monitor notifications by allowing you to globally
exclude scopes from alerting. Downtime settings, which can be scheduled with start and end times,
prevent all alerting related to specified Datadog tags.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddIncludedItem(DowntimeResponseIncludedItem includedItem) data(DowntimeResponseData data) booleanReturn true if this DowntimeResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getData()Downtime data.Array of objects related to the downtime that the user requested.inthashCode()included(List<DowntimeResponseIncludedItem> included) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetData(DowntimeResponseData data) voidsetIncluded(List<DowntimeResponseIncludedItem> included) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DATA
- See Also:
-
JSON_PROPERTY_INCLUDED
- See Also:
-
-
Constructor Details
-
DowntimeResponse
public DowntimeResponse()
-
-
Method Details
-
data
-
getData
Downtime data.- Returns:
- data
-
setData
-
included
-
addIncludedItem
-
getIncluded
Array of objects related to the downtime that the user requested.- Returns:
- included
-
setIncluded
-
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:
- DowntimeResponse
-
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 DowntimeResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-