github.com/vmware/govmomi@v0.51.0/vim25/mo/reference.go (about)

     1  // © Broadcom. All Rights Reserved.
     2  // The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.
     3  // SPDX-License-Identifier: Apache-2.0
     4  
     5  package mo
     6  
     7  import "github.com/vmware/govmomi/vim25/types"
     8  
     9  // Reference is the interface that is implemented by all the managed objects
    10  // defined in this package. It specifies that these managed objects have a
    11  // function that returns the managed object reference to themselves.
    12  type Reference interface {
    13  	Reference() types.ManagedObjectReference
    14  }