Skip to content

DeviceTemplateForVlanVO

Properties

Name Type Description Notes
Id Pointer to string Device template id. [optional]
Mac Pointer to string Device template mac, it is the same with id. [optional]
Mode Pointer to string Device template model. [optional]
ModelVersion Pointer to string Device template model version. [optional]
Name Pointer to string Device template name. [optional]
ShowModel Pointer to string Device template show model [optional]
Type Pointer to string Device template type, it should be a value as follows: \"gateway\", \"switch\" [optional]

Methods

NewDeviceTemplateForVlanVO

func NewDeviceTemplateForVlanVO() *DeviceTemplateForVlanVO

NewDeviceTemplateForVlanVO instantiates a new DeviceTemplateForVlanVO 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

NewDeviceTemplateForVlanVOWithDefaults

func NewDeviceTemplateForVlanVOWithDefaults() *DeviceTemplateForVlanVO

NewDeviceTemplateForVlanVOWithDefaults instantiates a new DeviceTemplateForVlanVO 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

GetId

func (o *DeviceTemplateForVlanVO) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *DeviceTemplateForVlanVO) GetIdOk() (*string, bool)

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

SetId

func (o *DeviceTemplateForVlanVO) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *DeviceTemplateForVlanVO) HasId() bool

HasId returns a boolean if a field has been set.

GetMac

func (o *DeviceTemplateForVlanVO) GetMac() string

GetMac returns the Mac field if non-nil, zero value otherwise.

GetMacOk

func (o *DeviceTemplateForVlanVO) GetMacOk() (*string, bool)

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

SetMac

func (o *DeviceTemplateForVlanVO) SetMac(v string)

SetMac sets Mac field to given value.

HasMac

func (o *DeviceTemplateForVlanVO) HasMac() bool

HasMac returns a boolean if a field has been set.

GetMode

func (o *DeviceTemplateForVlanVO) GetMode() string

GetMode returns the Mode field if non-nil, zero value otherwise.

GetModeOk

func (o *DeviceTemplateForVlanVO) GetModeOk() (*string, bool)

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

SetMode

func (o *DeviceTemplateForVlanVO) SetMode(v string)

SetMode sets Mode field to given value.

HasMode

func (o *DeviceTemplateForVlanVO) HasMode() bool

HasMode returns a boolean if a field has been set.

GetModelVersion

func (o *DeviceTemplateForVlanVO) GetModelVersion() string

GetModelVersion returns the ModelVersion field if non-nil, zero value otherwise.

GetModelVersionOk

func (o *DeviceTemplateForVlanVO) GetModelVersionOk() (*string, bool)

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

SetModelVersion

func (o *DeviceTemplateForVlanVO) SetModelVersion(v string)

SetModelVersion sets ModelVersion field to given value.

HasModelVersion

func (o *DeviceTemplateForVlanVO) HasModelVersion() bool

HasModelVersion returns a boolean if a field has been set.

GetName

func (o *DeviceTemplateForVlanVO) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *DeviceTemplateForVlanVO) HasName() bool

HasName returns a boolean if a field has been set.

GetShowModel

func (o *DeviceTemplateForVlanVO) GetShowModel() string

GetShowModel returns the ShowModel field if non-nil, zero value otherwise.

GetShowModelOk

func (o *DeviceTemplateForVlanVO) GetShowModelOk() (*string, bool)

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

SetShowModel

func (o *DeviceTemplateForVlanVO) SetShowModel(v string)

SetShowModel sets ShowModel field to given value.

HasShowModel

func (o *DeviceTemplateForVlanVO) HasShowModel() bool

HasShowModel returns a boolean if a field has been set.

GetType

func (o *DeviceTemplateForVlanVO) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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

SetType

func (o *DeviceTemplateForVlanVO) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *DeviceTemplateForVlanVO) HasType() bool

HasType returns a boolean if a field has been set.

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