Skip to content

Latest commit

 

History

History
520 lines (279 loc) · 14.1 KB

File metadata and controls

520 lines (279 loc) · 14.1 KB

Experiment

Properties

Name Type Description Notes
Id Pointer to string The experiment ID [optional]
Key string The experiment key
Name string The experiment name
Description Pointer to string The experiment description [optional]
MaintainerId string The ID of the member who maintains this experiment.
CreationDate int64
EnvironmentKey string
Methodology Pointer to string The results analysis approach. [optional]
DataSource Pointer to string The source of metric data in order to analyze results. Defaults to "launchdarkly" when not provided. [optional]
ArchivedDate Pointer to int64 [optional]
Tags Pointer to []string Tags for the experiment [optional]
Links map[string]Link The location and content type of related resources
HoldoutId Pointer to string The holdout ID [optional]
CurrentIteration Pointer to IterationRep [optional]
Type Pointer to string The experiment type [optional]
Access Pointer to Access [optional]
DraftIteration Pointer to IterationRep [optional]
PreviousIterations Pointer to []IterationRep Details on the previous iterations for this experiment. [optional]
AnalysisConfig Pointer to AnalysisConfigRep [optional]
MutableFieldsByStatus Pointer to MutableFieldsByStatusRep [optional]

Methods

NewExperiment

func NewExperiment(key string, name string, maintainerId string, creationDate int64, environmentKey string, links map[string]Link, ) *Experiment

NewExperiment instantiates a new Experiment 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

NewExperimentWithDefaults

func NewExperimentWithDefaults() *Experiment

NewExperimentWithDefaults instantiates a new Experiment 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

GetId

func (o *Experiment) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *Experiment) 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.

SetId

func (o *Experiment) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *Experiment) HasId() bool

HasId returns a boolean if a field has been set.

GetKey

func (o *Experiment) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

func (o *Experiment) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetKey

func (o *Experiment) SetKey(v string)

SetKey sets Key field to given value.

GetName

func (o *Experiment) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *Experiment) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *Experiment) SetName(v string)

SetName sets Name field to given value.

GetDescription

func (o *Experiment) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *Experiment) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDescription

func (o *Experiment) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *Experiment) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetMaintainerId

func (o *Experiment) GetMaintainerId() string

GetMaintainerId returns the MaintainerId field if non-nil, zero value otherwise.

GetMaintainerIdOk

func (o *Experiment) GetMaintainerIdOk() (*string, bool)

GetMaintainerIdOk returns a tuple with the MaintainerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMaintainerId

func (o *Experiment) SetMaintainerId(v string)

SetMaintainerId sets MaintainerId field to given value.

GetCreationDate

func (o *Experiment) GetCreationDate() int64

GetCreationDate returns the CreationDate field if non-nil, zero value otherwise.

GetCreationDateOk

func (o *Experiment) GetCreationDateOk() (*int64, bool)

GetCreationDateOk returns a tuple with the CreationDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCreationDate

func (o *Experiment) SetCreationDate(v int64)

SetCreationDate sets CreationDate field to given value.

GetEnvironmentKey

func (o *Experiment) GetEnvironmentKey() string

GetEnvironmentKey returns the EnvironmentKey field if non-nil, zero value otherwise.

GetEnvironmentKeyOk

func (o *Experiment) GetEnvironmentKeyOk() (*string, bool)

GetEnvironmentKeyOk returns a tuple with the EnvironmentKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEnvironmentKey

func (o *Experiment) SetEnvironmentKey(v string)

SetEnvironmentKey sets EnvironmentKey field to given value.

GetMethodology

func (o *Experiment) GetMethodology() string

GetMethodology returns the Methodology field if non-nil, zero value otherwise.

GetMethodologyOk

func (o *Experiment) GetMethodologyOk() (*string, bool)

GetMethodologyOk returns a tuple with the Methodology field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMethodology

func (o *Experiment) SetMethodology(v string)

SetMethodology sets Methodology field to given value.

HasMethodology

func (o *Experiment) HasMethodology() bool

HasMethodology returns a boolean if a field has been set.

GetDataSource

func (o *Experiment) GetDataSource() string

GetDataSource returns the DataSource field if non-nil, zero value otherwise.

GetDataSourceOk

func (o *Experiment) GetDataSourceOk() (*string, bool)

GetDataSourceOk returns a tuple with the DataSource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDataSource

func (o *Experiment) SetDataSource(v string)

SetDataSource sets DataSource field to given value.

HasDataSource

func (o *Experiment) HasDataSource() bool

HasDataSource returns a boolean if a field has been set.

GetArchivedDate

func (o *Experiment) GetArchivedDate() int64

GetArchivedDate returns the ArchivedDate field if non-nil, zero value otherwise.

GetArchivedDateOk

func (o *Experiment) GetArchivedDateOk() (*int64, bool)

GetArchivedDateOk returns a tuple with the ArchivedDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetArchivedDate

func (o *Experiment) SetArchivedDate(v int64)

SetArchivedDate sets ArchivedDate field to given value.

HasArchivedDate

func (o *Experiment) HasArchivedDate() bool

HasArchivedDate returns a boolean if a field has been set.

GetTags

func (o *Experiment) GetTags() []string

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

