github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/administration/node_route_properties.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 administration 7 8 import ( 9 "github.com/vmware/go-vmware-nsxt/common" 10 ) 11 12 type NodeRouteProperties 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 // Destination covered by route 22 Destination string `json:"destination,omitempty"` 23 24 // From address 25 FromAddress string `json:"from_address,omitempty"` 26 27 // Address of next hop 28 Gateway string `json:"gateway,omitempty"` 29 30 // Network interface id of route 31 InterfaceId string `json:"interface_id,omitempty"` 32 33 // Metric value of route 34 Metric string `json:"metric,omitempty"` 35 36 // Netmask of destination covered by route 37 Netmask string `json:"netmask,omitempty"` 38 39 // Routing protocol identifier of route 40 Proto string `json:"proto,omitempty"` 41 42 // Unique identifier for the route 43 RouteId string `json:"route_id,omitempty"` 44 45 // Route type 46 RouteType string `json:"route_type"` 47 48 // Scope of destinations covered by route 49 Scope string `json:"scope,omitempty"` 50 51 // Source address to prefer when sending to destinations of route 52 Src string `json:"src,omitempty"` 53 }