github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/attachment_context.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 AttachmentContext struct {
     9  
    10  	// A flag to indicate whether to allocate addresses from allocation     pools bound to the parent logical switch.
    11  	AllocateAddresses string `json:"allocate_addresses,omitempty"`
    12  
    13  	// Used to identify which concrete class it is
    14  	ResourceType string `json:"resource_type"`
    15  
    16  	// Used to indicate what the port is created for
    17  	VifType string `json:"vif_type,omitempty"`
    18  }