Skip to content

Latest commit

 

History

History
145 lines (78 loc) · 4.04 KB

OptionInput.md

File metadata and controls

145 lines (78 loc) · 4.04 KB

OptionInput

Properties

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.

Methods

NewOptionInput

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

NewOptionInputWithDefaults

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

GetLabel

func (o *OptionInput) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

GetLabelOk

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.

SetLabel

func (o *OptionInput) SetLabel(v string)

SetLabel sets Label field to given value.

GetValue

func (o *OptionInput) GetValue() string

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

GetValueOk

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.

SetValue

func (o *OptionInput) SetValue(v string)

SetValue sets Value field to given value.

GetDescription

func (o *OptionInput) GetDescription() string

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

GetDescriptionOk

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.

SetDescription

func (o *OptionInput) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *OptionInput) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetDisplayOrder

func (o *OptionInput) GetDisplayOrder() int32

GetDisplayOrder returns the DisplayOrder field if non-nil, zero value otherwise.

GetDisplayOrderOk

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.

SetDisplayOrder

func (o *OptionInput) SetDisplayOrder(v int32)

SetDisplayOrder sets DisplayOrder field to given value.

HasDisplayOrder

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.

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