github.com/vmware/govmomi@v0.37.2/sms/types/if.go (about)

     1  /*
     2  Copyright (c) 2014-2023 VMware, Inc. All Rights Reserved.
     3  
     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
     7  
     8      http://www.apache.org/licenses/LICENSE-2.0
     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  */
    16  
    17  package types
    18  
    19  import (
    20  	"reflect"
    21  
    22  	"github.com/vmware/govmomi/vim25/types"
    23  )
    24  
    25  func (b *DeviceId) GetDeviceId() *DeviceId { return b }
    26  
    27  type BaseDeviceId interface {
    28  	GetDeviceId() *DeviceId
    29  }
    30  
    31  func init() {
    32  	types.Add("BaseDeviceId", reflect.TypeOf((*DeviceId)(nil)).Elem())
    33  }
    34  
    35  func (b *FailoverParam) GetFailoverParam() *FailoverParam { return b }
    36  
    37  type BaseFailoverParam interface {
    38  	GetFailoverParam() *FailoverParam
    39  }
    40  
    41  func init() {
    42  	types.Add("BaseFailoverParam", reflect.TypeOf((*FailoverParam)(nil)).Elem())
    43  }
    44  
    45  func (b *GroupInfo) GetGroupInfo() *GroupInfo { return b }
    46  
    47  type BaseGroupInfo interface {
    48  	GetGroupInfo() *GroupInfo
    49  }
    50  
    51  func init() {
    52  	types.Add("BaseGroupInfo", reflect.TypeOf((*GroupInfo)(nil)).Elem())
    53  }
    54  
    55  func (b *GroupOperationResult) GetGroupOperationResult() *GroupOperationResult { return b }
    56  
    57  type BaseGroupOperationResult interface {
    58  	GetGroupOperationResult() *GroupOperationResult
    59  }
    60  
    61  func init() {
    62  	types.Add("BaseGroupOperationResult", reflect.TypeOf((*GroupOperationResult)(nil)).Elem())
    63  }
    64  
    65  func (b *ProviderRegistrationFault) GetProviderRegistrationFault() *ProviderRegistrationFault {
    66  	return b
    67  }
    68  
    69  type BaseProviderRegistrationFault interface {
    70  	GetProviderRegistrationFault() *ProviderRegistrationFault
    71  }
    72  
    73  func init() {
    74  	types.Add("BaseProviderRegistrationFault", reflect.TypeOf((*ProviderRegistrationFault)(nil)).Elem())
    75  }
    76  
    77  func (b *ProviderSyncFailed) GetProviderSyncFailed() *ProviderSyncFailed { return b }
    78  
    79  type BaseProviderSyncFailed interface {
    80  	GetProviderSyncFailed() *ProviderSyncFailed
    81  }
    82  
    83  func init() {
    84  	types.Add("BaseProviderSyncFailed", reflect.TypeOf((*ProviderSyncFailed)(nil)).Elem())
    85  }
    86  
    87  func (b *QueryExecutionFault) GetQueryExecutionFault() *QueryExecutionFault { return b }
    88  
    89  type BaseQueryExecutionFault interface {
    90  	GetQueryExecutionFault() *QueryExecutionFault
    91  }
    92  
    93  func init() {
    94  	types.Add("BaseQueryExecutionFault", reflect.TypeOf((*QueryExecutionFault)(nil)).Elem())
    95  }
    96  
    97  func (b *SmsProviderInfo) GetSmsProviderInfo() *SmsProviderInfo { return b }
    98  
    99  type BaseSmsProviderInfo interface {
   100  	GetSmsProviderInfo() *SmsProviderInfo
   101  }
   102  
   103  func init() {
   104  	types.Add("BaseSmsProviderInfo", reflect.TypeOf((*SmsProviderInfo)(nil)).Elem())
   105  }
   106  
   107  func (b *SmsProviderSpec) GetSmsProviderSpec() *SmsProviderSpec { return b }
   108  
   109  type BaseSmsProviderSpec interface {
   110  	GetSmsProviderSpec() *SmsProviderSpec
   111  }
   112  
   113  func init() {
   114  	types.Add("BaseSmsProviderSpec", reflect.TypeOf((*SmsProviderSpec)(nil)).Elem())
   115  }
   116  
   117  func (b *SmsReplicationFault) GetSmsReplicationFault() *SmsReplicationFault { return b }
   118  
   119  type BaseSmsReplicationFault interface {
   120  	GetSmsReplicationFault() *SmsReplicationFault
   121  }
   122  
   123  func init() {
   124  	types.Add("BaseSmsReplicationFault", reflect.TypeOf((*SmsReplicationFault)(nil)).Elem())
   125  }
   126  
   127  func (b *StoragePort) GetStoragePort() *StoragePort { return b }
   128  
   129  type BaseStoragePort interface {
   130  	GetStoragePort() *StoragePort
   131  }
   132  
   133  func init() {
   134  	types.Add("BaseStoragePort", reflect.TypeOf((*StoragePort)(nil)).Elem())
   135  }
   136  
   137  func (b *TargetGroupMemberInfo) GetTargetGroupMemberInfo() *TargetGroupMemberInfo { return b }
   138  
   139  type BaseTargetGroupMemberInfo interface {
   140  	GetTargetGroupMemberInfo() *TargetGroupMemberInfo
   141  }
   142  
   143  func init() {
   144  	types.Add("BaseTargetGroupMemberInfo", reflect.TypeOf((*TargetGroupMemberInfo)(nil)).Elem())
   145  }
   146  
   147  func (b *VirtualMachineId) GetVirtualMachineId() *VirtualMachineId { return b }
   148  
   149  type BaseVirtualMachineId interface {
   150  	GetVirtualMachineId() *VirtualMachineId
   151  }
   152  
   153  func init() {
   154  	types.Add("BaseVirtualMachineId", reflect.TypeOf((*VirtualMachineId)(nil)).Elem())
   155  }