github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/dne_rule_stats.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 DneRuleStats 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 // Aggregated number of incoming bytes processed by the rule. 22 BytesIn int64 `json:"bytes_in,omitempty"` 23 24 // Aggregated number of outgoing bytes processed by the rule. 25 BytesOut int64 `json:"bytes_out,omitempty"` 26 27 // Aggregated number of incoming packets processed by the rule. 28 PacketsIn int64 `json:"packets_in,omitempty"` 29 30 // Aggregated number of outgoing packets processed by the rule. 31 PacketsOut int64 `json:"packets_out,omitempty"` 32 33 // Rule Identifier of the DNE rule. This is a globally unique number. 34 RuleId string `json:"rule_id,omitempty"` 35 }