vpnConnection

Extends: edcEntity
Namespace: http://eurotech.com/edc/2.0
XML Schema: edc.xsd

VpnConnection represents a currently active connection to the VPN Server and it keeps track of the device and the user who initiated it.

XML

Elements

name (type) min/max
occurs
description
id (long) 1/1
accountId (long) 1/1
createdOn (dateTime) 0/1
modifiedOn (dateTime) 0/1
userId (long) 1/1
deviceId (string) 0/1
inetAddress (string) 0/1
optlock (int) 1/1 The optlock field is used to detect that this entity has not been modified by someone else. When updating an entity, first do a find to get the latest version of the entity and note the value of the optlock. Then in the update operation, set the optlock value to match the value that you found. If someone else has updated the entity between your find and update operations, the update will fail and the db/server will return an error.

See this stackoverflow question for more information on optimistic locking.

JSON

property type description
id id (long)
accountId accountId (long)
createdOn createdOn (dateTime)
modifiedOn modifiedOn (dateTime)
userId userId (long)
deviceId deviceId (string)
inetAddress inetAddress (string)
optlock optlock (int) The optlock field is used to detect that this entity has not been modified by someone else. When updating an entity, first do a find to get the latest version of the entity and note the value of the optlock. Then in the update operation, set the optlock value to match the value that you found. If someone else has updated the entity between your find and update operations, the update will fail and the db/server will return an error.

See this stackoverflow question for more information on optimistic locking.