Package com.datadog.api.client.v1.model
Class HostMapWidgetScalarRequest
java.lang.Object
com.datadog.api.client.v1.model.HostMapWidgetScalarRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class HostMapWidgetScalarRequest
extends Object
Scalar formula request for the infrastructure host map widget. Each formula specifies which
visual dimension it drives.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHostMapWidgetScalarRequest(List<HostMapWidgetFormula> formulas, List<FormulaAndFunctionQueryDefinition> queries, HostMapWidgetScalarRequestResponseFormat responseFormat) -
Method Summary
Modifier and TypeMethodDescriptionaddFormulasItem(HostMapWidgetFormula formulasItem) addQueriesItem(FormulaAndFunctionQueryDefinition queriesItem) booleanReturn true if this HostMapWidgetScalarRequest object is equal to o.formulas(List<HostMapWidgetFormula> formulas) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.List of formulas that operate on queries, each assigned to a visual dimension.List of queries that can be returned directly or used in formulas.Response format for the scalar formula request.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.queries(List<FormulaAndFunctionQueryDefinition> queries) responseFormat(HostMapWidgetScalarRequestResponseFormat responseFormat) voidsetFormulas(List<HostMapWidgetFormula> formulas) voidsetQueries(List<FormulaAndFunctionQueryDefinition> queries) voidsetResponseFormat(HostMapWidgetScalarRequestResponseFormat responseFormat) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FORMULAS
- See Also:
-
JSON_PROPERTY_QUERIES
- See Also:
-
JSON_PROPERTY_RESPONSE_FORMAT
- See Also:
-
-
Constructor Details
-
HostMapWidgetScalarRequest
public HostMapWidgetScalarRequest() -
HostMapWidgetScalarRequest
public HostMapWidgetScalarRequest(List<HostMapWidgetFormula> formulas, List<FormulaAndFunctionQueryDefinition> queries, HostMapWidgetScalarRequestResponseFormat responseFormat)
-
-
Method Details
-
formulas
-
addFormulasItem
-
getFormulas
List of formulas that operate on queries, each assigned to a visual dimension.- Returns:
- formulas
-
setFormulas
-
queries
-
addQueriesItem
-
getQueries
List of queries that can be returned directly or used in formulas.- Returns:
- queries
-
setQueries
-
responseFormat
public HostMapWidgetScalarRequest responseFormat(HostMapWidgetScalarRequestResponseFormat responseFormat) -
getResponseFormat
Response format for the scalar formula request. Onlyscalaris supported.- Returns:
- responseFormat
-
setResponseFormat
-
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:
- HostMapWidgetScalarRequest
-
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 HostMapWidgetScalarRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-