Skip to content

OsgPortPoeVO

Properties

Name Type Description Notes
Enable Pointer to bool [optional]
PortId Pointer to int32 [optional]
PortName Pointer to string [optional]

Methods

NewOsgPortPoeVO

func NewOsgPortPoeVO() *OsgPortPoeVO

NewOsgPortPoeVO instantiates a new OsgPortPoeVO 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

NewOsgPortPoeVOWithDefaults

func NewOsgPortPoeVOWithDefaults() *OsgPortPoeVO

NewOsgPortPoeVOWithDefaults instantiates a new OsgPortPoeVO 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

GetEnable

func (o *OsgPortPoeVO) GetEnable() bool

GetEnable returns the Enable field if non-nil, zero value otherwise.

GetEnableOk

func (o *OsgPortPoeVO) GetEnableOk() (*bool, bool)

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

SetEnable

func (o *OsgPortPoeVO) SetEnable(v bool)

SetEnable sets Enable field to given value.

HasEnable

func (o *OsgPortPoeVO) HasEnable() bool

HasEnable returns a boolean if a field has been set.

GetPortId

func (o *OsgPortPoeVO) GetPortId() int32

GetPortId returns the PortId field if non-nil, zero value otherwise.

GetPortIdOk

func (o *OsgPortPoeVO) GetPortIdOk() (*int32, bool)

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

SetPortId

func (o *OsgPortPoeVO) SetPortId(v int32)

SetPortId sets PortId field to given value.

HasPortId

func (o *OsgPortPoeVO) HasPortId() bool

HasPortId returns a boolean if a field has been set.

GetPortName

func (o *OsgPortPoeVO) GetPortName() string

GetPortName returns the PortName field if non-nil, zero value otherwise.

GetPortNameOk

func (o *OsgPortPoeVO) GetPortNameOk() (*string, bool)

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

SetPortName

func (o *OsgPortPoeVO) SetPortName(v string)

SetPortName sets PortName field to given value.

HasPortName

func (o *OsgPortPoeVO) HasPortName() bool

HasPortName returns a boolean if a field has been set.

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