Name | Type | Description | Notes |
---|---|---|---|
Label | string | A human-readable option label that will be shown in HubSpot. | |
Value | string | The internal value of the option, which must be used when setting the property value through the API. | |
Description | Pointer to string | A description of the option. | [optional] |
DisplayOrder | Pointer to int32 | Options are shown in order starting with the lowest positive integer value. Values of -1 will cause the option to be displayed after any positive values. | [optional] |
Hidden | bool | Hidden options won't be shown in HubSpot. |
func NewOptionInput(label string, value string, hidden bool, ) *OptionInput
NewOptionInput instantiates a new OptionInput 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 NewOptionInputWithDefaults() *OptionInput
NewOptionInputWithDefaults instantiates a new OptionInput 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 *OptionInput) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *OptionInput) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OptionInput) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *OptionInput) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *OptionInput) GetValueOk() (*string, 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 *OptionInput) SetValue(v string)
SetValue sets Value field to given value.
func (o *OptionInput) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *OptionInput) 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.
func (o *OptionInput) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *OptionInput) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *OptionInput) GetDisplayOrder() int32
GetDisplayOrder returns the DisplayOrder field if non-nil, zero value otherwise.
func (o *OptionInput) GetDisplayOrderOk() (*int32, bool)
GetDisplayOrderOk returns a tuple with the DisplayOrder field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OptionInput) SetDisplayOrder(v int32)
SetDisplayOrder sets DisplayOrder field to given value.
func (o *OptionInput) HasDisplayOrder() bool
HasDisplayOrder returns a boolean if a field has been set.
GetHidden
func (o *OptionInput) GetHidden() bool
GetHidden returns the Hidden field if non-nil, zero value otherwise.
GetHiddenOk
func (o *OptionInput) GetHiddenOk() (*bool, bool)
GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetHidden
func (o *OptionInput) SetHidden(v bool)
SetHidden sets Hidden field to given value.