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