# ******* WARNING - AUTO GENERATED CODE - DO NOT EDIT *******
from .VmomiSupport import CreateDataType, CreateManagedType
from .VmomiSupport import CreateEnumType
from .VmomiSupport import AddVersion, AddVersionParent
from .VmomiSupport import AddBreakingChangesInfo
from .VmomiSupport import F_LINK, F_LINKABLE
from .VmomiSupport import F_OPTIONAL, F_SECRET
from .VmomiSupport import newestVersions, stableVersions
from .VmomiSupport import publicVersions, oldestVersions

AddVersion("vim.version.version10", "vim25", "6.0", 0, "")
AddVersion("vmodl.query.version.version1", "", "", 0, "")
AddVersion("vmodl.query.version.version2", "", "", 0, "")
AddVersion("vmodl.query.version.version3", "", "", 0, "")
AddVersion("vmodl.query.version.version4", "", "", 0, "")
AddVersion("vmodl.reflect.version.version2", "reflect", "2.0", 0, "")
AddVersion("vmodl.reflect.version.version1", "reflect", "1.0", 0, "")
AddVersion("vim.version.version1", "vim2", "2.0", 0, "")
AddVersion("vim.version.version2", "vim25", "2.5", 0, "")
AddVersion("vim.version.version3", "vim25", "2.5u2", 0, "")
AddVersion("vim.version.version4", "vim25", "2.5u2server", 0, "")
AddVersion("vim.version.version5", "vim25", "4.0", 0, "")
AddVersion("vim.version.version6", "vim25", "4.1", 0, "")
AddVersion("vim.version.version7", "vim25", "5.0", 0, "")
AddVersion("vim.version.version8", "vim25", "5.1", 0, "")
AddVersion("hgw.version.version1", "hgw", "1.0", 0, "")
AddVersion("vim.version.version9", "vim25", "5.5", 0, "")
AddVersion("vmodl.version.version2", "", "", 0, "")
AddVersion("vmodl.version.version1", "", "", 0, "")
AddVersion("vmodl.version.version0", "", "", 0, "")
AddVersionParent("vim.version.version10", "vim.version.version10")
AddVersionParent("vim.version.version10", "vmodl.query.version.version1")
AddVersionParent("vim.version.version10", "vmodl.query.version.version2")
AddVersionParent("vim.version.version10", "vmodl.query.version.version3")
AddVersionParent("vim.version.version10", "vmodl.query.version.version4")
AddVersionParent("vim.version.version10", "vmodl.reflect.version.version2")
AddVersionParent("vim.version.version10", "vmodl.reflect.version.version1")
AddVersionParent("vim.version.version10", "vim.version.version1")
AddVersionParent("vim.version.version10", "vim.version.version2")
AddVersionParent("vim.version.version10", "vim.version.version3")
AddVersionParent("vim.version.version10", "vim.version.version4")
AddVersionParent("vim.version.version10", "vim.version.version5")
AddVersionParent("vim.version.version10", "vim.version.version6")
AddVersionParent("vim.version.version10", "vim.version.version7")
AddVersionParent("vim.version.version10", "vim.version.version8")
AddVersionParent("vim.version.version10", "vim.version.version9")
AddVersionParent("vim.version.version10", "vmodl.version.version2")
AddVersionParent("vim.version.version10", "vmodl.version.version1")
AddVersionParent("vim.version.version10", "vmodl.version.version0")
AddVersionParent("vmodl.query.version.version1", "vmodl.query.version.version1")
AddVersionParent("vmodl.query.version.version1", "vmodl.version.version0")
AddVersionParent("vmodl.query.version.version2", "vmodl.query.version.version1")
AddVersionParent("vmodl.query.version.version2", "vmodl.query.version.version2")
AddVersionParent("vmodl.query.version.version2", "vmodl.version.version1")
AddVersionParent("vmodl.query.version.version2", "vmodl.version.version0")
AddVersionParent("vmodl.query.version.version3", "vmodl.query.version.version1")
AddVersionParent("vmodl.query.version.version3", "vmodl.query.version.version2")
AddVersionParent("vmodl.query.version.version3", "vmodl.query.version.version3")
AddVersionParent("vmodl.query.version.version3", "vmodl.version.version1")
AddVersionParent("vmodl.query.version.version3", "vmodl.version.version0")
AddVersionParent("vmodl.query.version.version4", "vmodl.query.version.version1")
AddVersionParent("vmodl.query.version.version4", "vmodl.query.version.version2")
AddVersionParent("vmodl.query.version.version4", "vmodl.query.version.version3")
AddVersionParent("vmodl.query.version.version4", "vmodl.query.version.version4")
AddVersionParent("vmodl.query.version.version4", "vmodl.version.version2")
AddVersionParent("vmodl.query.version.version4", "vmodl.version.version1")
AddVersionParent("vmodl.query.version.version4", "vmodl.version.version0")
AddVersionParent("vmodl.reflect.version.version2", "vmodl.reflect.version.version2")
AddVersionParent("vmodl.reflect.version.version2", "vmodl.reflect.version.version1")
AddVersionParent("vmodl.reflect.version.version2", "vmodl.version.version2")
AddVersionParent("vmodl.reflect.version.version2", "vmodl.version.version1")
AddVersionParent("vmodl.reflect.version.version2", "vmodl.version.version0")
AddVersionParent("vmodl.reflect.version.version1", "vmodl.reflect.version.version1")
AddVersionParent("vmodl.reflect.version.version1", "vmodl.version.version2")
AddVersionParent("vmodl.reflect.version.version1", "vmodl.version.version1")
AddVersionParent("vmodl.reflect.version.version1", "vmodl.version.version0")
AddVersionParent("vim.version.version1", "vmodl.query.version.version1")
AddVersionParent("vim.version.version1", "vim.version.version1")
AddVersionParent("vim.version.version1", "vmodl.version.version0")
AddVersionParent("vim.version.version2", "vmodl.query.version.version1")
AddVersionParent("vim.version.version2", "vim.version.version1")
AddVersionParent("vim.version.version2", "vim.version.version2")
AddVersionParent("vim.version.version2", "vmodl.version.version0")
AddVersionParent("vim.version.version3", "vmodl.query.version.version1")
AddVersionParent("vim.version.version3", "vim.version.version1")
AddVersionParent("vim.version.version3", "vim.version.version2")
AddVersionParent("vim.version.version3", "vim.version.version3")
AddVersionParent("vim.version.version3", "vmodl.version.version0")
AddVersionParent("vim.version.version4", "vmodl.query.version.version1")
AddVersionParent("vim.version.version4", "vim.version.version1")
AddVersionParent("vim.version.version4", "vim.version.version2")
AddVersionParent("vim.version.version4", "vim.version.version3")
AddVersionParent("vim.version.version4", "vim.version.version4")
AddVersionParent("vim.version.version4", "vmodl.version.version0")
AddVersionParent("vim.version.version5", "vmodl.query.version.version1")
AddVersionParent("vim.version.version5", "vmodl.query.version.version2")
AddVersionParent("vim.version.version5", "vim.version.version1")
AddVersionParent("vim.version.version5", "vim.version.version2")
AddVersionParent("vim.version.version5", "vim.version.version3")
AddVersionParent("vim.version.version5", "vim.version.version4")
AddVersionParent("vim.version.version5", "vim.version.version5")
AddVersionParent("vim.version.version5", "vmodl.version.version1")
AddVersionParent("vim.version.version5", "vmodl.version.version0")
AddVersionParent("vim.version.version6", "vmodl.query.version.version1")
AddVersionParent("vim.version.version6", "vmodl.query.version.version2")
AddVersionParent("vim.version.version6", "vmodl.query.version.version3")
AddVersionParent("vim.version.version6", "vim.version.version1")
AddVersionParent("vim.version.version6", "vim.version.version2")
AddVersionParent("vim.version.version6", "vim.version.version3")
AddVersionParent("vim.version.version6", "vim.version.version4")
AddVersionParent("vim.version.version6", "vim.version.version5")
AddVersionParent("vim.version.version6", "vim.version.version6")
AddVersionParent("vim.version.version6", "vmodl.version.version1")
AddVersionParent("vim.version.version6", "vmodl.version.version0")
AddVersionParent("vim.version.version7", "vmodl.query.version.version1")
AddVersionParent("vim.version.version7", "vmodl.query.version.version2")
AddVersionParent("vim.version.version7", "vmodl.query.version.version3")
AddVersionParent("vim.version.version7", "vmodl.query.version.version4")
AddVersionParent("vim.version.version7", "vmodl.reflect.version.version1")
AddVersionParent("vim.version.version7", "vim.version.version1")
AddVersionParent("vim.version.version7", "vim.version.version2")
AddVersionParent("vim.version.version7", "vim.version.version3")
AddVersionParent("vim.version.version7", "vim.version.version4")
AddVersionParent("vim.version.version7", "vim.version.version5")
AddVersionParent("vim.version.version7", "vim.version.version6")
AddVersionParent("vim.version.version7", "vim.version.version7")
AddVersionParent("vim.version.version7", "vmodl.version.version2")
AddVersionParent("vim.version.version7", "vmodl.version.version1")
AddVersionParent("vim.version.version7", "vmodl.version.version0")
AddVersionParent("vim.version.version8", "vmodl.query.version.version1")
AddVersionParent("vim.version.version8", "vmodl.query.version.version2")
AddVersionParent("vim.version.version8", "vmodl.query.version.version3")
AddVersionParent("vim.version.version8", "vmodl.query.version.version4")
AddVersionParent("vim.version.version8", "vmodl.reflect.version.version1")
AddVersionParent("vim.version.version8", "vim.version.version1")
AddVersionParent("vim.version.version8", "vim.version.version2")
AddVersionParent("vim.version.version8", "vim.version.version3")
AddVersionParent("vim.version.version8", "vim.version.version4")
AddVersionParent("vim.version.version8", "vim.version.version5")
AddVersionParent("vim.version.version8", "vim.version.version6")
AddVersionParent("vim.version.version8", "vim.version.version7")
AddVersionParent("vim.version.version8", "vim.version.version8")
AddVersionParent("vim.version.version8", "vmodl.version.version2")
AddVersionParent("vim.version.version8", "vmodl.version.version1")
AddVersionParent("vim.version.version8", "vmodl.version.version0")
AddVersionParent("hgw.version.version1", "vim.version.version10")
AddVersionParent("hgw.version.version1", "vmodl.query.version.version1")
AddVersionParent("hgw.version.version1", "vmodl.query.version.version2")
AddVersionParent("hgw.version.version1", "vmodl.query.version.version3")
AddVersionParent("hgw.version.version1", "vmodl.query.version.version4")
AddVersionParent("hgw.version.version1", "vmodl.reflect.version.version2")
AddVersionParent("hgw.version.version1", "vmodl.reflect.version.version1")
AddVersionParent("hgw.version.version1", "vim.version.version1")
AddVersionParent("hgw.version.version1", "vim.version.version2")
AddVersionParent("hgw.version.version1", "vim.version.version3")
AddVersionParent("hgw.version.version1", "vim.version.version4")
AddVersionParent("hgw.version.version1", "vim.version.version5")
AddVersionParent("hgw.version.version1", "vim.version.version6")
AddVersionParent("hgw.version.version1", "vim.version.version7")
AddVersionParent("hgw.version.version1", "vim.version.version8")
AddVersionParent("hgw.version.version1", "hgw.version.version1")
AddVersionParent("hgw.version.version1", "vim.version.version9")
AddVersionParent("hgw.version.version1", "vmodl.version.version2")
AddVersionParent("hgw.version.version1", "vmodl.version.version1")
AddVersionParent("hgw.version.version1", "vmodl.version.version0")
AddVersionParent("vim.version.version9", "vmodl.query.version.version1")
AddVersionParent("vim.version.version9", "vmodl.query.version.version2")
AddVersionParent("vim.version.version9", "vmodl.query.version.version3")
AddVersionParent("vim.version.version9", "vmodl.query.version.version4")
AddVersionParent("vim.version.version9", "vmodl.reflect.version.version1")
AddVersionParent("vim.version.version9", "vim.version.version1")
AddVersionParent("vim.version.version9", "vim.version.version2")
AddVersionParent("vim.version.version9", "vim.version.version3")
AddVersionParent("vim.version.version9", "vim.version.version4")
AddVersionParent("vim.version.version9", "vim.version.version5")
AddVersionParent("vim.version.version9", "vim.version.version6")
AddVersionParent("vim.version.version9", "vim.version.version7")
AddVersionParent("vim.version.version9", "vim.version.version8")
AddVersionParent("vim.version.version9", "vim.version.version9")
AddVersionParent("vim.version.version9", "vmodl.version.version2")
AddVersionParent("vim.version.version9", "vmodl.version.version1")
AddVersionParent("vim.version.version9", "vmodl.version.version0")
AddVersionParent("vmodl.version.version2", "vmodl.version.version2")
AddVersionParent("vmodl.version.version2", "vmodl.version.version1")
AddVersionParent("vmodl.version.version2", "vmodl.version.version0")
AddVersionParent("vmodl.version.version1", "vmodl.version.version1")
AddVersionParent("vmodl.version.version1", "vmodl.version.version0")
AddVersionParent("vmodl.version.version0", "vmodl.version.version0")

