Name | Type | Description | Notes |
---|---|---|---|
Hypothesis | string | The expected outcome of this experiment | |
CanReshuffleTraffic | Pointer to bool | Whether the experiment can reassign traffic to different variations when you increase or decrease the traffic in your experiment audience (true) or keep all traffic assigned to its initial variation (false). | [optional] |
Flags | Pointer to map[string]FlagRep | Details on the flag used in this experiment | [optional] |
PrimaryMetric | Pointer to MetricV2Rep | [optional] | |
RandomizationUnit | Pointer to string | The unit of randomization for this iteration | [optional] |
Treatments | Pointer to []TreatmentRep | Details on the variations you are testing in the experiment | [optional] |
SecondaryMetrics | Pointer to []MetricV2Rep | Details on the secondary metrics for this experiment | [optional] |
func NewDesignRep(hypothesis string, ) *DesignRep
NewDesignRep instantiates a new DesignRep object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDesignRepWithDefaults() *DesignRep
NewDesignRepWithDefaults instantiates a new DesignRep object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *DesignRep) GetHypothesis() string
GetHypothesis returns the Hypothesis field if non-nil, zero value otherwise.
func (o *DesignRep) GetHypothesisOk() (*string, bool)
GetHypothesisOk returns a tuple with the Hypothesis field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DesignRep) SetHypothesis(v string)
SetHypothesis sets Hypothesis field to given value.
func (o *DesignRep) GetCanReshuffleTraffic() bool
GetCanReshuffleTraffic returns the CanReshuffleTraffic field if non-nil, zero value otherwise.
func (o *DesignRep) GetCanReshuffleTrafficOk() (*bool, bool)
GetCanReshuffleTrafficOk returns a tuple with the CanReshuffleTraffic field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DesignRep) SetCanReshuffleTraffic(v bool)
SetCanReshuffleTraffic sets CanReshuffleTraffic field to given value.
func (o *DesignRep) HasCanReshuffleTraffic() bool
HasCanReshuffleTraffic returns a boolean if a field has been set.
func (o *DesignRep) GetFlags() map[string]FlagRep
GetFlags returns the Flags field if non-nil, zero value otherwise.
func (o *DesignRep) GetFlagsOk() (*map[string]FlagRep, bool)
GetFlagsOk returns a tuple with the Flags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DesignRep) SetFlags(v map[string]FlagRep)
SetFlags sets Flags field to given value.
func (o *DesignRep) HasFlags() bool
HasFlags returns a boolean if a field has been set.
func (o *DesignRep) GetPrimaryMetric() MetricV2Rep
GetPrimaryMetric returns the PrimaryMetric field if non-nil, zero value otherwise.
func (o *DesignRep) GetPrimaryMetricOk() (*MetricV2Rep, bool)
GetPrimaryMetricOk returns a tuple with the PrimaryMetric field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DesignRep) SetPrimaryMetric(v MetricV2Rep)
SetPrimaryMetric sets PrimaryMetric field to given value.
func (o *DesignRep) HasPrimaryMetric() bool
HasPrimaryMetric returns a boolean if a field has been set.
func (o *DesignRep) GetRandomizationUnit() string
GetRandomizationUnit returns the RandomizationUnit field if non-nil, zero value otherwise.
func (o *DesignRep) GetRandomizationUnitOk() (*string, bool)
GetRandomizationUnitOk returns a tuple with the RandomizationUnit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DesignRep) SetRandomizationUnit(v string)
SetRandomizationUnit sets RandomizationUnit field to given value.
func (o *DesignRep) HasRandomizationUnit() bool
HasRandomizationUnit returns a boolean if a field has been set.
func (o *DesignRep) GetTreatments() []TreatmentRep
GetTreatments returns the Treatments field if non-nil, zero value otherwise.
func (o *DesignRep) GetTreatmentsOk() (*[]TreatmentRep, bool)
GetTreatmentsOk returns a tuple with the Treatments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DesignRep) SetTreatments(v []TreatmentRep)
SetTreatments sets Treatments field to given value.
func (o *DesignRep) HasTreatments() bool
HasTreatments returns a boolean if a field has been set.
func (o *DesignRep) GetSecondaryMetrics() []MetricV2Rep
GetSecondaryMetrics returns the SecondaryMetrics field if non-nil, zero value otherwise.
func (o *DesignRep) GetSecondaryMetricsOk() (*[]MetricV2Rep, bool)
GetSecondaryMetricsOk returns a tuple with the SecondaryMetrics field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DesignRep) SetSecondaryMetrics(v []MetricV2Rep)
SetSecondaryMetrics sets SecondaryMetrics field to given value.
func (o *DesignRep) HasSecondaryMetrics() bool
HasSecondaryMetrics returns a boolean if a field has been set.