OswStpInstanceConfig
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Id | int32 | ID | |
| Priority | int32 | Priority | |
| Vlan | string | Parameter [vlan] should be between 1 and 4094. |
Methods
NewOswStpInstanceConfig
func NewOswStpInstanceConfig(id int32, priority int32, vlan string, ) *OswStpInstanceConfig
NewOswStpInstanceConfig instantiates a new OswStpInstanceConfig 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
NewOswStpInstanceConfigWithDefaults
func NewOswStpInstanceConfigWithDefaults() *OswStpInstanceConfig
NewOswStpInstanceConfigWithDefaults instantiates a new OswStpInstanceConfig 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 *OswStpInstanceConfig) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *OswStpInstanceConfig) 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 *OswStpInstanceConfig) SetId(v int32)
SetId sets Id field to given value.
GetPriority
func (o *OswStpInstanceConfig) GetPriority() int32
GetPriority returns the Priority field if non-nil, zero value otherwise.
GetPriorityOk
func (o *OswStpInstanceConfig) 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 *OswStpInstanceConfig) SetPriority(v int32)
SetPriority sets Priority field to given value.
GetVlan
func (o *OswStpInstanceConfig) GetVlan() string
GetVlan returns the Vlan field if non-nil, zero value otherwise.
GetVlanOk
func (o *OswStpInstanceConfig) 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 *OswStpInstanceConfig) SetVlan(v string)
SetVlan sets Vlan field to given value.