Package ai.shipeasy.admin.model
Class ListExperimentsResponseDataInnerGroupsInner
java.lang.Object
ai.shipeasy.admin.model.ListExperimentsResponseDataInnerGroupsInner
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class ListExperimentsResponseDataInnerGroupsInner
extends Object
One variant in the experiment. Weights across all groups must sum to 10000.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of ListExperimentsResponseDataInnerGroupsInner given an JSON stringgetName()Group label (e.g.Per-group parameter values delivered to the SDK when a caller is hashed into this group.Allocation weight in basis points (0–10000).inthashCode()putParamsItem(String key, Object paramsItem) voidvoidvoidtoJson()Convert an instance of ListExperimentsResponseDataInnerGroupsInner to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_WEIGHT
- See Also:
-
SERIALIZED_NAME_PARAMS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListExperimentsResponseDataInnerGroupsInner
public ListExperimentsResponseDataInnerGroupsInner()
-
-
Method Details
-
name
-
getName
Group label (e.g. `control`, `treatment_a`). Max 64 chars.- Returns:
- name
-
setName
-
weight
-
getWeight
Allocation weight in basis points (0–10000). The sum across all groups must equal exactly **10000** (100%). minimum: 0 maximum: 10000- Returns:
- weight
-
setWeight
-
params
-
putParamsItem
-
getParams
Per-group parameter values delivered to the SDK when a caller is hashed into this group. Keys must match the experiment's `params` schema.- Returns:
- params
-
setParams
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to ListExperimentsResponseDataInnerGroupsInner
-
fromJson
public static ListExperimentsResponseDataInnerGroupsInner fromJson(String jsonString) throws IOException Create an instance of ListExperimentsResponseDataInnerGroupsInner given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListExperimentsResponseDataInnerGroupsInner
- Throws:
IOException- if the JSON string is invalid with respect to ListExperimentsResponseDataInnerGroupsInner
-
toJson
Convert an instance of ListExperimentsResponseDataInnerGroupsInner to an JSON string- Returns:
- JSON string
-