Package com.datadog.api.client.v2.model
Class ScorecardScoreAttributes
java.lang.Object
com.datadog.api.client.v2.model.ScorecardScoreAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ScorecardScoreAttributes
extends Object
Attributes of a scorecard score.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregation(ScorecardScoresAggregation aggregation) denominator(Long denominator) booleanReturn true if this ScorecardScoreAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Dimension to group scores by.The denominator used to compute the score ratio.getLevel()The maturity level of the associated rule.The numerator used to compute the score ratio.getScore()The computed score ratio (numerator/denominator), from 0 to 1.The total number of entities evaluated.The number of rules that failed.The number of rules with no data.The number of rules that passed.The number of rules that were skipped.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAggregation(ScorecardScoresAggregation aggregation) voidsetDenominator(Long denominator) voidvoidsetNumerator(Long numerator) voidvoidsetTotalEntities(Long totalEntities) voidsetTotalFail(Long totalFail) voidsetTotalNoData(Long totalNoData) voidsetTotalPass(Long totalPass) voidsetTotalSkip(Long totalSkip) toString()totalEntities(Long totalEntities) totalNoData(Long totalNoData)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AGGREGATION
- See Also:
-
JSON_PROPERTY_DENOMINATOR
- See Also:
-
JSON_PROPERTY_LEVEL
- See Also:
-
JSON_PROPERTY_NUMERATOR
- See Also:
-
JSON_PROPERTY_SCORE
- See Also:
-
JSON_PROPERTY_TOTAL_ENTITIES
- See Also:
-
JSON_PROPERTY_TOTAL_FAIL
- See Also:
-
JSON_PROPERTY_TOTAL_NO_DATA
- See Also:
-
JSON_PROPERTY_TOTAL_PASS
- See Also:
-
JSON_PROPERTY_TOTAL_SKIP
- See Also:
-
-
Constructor Details
-
ScorecardScoreAttributes
public ScorecardScoreAttributes()
-
-
Method Details
-
aggregation
-
getAggregation
Dimension to group scores by.- Returns:
- aggregation
-
setAggregation
-
denominator
-
getDenominator
The denominator used to compute the score ratio.- Returns:
- denominator
-
setDenominator
-
level
-
getLevel
The maturity level of the associated rule.- Returns:
- level
-
setLevel
-
numerator
-
getNumerator
The numerator used to compute the score ratio.- Returns:
- numerator
-
setNumerator
-
score
-
getScore
The computed score ratio (numerator/denominator), from 0 to 1.- Returns:
- score
-
setScore
-
totalEntities
-
getTotalEntities
The total number of entities evaluated.- Returns:
- totalEntities
-
setTotalEntities
-
totalFail
-
getTotalFail
The number of rules that failed.- Returns:
- totalFail
-
setTotalFail
-
totalNoData
-
getTotalNoData
The number of rules with no data.- Returns:
- totalNoData
-
setTotalNoData
-
totalPass
-
getTotalPass
The number of rules that passed.- Returns:
- totalPass
-
setTotalPass
-
totalSkip
-
getTotalSkip
The number of rules that were skipped.- Returns:
- totalSkip
-
setTotalSkip
-
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:
- ScorecardScoreAttributes
-
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 ScorecardScoreAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-