/
compute_collection_transport_node_template.go
62 lines (41 loc) · 2.19 KB
/
compute_collection_transport_node_template.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/* 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 ComputeCollectionTransportNodeTemplate 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"`
// The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
Revision int64 `json:"_revision"`
// Timestamp of resource creation
CreateTime int64 `json:"_create_time,omitempty"`
// ID of the user who created this resource
CreateUser string `json:"_create_user,omitempty"`
// Timestamp of last modification
LastModifiedTime int64 `json:"_last_modified_time,omitempty"`
// ID of the user who last modified this resource
LastModifiedUser string `json:"_last_modified_user,omitempty"`
// Indicates system owned resource
SystemOwned bool `json:"_system_owned,omitempty"`
// Description of this resource
Description string `json:"description,omitempty"`
// Defaults to ID if not set
DisplayName string `json:"display_name,omitempty"`
// Unique identifier of this resource
Id string `json:"id,omitempty"`
// The type of this resource.
ResourceType string `json:"resource_type,omitempty"`
// Opaque identifiers meaningful to the API user
Tags []common.Tag `json:"tags,omitempty"`
// Associated compute collection ids
ComputeCollectionIds []string `json:"compute_collection_ids"`
// Property 'host_switch_spec' can be used to create either standard host switch or preconfigured host switch.
HostSwitchSpec *HostSwitchSpec `json:"host_switch_spec,omitempty"`
// Transport zone endpoints
TransportZoneEndpoints []TransportZoneEndPoint `json:"transport_zone_endpoints,omitempty"`
}