Package com.datadog.api.client.v1.model
Class WidgetSortBy
java.lang.Object
com.datadog.api.client.v1.model.WidgetSortBy
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class WidgetSortBy
extends Object
The controls for sorting the widget.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOrderByItem(WidgetSortOrderBy orderByItem) booleanReturn true if this WidgetSortBy object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCount()The number of items to limit the widget to.The array of items to sort the widget by in order.inthashCode()orderBy(List<WidgetSortOrderBy> orderBy) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetOrderBy(List<WidgetSortOrderBy> orderBy) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COUNT
- See Also:
-
JSON_PROPERTY_ORDER_BY
- See Also:
-
-
Constructor Details
-
WidgetSortBy
public WidgetSortBy()
-
-
Method Details
-
count
-
getCount
The number of items to limit the widget to. minimum: 0- Returns:
- count
-
setCount
-
orderBy
-
addOrderByItem
-
getOrderBy
The array of items to sort the widget by in order.- Returns:
- orderBy
-
setOrderBy
-
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:
- WidgetSortBy
-
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 WidgetSortBy object is equal to o. -
hashCode
public int hashCode() -
toString
-