Package com.datadog.api.client.v1.model
Class WidgetLayout
java.lang.Object
com.datadog.api.client.v1.model.WidgetLayout
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class WidgetLayout
extends Object
The layout for a widget on a
free or new dashboard layout
dashboard.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this WidgetLayout object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The height of the widget.Whether the widget should be the first one on the second column in high density or not.getWidth()The width of the widget.getX()The position of the widget on the x (horizontal) axis.getY()The position of the widget on the y (vertical) axis.inthashCode()isColumnBreak(Boolean isColumnBreak) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetIsColumnBreak(Boolean isColumnBreak) voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_HEIGHT
- See Also:
-
JSON_PROPERTY_IS_COLUMN_BREAK
- See Also:
-
JSON_PROPERTY_WIDTH
- See Also:
-
JSON_PROPERTY_X
- See Also:
-
JSON_PROPERTY_Y
- See Also:
-
-
Constructor Details
-
WidgetLayout
public WidgetLayout() -
WidgetLayout
-
-
Method Details
-
height
-
getHeight
The height of the widget. Should be a non-negative integer. minimum: 0- Returns:
- height
-
setHeight
-
isColumnBreak
-
getIsColumnBreak
Whether the widget should be the first one on the second column in high density or not. Note: Only for the new dashboard layout and only one widget in the dashboard should have this property set totrue.- Returns:
- isColumnBreak
-
setIsColumnBreak
-
width
-
getWidth
The width of the widget. Should be a non-negative integer. minimum: 0- Returns:
- width
-
setWidth
-
x
-
getX
The position of the widget on the x (horizontal) axis. Should be a non-negative integer. minimum: 0- Returns:
- x
-
setX
-
y
-
getY
The position of the widget on the y (vertical) axis. Should be a non-negative integer. minimum: 0- Returns:
- y
-
setY
-
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:
- WidgetLayout
-
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 WidgetLayout object is equal to o. -
hashCode
public int hashCode() -
toString
-