Skip to content

Latest commit

 

History

History
181 lines (98 loc) · 5.75 KB

ContextInstanceEvaluationReason.md

File metadata and controls

181 lines (98 loc) · 5.75 KB

ContextInstanceEvaluationReason

Properties

Name Type Description Notes
Kind string Describes the general reason that LaunchDarkly selected this variation.
RuleIndex Pointer to int32 The positional index of the matching rule if the kind is 'RULE_MATCH'. The index is 0-based. [optional]
RuleID Pointer to string The unique identifier of the matching rule if the kind is 'RULE_MATCH'. [optional]
PrerequisiteKey Pointer to string The key of the flag that failed if the kind is 'PREREQUISITE_FAILED'. [optional]
InExperiment Pointer to bool Indicates whether the context was evaluated as part of an experiment. [optional]
ErrorKind Pointer to string The specific error type if the kind is 'ERROR'. [optional]

Methods

NewContextInstanceEvaluationReason

func NewContextInstanceEvaluationReason(kind string, ) *ContextInstanceEvaluationReason

NewContextInstanceEvaluationReason instantiates a new ContextInstanceEvaluationReason 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

NewContextInstanceEvaluationReasonWithDefaults

func NewContextInstanceEvaluationReasonWithDefaults() *ContextInstanceEvaluationReason

NewContextInstanceEvaluationReasonWithDefaults instantiates a new ContextInstanceEvaluationReason 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

GetKind

func (o *ContextInstanceEvaluationReason) GetKind() string

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

func (o *ContextInstanceEvaluationReason) GetKindOk() (*string, bool)

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

SetKind

func (o *ContextInstanceEvaluationReason) SetKind(v string)

SetKind sets Kind field to given value.

GetRuleIndex

func (o *ContextInstanceEvaluationReason) GetRuleIndex() int32

GetRuleIndex returns the RuleIndex field if non-nil, zero value otherwise.

GetRuleIndexOk

func (o *ContextInstanceEvaluationReason) GetRuleIndexOk() (*int32, bool)

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

SetRuleIndex

func (o *ContextInstanceEvaluationReason) SetRuleIndex(v int32)

SetRuleIndex sets RuleIndex field to given value.

HasRuleIndex

func (o *ContextInstanceEvaluationReason) HasRuleIndex() bool

HasRuleIndex returns a boolean if a field has been set.

GetRuleID

func (o *ContextInstanceEvaluationReason) GetRuleID() string

GetRuleID returns the RuleID field if non-nil, zero value otherwise.

GetRuleIDOk

func (o *ContextInstanceEvaluationReason) GetRuleIDOk() (*string, bool)

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

SetRuleID

func (o *ContextInstanceEvaluationReason) SetRuleID(v string)

SetRuleID sets RuleID field to given value.

HasRuleID

func (o *ContextInstanceEvaluationReason) HasRuleID() bool

HasRuleID returns a boolean if a field has been set.

GetPrerequisiteKey

func (o *ContextInstanceEvaluationReason) GetPrerequisiteKey() string

GetPrerequisiteKey returns the PrerequisiteKey field if non-nil, zero value otherwise.

GetPrerequisiteKeyOk

func (o *ContextInstanceEvaluationReason) GetPrerequisiteKeyOk() (*string, bool)

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

SetPrerequisiteKey

func (o *ContextInstanceEvaluationReason) SetPrerequisiteKey(v string)

SetPrerequisiteKey sets PrerequisiteKey field to given value.

HasPrerequisiteKey

func (o *ContextInstanceEvaluationReason) HasPrerequisiteKey() bool

HasPrerequisiteKey returns a boolean if a field has been set.

GetInExperiment

func (o *ContextInstanceEvaluationReason) GetInExperiment() bool

GetInExperiment returns the InExperiment field if non-nil, zero value otherwise.

GetInExperimentOk

func (o *ContextInstanceEvaluationReason) GetInExperimentOk() (*bool, bool)

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

SetInExperiment

func (o *ContextInstanceEvaluationReason) SetInExperiment(v bool)

SetInExperiment sets InExperiment field to given value.

HasInExperiment

func (o *ContextInstanceEvaluationReason) HasInExperiment() bool

HasInExperiment returns a boolean if a field has been set.

GetErrorKind

func (o *ContextInstanceEvaluationReason) GetErrorKind() string

GetErrorKind returns the ErrorKind field if non-nil, zero value otherwise.

GetErrorKindOk

func (o *ContextInstanceEvaluationReason) GetErrorKindOk() (*string, bool)

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

SetErrorKind

func (o *ContextInstanceEvaluationReason) SetErrorKind(v string)

SetErrorKind sets ErrorKind field to given value.

HasErrorKind

func (o *ContextInstanceEvaluationReason) HasErrorKind() bool

HasErrorKind returns a boolean if a field has been set.

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