EMS.Services.TEMSInternalAPI.TJSONNames
Delphi
TJSONNames = record
public const
UserName = 'username';
Password = 'password';
SessionToken = 'sessionToken';
Error = 'error';
Description = 'description';
UserID = '_id';
GroupName = 'groupname';
InstallationID = '_id';
MetaData = '_meta';
MetaCreated = 'created';
MetaUpdated = 'updated';
MetaCreator = 'creator';
PushWhere = 'where';
PushChannels = 'channels';
PushData = 'data';
GroupUsers = 'users';
end;
C++
struct DECLSPEC_DRECORD TJSONNames
{
public:
#define TEMSInternalAPI_TJSONNames_UserName L"username"
#define TEMSInternalAPI_TJSONNames_Password L"password"
#define TEMSInternalAPI_TJSONNames_SessionToken L"sessionToken"
#define TEMSInternalAPI_TJSONNames_Error L"error"
#define TEMSInternalAPI_TJSONNames_Description L"description"
#define TEMSInternalAPI_TJSONNames_UserID L"_id"
#define TEMSInternalAPI_TJSONNames_GroupName L"groupname"
#define TEMSInternalAPI_TJSONNames_InstallationID L"_id"
#define TEMSInternalAPI_TJSONNames_MetaData L"_meta"
#define TEMSInternalAPI_TJSONNames_MetaCreated L"created"
#define TEMSInternalAPI_TJSONNames_MetaUpdated L"updated"
#define TEMSInternalAPI_TJSONNames_MetaCreator L"creator"
#define TEMSInternalAPI_TJSONNames_PushWhere L"where"
#define TEMSInternalAPI_TJSONNames_PushChannels L"channels"
#define TEMSInternalAPI_TJSONNames_PushData L"data"
#define TEMSInternalAPI_TJSONNames_GroupUsers L"users"
};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
record struct |
public | EMS.Services.pas EMS.Services.hpp |
EMS.Services | TEMSInternalAPI |
Description
Strings to use as keys in pairs of JSON objects that you want to send to built-in EMS resources.
You do not need to use TJSONNames to use the TEMSInternalAPI class, but you might need TJSONNames if you create a subclass of TEMSInternalAPI that extends its functionality.