Package ai.shipeasy.admin.model
Class UpdateProjectRequest
java.lang.Object
ai.shipeasy.admin.model.UpdateProjectRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class UpdateProjectRequest
extends Object
Body for `PATCH /api/admin/projects/{id}`. Partial — every field is optional; only supplied fields change. The project id in the path must match the caller's own project.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumDefault environment new resources are scoped to.static enumSignificance threshold (alpha) for experiment analysis.static enumStatistical method the experiment analyzer uses. -
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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoRollback(Boolean autoRollback) ciConfidence(BigDecimal ciConfidence) cupedBaselineDays(Integer cupedBaselineDays) cupedMinBaselineUsers(Integer cupedMinBaselineUsers) cupedMinOverlap(BigDecimal cupedMinOverlap) defaultAllocationPct(Integer defaultAllocationPct) defaultEnv(UpdateProjectRequest.DefaultEnvEnum defaultEnv) defaultMei(BigDecimal defaultMei) defaultPower(BigDecimal defaultPower) defaultWinsorizePct(Integer defaultWinsorizePct) booleanstatic UpdateProjectRequestCreate an instance of UpdateProjectRequest given an JSON stringWhether a failing guardrail auto-rolls back the experiment.Confidence level for the interval surfaced on results (any value in [0.5, 0.999], e.g.CUPED baseline window — days of pre-experiment history, frozen at start.CUPED — minimum users with a baseline before it runs at all.CUPED selection-bias guard — min share of users with a baseline, else skip.Default traffic allocation (basis points, 1000 = 10%) new experiments start with; overridable per experiment.Default environment new resources are scoped to.Default minimum effect of interest (relative, 0–1) new metrics start with; overridable per metric and per experiment.Target statistical power (1−β) feeding the realized-MDE calculation.Default winsorization percentile new metrics start with; overridable per metric.Lowercase bare hostname (e.g.Minimum days an experiment must run before a verdict (peeking guard).Minimum number of days an experiment must run before it can be called.Verdict power guard — minimum users per arm before a ship/hold verdict.Enable/disable the dynamic-configs module.Enable/disable the events module.Enable/disable the experiments module.Enable/disable the feedback/ops module.Enable/disable the feature-gates module.Enable/disable the i18n/translations module.Enable/disable the user-management module.mSPRT prior width — τ = minimum effect of interest × this factor.mSPRT fallback prior width — τ = this × control SD when no MEI is set.getName()New project name.Significance threshold (alpha) for experiment analysis.getSlug()URL-safe identifier used in app URLs and SDK config.SRM chi-square p-value below which the run is called invalid.Statistical method the experiment analyzer uses.IANA timezone the project's daily analysis runs in.inthashCode()minRuntimeDays(Integer minRuntimeDays) minSampleDays(Integer minSampleDays) minSampleSize(Integer minSampleSize) moduleConfigs(Boolean moduleConfigs) moduleEvents(Boolean moduleEvents) moduleExperiments(Boolean moduleExperiments) moduleFeedback(Boolean moduleFeedback) moduleGates(Boolean moduleGates) moduleTranslations(Boolean moduleTranslations) moduleUser(Boolean moduleUser) msprtTauMeiFactor(BigDecimal msprtTauMeiFactor) msprtTauSdFactor(BigDecimal msprtTauSdFactor) voidsetAutoRollback(Boolean autoRollback) voidsetCiConfidence(BigDecimal ciConfidence) voidsetCupedBaselineDays(Integer cupedBaselineDays) voidsetCupedMinBaselineUsers(Integer cupedMinBaselineUsers) voidsetCupedMinOverlap(BigDecimal cupedMinOverlap) voidsetDefaultAllocationPct(Integer defaultAllocationPct) voidsetDefaultEnv(UpdateProjectRequest.DefaultEnvEnum defaultEnv) voidsetDefaultMei(BigDecimal defaultMei) voidsetDefaultPower(BigDecimal defaultPower) voidsetDefaultWinsorizePct(Integer defaultWinsorizePct) voidvoidsetMinRuntimeDays(Integer minRuntimeDays) voidsetMinSampleDays(Integer minSampleDays) voidsetMinSampleSize(Integer minSampleSize) voidsetModuleConfigs(Boolean moduleConfigs) voidsetModuleEvents(Boolean moduleEvents) voidsetModuleExperiments(Boolean moduleExperiments) voidsetModuleFeedback(Boolean moduleFeedback) voidsetModuleGates(Boolean moduleGates) voidsetModuleTranslations(Boolean moduleTranslations) voidsetModuleUser(Boolean moduleUser) voidsetMsprtTauMeiFactor(BigDecimal msprtTauMeiFactor) voidsetMsprtTauSdFactor(BigDecimal msprtTauSdFactor) voidvoidsetSigThreshold(UpdateProjectRequest.SigThresholdEnum sigThreshold) voidvoidsetSrmThreshold(BigDecimal srmThreshold) voidsetStatMethod(UpdateProjectRequest.StatMethodEnum statMethod) voidsetTimezone(String timezone) sigThreshold(UpdateProjectRequest.SigThresholdEnum sigThreshold) srmThreshold(BigDecimal srmThreshold) statMethod(UpdateProjectRequest.StatMethodEnum statMethod) toJson()Convert an instance of UpdateProjectRequest 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_DOMAIN
- See Also:
-
SERIALIZED_NAME_SLUG
- See Also:
-
SERIALIZED_NAME_DEFAULT_ENV
- See Also:
-
SERIALIZED_NAME_TIMEZONE
- See Also:
-
SERIALIZED_NAME_STAT_METHOD
- See Also:
-
SERIALIZED_NAME_SIG_THRESHOLD
- See Also:
-
SERIALIZED_NAME_AUTO_ROLLBACK
- See Also:
-
SERIALIZED_NAME_MIN_SAMPLE_DAYS
- See Also:
-
SERIALIZED_NAME_MODULE_TRANSLATIONS
- See Also:
-
SERIALIZED_NAME_MODULE_CONFIGS
- See Also:
-
SERIALIZED_NAME_MODULE_GATES
- See Also:
-
SERIALIZED_NAME_MODULE_EXPERIMENTS
- See Also:
-
SERIALIZED_NAME_MODULE_FEEDBACK
- See Also:
-
SERIALIZED_NAME_MODULE_USER
- See Also:
-
SERIALIZED_NAME_MODULE_EVENTS
- See Also:
-
SERIALIZED_NAME_MIN_SAMPLE_SIZE
- See Also:
-
SERIALIZED_NAME_MIN_RUNTIME_DAYS
- See Also:
-
SERIALIZED_NAME_DEFAULT_POWER
- See Also:
-
SERIALIZED_NAME_CI_CONFIDENCE
- See Also:
-
SERIALIZED_NAME_DEFAULT_ALLOCATION_PCT
- See Also:
-
SERIALIZED_NAME_DEFAULT_WINSORIZE_PCT
- See Also:
-
SERIALIZED_NAME_DEFAULT_MEI
- See Also:
-
SERIALIZED_NAME_CUPED_BASELINE_DAYS
- See Also:
-
SERIALIZED_NAME_CUPED_MIN_OVERLAP
- See Also:
-
SERIALIZED_NAME_CUPED_MIN_BASELINE_USERS
- See Also:
-
SERIALIZED_NAME_MSPRT_TAU_MEI_FACTOR
- See Also:
-
SERIALIZED_NAME_MSPRT_TAU_SD_FACTOR
- See Also:
-
SERIALIZED_NAME_SRM_THRESHOLD
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UpdateProjectRequest
public UpdateProjectRequest()
-
-
Method Details
-
name
-
getName
New project name.- Returns:
- name
-
setName
-
domain
-
getDomain
Lowercase bare hostname (e.g. `acme.com`, `app.acme.com`, `*.acme.com`), or `*` to allow any origin. Full URLs with `https://` are not accepted. The project is keyed by `(owner_email, domain)`, so a second call with the same domain returns the existing project.- Returns:
- domain
-
setDomain
-
slug
-
getSlug
URL-safe identifier used in app URLs and SDK config. Lowercase letters, numbers, and hyphens; 2–48 chars; cannot start or end with a hyphen. The caller lowercases the raw slug before sending.- Returns:
- slug
-
setSlug
-
defaultEnv
-
getDefaultEnv
Default environment new resources are scoped to.- Returns:
- defaultEnv
-
setDefaultEnv
-
timezone
-
getTimezone
IANA timezone the project's daily analysis runs in.- Returns:
- timezone
-
setTimezone
-
statMethod
-
getStatMethod
Statistical method the experiment analyzer uses.- Returns:
- statMethod
-
setStatMethod
-
sigThreshold
public UpdateProjectRequest sigThreshold(@Nullable UpdateProjectRequest.SigThresholdEnum sigThreshold) -
getSigThreshold
Significance threshold (alpha) for experiment analysis.- Returns:
- sigThreshold
-
setSigThreshold
-
autoRollback
-
getAutoRollback
Whether a failing guardrail auto-rolls back the experiment.- Returns:
- autoRollback
-
setAutoRollback
-
minSampleDays
-
getMinSampleDays
Minimum number of days an experiment must run before it can be called. minimum: 1 maximum: 365- Returns:
- minSampleDays
-
setMinSampleDays
-
moduleTranslations
-
getModuleTranslations
Enable/disable the i18n/translations module.- Returns:
- moduleTranslations
-
setModuleTranslations
-
moduleConfigs
-
getModuleConfigs
Enable/disable the dynamic-configs module.- Returns:
- moduleConfigs
-
setModuleConfigs
-
moduleGates
-
getModuleGates
Enable/disable the feature-gates module.- Returns:
- moduleGates
-
setModuleGates
-
moduleExperiments
-
getModuleExperiments
Enable/disable the experiments module.- Returns:
- moduleExperiments
-
setModuleExperiments
-
moduleFeedback
-
getModuleFeedback
Enable/disable the feedback/ops module.- Returns:
- moduleFeedback
-
setModuleFeedback
-
moduleUser
-
getModuleUser
Enable/disable the user-management module.- Returns:
- moduleUser
-
setModuleUser
-
moduleEvents
-
getModuleEvents
Enable/disable the events module.- Returns:
- moduleEvents
-
setModuleEvents
-
minSampleSize
-
getMinSampleSize
Verdict power guard — minimum users per arm before a ship/hold verdict. minimum: 2 maximum: 1000000- Returns:
- minSampleSize
-
setMinSampleSize
-
minRuntimeDays
-
getMinRuntimeDays
Minimum days an experiment must run before a verdict (peeking guard). minimum: 0 maximum: 365- Returns:
- minRuntimeDays
-
setMinRuntimeDays
-
defaultPower
-
getDefaultPower
Target statistical power (1−β) feeding the realized-MDE calculation. minimum: 0.5 maximum: 0.99- Returns:
- defaultPower
-
setDefaultPower
-
ciConfidence
-
getCiConfidence
Confidence level for the interval surfaced on results (any value in [0.5, 0.999], e.g. 0.90, 0.95, 0.975, 0.99). minimum: 0.5 maximum: 0.999- Returns:
- ciConfidence
-
setCiConfidence
-
defaultAllocationPct
-
getDefaultAllocationPct
Default traffic allocation (basis points, 1000 = 10%) new experiments start with; overridable per experiment. minimum: 1 maximum: 10000- Returns:
- defaultAllocationPct
-
setDefaultAllocationPct
-
defaultWinsorizePct
-
getDefaultWinsorizePct
Default winsorization percentile new metrics start with; overridable per metric. minimum: 1 maximum: 99- Returns:
- defaultWinsorizePct
-
setDefaultWinsorizePct
-
defaultMei
-
getDefaultMei
Default minimum effect of interest (relative, 0–1) new metrics start with; overridable per metric and per experiment. Null clears it. minimum: 0 maximum: 1- Returns:
- defaultMei
-
setDefaultMei
-
cupedBaselineDays
-
getCupedBaselineDays
CUPED baseline window — days of pre-experiment history, frozen at start. minimum: 1 maximum: 365- Returns:
- cupedBaselineDays
-
setCupedBaselineDays
-
cupedMinOverlap
-
getCupedMinOverlap
CUPED selection-bias guard — min share of users with a baseline, else skip. minimum: 0.01 maximum: 0.99- Returns:
- cupedMinOverlap
-
setCupedMinOverlap
-
cupedMinBaselineUsers
-
getCupedMinBaselineUsers
CUPED — minimum users with a baseline before it runs at all. minimum: 10 maximum: 100000- Returns:
- cupedMinBaselineUsers
-
setCupedMinBaselineUsers
-
msprtTauMeiFactor
-
getMsprtTauMeiFactor
mSPRT prior width — τ = minimum effect of interest × this factor. minimum: 0.1 maximum: 2- Returns:
- msprtTauMeiFactor
-
setMsprtTauMeiFactor
-
msprtTauSdFactor
-
getMsprtTauSdFactor
mSPRT fallback prior width — τ = this × control SD when no MEI is set. minimum: 0.05 maximum: 1- Returns:
- msprtTauSdFactor
-
setMsprtTauSdFactor
-
srmThreshold
-
getSrmThreshold
SRM chi-square p-value below which the run is called invalid. minimum: 0.00010 maximum: 0.05- Returns:
- srmThreshold
-
setSrmThreshold
-
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 UpdateProjectRequest
-
fromJson
Create an instance of UpdateProjectRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateProjectRequest
- Throws:
IOException- if the JSON string is invalid with respect to UpdateProjectRequest
-
toJson
Convert an instance of UpdateProjectRequest to an JSON string- Returns:
- JSON string
-