func (o *Experiment) GetTagsOk() (*[]string, bool)

GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTags

func (o *Experiment) SetTags(v []string)

SetTags sets Tags field to given value.

HasTags

func (o *Experiment) HasTags() bool

HasTags returns a boolean if a field has been set.

GetLinks

func (o *Experiment) GetLinks() map[string]Link

GetLinks returns the Links field if non-nil, zero value otherwise.

GetLinksOk

func (o *Experiment) GetLinksOk() (*map[string]Link, bool)

GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLinks

func (o *Experiment) SetLinks(v map[string]Link)

SetLinks sets Links field to given value.

GetHoldoutId

func (o *Experiment) GetHoldoutId() string

GetHoldoutId returns the HoldoutId field if non-nil, zero value otherwise.

GetHoldoutIdOk

func (o *Experiment) GetHoldoutIdOk() (*string, bool)

GetHoldoutIdOk returns a tuple with the HoldoutId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetHoldoutId

func (o *Experiment) SetHoldoutId(v string)

SetHoldoutId sets HoldoutId field to given value.

HasHoldoutId

func (o *Experiment) HasHoldoutId() bool

HasHoldoutId returns a boolean if a field has been set.

GetCurrentIteration

func (o *Experiment) GetCurrentIteration() IterationRep

GetCurrentIteration returns the CurrentIteration field if non-nil, zero value otherwise.

GetCurrentIterationOk

func (o *Experiment) GetCurrentIterationOk() (*IterationRep, bool)

GetCurrentIterationOk returns a tuple with the CurrentIteration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCurrentIteration

func (o *Experiment) SetCurrentIteration(v IterationRep)

SetCurrentIteration sets CurrentIteration field to given value.

HasCurrentIteration

func (o *Experiment) HasCurrentIteration() bool

HasCurrentIteration returns a boolean if a field has been set.

GetType

func (o *Experiment) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *Experiment) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetType

func (o *Experiment) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *Experiment) HasType() bool

HasType returns a boolean if a field has been set.

GetAccess

func (o *Experiment) GetAccess() Access

GetAccess returns the Access field if non-nil, zero value otherwise.

GetAccessOk

func (o *Experiment) GetAccessOk() (*Access, bool)

GetAccessOk returns a tuple with the Access field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAccess

func (o *Experiment) SetAccess(v Access)

SetAccess sets Access field to given value.

HasAccess

func (o *Experiment) HasAccess() bool

HasAccess returns a boolean if a field has been set.

GetDraftIteration

func (o *Experiment) GetDraftIteration() IterationRep

GetDraftIteration returns the DraftIteration field if non-nil, zero value otherwise.

GetDraftIterationOk

func (o *Experiment) GetDraftIterationOk() (*IterationRep, bool)

GetDraftIterationOk returns a tuple with the DraftIteration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDraftIteration

func (o *Experiment) SetDraftIteration(v IterationRep)

SetDraftIteration sets DraftIteration field to given value.

HasDraftIteration

func (o *Experiment) HasDraftIteration() bool

HasDraftIteration returns a boolean if a field has been set.

GetPreviousIterations

func (o *Experiment) GetPreviousIterations() []IterationRep

GetPreviousIterations returns the PreviousIterations field if non-nil, zero value otherwise.

GetPreviousIterationsOk

func (o *Experiment) GetPreviousIterationsOk() (*[]IterationRep, bool)

GetPreviousIterationsOk returns a tuple with the PreviousIterations field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPreviousIterations

func (o *Experiment) SetPreviousIterations(v []IterationRep)

SetPreviousIterations sets PreviousIterations field to given value.

HasPreviousIterations

func (o *Experiment) HasPreviousIterations() bool

HasPreviousIterations returns a boolean if a field has been set.

GetAnalysisConfig

func (o *Experiment) GetAnalysisConfig() AnalysisConfigRep

GetAnalysisConfig returns the AnalysisConfig field if non-nil, zero value otherwise.

GetAnalysisConfigOk

func (o *Experiment) GetAnalysisConfigOk() (*AnalysisConfigRep, bool)

GetAnalysisConfigOk returns a tuple with the AnalysisConfig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAnalysisConfig

func (o *Experiment) SetAnalysisConfig(v AnalysisConfigRep)

SetAnalysisConfig sets AnalysisConfig field to given value.

HasAnalysisConfig

func (o *Experiment) HasAnalysisConfig() bool

HasAnalysisConfig returns a boolean if a field has been set.

GetMutableFieldsByStatus

func (o *Experiment) GetMutableFieldsByStatus() MutableFieldsByStatusRep

GetMutableFieldsByStatus returns the MutableFieldsByStatus field if non-nil, zero value otherwise.

GetMutableFieldsByStatusOk

func (o *Experiment) GetMutableFieldsByStatusOk() (*MutableFieldsByStatusRep, bool)

GetMutableFieldsByStatusOk returns a tuple with the MutableFieldsByStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMutableFieldsByStatus

func (o *Experiment) SetMutableFieldsByStatus(v MutableFieldsByStatusRep)

SetMutableFieldsByStatus sets MutableFieldsByStatus field to given value.

HasMutableFieldsByStatus

func (o *Experiment) HasMutableFieldsByStatus() bool

HasMutableFieldsByStatus returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]