Package ai.shipeasy.admin.model
Class GetExperimentResponse
java.lang.Object
ai.shipeasy.admin.model.GetExperimentResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class GetExperimentResponse
extends Object
GetExperimentResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets innerstatic enumGets or Sets status -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallocationPct(Integer allocationPct) description(String description) booleanstatic GetExperimentResponseCreate an instance of GetExperimentResponse given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Allocation in basis points (0–10000).Get audienceUser-attribute name used as the bucketing key — e.g.Get descriptionGet folderGet groupsGet hypothesisgetId()Stable opaque experiment id (`exp_…`).Get minRuntimeDays minimum: -9007199254740991 maximum: 9007199254740991Get minSampleSize minimum: -9007199254740991 maximum: 9007199254740991getName()Stable experiment key.Get ownerEmailGet paramsgetSalt()Get saltGet sequentialTestingGet significanceThresholdISO-8601 timestamp the experiment last transitioned to `running`, or `null`.Get statusGet stoppedAtgetTag()Get tagGet targetingGateUniverse name this experiment draws from.Get updatedAtinthashCode()hypothesis(String hypothesis) minRuntimeDays(Integer minRuntimeDays) minSampleSize(Integer minSampleSize) ownerEmail(String ownerEmail) params(Map<String, GetExperimentResponse.InnerEnum> params) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putParamsItem(String key, GetExperimentResponse.InnerEnum paramsItem) sequentialTesting(Boolean sequentialTesting) voidsetAllocationPct(Integer allocationPct) voidsetAudience(String audience) voidsetBucketBy(String bucketBy) voidsetDescription(String description) voidvoidvoidsetHypothesis(String hypothesis) voidvoidsetMinRuntimeDays(Integer minRuntimeDays) voidsetMinSampleSize(Integer minSampleSize) voidvoidsetOwnerEmail(String ownerEmail) voidvoidvoidsetSequentialTesting(Boolean sequentialTesting) voidsetSignificanceThreshold(BigDecimal significanceThreshold) voidsetStartedAt(String startedAt) voidvoidsetStoppedAt(String stoppedAt) voidvoidsetTargetingGate(String targetingGate) voidsetUniverse(String universe) voidsetUpdatedAt(String updatedAt) significanceThreshold(BigDecimal significanceThreshold) targetingGate(String targetingGate) toJson()Convert an instance of GetExperimentResponse 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_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_HYPOTHESIS
- See Also:
-
SERIALIZED_NAME_TAG
- See Also:
-
SERIALIZED_NAME_OWNER_EMAIL
- See Also:
-
SERIALIZED_NAME_AUDIENCE
- See Also:
-
SERIALIZED_NAME_BUCKET_BY
- See Also:
-
SERIALIZED_NAME_FOLDER
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_UNIVERSE
- See Also:
-
SERIALIZED_NAME_TARGETING_GATE
- See Also:
-
SERIALIZED_NAME_ALLOCATION_PCT
- See Also:
-
SERIALIZED_NAME_SALT
- See Also:
-
SERIALIZED_NAME_PARAMS
- See Also:
-
SERIALIZED_NAME_GROUPS
- See Also:
-
SERIALIZED_NAME_SIGNIFICANCE_THRESHOLD
- See Also:
-
SERIALIZED_NAME_MIN_RUNTIME_DAYS
- See Also:
-
SERIALIZED_NAME_MIN_SAMPLE_SIZE
- See Also:
-
SERIALIZED_NAME_SEQUENTIAL_TESTING
- See Also:
-
SERIALIZED_NAME_STARTED_AT
- See Also:
-
SERIALIZED_NAME_STOPPED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
GetExperimentResponse
public GetExperimentResponse()
-
-
Method Details
-
id
-
getId
Stable opaque experiment id (`exp_…`).- Returns:
- id
-
setId
-
name
-
getName
Stable experiment key. Single segment or `folder.name` (a-z, 0-9, `_`/`-`; max 128 chars). Used by SDKs as `Shipeasy.getExperiment(user, '<name>')`. Immutable after create.- Returns:
- name
-
setName
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
hypothesis
-
getHypothesis
Get hypothesis- Returns:
- hypothesis
-
setHypothesis
-
tag
-
getTag
Get tag- Returns:
- tag
-
setTag
-
ownerEmail
-
getOwnerEmail
Get ownerEmail- Returns:
- ownerEmail
-
setOwnerEmail
-
audience
-
getAudience
Get audience- Returns:
- audience
-
setAudience
-
bucketBy
-
getBucketBy
User-attribute name used as the bucketing key — e.g. `user_id` (default), `session_id`, `device_id`, or a custom attribute like `company_id` to keep a whole org on one variant. Defaults to `user_id` when omitted.- Returns:
- bucketBy
-
setBucketBy
-
folder
-
getFolder
Get folder- Returns:
- folder
-
setFolder
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
universe
-
getUniverse
Universe name this experiment draws from.- Returns:
- universe
-
setUniverse
-
targetingGate
-
getTargetingGate
Get targetingGate- Returns:
- targetingGate
-
setTargetingGate
-
allocationPct
-
getAllocationPct
Allocation in basis points (0–10000). minimum: -9007199254740991 maximum: 9007199254740991- Returns:
- allocationPct
-
setAllocationPct
-
salt
-
getSalt
Get salt- Returns:
- salt
-
setSalt
-
params
-
putParamsItem
-
getParams
Get params- Returns:
- params
-
setParams
-
groups
public GetExperimentResponse groups(@Nonnull List<ListExperimentsResponseDataInnerGroupsInner> groups) -
addGroupsItem
-
getGroups
Get groups- Returns:
- groups
-
setGroups
-
significanceThreshold
-
getSignificanceThreshold
Get significanceThreshold- Returns:
- significanceThreshold
-
setSignificanceThreshold
-
minRuntimeDays
-
getMinRuntimeDays
Get minRuntimeDays minimum: -9007199254740991 maximum: 9007199254740991- Returns:
- minRuntimeDays
-
setMinRuntimeDays
-
minSampleSize
-
getMinSampleSize
Get minSampleSize minimum: -9007199254740991 maximum: 9007199254740991- Returns:
- minSampleSize
-
setMinSampleSize
-
sequentialTesting
-
getSequentialTesting
Get sequentialTesting- Returns:
- sequentialTesting
-
setSequentialTesting
-
startedAt
-
getStartedAt
ISO-8601 timestamp the experiment last transitioned to `running`, or `null`.- Returns:
- startedAt
-
setStartedAt
-
stoppedAt
-
getStoppedAt
Get stoppedAt- Returns:
- stoppedAt
-
setStoppedAt
-
updatedAt
-
getUpdatedAt
Get updatedAt- Returns:
- updatedAt
-
setUpdatedAt
-
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- name of the propertyvalue- value of the property- Returns:
- the GetExperimentResponse instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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 GetExperimentResponse
-
fromJson
Create an instance of GetExperimentResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetExperimentResponse
- Throws:
IOException- if the JSON string is invalid with respect to GetExperimentResponse
-
toJson
Convert an instance of GetExperimentResponse to an JSON string- Returns:
- JSON string
-