Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 2.74 KB

PortInterface.md

File metadata and controls

108 lines (59 loc) · 2.74 KB

PortInterface

Properties

Name Type Description Notes
Type Pointer to string Port interface type [optional]
IfIndex Pointer to string Port interface index [optional]
Name Pointer to string Port interface name [optional]

Methods

NewPortInterface

func NewPortInterface() *PortInterface

NewPortInterface instantiates a new PortInterface 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

NewPortInterfaceWithDefaults

func NewPortInterfaceWithDefaults() *PortInterface

NewPortInterfaceWithDefaults instantiates a new PortInterface 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

GetType

func (o *PortInterface) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *PortInterface) GetTypeOk() (*string, bool)

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

SetType

func (o *PortInterface) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *PortInterface) HasType() bool

HasType returns a boolean if a field has been set.

GetIfIndex

func (o *PortInterface) GetIfIndex() string

GetIfIndex returns the IfIndex field if non-nil, zero value otherwise.

GetIfIndexOk

func (o *PortInterface) GetIfIndexOk() (*string, bool)

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

SetIfIndex

func (o *PortInterface) SetIfIndex(v string)

SetIfIndex sets IfIndex field to given value.

HasIfIndex

func (o *PortInterface) HasIfIndex() bool

HasIfIndex returns a boolean if a field has been set.

GetName

func (o *PortInterface) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

HasName

func (o *PortInterface) HasName() bool

HasName returns a boolean if a field has been set.

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