Skip to content

OswStpRegion

Properties

Name Type Description Notes
Name Pointer to string Name [optional]
Revision Pointer to int32 Revision [optional]

Methods

NewOswStpRegion

func NewOswStpRegion() *OswStpRegion

NewOswStpRegion instantiates a new OswStpRegion 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

NewOswStpRegionWithDefaults

func NewOswStpRegionWithDefaults() *OswStpRegion

NewOswStpRegionWithDefaults instantiates a new OswStpRegion 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

GetName

func (o *OswStpRegion) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *OswStpRegion) HasName() bool

HasName returns a boolean if a field has been set.

GetRevision

func (o *OswStpRegion) GetRevision() int32

GetRevision returns the Revision field if non-nil, zero value otherwise.

GetRevisionOk

func (o *OswStpRegion) GetRevisionOk() (*int32, bool)

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

SetRevision

func (o *OswStpRegion) SetRevision(v int32)

SetRevision sets Revision field to given value.

HasRevision

func (o *OswStpRegion) HasRevision() bool

HasRevision returns a boolean if a field has been set.

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