Package com.datadog.api.client.v1.model
Class UsageCWSHour
java.lang.Object
com.datadog.api.client.v1.model.UsageCWSHour
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UsageCWSHour
extends Object
Cloud Workload Security usage for a given organization for a given hour.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncwsContainerCount(Long cwsContainerCount) cwsHostCount(Long cwsHostCount) booleanReturn true if this UsageCWSHour object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The total number of Cloud Workload Security container hours from the start of the given hour’s month until the given hour.org.openapitools.jackson.nullable.JsonNullable<Long>The total number of Cloud Workload Security host hours from the start of the given hour’s month until the given hour.org.openapitools.jackson.nullable.JsonNullable<Long>getHour()The hour for the usage.The organization name.The organization public ID.inthashCode()hour(OffsetDateTime hour) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCwsContainerCount(Long cwsContainerCount) voidsetCwsContainerCount_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> cwsContainerCount) voidsetCwsHostCount(Long cwsHostCount) voidsetCwsHostCount_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> cwsHostCount) voidsetHour(OffsetDateTime hour) voidsetOrgName(String orgName) voidsetPublicId(String publicId) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CWS_CONTAINER_COUNT
- See Also:
-
JSON_PROPERTY_CWS_HOST_COUNT
- See Also:
-
JSON_PROPERTY_HOUR
- See Also:
-
JSON_PROPERTY_ORG_NAME
- See Also:
-
JSON_PROPERTY_PUBLIC_ID
- See Also:
-
-
Constructor Details
-
UsageCWSHour
public UsageCWSHour()
-
-
Method Details
-
cwsContainerCount
-
getCwsContainerCount
The total number of Cloud Workload Security container hours from the start of the given hour’s month until the given hour.- Returns:
- cwsContainerCount
-
getCwsContainerCount_JsonNullable
-
setCwsContainerCount_JsonNullable
public void setCwsContainerCount_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> cwsContainerCount) -
setCwsContainerCount
-
cwsHostCount
-
getCwsHostCount
The total number of Cloud Workload Security host hours from the start of the given hour’s month until the given hour.- Returns:
- cwsHostCount
-
getCwsHostCount_JsonNullable
-
setCwsHostCount_JsonNullable
public void setCwsHostCount_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> cwsHostCount) -
setCwsHostCount
-
hour
-
getHour
The hour for the usage.- Returns:
- hour
-
setHour
-
orgName
-
getOrgName
The organization name.- Returns:
- orgName
-
setOrgName
-
publicId
-
getPublicId
The organization public ID.- Returns:
- publicId
-
setPublicId
-
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:
- UsageCWSHour
-
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 UsageCWSHour object is equal to o. -
hashCode
public int hashCode() -
toString
-