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] |
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
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
func (o *PortInterface) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
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.
func (o *PortInterface) SetType(v string)
SetType sets Type field to given value.
func (o *PortInterface) HasType() bool
HasType returns a boolean if a field has been set.
func (o *PortInterface) GetIfIndex() string
GetIfIndex returns the IfIndex field if non-nil, zero value otherwise.
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.
func (o *PortInterface) SetIfIndex(v string)
SetIfIndex sets IfIndex field to given value.
func (o *PortInterface) HasIfIndex() bool
HasIfIndex returns a boolean if a field has been set.
func (o *PortInterface) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *PortInterface) SetName(v string)
SetName sets Name field to given value.
func (o *PortInterface) HasName() bool
HasName returns a boolean if a field has been set.