Package com.datadog.api.client.v2.model
Class GovernanceInsightPercentageQuery
java.lang.Object
com.datadog.api.client.v2.model.GovernanceInsightPercentageQuery
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class GovernanceInsightPercentageQuery
extends Object
A percentage query that computes an insight value as a ratio of two metric queries.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGovernanceInsightPercentageQuery(GovernanceInsightMetricQuery denominatorQuery, GovernanceInsightMetricQuery numeratorQuery) -
Method Summary
Modifier and TypeMethodDescriptiondenominatorQuery(GovernanceInsightMetricQuery denominatorQuery) booleanReturn true if this GovernanceInsightPercentageQuery object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A metric query used to compute an insight value.A metric query used to compute an insight value.inthashCode()numeratorQuery(GovernanceInsightMetricQuery numeratorQuery) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDenominatorQuery(GovernanceInsightMetricQuery denominatorQuery) voidsetNumeratorQuery(GovernanceInsightMetricQuery numeratorQuery) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DENOMINATOR_QUERY
- See Also:
-
JSON_PROPERTY_NUMERATOR_QUERY
- See Also:
-
-
Constructor Details
-
GovernanceInsightPercentageQuery
public GovernanceInsightPercentageQuery() -
GovernanceInsightPercentageQuery
public GovernanceInsightPercentageQuery(GovernanceInsightMetricQuery denominatorQuery, GovernanceInsightMetricQuery numeratorQuery)
-
-
Method Details
-
denominatorQuery
public GovernanceInsightPercentageQuery denominatorQuery(GovernanceInsightMetricQuery denominatorQuery) -
getDenominatorQuery
A metric query used to compute an insight value.- Returns:
- denominatorQuery
-
setDenominatorQuery
-
numeratorQuery
-
getNumeratorQuery
A metric query used to compute an insight value.- Returns:
- numeratorQuery
-
setNumeratorQuery
-
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:
- GovernanceInsightPercentageQuery
-
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 GovernanceInsightPercentageQuery object is equal to o. -
hashCode
public int hashCode() -
toString
-