Name | Type | Description | Notes |
---|---|---|---|
Conditions | Pointer to []ConditionModel | The list of conditions that are combined with logical AND operators. It can be one of the following: - User condition - Segment condition - Prerequisite flag condition | [optional] |
PercentageOptions | Pointer to []PercentageOptionModel | The percentage options from where the evaluation process will choose a value based on the flag's percentage evaluation attribute. | [optional] |
Value | Pointer to ValueModel | [optional] |
func NewTargetingRuleModel() *TargetingRuleModel
NewTargetingRuleModel instantiates a new TargetingRuleModel 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 NewTargetingRuleModelWithDefaults() *TargetingRuleModel
NewTargetingRuleModelWithDefaults instantiates a new TargetingRuleModel 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 *TargetingRuleModel) GetConditions() []ConditionModel
GetConditions returns the Conditions field if non-nil, zero value otherwise.
func (o *TargetingRuleModel) GetConditionsOk() (*[]ConditionModel, bool)
GetConditionsOk returns a tuple with the Conditions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetingRuleModel) SetConditions(v []ConditionModel)
SetConditions sets Conditions field to given value.
func (o *TargetingRuleModel) HasConditions() bool
HasConditions returns a boolean if a field has been set.
func (o *TargetingRuleModel) SetConditionsNil(b bool)
SetConditionsNil sets the value for Conditions to be an explicit nil
func (o *TargetingRuleModel) UnsetConditions()
UnsetConditions ensures that no value is present for Conditions, not even an explicit nil
func (o *TargetingRuleModel) GetPercentageOptions() []PercentageOptionModel
GetPercentageOptions returns the PercentageOptions field if non-nil, zero value otherwise.
func (o *TargetingRuleModel) GetPercentageOptionsOk() (*[]PercentageOptionModel, bool)
GetPercentageOptionsOk returns a tuple with the PercentageOptions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetingRuleModel) SetPercentageOptions(v []PercentageOptionModel)
SetPercentageOptions sets PercentageOptions field to given value.
func (o *TargetingRuleModel) HasPercentageOptions() bool
HasPercentageOptions returns a boolean if a field has been set.
func (o *TargetingRuleModel) SetPercentageOptionsNil(b bool)
SetPercentageOptionsNil sets the value for PercentageOptions to be an explicit nil
func (o *TargetingRuleModel) UnsetPercentageOptions()
UnsetPercentageOptions ensures that no value is present for PercentageOptions, not even an explicit nil
func (o *TargetingRuleModel) GetValue() ValueModel
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *TargetingRuleModel) GetValueOk() (*ValueModel, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetingRuleModel) SetValue(v ValueModel)
SetValue sets Value field to given value.
func (o *TargetingRuleModel) HasValue() bool
HasValue returns a boolean if a field has been set.