Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | The iteration ID | [optional] |
Hypothesis | string | The expected outcome of this experiment | |
Status | string | The status of the iteration: <code>not_started</code>, <code>running</code>, <code>stopped</code> | |
CreatedAt | int64 | ||
StartedAt | Pointer to int64 | [optional] | |
EndedAt | Pointer to int64 | [optional] | |
WinningTreatmentId | Pointer to string | The ID of the treatment chosen when the experiment stopped | [optional] |
WinningReason | Pointer to string | The reason you stopped the experiment | [optional] |
CanReshuffleTraffic | Pointer to bool | Whether the experiment may reassign traffic to different variations when the experiment audience changes (true) or must 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 NewIterationRep(hypothesis string, status string, createdAt int64, ) *IterationRep
NewIterationRep instantiates a new IterationRep 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 NewIterationRepWithDefaults() *IterationRep
NewIterationRepWithDefaults instantiates a new IterationRep 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 *IterationRep) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *IterationRep) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IterationRep) SetId(v string)
SetId sets Id field to given value.
func (o *IterationRep) HasId() bool
HasId returns a boolean if a field has been set.
func (o *IterationRep) GetHypothesis() string
GetHypothesis returns the Hypothesis field if non-nil, zero value otherwise.
func (o *IterationRep) 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 *IterationRep) SetHypothesis(v string)
SetHypothesis sets Hypothesis field to given value.
func (o *IterationRep) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *IterationRep) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IterationRep) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *IterationRep) GetCreatedAt() int64
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *IterationRep) GetCreatedAtOk() (*int64, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IterationRep) SetCreatedAt(v int64)
SetCreatedAt sets CreatedAt field to given value.
func (o *IterationRep) GetStartedAt() int64
GetStartedAt returns the StartedAt field if non-nil, zero value otherwise.
func (o *IterationRep) GetStartedAtOk() (*int64, bool)
GetStartedAtOk returns a tuple with the StartedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IterationRep) SetStartedAt(v int64)
SetStartedAt sets StartedAt field to given value.
func (o *IterationRep) HasStartedAt() bool
HasStartedAt returns a boolean if a field has been set.
func (o *IterationRep) GetEndedAt() int64
GetEndedAt returns the EndedAt field if non-nil, zero value otherwise.
func (o *IterationRep) GetEndedAtOk() (*int64, bool)
GetEndedAtOk returns a tuple with the EndedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IterationRep) SetEndedAt(v int64)
SetEndedAt sets EndedAt field to given value.
func (o *IterationRep) HasEndedAt() bool
HasEndedAt returns a boolean if a field has been set.
func (o *IterationRep) GetWinningTreatmentId() string
GetWinningTreatmentId returns the WinningTreatmentId field if non-nil, zero value otherwise.
func (o *IterationRep) GetWinningTreatmentIdOk() (*string, bool)
GetWinningTreatmentIdOk returns a tuple with the WinningTreatmentId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IterationRep) SetWinningTreatmentId(v string)
SetWinningTreatmentId sets WinningTreatmentId field to given value.
func (o *IterationRep) HasWinningTreatmentId() bool
HasWinningTreatmentId returns a boolean if a field has been set.
func (o *IterationRep) GetWinningReason() string
GetWinningReason returns the WinningReason field if non-nil, zero value otherwise.
func (o *IterationRep) GetWinningReasonOk() (*string, bool)
GetWinningReasonOk returns a tuple with the WinningReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *IterationRep) SetWinningReason(v string)
SetWinningReason sets WinningReason field to given value.
func (o *IterationRep) HasWinningReason() bool
HasWinningReason returns a boolean if a field has been set.
func (o *IterationRep) GetCanReshuffleTraffic() bool
GetCanReshuffleTraffic returns the CanReshuffleTraffic field if non-nil, zero value otherwise.
func (o *IterationRep) 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 *IterationRep) SetCanReshuffleTraffic(v bool)
SetCanReshuffleTraffic sets CanReshuffleTraffic field to given value.
func (o *IterationRep) HasCanReshuffleTraffic() bool
HasCanReshuffleTraffic returns a boolean if a field has been set.
func (o *IterationRep) GetFlags() map[string]FlagRep
GetFlags returns the Flags field if non-nil, zero value otherwise.
func (o *IterationRep) 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 *IterationRep) SetFlags(v map[string]FlagRep)
SetFlags sets Flags field to given value.
func (o *IterationRep) HasFlags() bool
HasFlags returns a boolean if a field has been set.
func (o *IterationRep) GetPrimaryMetric() MetricV2Rep
GetPrimaryMetric returns the PrimaryMetric field if non-nil, zero value otherwise.
func (o *IterationRep) 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 *IterationRep) SetPrimaryMetric(v MetricV2Rep)
SetPrimaryMetric sets PrimaryMetric field to given value.
func (o *IterationRep) HasPrimaryMetric() bool
HasPrimaryMetric returns a boolean if a field has been set.
func (o *IterationRep) GetRandomizationUnit() string
GetRandomizationUnit returns the RandomizationUnit field if non-nil, zero value otherwise.
func (o *IterationRep) 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 *IterationRep) SetRandomizationUnit(v string)
SetRandomizationUnit sets RandomizationUnit field to given value.
func (o *IterationRep) HasRandomizationUnit() bool
HasRandomizationUnit returns a boolean if a field has been set.
func (o *IterationRep) GetTreatments() []TreatmentRep
GetTreatments returns the Treatments field if non-nil, zero value otherwise.
func (o *IterationRep) 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 *IterationRep) SetTreatments(v []TreatmentRep)
SetTreatments sets Treatments field to given value.
func (o *IterationRep) HasTreatments() bool
HasTreatments returns a boolean if a field has been set.
func (o *IterationRep) GetSecondaryMetrics() []MetricV2Rep
GetSecondaryMetrics returns the SecondaryMetrics field if non-nil, zero value otherwise.
func (o *IterationRep) 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 *IterationRep) SetSecondaryMetrics(v []MetricV2Rep)
SetSecondaryMetrics sets SecondaryMetrics field to given value.
func (o *IterationRep) HasSecondaryMetrics() bool
HasSecondaryMetrics returns a boolean if a field has been set.