Package com.datadog.api.client.v1.model
Class UsageLogsByRetentionResponse
java.lang.Object
com.datadog.api.client.v1.model.UsageLogsByRetentionResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UsageLogsByRetentionResponse
extends Object
Response containing the indexed logs usage broken down by retention period for an organization
during a given hour.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddUsageItem(UsageLogsByRetentionHour usageItem) booleanReturn true if this UsageLogsByRetentionResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getUsage()Get hourly usage for indexed logs by retention period.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetUsage(List<UsageLogsByRetentionHour> usage) toString()usage(List<UsageLogsByRetentionHour> usage)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_USAGE
- See Also:
-
-
Constructor Details
-
UsageLogsByRetentionResponse
public UsageLogsByRetentionResponse()
-
-
Method Details
-
usage
-
addUsageItem
-
getUsage
Get hourly usage for indexed logs by retention period.- Returns:
- usage
-
setUsage
-
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:
- UsageLogsByRetentionResponse
-
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 UsageLogsByRetentionResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-