Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | [optional] | |
Clauses | []Clause | ||
Weight | Pointer to int32 | [optional] | |
RolloutContextKind | Pointer to string | [optional] | |
BucketBy | Pointer to string | [optional] |
func NewUserSegmentRule(clauses []Clause, ) *UserSegmentRule
NewUserSegmentRule instantiates a new UserSegmentRule 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 NewUserSegmentRuleWithDefaults() *UserSegmentRule
NewUserSegmentRuleWithDefaults instantiates a new UserSegmentRule 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 *UserSegmentRule) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *UserSegmentRule) 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 *UserSegmentRule) SetId(v string)
SetId sets Id field to given value.
func (o *UserSegmentRule) HasId() bool
HasId returns a boolean if a field has been set.
func (o *UserSegmentRule) GetClauses() []Clause
GetClauses returns the Clauses field if non-nil, zero value otherwise.
func (o *UserSegmentRule) GetClausesOk() (*[]Clause, bool)
GetClausesOk returns a tuple with the Clauses field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserSegmentRule) SetClauses(v []Clause)
SetClauses sets Clauses field to given value.
func (o *UserSegmentRule) GetWeight() int32
GetWeight returns the Weight field if non-nil, zero value otherwise.
func (o *UserSegmentRule) GetWeightOk() (*int32, bool)
GetWeightOk returns a tuple with the Weight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserSegmentRule) SetWeight(v int32)
SetWeight sets Weight field to given value.
func (o *UserSegmentRule) HasWeight() bool
HasWeight returns a boolean if a field has been set.
func (o *UserSegmentRule) GetRolloutContextKind() string
GetRolloutContextKind returns the RolloutContextKind field if non-nil, zero value otherwise.
func (o *UserSegmentRule) GetRolloutContextKindOk() (*string, bool)
GetRolloutContextKindOk returns a tuple with the RolloutContextKind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserSegmentRule) SetRolloutContextKind(v string)
SetRolloutContextKind sets RolloutContextKind field to given value.
func (o *UserSegmentRule) HasRolloutContextKind() bool
HasRolloutContextKind returns a boolean if a field has been set.
func (o *UserSegmentRule) GetBucketBy() string
GetBucketBy returns the BucketBy field if non-nil, zero value otherwise.
func (o *UserSegmentRule) GetBucketByOk() (*string, bool)
GetBucketByOk returns a tuple with the BucketBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UserSegmentRule) SetBucketBy(v string)
SetBucketBy sets BucketBy field to given value.
func (o *UserSegmentRule) HasBucketBy() bool
HasBucketBy returns a boolean if a field has been set.