/
tunnel_list.go
34 lines (22 loc) · 1004 Bytes
/
tunnel_list.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* Copyright © 2017 VMware, Inc. All Rights Reserved.
SPDX-License-Identifier: BSD-2-Clause
Generated by: https://github.com/swagger-api/swagger-codegen.git */
package manager
import (
"github.com/vmware/go-vmware-nsxt/common"
)
type TunnelList struct {
// The server will populate this field when returing the resource. Ignored on PUT and POST.
Links []common.ResourceLink `json:"_links,omitempty"`
Schema string `json:"_schema,omitempty"`
Self *common.SelfResourceLink `json:"_self,omitempty"`
// Opaque cursor to be used for getting next page of records (supplied by current result page)
Cursor string `json:"cursor,omitempty"`
// Count of results found (across all pages), set only on first page
ResultCount int64 `json:"result_count,omitempty"`
SortAscending bool `json:"sort_ascending,omitempty"`
// Field by which records are sorted
SortBy string `json:"sort_by,omitempty"`
// List of transport node tunnels
Tunnels []TunnelProperties `json:"tunnels,omitempty"`
}