WiredUpLinkInfo
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Duplex | Pointer to int32 | Duplex mode, should be a value as follows: 0: Auto; 1: Half; 2: Full. | [optional] |
| LinkSpeed | Pointer to int32 | Uplink port linkSpeed, linkSpeed should be a value as follows: 0: Auto; 1: 10M; 2: 100M; 3: 1000M; 4: 2500M; 5: 10G; 6: 5G; 7: 25G, 8: 100G. | [optional] |
| RxDropPkts | Pointer to int64 | Rx Dropped Packets | [optional] |
| RxErrPkts | Pointer to int64 | Rx Error Packets | [optional] |
| TxDropPkts | Pointer to int64 | Tx Dropped Packets | [optional] |
| TxErrPkts | Pointer to int64 | Tx Error Packets | [optional] |
| UpLinkPort | Pointer to WiredPortV3DTO | [optional] | |
| UpPort | Pointer to WiredPortV3DTO | [optional] |
Methods
NewWiredUpLinkInfo
func NewWiredUpLinkInfo() *WiredUpLinkInfo
NewWiredUpLinkInfo instantiates a new WiredUpLinkInfo 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
NewWiredUpLinkInfoWithDefaults
func NewWiredUpLinkInfoWithDefaults() *WiredUpLinkInfo
NewWiredUpLinkInfoWithDefaults instantiates a new WiredUpLinkInfo 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
GetDuplex
func (o *WiredUpLinkInfo) GetDuplex() int32
GetDuplex returns the Duplex field if non-nil, zero value otherwise.
GetDuplexOk
func (o *WiredUpLinkInfo) GetDuplexOk() (*int32, bool)
GetDuplexOk returns a tuple with the Duplex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDuplex
func (o *WiredUpLinkInfo) SetDuplex(v int32)
SetDuplex sets Duplex field to given value.
HasDuplex
func (o *WiredUpLinkInfo) HasDuplex() bool
HasDuplex returns a boolean if a field has been set.
GetLinkSpeed
func (o *WiredUpLinkInfo) GetLinkSpeed() int32
GetLinkSpeed returns the LinkSpeed field if non-nil, zero value otherwise.
GetLinkSpeedOk
func (o *WiredUpLinkInfo) GetLinkSpeedOk() (*int32, bool)
GetLinkSpeedOk returns a tuple with the LinkSpeed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLinkSpeed
func (o *WiredUpLinkInfo) SetLinkSpeed(v int32)
SetLinkSpeed sets LinkSpeed field to given value.
HasLinkSpeed
func (o *WiredUpLinkInfo) HasLinkSpeed() bool
HasLinkSpeed returns a boolean if a field has been set.
GetRxDropPkts
func (o *WiredUpLinkInfo) GetRxDropPkts() int64
GetRxDropPkts returns the RxDropPkts field if non-nil, zero value otherwise.
GetRxDropPktsOk
func (o *WiredUpLinkInfo) GetRxDropPktsOk() (*int64, bool)
GetRxDropPktsOk returns a tuple with the RxDropPkts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRxDropPkts
func (o *WiredUpLinkInfo) SetRxDropPkts(v int64)
SetRxDropPkts sets RxDropPkts field to given value.
HasRxDropPkts
func (o *WiredUpLinkInfo) HasRxDropPkts() bool
HasRxDropPkts returns a boolean if a field has been set.
GetRxErrPkts
func (o *WiredUpLinkInfo) GetRxErrPkts() int64
GetRxErrPkts returns the RxErrPkts field if non-nil, zero value otherwise.
GetRxErrPktsOk
func (o *WiredUpLinkInfo) GetRxErrPktsOk() (*int64, bool)
GetRxErrPktsOk returns a tuple with the RxErrPkts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRxErrPkts
func (o *WiredUpLinkInfo) SetRxErrPkts(v int64)
SetRxErrPkts sets RxErrPkts field to given value.
HasRxErrPkts
func (o *WiredUpLinkInfo) HasRxErrPkts() bool
HasRxErrPkts returns a boolean if a field has been set.
GetTxDropPkts
func (o *WiredUpLinkInfo) GetTxDropPkts() int64
GetTxDropPkts returns the TxDropPkts field if non-nil, zero value otherwise.
GetTxDropPktsOk
func (o *WiredUpLinkInfo) GetTxDropPktsOk() (*int64, bool)
GetTxDropPktsOk returns a tuple with the TxDropPkts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTxDropPkts
func (o *WiredUpLinkInfo) SetTxDropPkts(v int64)
SetTxDropPkts sets TxDropPkts field to given value.
HasTxDropPkts
func (o *WiredUpLinkInfo) HasTxDropPkts() bool
HasTxDropPkts returns a boolean if a field has been set.
GetTxErrPkts
func (o *WiredUpLinkInfo) GetTxErrPkts() int64
GetTxErrPkts returns the TxErrPkts field if non-nil, zero value otherwise.
GetTxErrPktsOk
func (o *WiredUpLinkInfo) GetTxErrPktsOk() (*int64, bool)
GetTxErrPktsOk returns a tuple with the TxErrPkts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTxErrPkts
func (o *WiredUpLinkInfo) SetTxErrPkts(v int64)
SetTxErrPkts sets TxErrPkts field to given value.
HasTxErrPkts
func (o *WiredUpLinkInfo) HasTxErrPkts() bool
HasTxErrPkts returns a boolean if a field has been set.
GetUpLinkPort
func (o *WiredUpLinkInfo) GetUpLinkPort() WiredPortV3DTO
GetUpLinkPort returns the UpLinkPort field if non-nil, zero value otherwise.
GetUpLinkPortOk
func (o *WiredUpLinkInfo) GetUpLinkPortOk() (*WiredPortV3DTO, bool)
GetUpLinkPortOk returns a tuple with the UpLinkPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUpLinkPort
func (o *WiredUpLinkInfo) SetUpLinkPort(v WiredPortV3DTO)
SetUpLinkPort sets UpLinkPort field to given value.
HasUpLinkPort
func (o *WiredUpLinkInfo) HasUpLinkPort() bool
HasUpLinkPort returns a boolean if a field has been set.
GetUpPort
func (o *WiredUpLinkInfo) GetUpPort() WiredPortV3DTO
GetUpPort returns the UpPort field if non-nil, zero value otherwise.
GetUpPortOk
func (o *WiredUpLinkInfo) GetUpPortOk() (*WiredPortV3DTO, bool)
GetUpPortOk returns a tuple with the UpPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUpPort
func (o *WiredUpLinkInfo) SetUpPort(v WiredPortV3DTO)
SetUpPort sets UpPort field to given value.
HasUpPort
func (o *WiredUpLinkInfo) HasUpPort() bool
HasUpPort returns a boolean if a field has been set.