Package com.datadog.api.client.v2.model
Class ProductAnalyticsRetentionFixedTimeInterval
java.lang.Object
com.datadog.api.client.v2.model.ProductAnalyticsRetentionFixedTimeInterval
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ProductAnalyticsRetentionFixedTimeInterval
extends Object
A retention interval of fixed length, such as "7 days".
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProductAnalyticsRetentionFixedTimeInterval(ProductAnalyticsRetentionFixedTimeIntervalType type, ProductAnalyticsRetentionFixedTimeIntervalUnit unit, Double value) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ProductAnalyticsRetentionFixedTimeInterval object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getType()The discriminator identifying a fixed-length retention interval.getUnit()Time unit for a fixed-length retention interval.getValue()Length of the interval, expressed inunit.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_UNIT
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
-
Constructor Details
-
ProductAnalyticsRetentionFixedTimeInterval
public ProductAnalyticsRetentionFixedTimeInterval() -
ProductAnalyticsRetentionFixedTimeInterval
public ProductAnalyticsRetentionFixedTimeInterval(ProductAnalyticsRetentionFixedTimeIntervalType type, ProductAnalyticsRetentionFixedTimeIntervalUnit unit, Double value)
-
-
Method Details
-
type
-
getType
The discriminator identifying a fixed-length retention interval.- Returns:
- type
-
setType
-
unit
-
getUnit
Time unit for a fixed-length retention interval.- Returns:
- unit
-
setUnit
-
value
-
getValue
Length of the interval, expressed inunit. minimum: 0- Returns:
- value
-
setValue
-
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:
- ProductAnalyticsRetentionFixedTimeInterval
-
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 ProductAnalyticsRetentionFixedTimeInterval object is equal to o. -
hashCode
public int hashCode() -
toString
-