Package com.datadog.api.client.v2.model
Class TagRuleScoreAttributes
java.lang.Object
com.datadog.api.client.v2.model.TagRuleScoreAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TagRuleScoreAttributes
extends Object
Attributes of a tag rule compliance score.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTagRuleScoreAttributes(Double score, Long tsEnd, Long tsStart, Long version) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this TagRuleScoreAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getScore()The compliance score for the rule over the requested time window, as a percentage between 0 and 100.getTsEnd()End of the time window the score was computed over, as a Unix timestamp in milliseconds.Start of the time window the score was computed over, as a Unix timestamp in milliseconds.The version of the tag rule that the score was computed against.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidsetTsStart(Long tsStart) voidsetVersion(Long version) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_SCORE
- See Also:
-
JSON_PROPERTY_TS_END
- See Also:
-
JSON_PROPERTY_TS_START
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
TagRuleScoreAttributes
public TagRuleScoreAttributes() -
TagRuleScoreAttributes
-
-
Method Details
-
score
-
getScore
The compliance score for the rule over the requested time window, as a percentage between 0 and 100.nullindicates that no relevant telemetry was found.- Returns:
- score
-
setScore
-
tsEnd
-
getTsEnd
End of the time window the score was computed over, as a Unix timestamp in milliseconds.- Returns:
- tsEnd
-
setTsEnd
-
tsStart
-
getTsStart
Start of the time window the score was computed over, as a Unix timestamp in milliseconds.- Returns:
- tsStart
-
setTsStart
-
version
-
getVersion
The version of the tag rule that the score was computed against.- Returns:
- version
-
setVersion
-
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:
- TagRuleScoreAttributes
-
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 TagRuleScoreAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-