Package com.datadog.api.client.v2.model
Class ArbitraryRuleResponseDataAttributesStrategyAllocatedByItems
java.lang.Object
com.datadog.api.client.v2.model.ArbitraryRuleResponseDataAttributesStrategyAllocatedByItems
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ArbitraryRuleResponseDataAttributesStrategyAllocatedByItems
extends Object
The definition of
ArbitraryRuleResponseDataAttributesStrategyAllocatedByItems
object.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionArbitraryRuleResponseDataAttributesStrategyAllocatedByItems(List<ArbitraryRuleResponseDataAttributesStrategyAllocatedByItemsAllocatedTagsItems> allocatedTags, Double percentage) -
Method Summary
Modifier and TypeMethodDescriptionaddAllocatedTagsItem(ArbitraryRuleResponseDataAttributesStrategyAllocatedByItemsAllocatedTagsItems allocatedTagsItem) allocatedTags(List<ArbitraryRuleResponseDataAttributesStrategyAllocatedByItemsAllocatedTagsItems> allocatedTags) booleanReturn true if this ArbitraryRuleResponseDataAttributesStrategyAllocatedByItems object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Theitemsallocated_tags.Theitemspercentage.inthashCode()percentage(Double percentage) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAllocatedTags(List<ArbitraryRuleResponseDataAttributesStrategyAllocatedByItemsAllocatedTagsItems> allocatedTags) voidsetPercentage(Double percentage) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ALLOCATED_TAGS
- See Also:
-
JSON_PROPERTY_PERCENTAGE
- See Also:
-
-
Constructor Details
-
ArbitraryRuleResponseDataAttributesStrategyAllocatedByItems
public ArbitraryRuleResponseDataAttributesStrategyAllocatedByItems() -
ArbitraryRuleResponseDataAttributesStrategyAllocatedByItems
public ArbitraryRuleResponseDataAttributesStrategyAllocatedByItems(List<ArbitraryRuleResponseDataAttributesStrategyAllocatedByItemsAllocatedTagsItems> allocatedTags, Double percentage)
-
-
Method Details
-
allocatedTags
public ArbitraryRuleResponseDataAttributesStrategyAllocatedByItems allocatedTags(List<ArbitraryRuleResponseDataAttributesStrategyAllocatedByItemsAllocatedTagsItems> allocatedTags) -
addAllocatedTagsItem
public ArbitraryRuleResponseDataAttributesStrategyAllocatedByItems addAllocatedTagsItem(ArbitraryRuleResponseDataAttributesStrategyAllocatedByItemsAllocatedTagsItems allocatedTagsItem) -
getAllocatedTags
public List<ArbitraryRuleResponseDataAttributesStrategyAllocatedByItemsAllocatedTagsItems> getAllocatedTags()Theitemsallocated_tags.- Returns:
- allocatedTags
-
setAllocatedTags
public void setAllocatedTags(List<ArbitraryRuleResponseDataAttributesStrategyAllocatedByItemsAllocatedTagsItems> allocatedTags) -
percentage
-
getPercentage
Theitemspercentage. The numeric value format should be a 32bit float value.- Returns:
- percentage
-
setPercentage
-
putAdditionalProperty
public ArbitraryRuleResponseDataAttributesStrategyAllocatedByItems putAdditionalProperty(String key, Object value) 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:
- ArbitraryRuleResponseDataAttributesStrategyAllocatedByItems
-
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 ArbitraryRuleResponseDataAttributesStrategyAllocatedByItems object is equal to o. -
hashCode
public int hashCode() -
toString
-