Package com.datadog.api.client.v2.model
Class OverwriteAllocationsRequest
java.lang.Object
com.datadog.api.client.v2.model.OverwriteAllocationsRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class OverwriteAllocationsRequest
extends Object
Request to overwrite targeting rules (allocations) for a feature flag in an environment.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddDataItem(AllocationDataRequest dataItem) data(List<AllocationDataRequest> data) booleanReturn true if this OverwriteAllocationsRequest object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getData()Targeting rules (allocations) to replace existing ones with.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetData(List<AllocationDataRequest> data) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DATA
- See Also:
-
-
Constructor Details
-
OverwriteAllocationsRequest
public OverwriteAllocationsRequest() -
OverwriteAllocationsRequest
-
-
Method Details
-
data
-
addDataItem
-
getData
Targeting rules (allocations) to replace existing ones with.- Returns:
- data
-
setData
-
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:
- OverwriteAllocationsRequest
-
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 OverwriteAllocationsRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-