Package com.datadog.api.client.v2.model
Class WidgetDefinition
java.lang.Object
com.datadog.api.client.v2.model.WidgetDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class WidgetDefinition
extends Object
The definition of a widget, including its type and configuration.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this WidgetDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getTitle()The display title of the widget.getType()Widget types that are allowed to be stored as individual records.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetType(WidgetType type) toString()type(WidgetType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
WidgetDefinition
public WidgetDefinition() -
WidgetDefinition
-
-
Method Details
-
title
-
getTitle
The display title of the widget.- Returns:
- title
-
setTitle
-
type
-
getType
Widget types that are allowed to be stored as individual records. This is not a complete list of dashboard and notebook widget types.- Returns:
- type
-
setType
-
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:
- WidgetDefinition
-
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 WidgetDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-