226 lines
No EOL
7.9 KiB
Erlang
226 lines
No EOL
7.9 KiB
Erlang
%% HRL file generated by ERLSOM
|
|
%%
|
|
%% It is possible (and in some cases necessary) to change the name of
|
|
%% the record fields.
|
|
%%
|
|
%% It is possible to add default values, but be aware that these will
|
|
%% only be used when *writing* an xml document.
|
|
|
|
|
|
-ifndef(ERLSOM_ANY_ATTRIB_TYPES).
|
|
-define(ERLSOM_ANY_ATTRIB_TYPES, true).
|
|
-type anyAttrib() :: {{string(), %% name of the attribute
|
|
string()}, %% namespace
|
|
string()}. %% value
|
|
|
|
-type anyAttribs() :: [anyAttrib()] | undefined.
|
|
-endif.
|
|
|
|
-ifndef(ERLSOM_QNAME_TYPES).
|
|
-define(ERLSOM_QNAME_TYPES, true).
|
|
%% xsd:QName values are translated to #qname{} records.
|
|
-record(qname, {uri :: string(),
|
|
localPart :: string(),
|
|
prefix :: string(),
|
|
mappedPrefix :: string()}).
|
|
-endif.
|
|
|
|
|
|
|
|
-record('USER_POOL', {anyAttribs :: anyAttribs(),
|
|
choice :: 'USER_POOL/SEQ1'() | 'USER_POOL/SEQ1'() | 'USER_POOL/SEQ1'()}).
|
|
|
|
-type 'USER_POOL'() :: #'USER_POOL'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1', {anyAttribs :: anyAttribs(),
|
|
choice :: [['USER_POOL/SEQ1/USER'()] | ['USER_POOL/SEQ1/QUOTAS'()]] | undefined,
|
|
'DEFAULT_USER_QUOTAS' :: 'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS'()}).
|
|
|
|
-type 'USER_POOL/SEQ1'() :: #'USER_POOL/SEQ1'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/DEFAULT_USER_QUOTAS', {anyAttribs :: anyAttribs(),
|
|
'DATASTORE_QUOTA' :: 'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/DATASTORE_QUOTA'() | undefined,
|
|
'NETWORK_QUOTA' :: 'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/NETWORK_QUOTA'() | undefined,
|
|
'VM_QUOTA' :: 'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/VM_QUOTA'() | undefined,
|
|
'IMAGE_QUOTA' :: 'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/IMAGE_QUOTA'() | undefined}).
|
|
|
|
-type 'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS'() :: #'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/IMAGE_QUOTA', {anyAttribs :: anyAttribs(),
|
|
'IMAGE' :: ['USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/IMAGE_QUOTA/IMAGE'()] | undefined}).
|
|
|
|
-type 'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/IMAGE_QUOTA'() :: #'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/IMAGE_QUOTA'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/IMAGE_QUOTA/IMAGE', {anyAttribs :: anyAttribs(),
|
|
'ID' :: string(),
|
|
'RVMS' :: string(),
|
|
'RVMS_USED' :: string()}).
|
|
|
|
-type 'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/IMAGE_QUOTA/IMAGE'() :: #'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/IMAGE_QUOTA/IMAGE'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/VM_QUOTA', {anyAttribs :: anyAttribs(),
|
|
'VM' :: 'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/VM_QUOTA/VM'() | undefined}).
|
|
|
|
-type 'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/VM_QUOTA'() :: #'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/VM_QUOTA'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/VM_QUOTA/VM', {anyAttribs :: anyAttribs(),
|
|
'CPU' :: string(),
|
|
'CPU_USED' :: string(),
|
|
'MEMORY' :: string(),
|
|
'MEMORY_USED' :: string(),
|
|
'RUNNING_CPU' :: string(),
|
|
'RUNNING_CPU_USED' :: string(),
|
|
'RUNNING_MEMORY' :: string(),
|
|
'RUNNING_MEMORY_USED' :: string(),
|
|
'RUNNING_VMS' :: string(),
|
|
'RUNNING_VMS_USED' :: string(),
|
|
'SYSTEM_DISK_SIZE' :: string(),
|
|
'SYSTEM_DISK_SIZE_USED' :: string(),
|
|
'VMS' :: string(),
|
|
'VMS_USED' :: string()}).
|
|
|
|
-type 'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/VM_QUOTA/VM'() :: #'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/VM_QUOTA/VM'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/NETWORK_QUOTA', {anyAttribs :: anyAttribs(),
|
|
'NETWORK' :: ['USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/NETWORK_QUOTA/NETWORK'()] | undefined}).
|
|
|
|
-type 'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/NETWORK_QUOTA'() :: #'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/NETWORK_QUOTA'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/NETWORK_QUOTA/NETWORK', {anyAttribs :: anyAttribs(),
|
|
'ID' :: string(),
|
|
'LEASES' :: string(),
|
|
'LEASES_USED' :: string()}).
|
|
|
|
-type 'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/NETWORK_QUOTA/NETWORK'() :: #'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/NETWORK_QUOTA/NETWORK'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/DATASTORE_QUOTA', {anyAttribs :: anyAttribs(),
|
|
'DATASTORE' :: ['USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/DATASTORE_QUOTA/DATASTORE'()] | undefined}).
|
|
|
|
-type 'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/DATASTORE_QUOTA'() :: #'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/DATASTORE_QUOTA'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/DATASTORE_QUOTA/DATASTORE', {anyAttribs :: anyAttribs(),
|
|
'ID' :: string(),
|
|
'IMAGES' :: string(),
|
|
'IMAGES_USED' :: string(),
|
|
'SIZE' :: string(),
|
|
'SIZE_USED' :: string()}).
|
|
|
|
-type 'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/DATASTORE_QUOTA/DATASTORE'() :: #'USER_POOL/SEQ1/DEFAULT_USER_QUOTAS/DATASTORE_QUOTA/DATASTORE'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/QUOTAS', {anyAttribs :: anyAttribs(),
|
|
'ID' :: integer(),
|
|
'DATASTORE_QUOTA' :: 'USER_POOL/SEQ1/QUOTAS/DATASTORE_QUOTA'() | undefined,
|
|
'NETWORK_QUOTA' :: 'USER_POOL/SEQ1/QUOTAS/NETWORK_QUOTA'() | undefined,
|
|
'VM_QUOTA' :: 'USER_POOL/SEQ1/QUOTAS/VM_QUOTA'() | undefined,
|
|
'IMAGE_QUOTA' :: 'USER_POOL/SEQ1/QUOTAS/IMAGE_QUOTA'() | undefined}).
|
|
|
|
-type 'USER_POOL/SEQ1/QUOTAS'() :: #'USER_POOL/SEQ1/QUOTAS'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/QUOTAS/IMAGE_QUOTA', {anyAttribs :: anyAttribs(),
|
|
'IMAGE' :: ['USER_POOL/SEQ1/QUOTAS/IMAGE_QUOTA/IMAGE'()] | undefined}).
|
|
|
|
-type 'USER_POOL/SEQ1/QUOTAS/IMAGE_QUOTA'() :: #'USER_POOL/SEQ1/QUOTAS/IMAGE_QUOTA'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/QUOTAS/IMAGE_QUOTA/IMAGE', {anyAttribs :: anyAttribs(),
|
|
'ID' :: string(),
|
|
'RVMS' :: string(),
|
|
'RVMS_USED' :: string()}).
|
|
|
|
-type 'USER_POOL/SEQ1/QUOTAS/IMAGE_QUOTA/IMAGE'() :: #'USER_POOL/SEQ1/QUOTAS/IMAGE_QUOTA/IMAGE'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/QUOTAS/VM_QUOTA', {anyAttribs :: anyAttribs(),
|
|
'VM' :: 'USER_POOL/SEQ1/QUOTAS/VM_QUOTA/VM'() | undefined}).
|
|
|
|
-type 'USER_POOL/SEQ1/QUOTAS/VM_QUOTA'() :: #'USER_POOL/SEQ1/QUOTAS/VM_QUOTA'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/QUOTAS/VM_QUOTA/VM', {anyAttribs :: anyAttribs(),
|
|
'CPU' :: string(),
|
|
'CPU_USED' :: string(),
|
|
'MEMORY' :: string(),
|
|
'MEMORY_USED' :: string(),
|
|
'RUNNING_CPU' :: string(),
|
|
'RUNNING_CPU_USED' :: string(),
|
|
'RUNNING_MEMORY' :: string(),
|
|
'RUNNING_MEMORY_USED' :: string(),
|
|
'RUNNING_VMS' :: string(),
|
|
'RUNNING_VMS_USED' :: string(),
|
|
'SYSTEM_DISK_SIZE' :: string(),
|
|
'SYSTEM_DISK_SIZE_USED' :: string(),
|
|
'VMS' :: string(),
|
|
'VMS_USED' :: string()}).
|
|
|
|
-type 'USER_POOL/SEQ1/QUOTAS/VM_QUOTA/VM'() :: #'USER_POOL/SEQ1/QUOTAS/VM_QUOTA/VM'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/QUOTAS/NETWORK_QUOTA', {anyAttribs :: anyAttribs(),
|
|
'NETWORK' :: ['USER_POOL/SEQ1/QUOTAS/NETWORK_QUOTA/NETWORK'()] | undefined}).
|
|
|
|
-type 'USER_POOL/SEQ1/QUOTAS/NETWORK_QUOTA'() :: #'USER_POOL/SEQ1/QUOTAS/NETWORK_QUOTA'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/QUOTAS/NETWORK_QUOTA/NETWORK', {anyAttribs :: anyAttribs(),
|
|
'ID' :: string(),
|
|
'LEASES' :: string(),
|
|
'LEASES_USED' :: string()}).
|
|
|
|
-type 'USER_POOL/SEQ1/QUOTAS/NETWORK_QUOTA/NETWORK'() :: #'USER_POOL/SEQ1/QUOTAS/NETWORK_QUOTA/NETWORK'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/QUOTAS/DATASTORE_QUOTA', {anyAttribs :: anyAttribs(),
|
|
'DATASTORE' :: ['USER_POOL/SEQ1/QUOTAS/DATASTORE_QUOTA/DATASTORE'()] | undefined}).
|
|
|
|
-type 'USER_POOL/SEQ1/QUOTAS/DATASTORE_QUOTA'() :: #'USER_POOL/SEQ1/QUOTAS/DATASTORE_QUOTA'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/QUOTAS/DATASTORE_QUOTA/DATASTORE', {anyAttribs :: anyAttribs(),
|
|
'ID' :: string(),
|
|
'IMAGES' :: string(),
|
|
'IMAGES_USED' :: string(),
|
|
'SIZE' :: string(),
|
|
'SIZE_USED' :: string()}).
|
|
|
|
-type 'USER_POOL/SEQ1/QUOTAS/DATASTORE_QUOTA/DATASTORE'() :: #'USER_POOL/SEQ1/QUOTAS/DATASTORE_QUOTA/DATASTORE'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/USER', {anyAttribs :: anyAttribs(),
|
|
'ID' :: integer(),
|
|
'GID' :: integer(),
|
|
'GROUPS' :: 'USER_POOL/SEQ1/USER/GROUPS'(),
|
|
'GNAME' :: string(),
|
|
'NAME' :: string(),
|
|
'PASSWORD' :: string(),
|
|
'AUTH_DRIVER' :: string(),
|
|
'ENABLED' :: integer(),
|
|
'LOGIN_TOKEN' :: ['USER_POOL/SEQ1/USER/LOGIN_TOKEN'()] | undefined,
|
|
'TEMPLATE' :: string()}).
|
|
|
|
-type 'USER_POOL/SEQ1/USER'() :: #'USER_POOL/SEQ1/USER'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/USER/LOGIN_TOKEN', {anyAttribs :: anyAttribs(),
|
|
'TOKEN' :: string(),
|
|
'EXPIRATION_TIME' :: integer(),
|
|
'EGID' :: integer()}).
|
|
|
|
-type 'USER_POOL/SEQ1/USER/LOGIN_TOKEN'() :: #'USER_POOL/SEQ1/USER/LOGIN_TOKEN'{}.
|
|
|
|
|
|
-record('USER_POOL/SEQ1/USER/GROUPS', {anyAttribs :: anyAttribs(),
|
|
'ID' :: [integer()]}).
|
|
|
|
-type 'USER_POOL/SEQ1/USER/GROUPS'() :: #'USER_POOL/SEQ1/USER/GROUPS'{}. |