Package com.datadog.api.client.v1.model
Class WidgetFormulaSort
java.lang.Object
com.datadog.api.client.v1.model.WidgetFormulaSort
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class WidgetFormulaSort
extends Object
The formula to sort the widget by.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this WidgetFormulaSort object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getIndex()The index of the formula to sort by.getOrder()Widget sorting methods.getType()Set the sort type to formula.inthashCode()order(WidgetSort order) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetOrder(WidgetSort order) voidsetType(FormulaType type) toString()type(FormulaType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_INDEX
- See Also:
-
JSON_PROPERTY_ORDER
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
WidgetFormulaSort
public WidgetFormulaSort() -
WidgetFormulaSort
-
-
Method Details
-
index
-
getIndex
The index of the formula to sort by. minimum: 0- Returns:
- index
-
setIndex
-
order
-
getOrder
Widget sorting methods.- Returns:
- order
-
setOrder
-
type
-
getType
Set the sort type to formula.- 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:
- WidgetFormulaSort
-
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 WidgetFormulaSort object is equal to o. -
hashCode
public int hashCode() -
toString
-