Package com.datadog.api.client.v1.model
Class Widget
java.lang.Object
com.datadog.api.client.v1.model.Widget
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class Widget
extends Object
Information about widget.
Note: The layout property is required for widgets in dashboards
with free layout_type. For the new dashboard layout,
the layout property depends on the reflow_type of the dashboard. - If
reflow_type is fixed, layout is required. - If
reflow_type is auto, layout should not be set.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefinition(WidgetDefinition definition) booleanReturn true if this Widget object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getId()ID of the widget.The layout for a widget on afreeor new dashboard layout dashboard.inthashCode()layout(WidgetLayout layout) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDefinition(WidgetDefinition definition) voidvoidsetLayout(WidgetLayout layout) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DEFINITION
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_LAYOUT
- See Also:
-
-
Constructor Details
-
Widget
public Widget() -
Widget
-
-
Method Details
-
definition
-
getDefinition
- Returns:
- definition
-
setDefinition
-
id
-
getId
ID of the widget.- Returns:
- id
-
setId
-
layout
-
getLayout
The layout for a widget on afreeor new dashboard layout dashboard.- Returns:
- layout
-
setLayout
-
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:
- Widget
-
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 Widget object is equal to o. -
hashCode
public int hashCode() -
toString
-