Package ai.shipeasy.admin.model
Class GetCurrentProjectResponse
java.lang.Object
ai.shipeasy.admin.model.GetCurrentProjectResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class GetCurrentProjectResponse
extends Object
The project the caller's auth header resolves to. The shape is open — additional project fields may be present.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumBilling cadence.static classstatic enumBilling plan tier.static enumProject lifecycle 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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbillingInterval(GetCurrentProjectResponse.BillingIntervalEnum billingInterval) cancelAtPeriodEnd(BigDecimal cancelAtPeriodEnd) ciConfidence(BigDecimal ciConfidence) cupedBaselineDays(Integer cupedBaselineDays) cupedMinBaselineUsers(Integer cupedMinBaselineUsers) cupedMinOverlap(BigDecimal cupedMinOverlap) currentPeriodEnd(String currentPeriodEnd) defaultAllocationPct(Integer defaultAllocationPct) defaultMei(BigDecimal defaultMei) defaultPower(BigDecimal defaultPower) defaultWinsorizePct(Integer defaultWinsorizePct) booleanstatic GetCurrentProjectResponseCreate an instance of GetCurrentProjectResponse given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Billing cadence.`1` if the subscription is set to cancel at period end, else `0`.Confidence level for the interval surfaced on results.ISO-8601 timestamp of project creation.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.ISO-8601 end of the current billing period, or `null`.Default traffic allocation (basis points) new experiments start with.Default minimum effect of interest (relative, 0–1) new metrics start with, or null.Target statistical power (1−β) feeding the realized-MDE calculation.Default winsorization percentile new metrics start with.Project domain, or `null` if unset.getId()Stable opaque project id.Minimum days an experiment must run before a verdict (peeking guard).Verdict power guard — minimum users per arm before a ship/hold verdict.Get moduleConfigsGet moduleExperimentsGet moduleFeedbackGet moduleGatesGet moduleTranslationsmSPRT prior width — τ = minimum effect of interest × this factor.mSPRT fallback prior width — τ = this × control SD when no MEI is set.getName()Project name.Email of the account that owns the project.getPlan()Billing plan tier.SRM chi-square p-value below which the run is called invalid.Project lifecycle status.Stripe subscription status (`none`, `active`, `trialing`, `past_due`, …).ISO-8601 trial end, or `null` if not trialing.ISO-8601 timestamp of last update.inthashCode()minRuntimeDays(Integer minRuntimeDays) minSampleSize(Integer minSampleSize) moduleConfigs(GetCurrentProjectResponseModuleTranslations moduleConfigs) moduleExperiments(GetCurrentProjectResponseModuleTranslations moduleExperiments) moduleFeedback(GetCurrentProjectResponseModuleTranslations moduleFeedback) moduleGates(GetCurrentProjectResponseModuleTranslations moduleGates) moduleTranslations(GetCurrentProjectResponseModuleTranslations moduleTranslations) msprtTauMeiFactor(BigDecimal msprtTauMeiFactor) msprtTauSdFactor(BigDecimal msprtTauSdFactor) ownerEmail(String ownerEmail) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetBillingInterval(GetCurrentProjectResponse.BillingIntervalEnum billingInterval) voidsetCancelAtPeriodEnd(BigDecimal cancelAtPeriodEnd) voidsetCiConfidence(BigDecimal ciConfidence) voidsetCreatedAt(String createdAt) voidsetCupedBaselineDays(Integer cupedBaselineDays) voidsetCupedMinBaselineUsers(Integer cupedMinBaselineUsers) voidsetCupedMinOverlap(BigDecimal cupedMinOverlap) voidsetCurrentPeriodEnd(String currentPeriodEnd) voidsetDefaultAllocationPct(Integer defaultAllocationPct) voidsetDefaultMei(BigDecimal defaultMei) voidsetDefaultPower(BigDecimal defaultPower) voidsetDefaultWinsorizePct(Integer defaultWinsorizePct) voidvoidvoidsetMinRuntimeDays(Integer minRuntimeDays) voidsetMinSampleSize(Integer minSampleSize) voidsetModuleConfigs(GetCurrentProjectResponseModuleTranslations moduleConfigs) voidsetModuleExperiments(GetCurrentProjectResponseModuleTranslations moduleExperiments) voidsetModuleFeedback(GetCurrentProjectResponseModuleTranslations moduleFeedback) voidvoidsetModuleTranslations(GetCurrentProjectResponseModuleTranslations moduleTranslations) voidsetMsprtTauMeiFactor(BigDecimal msprtTauMeiFactor) voidsetMsprtTauSdFactor(BigDecimal msprtTauSdFactor) voidvoidsetOwnerEmail(String ownerEmail) voidvoidsetSrmThreshold(BigDecimal srmThreshold) voidvoidsetSubscriptionStatus(String subscriptionStatus) voidsetTrialEndsAt(String trialEndsAt) voidsetUpdatedAt(String updatedAt) srmThreshold(BigDecimal srmThreshold) subscriptionStatus(String subscriptionStatus) toJson()Convert an instance of GetCurrentProjectResponse to an JSON stringtoString()trialEndsAt(String trialEndsAt) 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_DOMAIN
- See Also:
-
SERIALIZED_NAME_OWNER_EMAIL
- See Also:
-
SERIALIZED_NAME_PLAN
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_SUBSCRIPTION_STATUS
- See Also:
-
SERIALIZED_NAME_BILLING_INTERVAL
- See Also:
-
SERIALIZED_NAME_CURRENT_PERIOD_END
- See Also:
-
SERIALIZED_NAME_TRIAL_ENDS_AT
- See Also:
-
SERIALIZED_NAME_CANCEL_AT_PERIOD_END
- 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_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:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
GetCurrentProjectResponse
public GetCurrentProjectResponse()
-
-
Method Details
-
id
-
getId
Stable opaque project id.- Returns:
- id
-
setId
-
name
-
getName
Project name.- Returns:
- name
-
setName
-
domain
-
getDomain
Project domain, or `null` if unset.- Returns:
- domain
-
setDomain
-
ownerEmail
-
getOwnerEmail
Email of the account that owns the project.- Returns:
- ownerEmail
-
setOwnerEmail
-
plan
-
getPlan
Billing plan tier.- Returns:
- plan
-
setPlan
-
status
-
getStatus
Project lifecycle status.- Returns:
- status
-
setStatus
-
subscriptionStatus
-
getSubscriptionStatus
Stripe subscription status (`none`, `active`, `trialing`, `past_due`, …).- Returns:
- subscriptionStatus
-
setSubscriptionStatus
-
billingInterval
public GetCurrentProjectResponse billingInterval(@Nonnull GetCurrentProjectResponse.BillingIntervalEnum billingInterval) -
getBillingInterval
Billing cadence.- Returns:
- billingInterval
-
setBillingInterval
public void setBillingInterval(@Nonnull GetCurrentProjectResponse.BillingIntervalEnum billingInterval) -
currentPeriodEnd
-
getCurrentPeriodEnd
ISO-8601 end of the current billing period, or `null`.- Returns:
- currentPeriodEnd
-
setCurrentPeriodEnd
-
trialEndsAt
-
getTrialEndsAt
ISO-8601 trial end, or `null` if not trialing.- Returns:
- trialEndsAt
-
setTrialEndsAt
-
cancelAtPeriodEnd
-
getCancelAtPeriodEnd
`1` if the subscription is set to cancel at period end, else `0`.- Returns:
- cancelAtPeriodEnd
-
setCancelAtPeriodEnd
-
moduleTranslations
public GetCurrentProjectResponse moduleTranslations(@Nonnull GetCurrentProjectResponseModuleTranslations moduleTranslations) -
getModuleTranslations
Get moduleTranslations- Returns:
- moduleTranslations
-
setModuleTranslations
public void setModuleTranslations(@Nonnull GetCurrentProjectResponseModuleTranslations moduleTranslations) -
moduleConfigs
public GetCurrentProjectResponse moduleConfigs(@Nonnull GetCurrentProjectResponseModuleTranslations moduleConfigs) -
getModuleConfigs
Get moduleConfigs- Returns:
- moduleConfigs
-
setModuleConfigs
-
moduleGates
public GetCurrentProjectResponse moduleGates(@Nonnull GetCurrentProjectResponseModuleTranslations moduleGates) -
getModuleGates
Get moduleGates- Returns:
- moduleGates
-
setModuleGates
-
moduleExperiments
public GetCurrentProjectResponse moduleExperiments(@Nonnull GetCurrentProjectResponseModuleTranslations moduleExperiments) -
getModuleExperiments
Get moduleExperiments- Returns:
- moduleExperiments
-
setModuleExperiments
public void setModuleExperiments(@Nonnull GetCurrentProjectResponseModuleTranslations moduleExperiments) -
moduleFeedback
public GetCurrentProjectResponse moduleFeedback(@Nonnull GetCurrentProjectResponseModuleTranslations moduleFeedback) -
getModuleFeedback
Get moduleFeedback- Returns:
- moduleFeedback
-
setModuleFeedback
-
minSampleSize
-
getMinSampleSize
Verdict power guard — minimum users per arm before a ship/hold verdict.- Returns:
- minSampleSize
-
setMinSampleSize
-
minRuntimeDays
-
getMinRuntimeDays
Minimum days an experiment must run before a verdict (peeking guard).- Returns:
- minRuntimeDays
-
setMinRuntimeDays
-
defaultPower
-
getDefaultPower
Target statistical power (1−β) feeding the realized-MDE calculation.- Returns:
- defaultPower
-
setDefaultPower
-
ciConfidence
-
getCiConfidence
Confidence level for the interval surfaced on results.- Returns:
- ciConfidence
-
setCiConfidence
-
defaultAllocationPct
-
getDefaultAllocationPct
Default traffic allocation (basis points) new experiments start with.- Returns:
- defaultAllocationPct
-
setDefaultAllocationPct
-
defaultWinsorizePct
-
getDefaultWinsorizePct
Default winsorization percentile new metrics start with.- Returns:
- defaultWinsorizePct
-
setDefaultWinsorizePct
-
defaultMei
-
getDefaultMei
Default minimum effect of interest (relative, 0–1) new metrics start with, or null.- Returns:
- defaultMei
-
setDefaultMei
-
cupedBaselineDays
-
getCupedBaselineDays
CUPED baseline window — days of pre-experiment history, frozen at start.- Returns:
- cupedBaselineDays
-
setCupedBaselineDays
-
cupedMinOverlap
-
getCupedMinOverlap
CUPED selection-bias guard — min share of users with a baseline, else skip.- Returns:
- cupedMinOverlap
-
setCupedMinOverlap
-
cupedMinBaselineUsers
-
getCupedMinBaselineUsers
CUPED — minimum users with a baseline before it runs at all.- Returns:
- cupedMinBaselineUsers
-
setCupedMinBaselineUsers
-
msprtTauMeiFactor
-
getMsprtTauMeiFactor
mSPRT prior width — τ = minimum effect of interest × this factor.- Returns:
- msprtTauMeiFactor
-
setMsprtTauMeiFactor
-
msprtTauSdFactor
-
getMsprtTauSdFactor
mSPRT fallback prior width — τ = this × control SD when no MEI is set.- Returns:
- msprtTauSdFactor
-
setMsprtTauSdFactor
-
srmThreshold
-
getSrmThreshold
SRM chi-square p-value below which the run is called invalid.- Returns:
- srmThreshold
-
setSrmThreshold
-
createdAt
-
getCreatedAt
ISO-8601 timestamp of project creation.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
ISO-8601 timestamp of last update.- 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 GetCurrentProjectResponse 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 GetCurrentProjectResponse
-
fromJson
Create an instance of GetCurrentProjectResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetCurrentProjectResponse
- Throws:
IOException- if the JSON string is invalid with respect to GetCurrentProjectResponse
-
toJson
Convert an instance of GetCurrentProjectResponse to an JSON string- Returns:
- JSON string
-