immich/mobile/openapi/test/server_api_test.dart

147 lines
3.6 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 ServerApi
void main() {
// final instance = ServerApi();
group('tests for ServerApi', () {
// Delete server product key
//
// Delete the currently set server product key.
//
//Future deleteServerLicense() async
test('test deleteServerLicense', () async {
// TODO
});
// Get server information
//
// Retrieve a list of information about the server.
//
//Future<ServerAboutResponseDto> getAboutInfo() async
test('test getAboutInfo', () async {
// TODO
});
// Get APK links
//
// Retrieve links to the APKs for the current server version.
//
//Future<ServerApkLinksDto> getApkLinks() async
test('test getApkLinks', () async {
// TODO
});
// Get config
//
// Retrieve the current server configuration.
//
//Future<ServerConfigDto> getServerConfig() async
test('test getServerConfig', () async {
// TODO
});
// Get features
//
// Retrieve available features supported by this server.
//
//Future<ServerFeaturesDto> getServerFeatures() async
test('test getServerFeatures', () async {
// TODO
});
// Get product key
//
// Retrieve information about whether the server currently has a product key registered.
//
//Future<UserLicense> getServerLicense() async
test('test getServerLicense', () async {
// TODO
});
// Get statistics
//
// Retrieve statistics about the entire Immich instance such as asset counts.
//
//Future<ServerStatsResponseDto> getServerStatistics() async
test('test getServerStatistics', () async {
// TODO
});
// Get server version
//
// Retrieve the current server version in semantic versioning (semver) format.
//
//Future<ServerVersionResponseDto> getServerVersion() async
test('test getServerVersion', () async {
// TODO
});
// Get storage
//
// Retrieve the current storage utilization information of the server.
//
//Future<ServerStorageResponseDto> getStorage() async
test('test getStorage', () async {
// TODO
});
// Get supported media types
//
// Retrieve all media types supported by the server.
//
//Future<ServerMediaTypesResponseDto> getSupportedMediaTypes() async
test('test getSupportedMediaTypes', () async {
// TODO
});
// Get version check status
//
// Retrieve information about the last time the version check ran.
//
//Future<VersionCheckStateResponseDto> getVersionCheck() async
test('test getVersionCheck', () async {
// TODO
});
// Get version history
//
// Retrieve a list of past versions the server has been on.
//
//Future<List<ServerVersionHistoryResponseDto>> getVersionHistory() async
test('test getVersionHistory', () async {
// TODO
});
// Ping
//
// Pong
//
//Future<ServerPingResponse> pingServer() async
test('test pingServer', () async {
// TODO
});
// Set server product key
//
// Validate and set the server product key if successful.
//
//Future<UserLicense> setServerLicense(LicenseKeyDto licenseKeyDto) async
test('test setServerLicense', () async {
// TODO
});
});
}