newestVersions.Add("hgw.version.version1")
stableVersions.Add("hgw.version.version1")
publicVersions.Add("hgw.version.version1")
oldestVersions.Add("hgw.version.version1")

CreateManagedType("hgw.SessionManager", "HgwSessionManager", "vmodl.ManagedObject", "hgw.version.version1", [("bindingInfo", "hgw.SessionManager.HostInfo", "hgw.version.version1", F_OPTIONAL, None)], [("testConnectionViaGateway", "TestConnectionViaGateway", "hgw.version.version1", (("clientInfo", "hgw.SessionManager.ClientInfo", "hgw.version.version1", 0, None),("host", "hgw.SessionManager.HostInfo", "hgw.version.version1", 0, None),("gatewaySpec", "vim.host.GatewaySpec", "hgw.version.version1", 0, None),), (0, "void", "void"), None, ["vim.fault.GatewayOperationRefused", "vim.fault.GatewayToHostAuthFault", "vim.fault.GatewayHostNotReachable", "vim.fault.GatewayToHostTrustVerifyFault", "vim.fault.GatewayToHostConnectFault", ]), ("bindSession", "BindSession", "hgw.version.version1", (("clientInfo", "hgw.SessionManager.ClientInfo", "hgw.version.version1", 0, None),("host", "hgw.SessionManager.HostInfo", "hgw.version.version1", 0, None),("gatewaySpec", "vim.host.GatewaySpec", "hgw.version.version1", 0, None),), (0, "void", "void"), None, None), ("unbindSession", "UnbindSession", "hgw.version.version1", (), (0, "void", "void"), None, None)])
CreateDataType("hgw.SessionManager.HostInfo", "HgwSessionManagerHostInfo", "vmodl.DynamicData", "hgw.version.version1", [("hostname", "string", "hgw.version.version1", 0), ("port", "int", "hgw.version.version1", 0), ("useSecureConnection", "boolean", "hgw.version.version1", 0)])
CreateDataType("hgw.SessionManager.ClientInfo", "HgwSessionManagerClientInfo", "vmodl.DynamicData", "hgw.version.version1", [("clientIdentifier", "string", "hgw.version.version1", 0), ("locale", "string", "hgw.version.version1", F_OPTIONAL)])
