github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/loadbalancer/lb_rule_list_result.go (about) 1 /* 2 * NSX API 3 * 4 * VMware NSX REST API 5 * 6 * API version: 1.0.0 7 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) 8 */ 9 10 package loadbalancer 11 12 import ( 13 "github.com/vmware/go-vmware-nsxt/common" 14 ) 15 16 type LbRuleListResult struct { 17 18 // The server will populate this field when returing the resource. Ignored on PUT and POST. 19 Links []common.ResourceLink `json:"_links,omitempty"` 20 21 // Schema for this resource 22 Schema string `json:"_schema,omitempty"` 23 24 // Link to this resource 25 Self *common.SelfResourceLink `json:"_self,omitempty"` 26 27 // Opaque cursor to be used for getting next page of records (supplied by current result page) 28 Cursor string `json:"cursor,omitempty"` 29 30 // Count of results found (across all pages), set only on first page 31 ResultCount int64 `json:"result_count,omitempty"` 32 33 // If true, results are sorted in ascending order 34 SortAscending bool `json:"sort_ascending,omitempty"` 35 36 // Field by which records are sorted 37 SortBy string `json:"sort_by,omitempty"` 38 39 // paginated list of LB rules 40 Results []LbRule `json:"results"` 41 }