Package com.datadog.api.client.v1.model
Class UsageLogsResponse
java.lang.Object
com.datadog.api.client.v1.model.UsageLogsResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UsageLogsResponse
extends Object
Response containing the number of logs for each hour.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddUsageItem(UsageLogsHour usageItem) booleanReturn true if this UsageLogsResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getUsage()An array of objects regarding hourly usage of logs.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetUsage(List<UsageLogsHour> usage) toString()usage(List<UsageLogsHour> usage)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_USAGE
- See Also:
-
-
Constructor Details
-
UsageLogsResponse
public UsageLogsResponse()
-
-
Method Details
-
usage
-
addUsageItem
-
getUsage
An array of objects regarding hourly usage of logs.- 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:
- UsageLogsResponse
-
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 UsageLogsResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-