TautulliCommandHandler_Users class

Facilitates, encapsulates, and manages individual calls related to users within Tautulli.

TautulliCommandHandler_Users internally handles routing the HTTP client to the API calls.

Constructors

TautulliCommandHandler_Users(Dio _client)
Create a user command handler using an initialized Dio client.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteAllUserHistory({required int userId, List<int>? rowIds}) Future<void>
Handler for delete_all_user_history.
deleteUser({required int userId, List<int>? rowIds}) Future<void>
Handler for delete_user.
editUser({required int userId, String? friendlyName, String? customThumb, bool? keepHistory, bool? allowGuest}) Future<void>
Handler for edit_user.
getUser({required int userId}) Future<TautulliUser>
Handler for get_user.
getUserIPs({required int userId, TautulliUserIPsOrderColumn? orderColumn, TautulliOrderDirection? orderDirection, int? start, int? length, String? search}) Future<TautulliUserIPs>
Handler for get_user_ips.
getUserLogins({int? userId, TautulliUserLoginsOrderColumn? orderColumn, TautulliOrderDirection? orderDirection, int? start, int? length, String? search}) Future<TautulliUserLogins>
Handler for get_user_logins.
getUserNames() Future<List<TautulliUserName>>
Handler for get_user_names.
getUserPlayerStats({required int userId, bool? grouping}) Future<List<TautulliUserPlayerStats>>
Handler for get_user_player_stats.
getUsers() Future<List<TautulliUser>>
Handler for get_users.
getUsersTable({bool? grouping, TautulliUsersOrderColumn? orderColumn, TautulliOrderDirection? orderDirection, int? start, int? length, String? search}) Future<TautulliUsersTable>
Handler for get_users_table.
getUserWatchTimeStats({required int userId, bool? grouping, List<int>? queryDays}) Future<List<TautulliUserWatchTimeStats>>
Handler for get_user_watch_time_stats.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshUsersList() Future<void>
Handler for refresh_users_list.
toString() String
A string representation of this object.
inherited
undeleteUser({required int userId, required String username}) Future<void>
Handler for undelete_user.

Operators

operator ==(Object other) bool
The equality operator.
inherited