File tree Expand file tree Collapse file tree 1 file changed +21
-15
lines changed Expand file tree Collapse file tree 1 file changed +21
-15
lines changed Original file line number Diff line number Diff line change 1
- /*
2
- Copyright (c) 2014 VMware, Inc. All Rights Reserved.
1
+ // © Broadcom. All Rights Reserved.
2
+ // The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.
3
+ // SPDX-License-Identifier: Apache-2.0
3
4
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
5
+ package mo
7
6
8
- http://www.apache.org/licenses/LICENSE-2.0
7
+ import (
8
+ "reflect"
9
9
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- */
10
+ "github.com/vmware/govmomi/vim25/types"
11
+ )
16
12
17
- package mo
13
+ var t = map [ string ]reflect. Type {}
18
14
19
- import "reflect"
15
+ // TODO: 9.0 mo below, not included in the generate mo/mo.go, since the generator still uses older rbvmomi vmodl.db
20
16
21
- var t = map [string ]reflect.Type {}
17
+ type DirectPathProfileManager struct {
18
+ Self types.ManagedObjectReference `json:"self"`
19
+ }
20
+
21
+ func (m DirectPathProfileManager ) Reference () types.ManagedObjectReference {
22
+ return m .Self
23
+ }
24
+
25
+ func init () {
26
+ t ["DirectPathProfileManager" ] = reflect .TypeOf ((* DirectPathProfileManager )(nil )).Elem ()
27
+ }
You can’t perform that action at this time.
0 commit comments