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