asset_api_test.dart 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. //
  2. // AUTO-GENERATED FILE, DO NOT MODIFY!
  3. //
  4. // @dart=2.12
  5. // ignore_for_file: unused_element, unused_import
  6. // ignore_for_file: always_put_required_named_parameters_first
  7. // ignore_for_file: constant_identifier_names
  8. // ignore_for_file: lines_longer_than_80_chars
  9. import 'package:openapi/api.dart';
  10. import 'package:test/test.dart';
  11. /// tests for AssetApi
  12. void main() {
  13. // final instance = AssetApi();
  14. group('tests for AssetApi', () {
  15. //Future<SharedLinkResponseDto> addAssetsToSharedLink(AddAssetsDto addAssetsDto, { String key }) async
  16. test('test addAssetsToSharedLink', () async {
  17. // TODO
  18. });
  19. // Check duplicated asset before uploading - for Web upload used
  20. //
  21. //Future<CheckDuplicateAssetResponseDto> checkDuplicateAsset(CheckDuplicateAssetDto checkDuplicateAssetDto, { String key }) async
  22. test('test checkDuplicateAsset', () async {
  23. // TODO
  24. });
  25. // Checks if multiple assets exist on the server and returns all existing - used by background backup
  26. //
  27. //Future<CheckExistingAssetsResponseDto> checkExistingAssets(CheckExistingAssetsDto checkExistingAssetsDto) async
  28. test('test checkExistingAssets', () async {
  29. // TODO
  30. });
  31. //Future<SharedLinkResponseDto> createAssetsSharedLink(CreateAssetsShareLinkDto createAssetsShareLinkDto) async
  32. test('test createAssetsSharedLink', () async {
  33. // TODO
  34. });
  35. //Future<List<DeleteAssetResponseDto>> deleteAsset(DeleteAssetDto deleteAssetDto) async
  36. test('test deleteAsset', () async {
  37. // TODO
  38. });
  39. //Future<MultipartFile> downloadFile(String assetId, { String key }) async
  40. test('test downloadFile', () async {
  41. // TODO
  42. });
  43. //Future<MultipartFile> downloadFiles(DownloadFilesDto downloadFilesDto, { String key }) async
  44. test('test downloadFiles', () async {
  45. // TODO
  46. });
  47. // Current this is not used in any UI element
  48. //
  49. //Future<MultipartFile> downloadLibrary({ String name, num skip, String key }) async
  50. test('test downloadLibrary', () async {
  51. // TODO
  52. });
  53. // Get all AssetEntity belong to the user
  54. //
  55. //Future<List<AssetResponseDto>> getAllAssets({ bool isFavorite, bool isArchived, num skip, String ifNoneMatch }) async
  56. test('test getAllAssets', () async {
  57. // TODO
  58. });
  59. //Future<AssetCountByUserIdResponseDto> getArchivedAssetCountByUserId() async
  60. test('test getArchivedAssetCountByUserId', () async {
  61. // TODO
  62. });
  63. // Get a single asset's information
  64. //
  65. //Future<AssetResponseDto> getAssetById(String assetId, { String key }) async
  66. test('test getAssetById', () async {
  67. // TODO
  68. });
  69. //Future<List<AssetResponseDto>> getAssetByTimeBucket(GetAssetByTimeBucketDto getAssetByTimeBucketDto) async
  70. test('test getAssetByTimeBucket', () async {
  71. // TODO
  72. });
  73. //Future<AssetCountByTimeBucketResponseDto> getAssetCountByTimeBucket(GetAssetCountByTimeBucketDto getAssetCountByTimeBucketDto) async
  74. test('test getAssetCountByTimeBucket', () async {
  75. // TODO
  76. });
  77. //Future<AssetCountByUserIdResponseDto> getAssetCountByUserId() async
  78. test('test getAssetCountByUserId', () async {
  79. // TODO
  80. });
  81. //Future<List<String>> getAssetSearchTerms() async
  82. test('test getAssetSearchTerms', () async {
  83. // TODO
  84. });
  85. //Future<MultipartFile> getAssetThumbnail(String assetId, { ThumbnailFormat format, String key }) async
  86. test('test getAssetThumbnail', () async {
  87. // TODO
  88. });
  89. //Future<List<CuratedLocationsResponseDto>> getCuratedLocations() async
  90. test('test getCuratedLocations', () async {
  91. // TODO
  92. });
  93. //Future<List<CuratedObjectsResponseDto>> getCuratedObjects() async
  94. test('test getCuratedObjects', () async {
  95. // TODO
  96. });
  97. // Get all assets that have GPS information embedded
  98. //
  99. //Future<List<MapMarkerResponseDto>> getMapMarkers({ bool isFavorite, bool isArchived, num skip }) async
  100. test('test getMapMarkers', () async {
  101. // TODO
  102. });
  103. // Get all asset of a device that are in the database, ID only.
  104. //
  105. //Future<List<String>> getUserAssetsByDeviceId(String deviceId) async
  106. test('test getUserAssetsByDeviceId', () async {
  107. // TODO
  108. });
  109. //Future<SharedLinkResponseDto> removeAssetsFromSharedLink(RemoveAssetsDto removeAssetsDto, { String key }) async
  110. test('test removeAssetsFromSharedLink', () async {
  111. // TODO
  112. });
  113. //Future<List<AssetResponseDto>> searchAsset(SearchAssetDto searchAssetDto) async
  114. test('test searchAsset', () async {
  115. // TODO
  116. });
  117. //Future<MultipartFile> serveFile(String assetId, { bool isThumb, bool isWeb, String key }) async
  118. test('test serveFile', () async {
  119. // TODO
  120. });
  121. // Update an asset
  122. //
  123. //Future<AssetResponseDto> updateAsset(String assetId, UpdateAssetDto updateAssetDto) async
  124. test('test updateAsset', () async {
  125. // TODO
  126. });
  127. //Future<AssetFileUploadResponseDto> uploadFile(AssetTypeEnum assetType, MultipartFile assetData, String deviceAssetId, String deviceId, String fileCreatedAt, String fileModifiedAt, bool isFavorite, String fileExtension, { String key, MultipartFile livePhotoData, bool isArchived, bool isVisible, String duration }) async
  128. test('test uploadFile', () async {
  129. // TODO
  130. });
  131. });
  132. }