Package com.datadog.api.client.v2.model
Class MaintenanceArray
java.lang.Object
com.datadog.api.client.v2.model.MaintenanceArray
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MaintenanceArray
extends Object
Response object for a list of maintenances.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDataItem(MaintenanceData dataItem) addIncludedItem(DegradationIncluded includedItem) data(List<MaintenanceData> data) booleanReturn true if this MaintenanceArray object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getData()A list of maintenance data objects.The included related resources of a maintenance.getMeta()Response metadata.inthashCode()included(List<DegradationIncluded> included) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetData(List<MaintenanceData> data) voidsetIncluded(List<DegradationIncluded> included) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DATA
- See Also:
-
JSON_PROPERTY_INCLUDED
- See Also:
-
JSON_PROPERTY_META
- See Also:
-
-
Constructor Details
-
MaintenanceArray
public MaintenanceArray() -
MaintenanceArray
-
-
Method Details
-
data
-
addDataItem
-
getData
A list of maintenance data objects.- Returns:
- data
-
setData
-
included
-
addIncludedItem
-
getIncluded
The included related resources of a maintenance. Client must explicitly request these resources by name in theincludequery parameter.- Returns:
- included
-
setIncluded
-
getMeta
Response metadata.- Returns:
- meta
-
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:
- MaintenanceArray
-
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 MaintenanceArray object is equal to o. -
hashCode
public int hashCode() -
toString
-