Skip to content

EasyManagedSwitchGeneralConfig

Properties

Name Type Description Notes
JumboEnable Pointer to bool Parameter [jumboEnable] should be true or false. [optional]
LedSetting Pointer to int32 LED setting should be a value as follows: 0:off; 1:on; 2:Use Site Settings [optional]
Location Pointer to DeviceLocationDetailVO [optional]
Name Pointer to string Device name should contain 1 to 32 characters. [optional]
PowerAlertEnable Pointer to bool Power alert status. [optional]
Remember Pointer to bool Parameter [remember] should be true or false. [optional]
TagIds Pointer to []string Tag IDs [optional]

Methods

NewEasyManagedSwitchGeneralConfig

func NewEasyManagedSwitchGeneralConfig() *EasyManagedSwitchGeneralConfig

NewEasyManagedSwitchGeneralConfig instantiates a new EasyManagedSwitchGeneralConfig 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

NewEasyManagedSwitchGeneralConfigWithDefaults

func NewEasyManagedSwitchGeneralConfigWithDefaults() *EasyManagedSwitchGeneralConfig

NewEasyManagedSwitchGeneralConfigWithDefaults instantiates a new EasyManagedSwitchGeneralConfig 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

GetJumboEnable

func (o *EasyManagedSwitchGeneralConfig) GetJumboEnable() bool

GetJumboEnable returns the JumboEnable field if non-nil, zero value otherwise.

GetJumboEnableOk

func (o *EasyManagedSwitchGeneralConfig) GetJumboEnableOk() (*bool, bool)

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

SetJumboEnable

func (o *EasyManagedSwitchGeneralConfig) SetJumboEnable(v bool)

SetJumboEnable sets JumboEnable field to given value.

HasJumboEnable

func (o *EasyManagedSwitchGeneralConfig) HasJumboEnable() bool

HasJumboEnable returns a boolean if a field has been set.

GetLedSetting

func (o *EasyManagedSwitchGeneralConfig) GetLedSetting() int32

GetLedSetting returns the LedSetting field if non-nil, zero value otherwise.

GetLedSettingOk

func (o *EasyManagedSwitchGeneralConfig) GetLedSettingOk() (*int32, bool)

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

SetLedSetting

func (o *EasyManagedSwitchGeneralConfig) SetLedSetting(v int32)

SetLedSetting sets LedSetting field to given value.

HasLedSetting

func (o *EasyManagedSwitchGeneralConfig) HasLedSetting() bool

HasLedSetting returns a boolean if a field has been set.

GetLocation

func (o *EasyManagedSwitchGeneralConfig) GetLocation() DeviceLocationDetailVO

GetLocation returns the Location field if non-nil, zero value otherwise.

GetLocationOk

func (o *EasyManagedSwitchGeneralConfig) GetLocationOk() (*DeviceLocationDetailVO, bool)

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

SetLocation

func (o *EasyManagedSwitchGeneralConfig) SetLocation(v DeviceLocationDetailVO)

SetLocation sets Location field to given value.

HasLocation

func (o *EasyManagedSwitchGeneralConfig) HasLocation() bool

HasLocation returns a boolean if a field has been set.

GetName

func (o *EasyManagedSwitchGeneralConfig) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *EasyManagedSwitchGeneralConfig) HasName() bool

HasName returns a boolean if a field has been set.

GetPowerAlertEnable

func (o *EasyManagedSwitchGeneralConfig) GetPowerAlertEnable() bool

GetPowerAlertEnable returns the PowerAlertEnable field if non-nil, zero value otherwise.

GetPowerAlertEnableOk

func (o *EasyManagedSwitchGeneralConfig) GetPowerAlertEnableOk() (*bool, bool)

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

SetPowerAlertEnable

func (o *EasyManagedSwitchGeneralConfig) SetPowerAlertEnable(v bool)

SetPowerAlertEnable sets PowerAlertEnable field to given value.

HasPowerAlertEnable

func (o *EasyManagedSwitchGeneralConfig) HasPowerAlertEnable() bool

HasPowerAlertEnable returns a boolean if a field has been set.

GetRemember

func (o *EasyManagedSwitchGeneralConfig) GetRemember() bool

GetRemember returns the Remember field if non-nil, zero value otherwise.

GetRememberOk

func (o *EasyManagedSwitchGeneralConfig) GetRememberOk() (*bool, bool)

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

SetRemember

func (o *EasyManagedSwitchGeneralConfig) SetRemember(v bool)

SetRemember sets Remember field to given value.

HasRemember

func (o *EasyManagedSwitchGeneralConfig) HasRemember() bool

HasRemember returns a boolean if a field has been set.

GetTagIds

func (o *EasyManagedSwitchGeneralConfig) GetTagIds() []string

GetTagIds returns the TagIds field if non-nil, zero value otherwise.

GetTagIdsOk

func (o *EasyManagedSwitchGeneralConfig) GetTagIdsOk() (*[]string, bool)

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

SetTagIds

func (o *EasyManagedSwitchGeneralConfig) SetTagIds(v []string)

SetTagIds sets TagIds field to given value.

HasTagIds

func (o *EasyManagedSwitchGeneralConfig) HasTagIds() bool

HasTagIds returns a boolean if a field has been set.

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