immich/mobile/openapi/test/users_admin_api_test.dart

120 lines
3.2 KiB
Dart

//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.18
// ignore_for_file: unused_element, unused_import
// ignore_for_file: always_put_required_named_parameters_first
// ignore_for_file: constant_identifier_names
// ignore_for_file: lines_longer_than_80_chars
import 'package:openapi/api.dart';
import 'package:test/test.dart';
/// tests for UsersAdminApi
void main() {
// final instance = UsersAdminApi();
group('tests for UsersAdminApi', () {
// Create a user
//
// Create a new user.
//
//Future<UserAdminResponseDto> createUserAdmin(UserAdminCreateDto userAdminCreateDto) async
test('test createUserAdmin', () async {
// TODO
});
// Delete a user
//
// Delete a user.
//
//Future<UserAdminResponseDto> deleteUserAdmin(String id, UserAdminDeleteDto userAdminDeleteDto) async
test('test deleteUserAdmin', () async {
// TODO
});
// Retrieve a user
//
// Retrieve a specific user by their ID.
//
//Future<UserAdminResponseDto> getUserAdmin(String id) async
test('test getUserAdmin', () async {
// TODO
});
// Retrieve calendar heatmap activity
//
// Retrieve activity counts for a specified period, in a calendar heatmap format.
//
//Future<CalendarHeatmapResponseDto> getUserCalendarHeatmapAdmin(String id, { DateTime from, DateTime to, CalendarHeatmapType type }) async
test('test getUserCalendarHeatmapAdmin', () async {
// TODO
});
// Retrieve user preferences
//
// Retrieve the preferences of a specific user.
//
//Future<UserPreferencesResponseDto> getUserPreferencesAdmin(String id) async
test('test getUserPreferencesAdmin', () async {
// TODO
});
// Retrieve user sessions
//
// Retrieve all sessions for a specific user.
//
//Future<List<SessionResponseDto>> getUserSessionsAdmin(String id) async
test('test getUserSessionsAdmin', () async {
// TODO
});
// Retrieve user statistics
//
// Retrieve asset statistics for a specific user.
//
//Future<AssetStatsResponseDto> getUserStatisticsAdmin(String id, { bool isFavorite, bool isTrashed, AssetVisibility visibility }) async
test('test getUserStatisticsAdmin', () async {
// TODO
});
// Restore a deleted user
//
// Restore a previously deleted user.
//
//Future<UserAdminResponseDto> restoreUserAdmin(String id) async
test('test restoreUserAdmin', () async {
// TODO
});
// Search users
//
// Search for users.
//
//Future<List<UserAdminResponseDto>> searchUsersAdmin({ String id, bool withDeleted }) async
test('test searchUsersAdmin', () async {
// TODO
});
// Update a user
//
// Update an existing user.
//
//Future<UserAdminResponseDto> updateUserAdmin(String id, UserAdminUpdateDto userAdminUpdateDto) async
test('test updateUserAdmin', () async {
// TODO
});
// Update user preferences
//
// Update the preferences of a specific user.
//
//Future<UserPreferencesResponseDto> updateUserPreferencesAdmin(String id, UserPreferencesUpdateDto userPreferencesUpdateDto) async
test('test updateUserPreferencesAdmin', () async {
// TODO
});
});
}