Prototype

Class: Caller

XAPI caller description and rate limiting

Fields

Prototype
string client_ip [RO/constructor]
Prototype
string set groups [RO/runtime]
Prototype
datetime last_access [RO/runtime]
Prototype
string name_description [RW]
Prototype
string name_label [RW]
Prototype
Rate_limit ref rate_limit [RO/runtime]
Prototype
string user_agent [RO/constructor]
Prototype
string uuid [RO/runtime]

Messages

Prototype
void add_group (session ref, Caller ref, string)
Prototype
Caller ref create (session ref, Caller record)
Prototype
void destroy (session ref, Caller ref)
Prototype
Caller ref set get_all (session ref)
Prototype
(Caller ref → Caller record) map get_all_records (session ref)
Prototype
Caller ref set get_by_name_label (session ref, string)
Prototype
Caller ref get_by_uuid (session ref, string)
Prototype
string get_client_ip (session ref, Caller ref)
Prototype
string set get_groups (session ref, Caller ref)
Prototype
datetime get_last_access (session ref, Caller ref)
Prototype
string get_name_description (session ref, Caller ref)
Prototype
string get_name_label (session ref, Caller ref)
Prototype
Rate_limit ref get_rate_limit (session ref, Caller ref)
Prototype
Caller record get_record (session ref, Caller ref)
Prototype
string get_user_agent (session ref, Caller ref)
Prototype
string get_uuid (session ref, Caller ref)
Prototype
string set set query_all_usage (session ref)
Prototype
int query_call_count (session ref, Caller ref)
Prototype
int query_group_call_count (session ref, string)
Prototype
float query_group_token_usage (session ref, string)
Prototype
float query_token_usage (session ref, Caller ref)
Prototype
void remove_group (session ref, Caller ref, string)
Prototype
void set_name_description (session ref, Caller ref, string)
Prototype
void set_name_label (session ref, Caller ref, string)