/AWS1/CL_WA2SOURCESTATISTICS¶
Revenue statistics for a single AI bot source, including the bot name, revenue amount, request count, and verification status.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_sourcename TYPE /AWS1/WA2FILTERSTRING /AWS1/WA2FILTERSTRING¶
The name of the AI bot.
iv_percentage TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The percentage of total revenue from this source.
iv_amount TYPE /AWS1/WA2MONETIZATIONAMTVALUE /AWS1/WA2MONETIZATIONAMTVALUE¶
The total revenue amount from this source in the specified currency.
iv_requestcount TYPE /AWS1/WA2REQUESTCOUNT /AWS1/WA2REQUESTCOUNT¶
The number of monetized requests from this source.
Optional arguments:¶
iv_sourcecategory TYPE /AWS1/WA2FILTERSTRING /AWS1/WA2FILTERSTRING¶
The category of this AI bot source.
iv_intent TYPE /AWS1/WA2FILTERSTRING /AWS1/WA2FILTERSTRING¶
The declared intent of the AI bot (for example, summarize, index, or train).
iv_organization TYPE /AWS1/WA2FILTERSTRING /AWS1/WA2FILTERSTRING¶
The organization associated with the AI bot.
iv_verified TYPE /AWS1/WA2VERIFIEDSTATUS /AWS1/WA2VERIFIEDSTATUS¶
Whether the AI bot's identity was verified.
iv_groupbyvalue TYPE /AWS1/WA2FILTERSTRING /AWS1/WA2FILTERSTRING¶
The value for the group-by dimension, when grouping is applied.
Queryable Attributes¶
SourceName¶
The name of the AI bot.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SOURCENAME() |
Getter for SOURCENAME, with configurable default |
ASK_SOURCENAME() |
Getter for SOURCENAME w/ exceptions if field has no value |
HAS_SOURCENAME() |
Determine if SOURCENAME has a value |
Percentage¶
The percentage of total revenue from this source.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PERCENTAGE() |
Getter for PERCENTAGE |
ASK_PERCENTAGE() |
Getter for PERCENTAGE w/ exceptions if field has no value |
STR_PERCENTAGE() |
String format for PERCENTAGE |
Amount¶
The total revenue amount from this source in the specified currency.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_AMOUNT() |
Getter for AMOUNT, with configurable default |
ASK_AMOUNT() |
Getter for AMOUNT w/ exceptions if field has no value |
HAS_AMOUNT() |
Determine if AMOUNT has a value |
RequestCount¶
The number of monetized requests from this source.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_REQUESTCOUNT() |
Getter for REQUESTCOUNT |
SourceCategory¶
The category of this AI bot source.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SOURCECATEGORY() |
Getter for SOURCECATEGORY, with configurable default |
ASK_SOURCECATEGORY() |
Getter for SOURCECATEGORY w/ exceptions if field has no valu |
HAS_SOURCECATEGORY() |
Determine if SOURCECATEGORY has a value |
Intent¶
The declared intent of the AI bot (for example, summarize, index, or train).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INTENT() |
Getter for INTENT, with configurable default |
ASK_INTENT() |
Getter for INTENT w/ exceptions if field has no value |
HAS_INTENT() |
Determine if INTENT has a value |
Organization¶
The organization associated with the AI bot.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ORGANIZATION() |
Getter for ORGANIZATION, with configurable default |
ASK_ORGANIZATION() |
Getter for ORGANIZATION w/ exceptions if field has no value |
HAS_ORGANIZATION() |
Determine if ORGANIZATION has a value |
Verified¶
Whether the AI bot's identity was verified.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_VERIFIED() |
Getter for VERIFIED |
GroupByValue¶
The value for the group-by dimension, when grouping is applied.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_GROUPBYVALUE() |
Getter for GROUPBYVALUE, with configurable default |
ASK_GROUPBYVALUE() |
Getter for GROUPBYVALUE w/ exceptions if field has no value |
HAS_GROUPBYVALUE() |
Determine if GROUPBYVALUE 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_SOURCESTATISTICSLIST¶
TYPES TT_SOURCESTATISTICSLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_WA2SOURCESTATISTICS WITH DEFAULT KEY
.