Skip to content

OsgPortPoeOpenApiVO

Properties

Name Type Description Notes
Enable Pointer to bool The port enabled or not. [optional]
PortId Pointer to int32 The number of the port. [optional]
PortName Pointer to string The name of the port. [optional]

Methods

NewOsgPortPoeOpenApiVO

func NewOsgPortPoeOpenApiVO() *OsgPortPoeOpenApiVO

NewOsgPortPoeOpenApiVO instantiates a new OsgPortPoeOpenApiVO 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

NewOsgPortPoeOpenApiVOWithDefaults

func NewOsgPortPoeOpenApiVOWithDefaults() *OsgPortPoeOpenApiVO

NewOsgPortPoeOpenApiVOWithDefaults instantiates a new OsgPortPoeOpenApiVO 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 *OsgPortPoeOpenApiVO) GetEnable() bool

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

GetEnableOk

func (o *OsgPortPoeOpenApiVO) 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 *OsgPortPoeOpenApiVO) SetEnable(v bool)

SetEnable sets Enable field to given value.

HasEnable

func (o *OsgPortPoeOpenApiVO) HasEnable() bool

HasEnable returns a boolean if a field has been set.

GetPortId

func (o *OsgPortPoeOpenApiVO) GetPortId() int32

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

GetPortIdOk

func (o *OsgPortPoeOpenApiVO) 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 *OsgPortPoeOpenApiVO) SetPortId(v int32)

SetPortId sets PortId field to given value.

HasPortId

func (o *OsgPortPoeOpenApiVO) HasPortId() bool

HasPortId returns a boolean if a field has been set.

GetPortName

func (o *OsgPortPoeOpenApiVO) GetPortName() string

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

GetPortNameOk

func (o *OsgPortPoeOpenApiVO) 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 *OsgPortPoeOpenApiVO) SetPortName(v string)

SetPortName sets PortName field to given value.

HasPortName

func (o *OsgPortPoeOpenApiVO) HasPortName() bool

HasPortName returns a boolean if a field has been set.

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