github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/l4_port_set_ns_service.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 type L4PortSetNsServiceEntry struct { 9 ResourceType string `json:"resource_type"` 10 11 DestinationPorts []string `json:"destination_ports,omitempty"` 12 13 L4Protocol string `json:"l4_protocol"` 14 15 SourcePorts []string `json:"source_ports,omitempty"` 16 } 17 18 type L4PortSetNsService struct { 19 NsService 20 21 NsserviceElement L4PortSetNsServiceEntry `json:"nsservice_element"` 22 }