Name | Type | Description | Notes |
---|---|---|---|
Type | string | ||
State | string | State binding. The value of the input will be stored as a property in the state named after this ID. | |
InitialValue | Pointer to bool | Value to initialize the switch with. | [optional] |
OnValueChange | Pointer to ContentKitAction | [optional] | |
Confirm | Pointer to ContentKitConfirm | [optional] |
func NewContentKitSwitch(type_ string, state string, ) *ContentKitSwitch
NewContentKitSwitch instantiates a new ContentKitSwitch 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 NewContentKitSwitchWithDefaults() *ContentKitSwitch
NewContentKitSwitchWithDefaults instantiates a new ContentKitSwitch 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 *ContentKitSwitch) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *ContentKitSwitch) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContentKitSwitch) SetType(v string)
SetType sets Type field to given value.
func (o *ContentKitSwitch) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
func (o *ContentKitSwitch) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContentKitSwitch) SetState(v string)
SetState sets State field to given value.
func (o *ContentKitSwitch) GetInitialValue() bool
GetInitialValue returns the InitialValue field if non-nil, zero value otherwise.
func (o *ContentKitSwitch) GetInitialValueOk() (*bool, bool)
GetInitialValueOk returns a tuple with the InitialValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContentKitSwitch) SetInitialValue(v bool)
SetInitialValue sets InitialValue field to given value.
func (o *ContentKitSwitch) HasInitialValue() bool
HasInitialValue returns a boolean if a field has been set.
func (o *ContentKitSwitch) GetOnValueChange() ContentKitAction
GetOnValueChange returns the OnValueChange field if non-nil, zero value otherwise.
func (o *ContentKitSwitch) GetOnValueChangeOk() (*ContentKitAction, bool)
GetOnValueChangeOk returns a tuple with the OnValueChange field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContentKitSwitch) SetOnValueChange(v ContentKitAction)
SetOnValueChange sets OnValueChange field to given value.
func (o *ContentKitSwitch) HasOnValueChange() bool
HasOnValueChange returns a boolean if a field has been set.
func (o *ContentKitSwitch) GetConfirm() ContentKitConfirm
GetConfirm returns the Confirm field if non-nil, zero value otherwise.
func (o *ContentKitSwitch) GetConfirmOk() (*ContentKitConfirm, bool)
GetConfirmOk returns a tuple with the Confirm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContentKitSwitch) SetConfirm(v ContentKitConfirm)
SetConfirm sets Confirm field to given value.
func (o *ContentKitSwitch) HasConfirm() bool
HasConfirm returns a boolean if a field has been set.