github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/alg_type_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 AlgTypeNsServiceEntry struct { 9 ResourceType string `json:"resource_type"` 10 11 Alg string `json:"alg"` 12 13 // The destination_port cannot be empty and must be a single value. 14 DestinationPorts []string `json:"destination_ports,omitempty"` 15 16 SourcePorts []string `json:"source_ports,omitempty"` 17 } 18 19 type AlgTypeNsService struct { 20 NsService 21 22 NsserviceElement AlgTypeNsServiceEntry `json:"nsservice_element"` 23 }