Skip to content

OswStpInstance

Properties

Name Type Description Notes
Id Pointer to int32 ID [optional]
Priority Pointer to int32 Priority [optional]
Vlan Pointer to string Vlan [optional]

Methods

NewOswStpInstance

func NewOswStpInstance() *OswStpInstance

NewOswStpInstance instantiates a new OswStpInstance 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

NewOswStpInstanceWithDefaults

func NewOswStpInstanceWithDefaults() *OswStpInstance

NewOswStpInstanceWithDefaults instantiates a new OswStpInstance 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 *OswStpInstance) GetId() int32

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

GetIdOk

func (o *OswStpInstance) GetIdOk() (*int32, 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 *OswStpInstance) SetId(v int32)

SetId sets Id field to given value.

HasId

func (o *OswStpInstance) HasId() bool

HasId returns a boolean if a field has been set.

GetPriority

func (o *OswStpInstance) GetPriority() int32

GetPriority returns the Priority field if non-nil, zero value otherwise.

GetPriorityOk

func (o *OswStpInstance) GetPriorityOk() (*int32, bool)

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

SetPriority

func (o *OswStpInstance) SetPriority(v int32)

SetPriority sets Priority field to given value.

HasPriority

func (o *OswStpInstance) HasPriority() bool

HasPriority returns a boolean if a field has been set.

GetVlan

func (o *OswStpInstance) GetVlan() string

GetVlan returns the Vlan field if non-nil, zero value otherwise.

GetVlanOk

func (o *OswStpInstance) GetVlanOk() (*string, bool)

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

SetVlan

func (o *OswStpInstance) SetVlan(v string)

SetVlan sets Vlan field to given value.

HasVlan

func (o *OswStpInstance) HasVlan() bool

HasVlan returns a boolean if a field has been set.

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