Name | Type | Description | Notes |
---|---|---|---|
ComparisonAttribute | Pointer to NullableString | The user attribute to compare. | [optional] |
Comparator | Pointer to RolloutRuleComparator | [optional] | |
ComparisonValue | Pointer to NullableString | The value to compare against. | [optional] |
Value | Pointer to interface{} | The value to serve when the comparison matches. It must respect the setting type. | [optional] |
SegmentComparator | Pointer to SegmentComparator | [optional] | |
SegmentId | Pointer to NullableString | The segment to compare against. | [optional] |
func NewRolloutRuleModel() *RolloutRuleModel
NewRolloutRuleModel instantiates a new RolloutRuleModel 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 NewRolloutRuleModelWithDefaults() *RolloutRuleModel
NewRolloutRuleModelWithDefaults instantiates a new RolloutRuleModel 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 *RolloutRuleModel) GetComparisonAttribute() string
GetComparisonAttribute returns the ComparisonAttribute field if non-nil, zero value otherwise.
func (o *RolloutRuleModel) GetComparisonAttributeOk() (*string, bool)
GetComparisonAttributeOk returns a tuple with the ComparisonAttribute field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RolloutRuleModel) SetComparisonAttribute(v string)
SetComparisonAttribute sets ComparisonAttribute field to given value.
func (o *RolloutRuleModel) HasComparisonAttribute() bool
HasComparisonAttribute returns a boolean if a field has been set.
func (o *RolloutRuleModel) SetComparisonAttributeNil(b bool)
SetComparisonAttributeNil sets the value for ComparisonAttribute to be an explicit nil
func (o *RolloutRuleModel) UnsetComparisonAttribute()
UnsetComparisonAttribute ensures that no value is present for ComparisonAttribute, not even an explicit nil
func (o *RolloutRuleModel) GetComparator() RolloutRuleComparator
GetComparator returns the Comparator field if non-nil, zero value otherwise.
func (o *RolloutRuleModel) GetComparatorOk() (*RolloutRuleComparator, bool)
GetComparatorOk returns a tuple with the Comparator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RolloutRuleModel) SetComparator(v RolloutRuleComparator)
SetComparator sets Comparator field to given value.
func (o *RolloutRuleModel) HasComparator() bool
HasComparator returns a boolean if a field has been set.
func (o *RolloutRuleModel) GetComparisonValue() string
GetComparisonValue returns the ComparisonValue field if non-nil, zero value otherwise.
func (o *RolloutRuleModel) GetComparisonValueOk() (*string, bool)
GetComparisonValueOk returns a tuple with the ComparisonValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RolloutRuleModel) SetComparisonValue(v string)
SetComparisonValue sets ComparisonValue field to given value.
func (o *RolloutRuleModel) HasComparisonValue() bool
HasComparisonValue returns a boolean if a field has been set.
func (o *RolloutRuleModel) SetComparisonValueNil(b bool)
SetComparisonValueNil sets the value for ComparisonValue to be an explicit nil
func (o *RolloutRuleModel) UnsetComparisonValue()
UnsetComparisonValue ensures that no value is present for ComparisonValue, not even an explicit nil
func (o *RolloutRuleModel) GetValue() interface{}
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *RolloutRuleModel) GetValueOk() (*interface{}, 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 *RolloutRuleModel) SetValue(v interface{})
SetValue sets Value field to given value.
func (o *RolloutRuleModel) HasValue() bool
HasValue returns a boolean if a field has been set.
func (o *RolloutRuleModel) SetValueNil(b bool)
SetValueNil sets the value for Value to be an explicit nil
func (o *RolloutRuleModel) UnsetValue()
UnsetValue ensures that no value is present for Value, not even an explicit nil
func (o *RolloutRuleModel) GetSegmentComparator() SegmentComparator
GetSegmentComparator returns the SegmentComparator field if non-nil, zero value otherwise.
func (o *RolloutRuleModel) GetSegmentComparatorOk() (*SegmentComparator, bool)
GetSegmentComparatorOk returns a tuple with the SegmentComparator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RolloutRuleModel) SetSegmentComparator(v SegmentComparator)
SetSegmentComparator sets SegmentComparator field to given value.
func (o *RolloutRuleModel) HasSegmentComparator() bool
HasSegmentComparator returns a boolean if a field has been set.
func (o *RolloutRuleModel) GetSegmentId() string
GetSegmentId returns the SegmentId field if non-nil, zero value otherwise.
func (o *RolloutRuleModel) GetSegmentIdOk() (*string, bool)
GetSegmentIdOk returns a tuple with the SegmentId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RolloutRuleModel) SetSegmentId(v string)
SetSegmentId sets SegmentId field to given value.
func (o *RolloutRuleModel) HasSegmentId() bool
HasSegmentId returns a boolean if a field has been set.
func (o *RolloutRuleModel) SetSegmentIdNil(b bool)
SetSegmentIdNil sets the value for SegmentId to be an explicit nil
func (o *RolloutRuleModel) UnsetSegmentId()
UnsetSegmentId ensures that no value is present for SegmentId, not even an explicit nil