@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class WidgetSortBy extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_COUNT |
static String |
JSON_PROPERTY_ORDER_BY |
boolean |
unparsed |
| Constructor and Description |
|---|
WidgetSortBy() |
| Modifier and Type | Method and Description |
|---|---|
WidgetSortBy |
addOrderByItem(WidgetSortOrderBy orderByItem) |
WidgetSortBy |
count(Long count) |
boolean |
equals(Object o)
Return true if this WidgetSortBy object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Long |
getCount()
The number of items to limit the widget to.
|
List<WidgetSortOrderBy> |
getOrderBy()
The array of items to sort the widget by in order.
|
int |
hashCode() |
WidgetSortBy |
orderBy(List<WidgetSortOrderBy> orderBy) |
WidgetSortBy |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCount(Long count) |
void |
setOrderBy(List<WidgetSortOrderBy> orderBy) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_COUNT
public static final String JSON_PROPERTY_ORDER_BY
public WidgetSortBy count(Long count)
@Nullable public Long getCount()
public void setCount(Long count)
public WidgetSortBy orderBy(List<WidgetSortOrderBy> orderBy)
public WidgetSortBy addOrderByItem(WidgetSortOrderBy orderByItem)
@Nullable public List<WidgetSortOrderBy> getOrderBy()
public void setOrderBy(List<WidgetSortOrderBy> orderBy)
public WidgetSortBy putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.