Package com.datadog.api.client.v2.model
Class WidgetResponse
java.lang.Object
com.datadog.api.client.v2.model.WidgetResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class WidgetResponse
extends Object
Response containing a single widget.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddIncludedItem(WidgetIncludedUser includedItem) data(WidgetData data) booleanReturn true if this WidgetResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getData()A widget resource object.Array of user resources related to the widget.inthashCode()included(List<WidgetIncludedUser> included) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetData(WidgetData data) voidsetIncluded(List<WidgetIncludedUser> included) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DATA
- See Also:
-
JSON_PROPERTY_INCLUDED
- See Also:
-
-
Constructor Details
-
WidgetResponse
public WidgetResponse() -
WidgetResponse
-
-
Method Details
-
data
-
getData
A widget resource object.- Returns:
- data
-
setData
-
included
-
addIncludedItem
-
getIncluded
Array of user resources related to the widget.- 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:
- WidgetResponse
-
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 WidgetResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-