Package com.datadog.api.client.v2.model
Class ListDowntimesResponse
java.lang.Object
com.datadog.api.client.v2.model.ListDowntimesResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ListDowntimesResponse
extends Object
Response for retrieving all downtimes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDataItem(DowntimeResponseData dataItem) addIncludedItem(DowntimeResponseIncludedItem includedItem) data(List<DowntimeResponseData> data) booleanReturn true if this ListDowntimesResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getData()An array of downtimes.Array of objects related to the downtimes.getMeta()Pagination metadata returned by the API.inthashCode()included(List<DowntimeResponseIncludedItem> included) meta(DowntimeMeta meta) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetData(List<DowntimeResponseData> data) voidsetIncluded(List<DowntimeResponseIncludedItem> included) voidsetMeta(DowntimeMeta meta) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DATA
- See Also:
-
JSON_PROPERTY_INCLUDED
- See Also:
-
JSON_PROPERTY_META
- See Also:
-
-
Constructor Details
-
ListDowntimesResponse
public ListDowntimesResponse()
-
-
Method Details
-
data
-
addDataItem
-
getData
An array of downtimes.- Returns:
- data
-
setData
-
included
-
addIncludedItem
-
getIncluded
Array of objects related to the downtimes.- Returns:
- included
-
setIncluded
-
meta
-
getMeta
Pagination metadata returned by the API.- Returns:
- meta
-
setMeta
-
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:
- ListDowntimesResponse
-
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 ListDowntimesResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-