Package ai.shipeasy.admin.model
Class GetExperimentResultsResponse
java.lang.Object
ai.shipeasy.admin.model.GetExperimentResultsResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class GetExperimentResultsResponse
extends Object
GetExperimentResultsResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumServer-computed decision from the goal metric + guardrails + SRM vs. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddResultsItem(GetExperimentResultsResponseResultsInner resultsItem) booleanexperiment(GetExperimentResultsResponseExperiment experiment) static GetExperimentResultsResponseCreate an instance of GetExperimentResultsResponse given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get experimentGet resultsServer-computed decision from the goal metric + guardrails + SRM vs.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetExperiment(GetExperimentResultsResponseExperiment experiment) voidvoidtoJson()Convert an instance of GetExperimentResultsResponse 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_EXPERIMENT
- See Also:
-
SERIALIZED_NAME_RESULTS
- See Also:
-
SERIALIZED_NAME_VERDICT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
GetExperimentResultsResponse
public GetExperimentResultsResponse()
-
-
Method Details
-
experiment
public GetExperimentResultsResponse experiment(@Nonnull GetExperimentResultsResponseExperiment experiment) -
getExperiment
Get experiment- Returns:
- experiment
-
setExperiment
-
results
public GetExperimentResultsResponse results(@Nonnull List<GetExperimentResultsResponseResultsInner> results) -
addResultsItem
public GetExperimentResultsResponse addResultsItem(GetExperimentResultsResponseResultsInner resultsItem) -
getResults
Get results- Returns:
- results
-
setResults
-
verdict
public GetExperimentResultsResponse verdict(@Nonnull GetExperimentResultsResponse.VerdictEnum verdict) -
getVerdict
Server-computed decision from the goal metric + guardrails + SRM vs. the significance threshold and min runtime: `ship` (goal significant + guardrails pass), `hold` (a guardrail regressed), `wait` (inconclusive / under-powered), `invalid` (sample-ratio mismatch), `draft` (never started).- Returns:
- verdict
-
setVerdict
-
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 GetExperimentResultsResponse 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 GetExperimentResultsResponse
-
fromJson
Create an instance of GetExperimentResultsResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetExperimentResultsResponse
- Throws:
IOException- if the JSON string is invalid with respect to GetExperimentResultsResponse
-
toJson
Convert an instance of GetExperimentResultsResponse to an JSON string- Returns:
- JSON string
-