github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/logical_switch_statistics.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  type LogicalSwitchStatistics struct {
     9  	RxBytes *DataCounter `json:"rx_bytes,omitempty"`
    10  
    11  	RxPackets *DataCounter `json:"rx_packets,omitempty"`
    12  
    13  	TxBytes *DataCounter `json:"tx_bytes,omitempty"`
    14  
    15  	TxPackets *DataCounter `json:"tx_packets,omitempty"`
    16  
    17  	DroppedBySecurityPackets *PacketsDroppedBySecurity `json:"dropped_by_security_packets,omitempty"`
    18  
    19  	MacLearning *MacLearningCounters `json:"mac_learning,omitempty"`
    20  
    21  	// Timestamp when the data was last updated; unset if data source has never updated the data.
    22  	LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"`
    23  
    24  	// The id of the logical Switch
    25  	LogicalSwitchId string `json:"logical_switch_id,omitempty"`
    26  }