github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/compute_manager_list_result.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 ComputeManagerListResult 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  	// Opaque cursor to be used for getting next page of records (supplied by current result page)
    22  	Cursor string `json:"cursor,omitempty"`
    23  
    24  	// Count of results found (across all pages), set only on first page
    25  	ResultCount int64 `json:"result_count,omitempty"`
    26  
    27  	SortAscending bool `json:"sort_ascending,omitempty"`
    28  
    29  	// Field by which records are sorted
    30  	SortBy string `json:"sort_by,omitempty"`
    31  
    32  	// List of compute managers
    33  	Results []ComputeManager `json:"results"`
    34  }