Fixed openapi generation command for mobile

This commit is contained in:
Alex Tran
2022-12-06 16:10:04 -06:00
parent f91bdc2785
commit b5a5363a6a
82 changed files with 363 additions and 4231 deletions

View File

@@ -1,26 +0,0 @@
//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// 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 AdminConfigApi
void main() {
// final instance = AdminConfigApi();
group('tests for AdminConfigApi', () {
//Future<AdminConfigResponseDto> getAdminConfig() async
test('test getAdminConfig', () async {
// TODO
});
});
}

View File

@@ -1,27 +0,0 @@
//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// 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 AdminConfigResponseDto
void main() {
// final instance = AdminConfigResponseDto();
group('test AdminConfigResponseDto', () {
// Object config
test('to test the property `config`', () async {
// TODO
});
});
}

View File

@@ -17,7 +17,7 @@ void main() {
// final instance = AlbumApi();
group('tests for AlbumApi', () {
//Future<AlbumResponseDto> addAssetsToAlbum(String albumId, AddAssetsDto addAssetsDto) async
//Future<AddAssetsResponseDto> addAssetsToAlbum(String albumId, AddAssetsDto addAssetsDto) async
test('test addAssetsToAlbum', () async {
// TODO
});
@@ -37,17 +37,27 @@ void main() {
// TODO
});
//Future<Object> downloadArchive(String albumId, { num skip }) async
test('test downloadArchive', () async {
// TODO
});
//Future<AlbumCountResponseDto> getAlbumCountByUserId() async
test('test getAlbumCountByUserId', () async {
// TODO
});
//Future<AlbumResponseDto> getAlbumInfo(String albumId) async
test('test getAlbumInfo', () async {
// TODO
});
//Future<List<AlbumResponseDto>> getAllAlbums({ bool shared }) async
//Future<List<AlbumResponseDto>> getAllAlbums({ bool shared, String assetId }) async
test('test getAllAlbums', () async {
// TODO
});
//Future removeAssetFromAlbum(String albumId, RemoveAssetsDto removeAssetsDto) async
//Future<AlbumResponseDto> removeAssetFromAlbum(String albumId, RemoveAssetsDto removeAssetsDto) async
test('test removeAssetFromAlbum', () async {
// TODO
});

View File

@@ -16,6 +16,11 @@ void main() {
// final instance = AlbumResponseDto();
group('test AlbumResponseDto', () {
// int assetCount
test('to test the property `assetCount`', () async {
// TODO
});
// String id
test('to test the property `id`', () async {
// TODO

View File

@@ -16,13 +16,28 @@ void main() {
// final instance = AllJobStatusResponseDto();
group('test AllJobStatusResponseDto', () {
// bool isThumbnailGenerationActive
test('to test the property `isThumbnailGenerationActive`', () async {
// JobCounts thumbnailGenerationQueueCount
test('to test the property `thumbnailGenerationQueueCount`', () async {
// TODO
});
// Object thumbnailGenerationQueueCount
test('to test the property `thumbnailGenerationQueueCount`', () async {
// JobCounts metadataExtractionQueueCount
test('to test the property `metadataExtractionQueueCount`', () async {
// TODO
});
// JobCounts videoConversionQueueCount
test('to test the property `videoConversionQueueCount`', () async {
// TODO
});
// JobCounts machineLearningQueueCount
test('to test the property `machineLearningQueueCount`', () async {
// TODO
});
// bool isThumbnailGenerationActive
test('to test the property `isThumbnailGenerationActive`', () async {
// TODO
});
@@ -31,18 +46,13 @@ void main() {
// TODO
});
// Object metadataExtractionQueueCount
test('to test the property `metadataExtractionQueueCount`', () async {
// TODO
});
// bool isVideoConversionActive
test('to test the property `isVideoConversionActive`', () async {
// TODO
});
// Object videoConversionQueueCount
test('to test the property `videoConversionQueueCount`', () async {
// bool isMachineLearningActive
test('to test the property `isMachineLearningActive`', () async {
// TODO
});

View File

@@ -26,21 +26,35 @@ void main() {
// TODO
});
//Future deleteAsset(DeleteAssetDto deleteAssetDto) async
//
//
// Checks if multiple assets exist on the server and returns all existing - used by background backup
//
//Future<CheckExistingAssetsResponseDto> checkExistingAssets(CheckExistingAssetsDto checkExistingAssetsDto) async
test('test checkExistingAssets', () async {
// TODO
});
//Future<List<DeleteAssetResponseDto>> deleteAsset(DeleteAssetDto deleteAssetDto) async
test('test deleteAsset', () async {
// TODO
});
//Future<Object> downloadFile(String aid, String did, { bool isThumb, bool isWeb }) async
//Future<Object> downloadFile(String assetId, { bool isThumb, bool isWeb }) async
test('test downloadFile', () async {
// TODO
});
//Future<Object> downloadLibrary({ num skip }) async
test('test downloadLibrary', () async {
// TODO
});
//
//
// Get all AssetEntity belong to the user
//
//Future<List<AssetResponseDto>> getAllAssets() async
//Future<List<AssetResponseDto>> getAllAssets({ String ifNoneMatch }) async
test('test getAllAssets', () async {
// TODO
});
@@ -54,12 +68,27 @@ void main() {
// TODO
});
//Future<List<Object>> getAssetSearchTerms() async
//Future<List<AssetResponseDto>> getAssetByTimeBucket(GetAssetByTimeBucketDto getAssetByTimeBucketDto) async
test('test getAssetByTimeBucket', () async {
// TODO
});
//Future<AssetCountByTimeBucketResponseDto> getAssetCountByTimeBucket(GetAssetCountByTimeBucketDto getAssetCountByTimeBucketDto) async
test('test getAssetCountByTimeBucket', () async {
// TODO
});
//Future<AssetCountByUserIdResponseDto> getAssetCountByUserId() async
test('test getAssetCountByUserId', () async {
// TODO
});
//Future<List<String>> getAssetSearchTerms() async
test('test getAssetSearchTerms', () async {
// TODO
});
//Future<Object> getAssetThumbnail(String assetId) async
//Future<Object> getAssetThumbnail(String assetId, { ThumbnailFormat format }) async
test('test getAssetThumbnail', () async {
// TODO
});
@@ -88,11 +117,20 @@ void main() {
// TODO
});
//Future<Object> serveFile(String aid, String did, { bool isThumb, bool isWeb }) async
//Future<Object> serveFile(String assetId, { bool isThumb, bool isWeb }) async
test('test serveFile', () async {
// TODO
});
//
//
// Update an asset
//
//Future<AssetResponseDto> updateAsset(String assetId, UpdateAssetDto updateAssetDto) async
test('test updateAsset', () async {
// TODO
});
//Future<AssetFileUploadResponseDto> uploadFile(MultipartFile assetData) async
test('test uploadFile', () async {
// TODO

View File

@@ -16,13 +16,13 @@ void main() {
// final instance = AssetCountByTimeBucketResponseDto();
group('test AssetCountByTimeBucketResponseDto', () {
// String timeGroup
test('to test the property `timeGroup`', () async {
// int totalCount
test('to test the property `totalCount`', () async {
// TODO
});
// int count
test('to test the property `count`', () async {
// List<AssetCountByTimeBucket> buckets (default value: const [])
test('to test the property `buckets`', () async {
// TODO
});

View File

@@ -1,32 +0,0 @@
//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// 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 AssetCountByTimeGroupDto
void main() {
// final instance = AssetCountByTimeGroupDto();
group('test AssetCountByTimeGroupDto', () {
// String timeGroup
test('to test the property `timeGroup`', () async {
// TODO
});
// int count
test('to test the property `count`', () async {
// TODO
});
});
}

View File

@@ -1,32 +0,0 @@
//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// 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 AssetCountByTimeGroupResponseDto
void main() {
// final instance = AssetCountByTimeGroupResponseDto();
group('test AssetCountByTimeGroupResponseDto', () {
// int totalAssets
test('to test the property `totalAssets`', () async {
// TODO
});
// List<AssetCountByTimeGroupDto> groups (default value: const [])
test('to test the property `groups`', () async {
// TODO
});
});
}

View File

@@ -16,16 +16,31 @@ void main() {
// final instance = AssetCountByUserIdResponseDto();
group('test AssetCountByUserIdResponseDto', () {
// int photos
// int audio (default value: 0)
test('to test the property `audio`', () async {
// TODO
});
// int photos (default value: 0)
test('to test the property `photos`', () async {
// TODO
});
// int videos
// int videos (default value: 0)
test('to test the property `videos`', () async {
// TODO
});
// int other (default value: 0)
test('to test the property `other`', () async {
// TODO
});
// int total (default value: 0)
test('to test the property `total`', () async {
// TODO
});
});

View File

@@ -1,32 +0,0 @@
//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// 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 AssetCountResponseDto
void main() {
// final instance = AssetCountResponseDto();
group('test AssetCountResponseDto', () {
// int photos
test('to test the property `photos`', () async {
// TODO
});
// int videos
test('to test the property `videos`', () async {
// TODO
});
});
}

View File

@@ -1,122 +0,0 @@
//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// 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 AssetEntity
void main() {
// final instance = AssetEntity();
group('test AssetEntity', () {
// String id
test('to test the property `id`', () async {
// TODO
});
// String deviceAssetId
test('to test the property `deviceAssetId`', () async {
// TODO
});
// String userId
test('to test the property `userId`', () async {
// TODO
});
// String deviceId
test('to test the property `deviceId`', () async {
// TODO
});
// String type
test('to test the property `type`', () async {
// TODO
});
// String originalPath
test('to test the property `originalPath`', () async {
// TODO
});
// String resizePath
test('to test the property `resizePath`', () async {
// TODO
});
// String webpPath
test('to test the property `webpPath`', () async {
// TODO
});
// String encodedVideoPath
test('to test the property `encodedVideoPath`', () async {
// TODO
});
// String createdAt
test('to test the property `createdAt`', () async {
// TODO
});
// String modifiedAt
test('to test the property `modifiedAt`', () async {
// TODO
});
// bool isFavorite
test('to test the property `isFavorite`', () async {
// TODO
});
// String mimeType
test('to test the property `mimeType`', () async {
// TODO
});
// Object checksum
test('to test the property `checksum`', () async {
// TODO
});
// String duration
test('to test the property `duration`', () async {
// TODO
});
// bool isVisible
test('to test the property `isVisible`', () async {
// TODO
});
// String livePhotoVideoId
test('to test the property `livePhotoVideoId`', () async {
// TODO
});
// ExifEntity exifInfo
test('to test the property `exifInfo`', () async {
// TODO
});
// SmartInfoEntity smartInfo
test('to test the property `smartInfo`', () async {
// TODO
});
// List<TagEntity> tags (default value: const [])
test('to test the property `tags`', () async {
// TODO
});
});
}

View File

@@ -16,6 +16,11 @@ void main() {
// final instance = AssetResponseDto();
group('test AssetResponseDto', () {
// AssetTypeEnum type
test('to test the property `type`', () async {
// TODO
});
// String id
test('to test the property `id`', () async {
// TODO
@@ -36,11 +41,6 @@ void main() {
// TODO
});
// String type
test('to test the property `type`', () async {
// TODO
});
// String originalPath
test('to test the property `originalPath`', () async {
// TODO
@@ -96,6 +96,16 @@ void main() {
// TODO
});
// String livePhotoVideoId
test('to test the property `livePhotoVideoId`', () async {
// TODO
});
// List<TagResponseDto> tags (default value: const [])
test('to test the property `tags`', () async {
// TODO
});
});

View File

@@ -27,7 +27,12 @@ void main() {
// TODO
});
//Future<Object> validateAccessToken() async
//Future<LogoutResponseDto> logout() async
test('test logout', () async {
// TODO
});
//Future<ValidateAccessTokenResponseDto> validateAccessToken() async
test('test validateAccessToken', () async {
// TODO
});

View File

@@ -21,6 +21,11 @@ void main() {
// TODO
});
// String id
test('to test the property `id`', () async {
// TODO
});
});

View File

@@ -1,31 +0,0 @@
//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// 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 ConfigApi
void main() {
// final instance = ConfigApi();
group('tests for ConfigApi', () {
//Future<SystemConfigResponseDto> getSystemConfig() async
test('test getSystemConfig', () async {
// TODO
});
//Future<SystemConfigResponseDto> putSystemConfig(Object body) async
test('test putSystemConfig', () async {
// TODO
});
});
}

View File

@@ -16,13 +16,13 @@ void main() {
// final instance = CreateDeviceInfoDto();
group('test CreateDeviceInfoDto', () {
// String deviceId
test('to test the property `deviceId`', () async {
// DeviceTypeEnum deviceType
test('to test the property `deviceType`', () async {
// TODO
});
// String deviceType
test('to test the property `deviceType`', () async {
// String deviceId
test('to test the property `deviceId`', () async {
// TODO
});

View File

@@ -1,27 +0,0 @@
//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// 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 CreateJobDto
void main() {
// final instance = CreateJobDto();
group('test CreateJobDto', () {
// JobType jobType
test('to test the property `jobType`', () async {
// TODO
});
});
}

View File

@@ -22,7 +22,7 @@ void main() {
// TODO
});
//Future<DeviceInfoResponseDto> updateDeviceInfo(Object body) async
//Future<DeviceInfoResponseDto> updateDeviceInfo(UpdateDeviceInfoDto updateDeviceInfoDto) async
test('test updateDeviceInfo', () async {
// TODO
});

View File

@@ -16,11 +16,16 @@ void main() {
// final instance = DeviceInfoResponseDto();
group('test DeviceInfoResponseDto', () {
// num id
// int id
test('to test the property `id`', () async {
// TODO
});
// DeviceTypeEnum deviceType
test('to test the property `deviceType`', () async {
// TODO
});
// String userId
test('to test the property `userId`', () async {
// TODO
@@ -31,16 +36,6 @@ void main() {
// TODO
});
// String deviceType
test('to test the property `deviceType`', () async {
// TODO
});
// String notificationToken
test('to test the property `notificationToken`', () async {
// TODO
});
// String createdAt
test('to test the property `createdAt`', () async {
// TODO

View File

@@ -1,150 +0,0 @@
//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// 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 ExifEntity
void main() {
// final instance = ExifEntity();
group('test ExifEntity', () {
// String id
test('to test the property `id`', () async {
// TODO
});
// String assetId
test('to test the property `assetId`', () async {
// TODO
});
// General info
// String description
test('to test the property `description`', () async {
// TODO
});
// num exifImageWidth
test('to test the property `exifImageWidth`', () async {
// TODO
});
// num exifImageHeight
test('to test the property `exifImageHeight`', () async {
// TODO
});
// num fileSizeInByte
test('to test the property `fileSizeInByte`', () async {
// TODO
});
// String orientation
test('to test the property `orientation`', () async {
// TODO
});
// DateTime dateTimeOriginal
test('to test the property `dateTimeOriginal`', () async {
// TODO
});
// DateTime modifyDate
test('to test the property `modifyDate`', () async {
// TODO
});
// num latitude
test('to test the property `latitude`', () async {
// TODO
});
// num longitude
test('to test the property `longitude`', () async {
// TODO
});
// String city
test('to test the property `city`', () async {
// TODO
});
// String state
test('to test the property `state`', () async {
// TODO
});
// String country
test('to test the property `country`', () async {
// TODO
});
// Image info
// String make
test('to test the property `make`', () async {
// TODO
});
// String model
test('to test the property `model`', () async {
// TODO
});
// String imageName
test('to test the property `imageName`', () async {
// TODO
});
// String lensModel
test('to test the property `lensModel`', () async {
// TODO
});
// num fNumber
test('to test the property `fNumber`', () async {
// TODO
});
// num focalLength
test('to test the property `focalLength`', () async {
// TODO
});
// num iso
test('to test the property `iso`', () async {
// TODO
});
// num exposureTime
test('to test the property `exposureTime`', () async {
// TODO
});
// Video info
// num fps
test('to test the property `fps`', () async {
// TODO
});
// AssetEntity asset
test('to test the property `asset`', () async {
// TODO
});
// String exifTextSearchableColumn
test('to test the property `exifTextSearchableColumn`', () async {
// TODO
});
});
}

View File

@@ -16,11 +16,16 @@ void main() {
// final instance = ExifResponseDto();
group('test ExifResponseDto', () {
// String id
// int id
test('to test the property `id`', () async {
// TODO
});
// int fileSizeInByte
test('to test the property `fileSizeInByte`', () async {
// TODO
});
// String make
test('to test the property `make`', () async {
// TODO
@@ -46,11 +51,6 @@ void main() {
// TODO
});
// num fileSizeInByte
test('to test the property `fileSizeInByte`', () async {
// TODO
});
// String orientation
test('to test the property `orientation`', () async {
// TODO

View File

@@ -1,27 +0,0 @@
//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// 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 GetAssetCountByTimeGroupDto
void main() {
// final instance = GetAssetCountByTimeGroupDto();
group('test GetAssetCountByTimeGroupDto', () {
// String timeGroup (default value: 'month')
test('to test the property `timeGroup`', () async {
// TODO
});
});
}

View File

@@ -17,23 +17,18 @@ void main() {
// final instance = JobApi();
group('tests for JobApi', () {
//Future<Object> create(CreateJobDto createJobDto) async
test('test create', () async {
// TODO
});
//Future<AllJobStatusResponseDto> getAllJobsStatus() async
test('test getAllJobsStatus', () async {
// TODO
});
//Future<JobStatusResponseDto> getJobStatus(JobType jobType) async
//Future<JobStatusResponseDto> getJobStatus(JobId jobId) async
test('test getJobStatus', () async {
// TODO
});
//Future<JobStatusResponseDto> stopJob(JobType jobType) async
test('test stopJob', () async {
//Future<num> sendJobCommand(JobId jobId, JobCommandDto jobCommandDto) async
test('test sendJobCommand', () async {
// TODO
});

View File

@@ -16,27 +16,27 @@ void main() {
// final instance = JobCounts();
group('test JobCounts', () {
// num active
// int active
test('to test the property `active`', () async {
// TODO
});
// num completed
// int completed
test('to test the property `completed`', () async {
// TODO
});
// num failed
// int failed
test('to test the property `failed`', () async {
// TODO
});
// num delayed
// int delayed
test('to test the property `delayed`', () async {
// TODO
});
// num waiting
// int waiting
test('to test the property `waiting`', () async {
// TODO
});

View File

@@ -1,21 +0,0 @@
//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// 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 JobType
void main() {
group('test JobType', () {
});
}

View File

@@ -21,6 +21,11 @@ void main() {
// TODO
});
// String redirectUri
test('to test the property `redirectUri`', () async {
// TODO
});
});

View File

@@ -22,8 +22,8 @@ void main() {
// TODO
});
//Future<OAuthConfigResponseDto> getConfig() async
test('test getConfig', () async {
//Future<OAuthConfigResponseDto> generateConfig(OAuthConfigDto oAuthConfigDto) async
test('test generateConfig', () async {
// TODO
});

View File

@@ -26,6 +26,11 @@ void main() {
// TODO
});
// String buttonText
test('to test the property `buttonText`', () async {
// TODO
});
});

View File

@@ -27,6 +27,11 @@ void main() {
// TODO
});
//Future<ServerStatsResponseDto> getStats() async
test('test getStats', () async {
// TODO
});
//Future<ServerPingResponse> pingServer() async
test('test pingServer', () async {
// TODO

View File

@@ -16,6 +16,26 @@ void main() {
// final instance = ServerInfoResponseDto();
group('test ServerInfoResponseDto', () {
// int diskSizeRaw
test('to test the property `diskSizeRaw`', () async {
// TODO
});
// int diskUseRaw
test('to test the property `diskUseRaw`', () async {
// TODO
});
// int diskAvailableRaw
test('to test the property `diskAvailableRaw`', () async {
// TODO
});
// double diskUsagePercentage
test('to test the property `diskUsagePercentage`', () async {
// TODO
});
// String diskSize
test('to test the property `diskSize`', () async {
// TODO
@@ -31,26 +51,6 @@ void main() {
// TODO
});
// num diskSizeRaw
test('to test the property `diskSizeRaw`', () async {
// TODO
});
// num diskUseRaw
test('to test the property `diskUseRaw`', () async {
// TODO
});
// num diskAvailableRaw
test('to test the property `diskAvailableRaw`', () async {
// TODO
});
// num diskUsagePercentage
test('to test the property `diskUsagePercentage`', () async {
// TODO
});
});

View File

@@ -31,8 +31,18 @@ void main() {
// TODO
});
// UsagePerUser diskUsagesByUser
test('to test the property `diskUsagesByUser`', () async {
// int usageRaw
test('to test the property `usageRaw`', () async {
// TODO
});
// String usage
test('to test the property `usage`', () async {
// TODO
});
// List<UsageByUserDto> usageByUser (default value: const [])
test('to test the property `usageByUser`', () async {
// TODO
});

View File

@@ -16,22 +16,22 @@ void main() {
// final instance = ServerVersionReponseDto();
group('test ServerVersionReponseDto', () {
// num major
// int major
test('to test the property `major`', () async {
// TODO
});
// num minor
// int minor
test('to test the property `minor`', () async {
// TODO
});
// num patch_
// int patch_
test('to test the property `patch_`', () async {
// TODO
});
// num build
// int build
test('to test the property `build`', () async {
// TODO
});

View File

@@ -1,47 +0,0 @@
//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// 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 SmartInfoEntity
void main() {
// final instance = SmartInfoEntity();
group('test SmartInfoEntity', () {
// String id
test('to test the property `id`', () async {
// TODO
});
// String assetId
test('to test the property `assetId`', () async {
// TODO
});
// List<String> tags (default value: const [])
test('to test the property `tags`', () async {
// TODO
});
// List<String> objects (default value: const [])
test('to test the property `objects`', () async {
// TODO
});
// AssetEntity asset
test('to test the property `asset`', () async {
// TODO
});
});
}

View File

@@ -1,32 +0,0 @@
//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// 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 SystemConfigEntity
void main() {
// final instance = SystemConfigEntity();
group('test SystemConfigEntity', () {
// String key
test('to test the property `key`', () async {
// TODO
});
// Object value
test('to test the property `value`', () async {
// TODO
});
});
}

View File

@@ -16,7 +16,7 @@ void main() {
// final instance = SystemConfigResponseDto();
group('test SystemConfigResponseDto', () {
// Object config
// List<SystemConfigResponseItem> config (default value: const [])
test('to test the property `config`', () async {
// TODO
});

View File

@@ -21,16 +21,21 @@ void main() {
// TODO
});
// String key
// SystemConfigKey key
test('to test the property `key`', () async {
// TODO
});
// Object value
// String value
test('to test the property `value`', () async {
// TODO
});
// String defaultValue
test('to test the property `defaultValue`', () async {
// TODO
});
});

View File

@@ -17,27 +17,27 @@ void main() {
// final instance = TagApi();
group('tests for TagApi', () {
//Future<TagEntity> create(CreateTagDto createTagDto) async
//Future<TagResponseDto> create(CreateTagDto createTagDto) async
test('test create', () async {
// TODO
});
//Future<List<TagEntity>> findAll() async
//Future delete(String id) async
test('test delete', () async {
// TODO
});
//Future<List<TagResponseDto>> findAll() async
test('test findAll', () async {
// TODO
});
//Future<Object> findOne(String id) async
//Future<TagResponseDto> findOne(String id) async
test('test findOne', () async {
// TODO
});
//Future<String> remove(String id) async
test('test remove', () async {
// TODO
});
//Future<String> update(String id, UpdateTagDto updateTagDto) async
//Future<TagResponseDto> update(String id, UpdateTagDto updateTagDto) async
test('test update', () async {
// TODO
});

View File

@@ -1,52 +0,0 @@
//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// 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 TagEntity
void main() {
// final instance = TagEntity();
group('test TagEntity', () {
// String id
test('to test the property `id`', () async {
// TODO
});
// String type
test('to test the property `type`', () async {
// TODO
});
// String name
test('to test the property `name`', () async {
// TODO
});
// String renameTagId
test('to test the property `renameTagId`', () async {
// TODO
});
// List<AssetEntity> assets (default value: const [])
test('to test the property `assets`', () async {
// TODO
});
// UserEntity user
test('to test the property `user`', () async {
// TODO
});
});
}

View File

@@ -31,6 +31,16 @@ void main() {
// TODO
});
// String userId
test('to test the property `userId`', () async {
// TODO
});
// String renameTagId
test('to test the property `renameTagId`', () async {
// TODO
});
});

View File

@@ -1,21 +0,0 @@
//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// 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 TimeBucketEnum
void main() {
group('test TimeBucketEnum', () {
});
}

View File

@@ -21,8 +21,8 @@ void main() {
// TODO
});
// String ownerId
test('to test the property `ownerId`', () async {
// String albumThumbnailAssetId
test('to test the property `albumThumbnailAssetId`', () async {
// TODO
});

View File

@@ -16,6 +16,11 @@ void main() {
// final instance = UpdateAssetDto();
group('test UpdateAssetDto', () {
// List<String> tagIds (default value: const [])
test('to test the property `tagIds`', () async {
// TODO
});
// bool isFavorite
test('to test the property `isFavorite`', () async {
// TODO

View File

@@ -16,13 +16,13 @@ void main() {
// final instance = UpdateDeviceInfoDto();
group('test UpdateDeviceInfoDto', () {
// String deviceId
test('to test the property `deviceId`', () async {
// DeviceTypeEnum deviceType
test('to test the property `deviceType`', () async {
// TODO
});
// String deviceType
test('to test the property `deviceType`', () async {
// String deviceId
test('to test the property `deviceId`', () async {
// TODO
});

View File

@@ -16,23 +16,28 @@ void main() {
// final instance = UsageByUserDto();
group('test UsageByUserDto', () {
// String userId
test('to test the property `userId`', () async {
// TODO
});
// int videos
test('to test the property `videos`', () async {
// TODO
});
// int photos
test('to test the property `photos`', () async {
// TODO
});
// int usageRaw
test('to test the property `usageRaw`', () async {
// TODO
});
// num objects
test('to test the property `objects`', () async {
// TODO
});
// num videos
test('to test the property `videos`', () async {
// TODO
});
// num images
test('to test the property `images`', () async {
// String usage
test('to test the property `usage`', () async {
// TODO
});

View File

@@ -27,6 +27,11 @@ void main() {
// TODO
});
//Future<UserResponseDto> deleteUser(String userId) async
test('test deleteUser', () async {
// TODO
});
//Future<List<UserResponseDto>> getAllUsers(bool isAll) async
test('test getAllUsers', () async {
// TODO
@@ -42,11 +47,21 @@ void main() {
// TODO
});
//Future<UserResponseDto> getUserById(String userId) async
test('test getUserById', () async {
// TODO
});
//Future<UserCountResponseDto> getUserCount() async
test('test getUserCount', () async {
// TODO
});
//Future<UserResponseDto> restoreUser(String userId) async
test('test restoreUser', () async {
// TODO
});
//Future<UserResponseDto> updateUser(UpdateUserDto updateUserDto) async
test('test updateUser', () async {
// TODO

View File

@@ -16,7 +16,7 @@ void main() {
// final instance = UserCountResponseDto();
group('test UserCountResponseDto', () {
// num userCount
// int userCount
test('to test the property `userCount`', () async {
// TODO
});

View File

@@ -1,82 +0,0 @@
//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// 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 UserEntity
void main() {
// final instance = UserEntity();
group('test UserEntity', () {
// String id
test('to test the property `id`', () async {
// TODO
});
// String firstName
test('to test the property `firstName`', () async {
// TODO
});
// String lastName
test('to test the property `lastName`', () async {
// TODO
});
// bool isAdmin
test('to test the property `isAdmin`', () async {
// TODO
});
// String email
test('to test the property `email`', () async {
// TODO
});
// String password
test('to test the property `password`', () async {
// TODO
});
// String salt
test('to test the property `salt`', () async {
// TODO
});
// String profileImagePath
test('to test the property `profileImagePath`', () async {
// TODO
});
// bool shouldChangePassword
test('to test the property `shouldChangePassword`', () async {
// TODO
});
// String createdAt
test('to test the property `createdAt`', () async {
// TODO
});
// DateTime deletedAt
test('to test the property `deletedAt`', () async {
// TODO
});
// List<TagEntity> tags (default value: const [])
test('to test the property `tags`', () async {
// TODO
});
});
}

View File

@@ -56,6 +56,11 @@ void main() {
// TODO
});
// DateTime deletedAt
test('to test the property `deletedAt`', () async {
// TODO
});
});