@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UpsertAllocationRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_EXPERIMENT_ID |
static String |
JSON_PROPERTY_EXPOSURE_SCHEDULE |
static String |
JSON_PROPERTY_GUARDRAIL_METRICS |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_KEY |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_TARGETING_RULES |
static String |
JSON_PROPERTY_TYPE |
static String |
JSON_PROPERTY_VARIANT_WEIGHTS |
boolean |
unparsed |
| Constructor and Description |
|---|
UpsertAllocationRequest() |
UpsertAllocationRequest(String key,
String name,
AllocationType type) |
public boolean unparsed
public static final String JSON_PROPERTY_EXPERIMENT_ID
public static final String JSON_PROPERTY_EXPOSURE_SCHEDULE
public static final String JSON_PROPERTY_GUARDRAIL_METRICS
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_KEY
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_TARGETING_RULES
public static final String JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_VARIANT_WEIGHTS
public UpsertAllocationRequest()
public UpsertAllocationRequest(String key, String name, AllocationType type)
public UpsertAllocationRequest experimentId(String experimentId)
@Nullable public String getExperimentId()
public org.openapitools.jackson.nullable.JsonNullable<String> getExperimentId_JsonNullable()
public void setExperimentId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> experimentId)
public void setExperimentId(String experimentId)
public UpsertAllocationRequest exposureSchedule(ExposureScheduleRequest exposureSchedule)
@Nullable public ExposureScheduleRequest getExposureSchedule()
public void setExposureSchedule(ExposureScheduleRequest exposureSchedule)
public UpsertAllocationRequest guardrailMetrics(List<GuardrailMetricRequest> guardrailMetrics)
public UpsertAllocationRequest addGuardrailMetricsItem(GuardrailMetricRequest guardrailMetricsItem)
@Nullable public List<GuardrailMetricRequest> getGuardrailMetrics()
public void setGuardrailMetrics(List<GuardrailMetricRequest> guardrailMetrics)
public UpsertAllocationRequest id(UUID id)
@Nullable public UUID getId()
public void setId(UUID id)
public UpsertAllocationRequest key(String key)
public String getKey()
public void setKey(String key)
public UpsertAllocationRequest name(String name)
public String getName()
public void setName(String name)
public UpsertAllocationRequest targetingRules(List<TargetingRuleRequest> targetingRules)
public UpsertAllocationRequest addTargetingRulesItem(TargetingRuleRequest targetingRulesItem)
@Nullable public List<TargetingRuleRequest> getTargetingRules()
public void setTargetingRules(List<TargetingRuleRequest> targetingRules)
public UpsertAllocationRequest type(AllocationType type)
public AllocationType getType()
public void setType(AllocationType type)
public UpsertAllocationRequest variantWeights(List<VariantWeightRequest> variantWeights)
public UpsertAllocationRequest addVariantWeightsItem(VariantWeightRequest variantWeightsItem)
@Nullable public List<VariantWeightRequest> getVariantWeights()
public void setVariantWeights(List<VariantWeightRequest> variantWeights)
public UpsertAllocationRequest 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.