Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 2.19 KB

PercentageOptionModel.md

File metadata and controls

72 lines (39 loc) · 2.19 KB

PercentageOptionModel

Properties

Name Type Description Notes
Percentage int32 A number between 0 and 100 that represents a randomly allocated fraction of the users.
Value ValueModel

Methods

NewPercentageOptionModel

func NewPercentageOptionModel(percentage int32, value ValueModel, ) *PercentageOptionModel

NewPercentageOptionModel instantiates a new PercentageOptionModel 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

NewPercentageOptionModelWithDefaults

func NewPercentageOptionModelWithDefaults() *PercentageOptionModel

NewPercentageOptionModelWithDefaults instantiates a new PercentageOptionModel 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

GetPercentage

func (o *PercentageOptionModel) GetPercentage() int32

GetPercentage returns the Percentage field if non-nil, zero value otherwise.

GetPercentageOk

func (o *PercentageOptionModel) GetPercentageOk() (*int32, bool)

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

SetPercentage

func (o *PercentageOptionModel) SetPercentage(v int32)

SetPercentage sets Percentage field to given value.

GetValue

func (o *PercentageOptionModel) GetValue() ValueModel

GetValue returns the Value field if non-nil, zero value otherwise.

GetValueOk

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

SetValue

func (o *PercentageOptionModel) SetValue(v ValueModel)

SetValue sets Value field to given value.

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