/AWS1/CL_WKRBOT¶
Represents a bot account in a Wickr network with all its informational fields.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_botid TYPE /AWS1/WKRGENERICSTRING /AWS1/WKRGENERICSTRING¶
The unique identifier of the bot.
iv_displayname TYPE /AWS1/WKRGENERICSTRING /AWS1/WKRGENERICSTRING¶
The display name of the bot that is visible to users.
iv_username TYPE /AWS1/WKRGENERICSTRING /AWS1/WKRGENERICSTRING¶
The username of the bot.
iv_uname TYPE /AWS1/WKRGENERICSTRING /AWS1/WKRGENERICSTRING¶
The unique username hash identifier for the bot.
iv_pubkey TYPE /AWS1/WKRGENERICSTRING /AWS1/WKRGENERICSTRING¶
The public key of the bot used for encryption.
iv_status TYPE /AWS1/WKRBOTSTATUS /AWS1/WKRBOTSTATUS¶
The current status of the bot (1 for pending, 2 for active).
iv_groupid TYPE /AWS1/WKRGENERICSTRING /AWS1/WKRGENERICSTRING¶
The ID of the security group to which the bot belongs.
iv_haschallenge TYPE /AWS1/WKRBOOLEAN /AWS1/WKRBOOLEAN¶
Indicates whether the bot has a password set.
iv_suspended TYPE /AWS1/WKRBOOLEAN /AWS1/WKRBOOLEAN¶
Indicates whether the bot is currently suspended.
iv_lastlogin TYPE /AWS1/WKRGENERICSTRING /AWS1/WKRGENERICSTRING¶
The timestamp of the bot's last login.
Queryable Attributes¶
botId¶
The unique identifier of the bot.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BOTID() |
Getter for BOTID, with configurable default |
ASK_BOTID() |
Getter for BOTID w/ exceptions if field has no value |
HAS_BOTID() |
Determine if BOTID has a value |
displayName¶
The display name of the bot that is visible to users.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DISPLAYNAME() |
Getter for DISPLAYNAME, with configurable default |
ASK_DISPLAYNAME() |
Getter for DISPLAYNAME w/ exceptions if field has no value |
HAS_DISPLAYNAME() |
Determine if DISPLAYNAME has a value |
username¶
The username of the bot.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_USERNAME() |
Getter for USERNAME, with configurable default |
ASK_USERNAME() |
Getter for USERNAME w/ exceptions if field has no value |
HAS_USERNAME() |
Determine if USERNAME has a value |
uname¶
The unique username hash identifier for the bot.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_UNAME() |
Getter for UNAME, with configurable default |
ASK_UNAME() |
Getter for UNAME w/ exceptions if field has no value |
HAS_UNAME() |
Determine if UNAME has a value |
pubkey¶
The public key of the bot used for encryption.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PUBKEY() |
Getter for PUBKEY, with configurable default |
ASK_PUBKEY() |
Getter for PUBKEY w/ exceptions if field has no value |
HAS_PUBKEY() |
Determine if PUBKEY has a value |
status¶
The current status of the bot (1 for pending, 2 for active).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATUS() |
Getter for STATUS, with configurable default |
ASK_STATUS() |
Getter for STATUS w/ exceptions if field has no value |
HAS_STATUS() |
Determine if STATUS has a value |
groupId¶
The ID of the security group to which the bot belongs.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_GROUPID() |
Getter for GROUPID, with configurable default |
ASK_GROUPID() |
Getter for GROUPID w/ exceptions if field has no value |
HAS_GROUPID() |
Determine if GROUPID has a value |
hasChallenge¶
Indicates whether the bot has a password set.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_HASCHALLENGE() |
Getter for HASCHALLENGE, with configurable default |
ASK_HASCHALLENGE() |
Getter for HASCHALLENGE w/ exceptions if field has no value |
HAS_HASCHALLENGE() |
Determine if HASCHALLENGE has a value |
suspended¶
Indicates whether the bot is currently suspended.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SUSPENDED() |
Getter for SUSPENDED, with configurable default |
ASK_SUSPENDED() |
Getter for SUSPENDED w/ exceptions if field has no value |
HAS_SUSPENDED() |
Determine if SUSPENDED has a value |
lastLogin¶
The timestamp of the bot's last login.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LASTLOGIN() |
Getter for LASTLOGIN, with configurable default |
ASK_LASTLOGIN() |
Getter for LASTLOGIN w/ exceptions if field has no value |
HAS_LASTLOGIN() |
Determine if LASTLOGIN has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_BOTS¶
TYPES TT_BOTS TYPE STANDARD TABLE OF REF TO /AWS1/CL_WKRBOT WITH DEFAULT KEY
.