Package com.datadog.api.client.v2.model
Class TriggerRateLimit
java.lang.Object
com.datadog.api.client.v2.model.TriggerRateLimit
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TriggerRateLimit
extends Object
Defines a rate limit for a trigger.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this TriggerRateLimit object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCount()TheTriggerRateLimitcount.TheTriggerRateLimitinterval.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetInterval(String interval) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COUNT
- See Also:
-
JSON_PROPERTY_INTERVAL
- See Also:
-
-
Constructor Details
-
TriggerRateLimit
public TriggerRateLimit()
-
-
Method Details
-
count
-
getCount
TheTriggerRateLimitcount.- Returns:
- count
-
setCount
-
interval
-
getInterval
TheTriggerRateLimitinterval. The expected format is the number of seconds ending with an s. For example, 1 day is 86400s- Returns:
- interval
-
setInterval
-
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:
- TriggerRateLimit
-
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 TriggerRateLimit object is equal to o. -
hashCode
public int hashCode() -
toString
-