github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/node_interface_statistics_properties.go (about) 1 /* Copyright © 2017 VMware, Inc. All Rights Reserved. 2 SPDX-License-Identifier: BSD-2-Clause 3 4 Generated by: https://github.com/swagger-api/swagger-codegen.git */ 5 6 package manager 7 8 import ( 9 "github.com/vmware/go-vmware-nsxt/common" 10 ) 11 12 type NodeInterfaceStatisticsProperties struct { 13 14 // The server will populate this field when returing the resource. Ignored on PUT and POST. 15 Links []common.ResourceLink `json:"_links,omitempty"` 16 17 Schema string `json:"_schema,omitempty"` 18 19 Self *common.SelfResourceLink `json:"_self,omitempty"` 20 21 // Interface ID 22 InterfaceId string `json:"interface_id,omitempty"` 23 24 // Number of bytes received 25 RxBytes int64 `json:"rx_bytes,omitempty"` 26 27 // Number of packets dropped 28 RxDropped int64 `json:"rx_dropped,omitempty"` 29 30 // Number of receive errors 31 RxErrors int64 `json:"rx_errors,omitempty"` 32 33 // Number of framing errors 34 RxFrame int64 `json:"rx_frame,omitempty"` 35 36 // Number of packets received 37 RxPackets int64 `json:"rx_packets,omitempty"` 38 39 // Source of status data. 40 Source string `json:"source,omitempty"` 41 42 // Number of bytes transmitted 43 TxBytes int64 `json:"tx_bytes,omitempty"` 44 45 // Number of carrier losses detected 46 TxCarrier int64 `json:"tx_carrier,omitempty"` 47 48 // Number of collisions detected 49 TxColls int64 `json:"tx_colls,omitempty"` 50 51 // Number of packets dropped 52 TxDropped int64 `json:"tx_dropped,omitempty"` 53 54 // Number of transmit errors 55 TxErrors int64 `json:"tx_errors,omitempty"` 56 57 // Number of packets transmitted 58 TxPackets int64 `json:"tx_packets,omitempty"` 59 }