@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AllocationDataRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
AllocationDataRequest() |
AllocationDataRequest(UpsertAllocationRequest attributes,
AllocationDataType type) |
| Modifier and Type | Method and Description |
|---|---|
AllocationDataRequest |
attributes(UpsertAllocationRequest attributes) |
boolean |
equals(Object o)
Return true if this AllocationDataRequest object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
UpsertAllocationRequest |
getAttributes()
Request to create or update a targeting rule (allocation) for a feature flag environment.
|
AllocationDataType |
getType()
The resource type.
|
int |
hashCode() |
AllocationDataRequest |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAttributes(UpsertAllocationRequest attributes) |
void |
setType(AllocationDataType type) |
String |
toString() |
AllocationDataRequest |
type(AllocationDataType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_TYPE
public AllocationDataRequest()
public AllocationDataRequest(UpsertAllocationRequest attributes, AllocationDataType type)
public AllocationDataRequest attributes(UpsertAllocationRequest attributes)
public UpsertAllocationRequest getAttributes()
public void setAttributes(UpsertAllocationRequest attributes)
public AllocationDataRequest type(AllocationDataType type)
public AllocationDataType getType()
public void setType(AllocationDataType type)
public AllocationDataRequest putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.