Skip to content

Latest commit

 

History

History
200 lines (111 loc) · 5.94 KB

UpdateSegmentModel.md

File metadata and controls

200 lines (111 loc) · 5.94 KB

UpdateSegmentModel

Properties

Name Type Description Notes
Name Pointer to NullableString [optional]
Description Pointer to NullableString [optional]
ComparisonAttribute Pointer to NullableString [optional]
Comparator Pointer to RolloutRuleComparator [optional]
ComparisonValue Pointer to NullableString [optional]

Methods

NewUpdateSegmentModel

func NewUpdateSegmentModel() *UpdateSegmentModel

NewUpdateSegmentModel instantiates a new UpdateSegmentModel 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

NewUpdateSegmentModelWithDefaults

func NewUpdateSegmentModelWithDefaults() *UpdateSegmentModel

NewUpdateSegmentModelWithDefaults instantiates a new UpdateSegmentModel 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

GetName

func (o *UpdateSegmentModel) GetName() string

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

GetNameOk

func (o *UpdateSegmentModel) 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 *UpdateSegmentModel) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *UpdateSegmentModel) HasName() bool

HasName returns a boolean if a field has been set.

SetNameNil

func (o *UpdateSegmentModel) SetNameNil(b bool)

SetNameNil sets the value for Name to be an explicit nil

UnsetName

func (o *UpdateSegmentModel) UnsetName()

UnsetName ensures that no value is present for Name, not even an explicit nil

GetDescription

func (o *UpdateSegmentModel) GetDescription() string

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

GetDescriptionOk

func (o *UpdateSegmentModel) 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 *UpdateSegmentModel) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *UpdateSegmentModel) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescriptionNil

func (o *UpdateSegmentModel) SetDescriptionNil(b bool)

SetDescriptionNil sets the value for Description to be an explicit nil

UnsetDescription

func (o *UpdateSegmentModel) UnsetDescription()

UnsetDescription ensures that no value is present for Description, not even an explicit nil

GetComparisonAttribute

func (o *UpdateSegmentModel) GetComparisonAttribute() string

GetComparisonAttribute returns the ComparisonAttribute field if non-nil, zero value otherwise.

GetComparisonAttributeOk

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

SetComparisonAttribute

func (o *UpdateSegmentModel) SetComparisonAttribute(v string)

SetComparisonAttribute sets ComparisonAttribute field to given value.

HasComparisonAttribute

func (o *UpdateSegmentModel) HasComparisonAttribute() bool

HasComparisonAttribute returns a boolean if a field has been set.

SetComparisonAttributeNil

func (o *UpdateSegmentModel) SetComparisonAttributeNil(b bool)

SetComparisonAttributeNil sets the value for ComparisonAttribute to be an explicit nil

UnsetComparisonAttribute

func (o *UpdateSegmentModel) UnsetComparisonAttribute()

UnsetComparisonAttribute ensures that no value is present for ComparisonAttribute, not even an explicit nil

GetComparator

func (o *UpdateSegmentModel) GetComparator() RolloutRuleComparator

GetComparator returns the Comparator field if non-nil, zero value otherwise.

GetComparatorOk

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

SetComparator

func (o *UpdateSegmentModel) SetComparator(v RolloutRuleComparator)

SetComparator sets Comparator field to given value.

HasComparator

func (o *UpdateSegmentModel) HasComparator() bool

HasComparator returns a boolean if a field has been set.

GetComparisonValue

func (o *UpdateSegmentModel) GetComparisonValue() string

GetComparisonValue returns the ComparisonValue field if non-nil, zero value otherwise.

GetComparisonValueOk

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

SetComparisonValue

func (o *UpdateSegmentModel) SetComparisonValue(v string)

SetComparisonValue sets ComparisonValue field to given value.

HasComparisonValue

func (o *UpdateSegmentModel) HasComparisonValue() bool

HasComparisonValue returns a boolean if a field has been set.

SetComparisonValueNil

func (o *UpdateSegmentModel) SetComparisonValueNil(b bool)

SetComparisonValueNil sets the value for ComparisonValue to be an explicit nil

UnsetComparisonValue

func (o *UpdateSegmentModel) UnsetComparisonValue()

UnsetComparisonValue ensures that no value is present for ComparisonValue, not even an explicit nil

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