github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/common/resource_reference.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 common 7 8 // A weak reference to an NSX resource. 9 type ResourceReference struct { 10 11 // Will be set to false if the referenced NSX resource has been deleted. 12 IsValid bool `json:"is_valid,omitempty"` 13 14 // Display name of the NSX resource. 15 TargetDisplayName string `json:"target_display_name,omitempty"` 16 17 // Identifier of the NSX resource. 18 TargetId string `json:"target_id,omitempty"` 19 20 // Type of the NSX resource. 21 TargetType string `json:"target_type,omitempty"` 22 }