PortPoe
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| PoeEnabled | Pointer to bool | Switch port enable | [optional] |
| PoePercent | Pointer to int32 | Switch port percent | [optional] |
| PoePower | Pointer to int32 | Switch port power | [optional] |
| PoeSupported | Pointer to bool | Switch port supported | [optional] |
| PortId | Pointer to int32 | Switch port ID | [optional] |
Methods
NewPortPoe
func NewPortPoe() *PortPoe
NewPortPoe instantiates a new PortPoe 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
NewPortPoeWithDefaults
func NewPortPoeWithDefaults() *PortPoe
NewPortPoeWithDefaults instantiates a new PortPoe 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
GetPoeEnabled
func (o *PortPoe) GetPoeEnabled() bool
GetPoeEnabled returns the PoeEnabled field if non-nil, zero value otherwise.
GetPoeEnabledOk
func (o *PortPoe) GetPoeEnabledOk() (*bool, bool)
GetPoeEnabledOk returns a tuple with the PoeEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPoeEnabled
func (o *PortPoe) SetPoeEnabled(v bool)
SetPoeEnabled sets PoeEnabled field to given value.
HasPoeEnabled
func (o *PortPoe) HasPoeEnabled() bool
HasPoeEnabled returns a boolean if a field has been set.
GetPoePercent
func (o *PortPoe) GetPoePercent() int32
GetPoePercent returns the PoePercent field if non-nil, zero value otherwise.
GetPoePercentOk
func (o *PortPoe) GetPoePercentOk() (*int32, bool)
GetPoePercentOk returns a tuple with the PoePercent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPoePercent
func (o *PortPoe) SetPoePercent(v int32)
SetPoePercent sets PoePercent field to given value.
HasPoePercent
func (o *PortPoe) HasPoePercent() bool
HasPoePercent returns a boolean if a field has been set.
GetPoePower
func (o *PortPoe) GetPoePower() int32
GetPoePower returns the PoePower field if non-nil, zero value otherwise.
GetPoePowerOk
func (o *PortPoe) GetPoePowerOk() (*int32, bool)
GetPoePowerOk returns a tuple with the PoePower field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPoePower
func (o *PortPoe) SetPoePower(v int32)
SetPoePower sets PoePower field to given value.
HasPoePower
func (o *PortPoe) HasPoePower() bool
HasPoePower returns a boolean if a field has been set.
GetPoeSupported
func (o *PortPoe) GetPoeSupported() bool
GetPoeSupported returns the PoeSupported field if non-nil, zero value otherwise.
GetPoeSupportedOk
func (o *PortPoe) GetPoeSupportedOk() (*bool, bool)
GetPoeSupportedOk returns a tuple with the PoeSupported field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPoeSupported
func (o *PortPoe) SetPoeSupported(v bool)
SetPoeSupported sets PoeSupported field to given value.
HasPoeSupported
func (o *PortPoe) HasPoeSupported() bool
HasPoeSupported returns a boolean if a field has been set.
GetPortId
func (o *PortPoe) GetPortId() int32
GetPortId returns the PortId field if non-nil, zero value otherwise.
GetPortIdOk
func (o *PortPoe) 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 *PortPoe) SetPortId(v int32)
SetPortId sets PortId field to given value.
HasPortId
func (o *PortPoe) HasPortId() bool
HasPortId returns a boolean if a field has been set.