mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	chore(server): auto sort open api spec (#3500)
* chore: recursively sort api keys * chore: open api
This commit is contained in:
		
							
								
								
									
										1542
									
								
								cli/src/api/open-api/api.ts
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1542
									
								
								cli/src/api/open-api/api.ts
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										2
									
								
								mobile/openapi/doc/APIKeyCreateResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/APIKeyCreateResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,8 +8,8 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **secret** | **String** |  |  | ||||
| **apiKey** | [**APIKeyResponseDto**](APIKeyResponseDto.md) |  |  | ||||
| **secret** | **String** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/APIKeyResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/APIKeyResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,9 +8,9 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **createdAt** | [**DateTime**](DateTime.md) |  |  | ||||
| **id** | **String** |  |  | ||||
| **name** | **String** |  |  | ||||
| **createdAt** | [**DateTime**](DateTime.md) |  |  | ||||
| **updatedAt** | [**DateTime**](DateTime.md) |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
|   | ||||
							
								
								
									
										4
									
								
								mobile/openapi/doc/AddAssetsResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								mobile/openapi/doc/AddAssetsResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,9 +8,9 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **successfullyAdded** | **int** |  |  | ||||
| **alreadyInAlbum** | **List<String>** |  | [default to const []] | ||||
| **album** | [**AlbumResponseDto**](AlbumResponseDto.md) |  | [optional]  | ||||
| **alreadyInAlbum** | **List<String>** |  | [default to const []] | ||||
| **successfullyAdded** | **int** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										4
									
								
								mobile/openapi/doc/AdminSignupResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								mobile/openapi/doc/AdminSignupResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,11 +8,11 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **id** | **String** |  |  | ||||
| **createdAt** | [**DateTime**](DateTime.md) |  |  | ||||
| **email** | **String** |  |  | ||||
| **firstName** | **String** |  |  | ||||
| **id** | **String** |  |  | ||||
| **lastName** | **String** |  |  | ||||
| **createdAt** | [**DateTime**](DateTime.md) |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/AlbumCountResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/AlbumCountResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,9 +8,9 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **notShared** | **int** |  |  | ||||
| **owned** | **int** |  |  | ||||
| **shared** | **int** |  |  | ||||
| **notShared** | **int** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										16
									
								
								mobile/openapi/doc/AlbumResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										16
									
								
								mobile/openapi/doc/AlbumResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,18 +8,18 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **assetCount** | **int** |  |  | ||||
| **id** | **String** |  |  | ||||
| **ownerId** | **String** |  |  | ||||
| **albumName** | **String** |  |  | ||||
| **createdAt** | [**DateTime**](DateTime.md) |  |  | ||||
| **updatedAt** | [**DateTime**](DateTime.md) |  |  | ||||
| **albumThumbnailAssetId** | **String** |  |  | ||||
| **assetCount** | **int** |  |  | ||||
| **assets** | [**List<AssetResponseDto>**](AssetResponseDto.md) |  | [default to const []] | ||||
| **createdAt** | [**DateTime**](DateTime.md) |  |  | ||||
| **id** | **String** |  |  | ||||
| **lastModifiedAssetTimestamp** | [**DateTime**](DateTime.md) |  | [optional]  | ||||
| **owner** | [**UserResponseDto**](UserResponseDto.md) |  |  | ||||
| **ownerId** | **String** |  |  | ||||
| **shared** | **bool** |  |  | ||||
| **sharedUsers** | [**List<UserResponseDto>**](UserResponseDto.md) |  | [default to const []] | ||||
| **assets** | [**List<AssetResponseDto>**](AssetResponseDto.md) |  | [default to const []] | ||||
| **owner** | [**UserResponseDto**](UserResponseDto.md) |  |  | ||||
| **lastModifiedAssetTimestamp** | [**DateTime**](DateTime.md) |  | [optional]  | ||||
| **updatedAt** | [**DateTime**](DateTime.md) |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										14
									
								
								mobile/openapi/doc/AllJobStatusResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										14
									
								
								mobile/openapi/doc/AllJobStatusResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,16 +8,16 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **thumbnailGeneration** | [**JobStatusDto**](JobStatusDto.md) |  |  | ||||
| **metadataExtraction** | [**JobStatusDto**](JobStatusDto.md) |  |  | ||||
| **videoConversion** | [**JobStatusDto**](JobStatusDto.md) |  |  | ||||
| **objectTagging** | [**JobStatusDto**](JobStatusDto.md) |  |  | ||||
| **clipEncoding** | [**JobStatusDto**](JobStatusDto.md) |  |  | ||||
| **storageTemplateMigration** | [**JobStatusDto**](JobStatusDto.md) |  |  | ||||
| **backgroundTask** | [**JobStatusDto**](JobStatusDto.md) |  |  | ||||
| **search** | [**JobStatusDto**](JobStatusDto.md) |  |  | ||||
| **clipEncoding** | [**JobStatusDto**](JobStatusDto.md) |  |  | ||||
| **metadataExtraction** | [**JobStatusDto**](JobStatusDto.md) |  |  | ||||
| **objectTagging** | [**JobStatusDto**](JobStatusDto.md) |  |  | ||||
| **recognizeFaces** | [**JobStatusDto**](JobStatusDto.md) |  |  | ||||
| **search** | [**JobStatusDto**](JobStatusDto.md) |  |  | ||||
| **sidecar** | [**JobStatusDto**](JobStatusDto.md) |  |  | ||||
| **storageTemplateMigration** | [**JobStatusDto**](JobStatusDto.md) |  |  | ||||
| **thumbnailGeneration** | [**JobStatusDto**](JobStatusDto.md) |  |  | ||||
| **videoConversion** | [**JobStatusDto**](JobStatusDto.md) |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										20
									
								
								mobile/openapi/doc/AssetApi.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										20
									
								
								mobile/openapi/doc/AssetApi.md
									
									
									
										generated
									
									
									
								
							| @@ -1347,7 +1347,7 @@ Name | Type | Description  | Notes | ||||
| [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) | ||||
| 
 | ||||
| # **uploadFile** | ||||
| > AssetFileUploadResponseDto uploadFile(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, key, livePhotoData, sidecarData, isReadOnly, isArchived, isVisible, duration) | ||||
| > AssetFileUploadResponseDto uploadFile(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, key, duration, isArchived, isReadOnly, isVisible, livePhotoData, sidecarData) | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| @@ -1377,15 +1377,15 @@ final fileCreatedAt = 2013-10-20T19:20:30+01:00; // DateTime | | ||||
| final fileModifiedAt = 2013-10-20T19:20:30+01:00; // DateTime |  | ||||
| final isFavorite = true; // bool |  | ||||
| final key = key_example; // String |  | ||||
| final duration = duration_example; // String |  | ||||
| final isArchived = true; // bool |  | ||||
| final isReadOnly = true; // bool |  | ||||
| final isVisible = true; // bool |  | ||||
| final livePhotoData = BINARY_DATA_HERE; // MultipartFile |  | ||||
| final sidecarData = BINARY_DATA_HERE; // MultipartFile |  | ||||
| final isReadOnly = true; // bool |  | ||||
| final isArchived = true; // bool |  | ||||
| final isVisible = true; // bool |  | ||||
| final duration = duration_example; // String |  | ||||
| 
 | ||||
| try { | ||||
|     final result = api_instance.uploadFile(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, key, livePhotoData, sidecarData, isReadOnly, isArchived, isVisible, duration); | ||||
|     final result = api_instance.uploadFile(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite, key, duration, isArchived, isReadOnly, isVisible, livePhotoData, sidecarData); | ||||
|     print(result); | ||||
| } catch (e) { | ||||
|     print('Exception when calling AssetApi->uploadFile: $e\n'); | ||||
| @@ -1403,12 +1403,12 @@ Name | Type | Description  | Notes | ||||
|  **fileModifiedAt** | **DateTime**|  |  | ||||
|  **isFavorite** | **bool**|  |  | ||||
|  **key** | **String**|  | [optional]  | ||||
|  **duration** | **String**|  | [optional]  | ||||
|  **isArchived** | **bool**|  | [optional]  | ||||
|  **isReadOnly** | **bool**|  | [optional] [default to false] | ||||
|  **isVisible** | **bool**|  | [optional]  | ||||
|  **livePhotoData** | **MultipartFile**|  | [optional]  | ||||
|  **sidecarData** | **MultipartFile**|  | [optional]  | ||||
|  **isReadOnly** | **bool**|  | [optional] [default to false] | ||||
|  **isArchived** | **bool**|  | [optional]  | ||||
|  **isVisible** | **bool**|  | [optional]  | ||||
|  **duration** | **String**|  | [optional]  | ||||
| 
 | ||||
| ### Return type | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/AssetBulkUploadCheckItem.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/AssetBulkUploadCheckItem.md
									
									
									
										generated
									
									
									
								
							| @@ -8,8 +8,8 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **id** | **String** |  |  | ||||
| **checksum** | **String** | base64 or hex encoded sha1 hash |  | ||||
| **id** | **String** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										4
									
								
								mobile/openapi/doc/AssetBulkUploadCheckResult.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								mobile/openapi/doc/AssetBulkUploadCheckResult.md
									
									
									
										generated
									
									
									
								
							| @@ -8,10 +8,10 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **id** | **String** |  |  | ||||
| **action** | **String** |  |  | ||||
| **reason** | **String** |  | [optional]  | ||||
| **assetId** | **String** |  | [optional]  | ||||
| **id** | **String** |  |  | ||||
| **reason** | **String** |  | [optional]  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/AssetCountByTimeBucket.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/AssetCountByTimeBucket.md
									
									
									
										generated
									
									
									
								
							| @@ -8,8 +8,8 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **timeBucket** | **String** |  |  | ||||
| **count** | **int** |  |  | ||||
| **timeBucket** | **String** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
| @@ -8,8 +8,8 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **totalCount** | **int** |  |  | ||||
| **buckets** | [**List<AssetCountByTimeBucket>**](AssetCountByTimeBucket.md) |  | [default to const []] | ||||
| **totalCount** | **int** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/AssetFileUploadResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/AssetFileUploadResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,8 +8,8 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **id** | **String** |  |  | ||||
| **duplicate** | **bool** |  |  | ||||
| **id** | **String** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/AssetIdsResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/AssetIdsResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -9,8 +9,8 @@ import 'package:openapi/api.dart'; | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **assetId** | **String** |  |  | ||||
| **success** | **bool** |  |  | ||||
| **error** | **String** |  | [optional]  | ||||
| **success** | **bool** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										30
									
								
								mobile/openapi/doc/AssetResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										30
									
								
								mobile/openapi/doc/AssetResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,27 +8,27 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **type** | [**AssetTypeEnum**](AssetTypeEnum.md) |  |  | ||||
| **id** | **String** |  |  | ||||
| **checksum** | **String** | base64 encoded sha1 hash |  | ||||
| **deviceAssetId** | **String** |  |  | ||||
| **ownerId** | **String** |  |  | ||||
| **deviceId** | **String** |  |  | ||||
| **originalPath** | **String** |  |  | ||||
| **originalFileName** | **String** |  |  | ||||
| **resized** | **bool** |  |  | ||||
| **thumbhash** | **String** | base64 encoded thumbhash |  | ||||
| **fileCreatedAt** | [**DateTime**](DateTime.md) |  |  | ||||
| **fileModifiedAt** | [**DateTime**](DateTime.md) |  |  | ||||
| **updatedAt** | [**DateTime**](DateTime.md) |  |  | ||||
| **isFavorite** | **bool** |  |  | ||||
| **isArchived** | **bool** |  |  | ||||
| **duration** | **String** |  |  | ||||
| **exifInfo** | [**ExifResponseDto**](ExifResponseDto.md) |  | [optional]  | ||||
| **smartInfo** | [**SmartInfoResponseDto**](SmartInfoResponseDto.md) |  | [optional]  | ||||
| **fileCreatedAt** | [**DateTime**](DateTime.md) |  |  | ||||
| **fileModifiedAt** | [**DateTime**](DateTime.md) |  |  | ||||
| **id** | **String** |  |  | ||||
| **isArchived** | **bool** |  |  | ||||
| **isFavorite** | **bool** |  |  | ||||
| **livePhotoVideoId** | **String** |  | [optional]  | ||||
| **tags** | [**List<TagResponseDto>**](TagResponseDto.md) |  | [optional] [default to const []] | ||||
| **originalFileName** | **String** |  |  | ||||
| **originalPath** | **String** |  |  | ||||
| **ownerId** | **String** |  |  | ||||
| **people** | [**List<PersonResponseDto>**](PersonResponseDto.md) |  | [optional] [default to const []] | ||||
| **checksum** | **String** | base64 encoded sha1 hash |  | ||||
| **resized** | **bool** |  |  | ||||
| **smartInfo** | [**SmartInfoResponseDto**](SmartInfoResponseDto.md) |  | [optional]  | ||||
| **tags** | [**List<TagResponseDto>**](TagResponseDto.md) |  | [optional] [default to const []] | ||||
| **thumbhash** | **String** | base64 encoded thumbhash |  | ||||
| **type** | [**AssetTypeEnum**](AssetTypeEnum.md) |  |  | ||||
| **updatedAt** | [**DateTime**](DateTime.md) |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/AssetStatsResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/AssetStatsResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -9,8 +9,8 @@ import 'package:openapi/api.dart'; | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **images** | **int** |  |  | ||||
| **videos** | **int** |  |  | ||||
| **total** | **int** |  |  | ||||
| **videos** | **int** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										6
									
								
								mobile/openapi/doc/AuthDeviceResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										6
									
								
								mobile/openapi/doc/AuthDeviceResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,12 +8,12 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **id** | **String** |  |  | ||||
| **createdAt** | **String** |  |  | ||||
| **updatedAt** | **String** |  |  | ||||
| **current** | **bool** |  |  | ||||
| **deviceType** | **String** |  |  | ||||
| **deviceOS** | **String** |  |  | ||||
| **deviceType** | **String** |  |  | ||||
| **id** | **String** |  |  | ||||
| **updatedAt** | **String** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/BulkIdResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/BulkIdResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,9 +8,9 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **error** | **String** |  | [optional]  | ||||
| **id** | **String** |  |  | ||||
| **success** | **bool** |  |  | ||||
| **error** | **String** |  | [optional]  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/ChangePasswordDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/ChangePasswordDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,8 +8,8 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **password** | **String** |  |  | ||||
| **newPassword** | **String** |  |  | ||||
| **password** | **String** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
| @@ -8,8 +8,8 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **isExist** | **bool** |  |  | ||||
| **id** | **String** |  | [optional]  | ||||
| **isExist** | **bool** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/CreateAlbumDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/CreateAlbumDto.md
									
									
									
										generated
									
									
									
								
							| @@ -9,8 +9,8 @@ import 'package:openapi/api.dart'; | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **albumName** | **String** |  |  | ||||
| **sharedWithUserIds** | **List<String>** |  | [optional] [default to const []] | ||||
| **assetIds** | **List<String>** |  | [optional] [default to const []] | ||||
| **sharedWithUserIds** | **List<String>** |  | [optional] [default to const []] | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
| @@ -8,8 +8,8 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **userId** | **String** |  |  | ||||
| **profileImagePath** | **String** |  |  | ||||
| **userId** | **String** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/CreateTagDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/CreateTagDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,8 +8,8 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **type** | [**TagTypeEnum**](TagTypeEnum.md) |  |  | ||||
| **name** | **String** |  |  | ||||
| **type** | [**TagTypeEnum**](TagTypeEnum.md) |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										4
									
								
								mobile/openapi/doc/CreateUserDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								mobile/openapi/doc/CreateUserDto.md
									
									
									
										generated
									
									
									
								
							| @@ -9,11 +9,11 @@ import 'package:openapi/api.dart'; | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **email** | **String** |  |  | ||||
| **password** | **String** |  |  | ||||
| **externalPath** | **String** |  | [optional]  | ||||
| **firstName** | **String** |  |  | ||||
| **lastName** | **String** |  |  | ||||
| **password** | **String** |  |  | ||||
| **storageLabel** | **String** |  | [optional]  | ||||
| **externalPath** | **String** |  | [optional]  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
| @@ -8,11 +8,11 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **id** | **String** |  |  | ||||
| **city** | **String** |  |  | ||||
| **resizePath** | **String** |  |  | ||||
| **deviceAssetId** | **String** |  |  | ||||
| **deviceId** | **String** |  |  | ||||
| **id** | **String** |  |  | ||||
| **resizePath** | **String** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										4
									
								
								mobile/openapi/doc/CuratedObjectsResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								mobile/openapi/doc/CuratedObjectsResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,11 +8,11 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **deviceAssetId** | **String** |  |  | ||||
| **deviceId** | **String** |  |  | ||||
| **id** | **String** |  |  | ||||
| **object** | **String** |  |  | ||||
| **resizePath** | **String** |  |  | ||||
| **deviceAssetId** | **String** |  |  | ||||
| **deviceId** | **String** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/DeleteAssetResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/DeleteAssetResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,8 +8,8 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **status** | [**DeleteAssetStatus**](DeleteAssetStatus.md) |  |  | ||||
| **id** | **String** |  |  | ||||
| **status** | [**DeleteAssetStatus**](DeleteAssetStatus.md) |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/DownloadArchiveInfo.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/DownloadArchiveInfo.md
									
									
									
										generated
									
									
									
								
							| @@ -8,8 +8,8 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **size** | **int** |  |  | ||||
| **assetIds** | **List<String>** |  | [default to const []] | ||||
| **size** | **int** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/DownloadResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/DownloadResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,8 +8,8 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **totalSize** | **int** |  |  | ||||
| **archives** | [**List<DownloadArchiveInfo>**](DownloadArchiveInfo.md) |  | [default to const []] | ||||
| **totalSize** | **int** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										28
									
								
								mobile/openapi/doc/ExifResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										28
									
								
								mobile/openapi/doc/ExifResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,27 +8,27 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **fileSizeInByte** | **int** |  | [optional]  | ||||
| **make** | **String** |  | [optional]  | ||||
| **model** | **String** |  | [optional]  | ||||
| **exifImageWidth** | **num** |  | [optional]  | ||||
| **exifImageHeight** | **num** |  | [optional]  | ||||
| **orientation** | **String** |  | [optional]  | ||||
| **city** | **String** |  | [optional]  | ||||
| **country** | **String** |  | [optional]  | ||||
| **dateTimeOriginal** | [**DateTime**](DateTime.md) |  | [optional]  | ||||
| **modifyDate** | [**DateTime**](DateTime.md) |  | [optional]  | ||||
| **timeZone** | **String** |  | [optional]  | ||||
| **lensModel** | **String** |  | [optional]  | ||||
| **description** | **String** |  | [optional]  | ||||
| **exifImageHeight** | **num** |  | [optional]  | ||||
| **exifImageWidth** | **num** |  | [optional]  | ||||
| **exposureTime** | **String** |  | [optional]  | ||||
| **fNumber** | **num** |  | [optional]  | ||||
| **fileSizeInByte** | **int** |  | [optional]  | ||||
| **focalLength** | **num** |  | [optional]  | ||||
| **iso** | **num** |  | [optional]  | ||||
| **exposureTime** | **String** |  | [optional]  | ||||
| **latitude** | **num** |  | [optional]  | ||||
| **lensModel** | **String** |  | [optional]  | ||||
| **longitude** | **num** |  | [optional]  | ||||
| **city** | **String** |  | [optional]  | ||||
| **state** | **String** |  | [optional]  | ||||
| **country** | **String** |  | [optional]  | ||||
| **description** | **String** |  | [optional]  | ||||
| **make** | **String** |  | [optional]  | ||||
| **model** | **String** |  | [optional]  | ||||
| **modifyDate** | [**DateTime**](DateTime.md) |  | [optional]  | ||||
| **orientation** | **String** |  | [optional]  | ||||
| **projectionType** | **String** |  | [optional]  | ||||
| **state** | **String** |  | [optional]  | ||||
| **timeZone** | **String** |  | [optional]  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										8
									
								
								mobile/openapi/doc/ImportAssetDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										8
									
								
								mobile/openapi/doc/ImportAssetDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,17 +8,17 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **isReadOnly** | **bool** |  | [optional] [default to true] | ||||
| **assetPath** | **String** |  |  | ||||
| **sidecarPath** | **String** |  | [optional]  | ||||
| **deviceAssetId** | **String** |  |  | ||||
| **deviceId** | **String** |  |  | ||||
| **duration** | **String** |  | [optional]  | ||||
| **fileCreatedAt** | [**DateTime**](DateTime.md) |  |  | ||||
| **fileModifiedAt** | [**DateTime**](DateTime.md) |  |  | ||||
| **isFavorite** | **bool** |  |  | ||||
| **isArchived** | **bool** |  | [optional]  | ||||
| **isFavorite** | **bool** |  |  | ||||
| **isReadOnly** | **bool** |  | [optional] [default to true] | ||||
| **isVisible** | **bool** |  | [optional]  | ||||
| **duration** | **String** |  | [optional]  | ||||
| **sidecarPath** | **String** |  | [optional]  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										4
									
								
								mobile/openapi/doc/JobCountsDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								mobile/openapi/doc/JobCountsDto.md
									
									
									
										generated
									
									
									
								
							| @@ -10,10 +10,10 @@ Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **active** | **int** |  |  | ||||
| **completed** | **int** |  |  | ||||
| **failed** | **int** |  |  | ||||
| **delayed** | **int** |  |  | ||||
| **waiting** | **int** |  |  | ||||
| **failed** | **int** |  |  | ||||
| **paused** | **int** |  |  | ||||
| **waiting** | **int** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										6
									
								
								mobile/openapi/doc/LoginResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										6
									
								
								mobile/openapi/doc/LoginResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -9,13 +9,13 @@ import 'package:openapi/api.dart'; | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **accessToken** | **String** |  | [readonly]  | ||||
| **userId** | **String** |  | [readonly]  | ||||
| **userEmail** | **String** |  | [readonly]  | ||||
| **firstName** | **String** |  | [readonly]  | ||||
| **isAdmin** | **bool** |  | [readonly]  | ||||
| **lastName** | **String** |  | [readonly]  | ||||
| **profileImagePath** | **String** |  | [readonly]  | ||||
| **isAdmin** | **bool** |  | [readonly]  | ||||
| **shouldChangePassword** | **bool** |  | [readonly]  | ||||
| **userEmail** | **String** |  | [readonly]  | ||||
| **userId** | **String** |  | [readonly]  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/LogoutResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/LogoutResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,8 +8,8 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **successful** | **bool** |  |  | ||||
| **redirectUri** | **String** |  |  | ||||
| **successful** | **bool** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/MemoryLaneResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/MemoryLaneResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,8 +8,8 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **title** | **String** |  |  | ||||
| **assets** | [**List<AssetResponseDto>**](AssetResponseDto.md) |  | [default to const []] | ||||
| **title** | **String** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										4
									
								
								mobile/openapi/doc/OAuthConfigResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								mobile/openapi/doc/OAuthConfigResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,11 +8,11 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **autoLaunch** | **bool** |  | [optional]  | ||||
| **buttonText** | **String** |  | [optional]  | ||||
| **enabled** | **bool** |  |  | ||||
| **passwordLoginEnabled** | **bool** |  |  | ||||
| **url** | **String** |  | [optional]  | ||||
| **buttonText** | **String** |  | [optional]  | ||||
| **autoLaunch** | **bool** |  | [optional]  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/PeopleResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/PeopleResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,9 +8,9 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **people** | [**List<PersonResponseDto>**](PersonResponseDto.md) |  | [default to const []] | ||||
| **total** | **num** |  |  | ||||
| **visible** | **num** |  |  | ||||
| **people** | [**List<PersonResponseDto>**](PersonResponseDto.md) |  | [default to const []] | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										4
									
								
								mobile/openapi/doc/PeopleUpdateItem.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								mobile/openapi/doc/PeopleUpdateItem.md
									
									
									
										generated
									
									
									
								
							| @@ -8,10 +8,10 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **id** | **String** | Person id. |  | ||||
| **name** | **String** | Person name. | [optional]  | ||||
| **featureFaceAssetId** | **String** | Asset is used to get the feature face thumbnail. | [optional]  | ||||
| **id** | **String** | Person id. |  | ||||
| **isHidden** | **bool** | Person visibility | [optional]  | ||||
| **name** | **String** | Person name. | [optional]  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/PersonResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/PersonResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -9,9 +9,9 @@ import 'package:openapi/api.dart'; | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **id** | **String** |  |  | ||||
| **isHidden** | **bool** |  |  | ||||
| **name** | **String** |  |  | ||||
| **thumbnailPath** | **String** |  |  | ||||
| **isHidden** | **bool** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/PersonUpdateDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/PersonUpdateDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,9 +8,9 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **name** | **String** | Person name. | [optional]  | ||||
| **featureFaceAssetId** | **String** | Asset is used to get the feature face thumbnail. | [optional]  | ||||
| **isHidden** | **bool** | Person visibility | [optional]  | ||||
| **name** | **String** | Person name. | [optional]  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										4
									
								
								mobile/openapi/doc/SearchAlbumResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								mobile/openapi/doc/SearchAlbumResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,10 +8,10 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **total** | **int** |  |  | ||||
| **count** | **int** |  |  | ||||
| **items** | [**List<AlbumResponseDto>**](AlbumResponseDto.md) |  | [default to const []] | ||||
| **facets** | [**List<SearchFacetResponseDto>**](SearchFacetResponseDto.md) |  | [default to const []] | ||||
| **items** | [**List<AlbumResponseDto>**](AlbumResponseDto.md) |  | [default to const []] | ||||
| **total** | **int** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										4
									
								
								mobile/openapi/doc/SearchAssetResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								mobile/openapi/doc/SearchAssetResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,10 +8,10 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **total** | **int** |  |  | ||||
| **count** | **int** |  |  | ||||
| **items** | [**List<AssetResponseDto>**](AssetResponseDto.md) |  | [default to const []] | ||||
| **facets** | [**List<SearchFacetResponseDto>**](SearchFacetResponseDto.md) |  | [default to const []] | ||||
| **items** | [**List<AssetResponseDto>**](AssetResponseDto.md) |  | [default to const []] | ||||
| **total** | **int** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/SearchExploreItem.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/SearchExploreItem.md
									
									
									
										generated
									
									
									
								
							| @@ -8,8 +8,8 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **value** | **String** |  |  | ||||
| **data** | [**AssetResponseDto**](AssetResponseDto.md) |  |  | ||||
| **value** | **String** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/SearchFacetResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/SearchFacetResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,8 +8,8 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **fieldName** | **String** |  |  | ||||
| **counts** | [**List<SearchFacetCountResponseDto>**](SearchFacetCountResponseDto.md) |  | [default to const []] | ||||
| **fieldName** | **String** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										12
									
								
								mobile/openapi/doc/ServerInfoResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										12
									
								
								mobile/openapi/doc/ServerInfoResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,13 +8,13 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **diskSizeRaw** | **int** |  |  | ||||
| **diskUseRaw** | **int** |  |  | ||||
| **diskAvailableRaw** | **int** |  |  | ||||
| **diskUsagePercentage** | **double** |  |  | ||||
| **diskSize** | **String** |  |  | ||||
| **diskUse** | **String** |  |  | ||||
| **diskAvailable** | **String** |  |  | ||||
| **diskAvailableRaw** | **int** |  |  | ||||
| **diskSize** | **String** |  |  | ||||
| **diskSizeRaw** | **int** |  |  | ||||
| **diskUsagePercentage** | **double** |  |  | ||||
| **diskUse** | **String** |  |  | ||||
| **diskUseRaw** | **int** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
| @@ -8,9 +8,9 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **video** | **List<String>** |  | [default to const []] | ||||
| **image** | **List<String>** |  | [default to const []] | ||||
| **sidecar** | **List<String>** |  | [default to const []] | ||||
| **video** | **List<String>** |  | [default to const []] | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/ServerStatsResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/ServerStatsResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -9,9 +9,9 @@ import 'package:openapi/api.dart'; | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **photos** | **int** |  | [default to 0] | ||||
| **videos** | **int** |  | [default to 0] | ||||
| **usage** | **int** |  | [default to 0] | ||||
| **usageByUser** | [**List<UsageByUserDto>**](UsageByUserDto.md) |  | [default to const []] | ||||
| **videos** | **int** |  | [default to 0] | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										8
									
								
								mobile/openapi/doc/SharedLinkCreateDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										8
									
								
								mobile/openapi/doc/SharedLinkCreateDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,14 +8,14 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **type** | [**SharedLinkType**](SharedLinkType.md) |  |  | ||||
| **assetIds** | **List<String>** |  | [optional] [default to const []] | ||||
| **albumId** | **String** |  | [optional]  | ||||
| **allowDownload** | **bool** |  | [optional] [default to true] | ||||
| **allowUpload** | **bool** |  | [optional] [default to false] | ||||
| **assetIds** | **List<String>** |  | [optional] [default to const []] | ||||
| **description** | **String** |  | [optional]  | ||||
| **expiresAt** | [**DateTime**](DateTime.md) |  | [optional]  | ||||
| **allowUpload** | **bool** |  | [optional] [default to false] | ||||
| **allowDownload** | **bool** |  | [optional] [default to true] | ||||
| **showExif** | **bool** |  | [optional] [default to true] | ||||
| **type** | [**SharedLinkType**](SharedLinkType.md) |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										4
									
								
								mobile/openapi/doc/SharedLinkEditDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								mobile/openapi/doc/SharedLinkEditDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,10 +8,10 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **allowDownload** | **bool** |  | [optional]  | ||||
| **allowUpload** | **bool** |  | [optional]  | ||||
| **description** | **String** |  | [optional]  | ||||
| **expiresAt** | [**DateTime**](DateTime.md) |  | [optional]  | ||||
| **allowUpload** | **bool** |  | [optional]  | ||||
| **allowDownload** | **bool** |  | [optional]  | ||||
| **showExif** | **bool** |  | [optional]  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
|   | ||||
							
								
								
									
										18
									
								
								mobile/openapi/doc/SharedLinkResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										18
									
								
								mobile/openapi/doc/SharedLinkResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,18 +8,18 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **type** | [**SharedLinkType**](SharedLinkType.md) |  |  | ||||
| **id** | **String** |  |  | ||||
| **description** | **String** |  |  | ||||
| **userId** | **String** |  |  | ||||
| **key** | **String** |  |  | ||||
| **createdAt** | [**DateTime**](DateTime.md) |  |  | ||||
| **expiresAt** | [**DateTime**](DateTime.md) |  |  | ||||
| **assets** | [**List<AssetResponseDto>**](AssetResponseDto.md) |  | [default to const []] | ||||
| **album** | [**AlbumResponseDto**](AlbumResponseDto.md) |  | [optional]  | ||||
| **allowUpload** | **bool** |  |  | ||||
| **allowDownload** | **bool** |  |  | ||||
| **allowUpload** | **bool** |  |  | ||||
| **assets** | [**List<AssetResponseDto>**](AssetResponseDto.md) |  | [default to const []] | ||||
| **createdAt** | [**DateTime**](DateTime.md) |  |  | ||||
| **description** | **String** |  |  | ||||
| **expiresAt** | [**DateTime**](DateTime.md) |  |  | ||||
| **id** | **String** |  |  | ||||
| **key** | **String** |  |  | ||||
| **showExif** | **bool** |  |  | ||||
| **type** | [**SharedLinkType**](SharedLinkType.md) |  |  | ||||
| **userId** | **String** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/SignUpDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/SignUpDto.md
									
									
									
										generated
									
									
									
								
							| @@ -9,9 +9,9 @@ import 'package:openapi/api.dart'; | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **email** | **String** |  |  | ||||
| **password** | **String** |  |  | ||||
| **firstName** | **String** |  |  | ||||
| **lastName** | **String** |  |  | ||||
| **password** | **String** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/SmartInfoResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/SmartInfoResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,8 +8,8 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **tags** | **List<String>** |  | [optional] [default to const []] | ||||
| **objects** | **List<String>** |  | [optional] [default to const []] | ||||
| **tags** | **List<String>** |  | [optional] [default to const []] | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/SystemConfigDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/SystemConfigDto.md
									
									
									
										generated
									
									
									
								
							| @@ -9,10 +9,10 @@ import 'package:openapi/api.dart'; | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **ffmpeg** | [**SystemConfigFFmpegDto**](SystemConfigFFmpegDto.md) |  |  | ||||
| **job** | [**SystemConfigJobDto**](SystemConfigJobDto.md) |  |  | ||||
| **oauth** | [**SystemConfigOAuthDto**](SystemConfigOAuthDto.md) |  |  | ||||
| **passwordLogin** | [**SystemConfigPasswordLoginDto**](SystemConfigPasswordLoginDto.md) |  |  | ||||
| **storageTemplate** | [**SystemConfigStorageTemplateDto**](SystemConfigStorageTemplateDto.md) |  |  | ||||
| **job** | [**SystemConfigJobDto**](SystemConfigJobDto.md) |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										12
									
								
								mobile/openapi/doc/SystemConfigFFmpegDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										12
									
								
								mobile/openapi/doc/SystemConfigFFmpegDto.md
									
									
									
										generated
									
									
									
								
							| @@ -9,13 +9,13 @@ import 'package:openapi/api.dart'; | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **crf** | **int** |  |  | ||||
| **threads** | **int** |  |  | ||||
| **targetVideoCodec** | [**VideoCodec**](VideoCodec.md) |  |  | ||||
| **targetAudioCodec** | [**AudioCodec**](AudioCodec.md) |  |  | ||||
| **transcode** | [**TranscodePolicy**](TranscodePolicy.md) |  |  | ||||
| **preset** | **String** |  |  | ||||
| **targetResolution** | **String** |  |  | ||||
| **maxBitrate** | **String** |  |  | ||||
| **preset** | **String** |  |  | ||||
| **targetAudioCodec** | [**AudioCodec**](AudioCodec.md) |  |  | ||||
| **targetResolution** | **String** |  |  | ||||
| **targetVideoCodec** | [**VideoCodec**](VideoCodec.md) |  |  | ||||
| **threads** | **int** |  |  | ||||
| **transcode** | [**TranscodePolicy**](TranscodePolicy.md) |  |  | ||||
| **twoPass** | **bool** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
|   | ||||
							
								
								
									
										14
									
								
								mobile/openapi/doc/SystemConfigJobDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										14
									
								
								mobile/openapi/doc/SystemConfigJobDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,16 +8,16 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **thumbnailGeneration** | [**JobSettingsDto**](JobSettingsDto.md) |  |  | ||||
| **metadataExtraction** | [**JobSettingsDto**](JobSettingsDto.md) |  |  | ||||
| **videoConversion** | [**JobSettingsDto**](JobSettingsDto.md) |  |  | ||||
| **objectTagging** | [**JobSettingsDto**](JobSettingsDto.md) |  |  | ||||
| **clipEncoding** | [**JobSettingsDto**](JobSettingsDto.md) |  |  | ||||
| **storageTemplateMigration** | [**JobSettingsDto**](JobSettingsDto.md) |  |  | ||||
| **backgroundTask** | [**JobSettingsDto**](JobSettingsDto.md) |  |  | ||||
| **search** | [**JobSettingsDto**](JobSettingsDto.md) |  |  | ||||
| **clipEncoding** | [**JobSettingsDto**](JobSettingsDto.md) |  |  | ||||
| **metadataExtraction** | [**JobSettingsDto**](JobSettingsDto.md) |  |  | ||||
| **objectTagging** | [**JobSettingsDto**](JobSettingsDto.md) |  |  | ||||
| **recognizeFaces** | [**JobSettingsDto**](JobSettingsDto.md) |  |  | ||||
| **search** | [**JobSettingsDto**](JobSettingsDto.md) |  |  | ||||
| **sidecar** | [**JobSettingsDto**](JobSettingsDto.md) |  |  | ||||
| **storageTemplateMigration** | [**JobSettingsDto**](JobSettingsDto.md) |  |  | ||||
| **thumbnailGeneration** | [**JobSettingsDto**](JobSettingsDto.md) |  |  | ||||
| **videoConversion** | [**JobSettingsDto**](JobSettingsDto.md) |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										14
									
								
								mobile/openapi/doc/SystemConfigOAuthDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										14
									
								
								mobile/openapi/doc/SystemConfigOAuthDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,17 +8,17 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **enabled** | **bool** |  |  | ||||
| **issuerUrl** | **String** |  |  | ||||
| **autoLaunch** | **bool** |  |  | ||||
| **autoRegister** | **bool** |  |  | ||||
| **buttonText** | **String** |  |  | ||||
| **clientId** | **String** |  |  | ||||
| **clientSecret** | **String** |  |  | ||||
| **scope** | **String** |  |  | ||||
| **storageLabelClaim** | **String** |  |  | ||||
| **buttonText** | **String** |  |  | ||||
| **autoRegister** | **bool** |  |  | ||||
| **autoLaunch** | **bool** |  |  | ||||
| **enabled** | **bool** |  |  | ||||
| **issuerUrl** | **String** |  |  | ||||
| **mobileOverrideEnabled** | **bool** |  |  | ||||
| **mobileRedirectUri** | **String** |  |  | ||||
| **scope** | **String** |  |  | ||||
| **storageLabelClaim** | **String** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
| @@ -8,13 +8,13 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **yearOptions** | **List<String>** |  | [default to const []] | ||||
| **monthOptions** | **List<String>** |  | [default to const []] | ||||
| **dayOptions** | **List<String>** |  | [default to const []] | ||||
| **hourOptions** | **List<String>** |  | [default to const []] | ||||
| **minuteOptions** | **List<String>** |  | [default to const []] | ||||
| **secondOptions** | **List<String>** |  | [default to const []] | ||||
| **monthOptions** | **List<String>** |  | [default to const []] | ||||
| **presetOptions** | **List<String>** |  | [default to const []] | ||||
| **secondOptions** | **List<String>** |  | [default to const []] | ||||
| **yearOptions** | **List<String>** |  | [default to const []] | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										2
									
								
								mobile/openapi/doc/TagResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								mobile/openapi/doc/TagResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,9 +8,9 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **type** | [**TagTypeEnum**](TagTypeEnum.md) |  |  | ||||
| **id** | **String** |  |  | ||||
| **name** | **String** |  |  | ||||
| **type** | [**TagTypeEnum**](TagTypeEnum.md) |  |  | ||||
| **userId** | **String** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
|   | ||||
							
								
								
									
										6
									
								
								mobile/openapi/doc/UpdateAssetDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										6
									
								
								mobile/openapi/doc/UpdateAssetDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,10 +8,10 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **tagIds** | **List<String>** |  | [optional] [default to const []] | ||||
| **isFavorite** | **bool** |  | [optional]  | ||||
| **isArchived** | **bool** |  | [optional]  | ||||
| **description** | **String** |  | [optional]  | ||||
| **isArchived** | **bool** |  | [optional]  | ||||
| **isFavorite** | **bool** |  | [optional]  | ||||
| **tagIds** | **List<String>** |  | [optional] [default to const []] | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										10
									
								
								mobile/openapi/doc/UpdateUserDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										10
									
								
								mobile/openapi/doc/UpdateUserDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,15 +8,15 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **id** | **String** |  |  | ||||
| **email** | **String** |  | [optional]  | ||||
| **password** | **String** |  | [optional]  | ||||
| **firstName** | **String** |  | [optional]  | ||||
| **lastName** | **String** |  | [optional]  | ||||
| **storageLabel** | **String** |  | [optional]  | ||||
| **externalPath** | **String** |  | [optional]  | ||||
| **firstName** | **String** |  | [optional]  | ||||
| **id** | **String** |  |  | ||||
| **isAdmin** | **bool** |  | [optional]  | ||||
| **lastName** | **String** |  | [optional]  | ||||
| **password** | **String** |  | [optional]  | ||||
| **shouldChangePassword** | **bool** |  | [optional]  | ||||
| **storageLabel** | **String** |  | [optional]  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										8
									
								
								mobile/openapi/doc/UsageByUserDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										8
									
								
								mobile/openapi/doc/UsageByUserDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,12 +8,12 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **userId** | **String** |  |  | ||||
| **userFirstName** | **String** |  |  | ||||
| **userLastName** | **String** |  |  | ||||
| **photos** | **int** |  |  | ||||
| **videos** | **int** |  |  | ||||
| **usage** | **int** |  |  | ||||
| **userFirstName** | **String** |  |  | ||||
| **userId** | **String** |  |  | ||||
| **userLastName** | **String** |  |  | ||||
| **videos** | **int** |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										20
									
								
								mobile/openapi/doc/UserResponseDto.md
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										20
									
								
								mobile/openapi/doc/UserResponseDto.md
									
									
									
										generated
									
									
									
								
							| @@ -8,19 +8,19 @@ import 'package:openapi/api.dart'; | ||||
| ## Properties | ||||
| Name | Type | Description | Notes | ||||
| ------------ | ------------- | ------------- | ------------- | ||||
| **id** | **String** |  |  | ||||
| **email** | **String** |  |  | ||||
| **firstName** | **String** |  |  | ||||
| **lastName** | **String** |  |  | ||||
| **storageLabel** | **String** |  |  | ||||
| **externalPath** | **String** |  |  | ||||
| **profileImagePath** | **String** |  |  | ||||
| **shouldChangePassword** | **bool** |  |  | ||||
| **isAdmin** | **bool** |  |  | ||||
| **createdAt** | [**DateTime**](DateTime.md) |  |  | ||||
| **deletedAt** | [**DateTime**](DateTime.md) |  |  | ||||
| **updatedAt** | [**DateTime**](DateTime.md) |  |  | ||||
| **email** | **String** |  |  | ||||
| **externalPath** | **String** |  |  | ||||
| **firstName** | **String** |  |  | ||||
| **id** | **String** |  |  | ||||
| **isAdmin** | **bool** |  |  | ||||
| **lastName** | **String** |  |  | ||||
| **oauthId** | **String** |  |  | ||||
| **profileImagePath** | **String** |  |  | ||||
| **shouldChangePassword** | **bool** |  |  | ||||
| **storageLabel** | **String** |  |  | ||||
| **updatedAt** | [**DateTime**](DateTime.md) |  |  | ||||
| 
 | ||||
| [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										66
									
								
								mobile/openapi/lib/api/asset_api.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										66
									
								
								mobile/openapi/lib/api/asset_api.dart
									
									
									
										generated
									
									
									
								
							| @@ -1349,18 +1349,18 @@ class AssetApi { | ||||
|   /// | ||||
|   /// * [String] key: | ||||
|   /// | ||||
|   /// * [MultipartFile] livePhotoData: | ||||
|   /// | ||||
|   /// * [MultipartFile] sidecarData: | ||||
|   /// | ||||
|   /// * [bool] isReadOnly: | ||||
|   /// * [String] duration: | ||||
|   /// | ||||
|   /// * [bool] isArchived: | ||||
|   /// | ||||
|   /// * [bool] isReadOnly: | ||||
|   /// | ||||
|   /// * [bool] isVisible: | ||||
|   /// | ||||
|   /// * [String] duration: | ||||
|   Future<Response> uploadFileWithHttpInfo(MultipartFile assetData, String deviceAssetId, String deviceId, DateTime fileCreatedAt, DateTime fileModifiedAt, bool isFavorite, { String? key, MultipartFile? livePhotoData, MultipartFile? sidecarData, bool? isReadOnly, bool? isArchived, bool? isVisible, String? duration, }) async { | ||||
|   /// * [MultipartFile] livePhotoData: | ||||
|   /// | ||||
|   /// * [MultipartFile] sidecarData: | ||||
|   Future<Response> uploadFileWithHttpInfo(MultipartFile assetData, String deviceAssetId, String deviceId, DateTime fileCreatedAt, DateTime fileModifiedAt, bool isFavorite, { String? key, String? duration, bool? isArchived, bool? isReadOnly, bool? isVisible, MultipartFile? livePhotoData, MultipartFile? sidecarData, }) async { | ||||
|     // ignore: prefer_const_declarations | ||||
|     final path = r'/asset/upload'; | ||||
| 
 | ||||
| @@ -1384,20 +1384,6 @@ class AssetApi { | ||||
|       mp.fields[r'assetData'] = assetData.field; | ||||
|       mp.files.add(assetData); | ||||
|     } | ||||
|     if (livePhotoData != null) { | ||||
|       hasFields = true; | ||||
|       mp.fields[r'livePhotoData'] = livePhotoData.field; | ||||
|       mp.files.add(livePhotoData); | ||||
|     } | ||||
|     if (sidecarData != null) { | ||||
|       hasFields = true; | ||||
|       mp.fields[r'sidecarData'] = sidecarData.field; | ||||
|       mp.files.add(sidecarData); | ||||
|     } | ||||
|     if (isReadOnly != null) { | ||||
|       hasFields = true; | ||||
|       mp.fields[r'isReadOnly'] = parameterToString(isReadOnly); | ||||
|     } | ||||
|     if (deviceAssetId != null) { | ||||
|       hasFields = true; | ||||
|       mp.fields[r'deviceAssetId'] = parameterToString(deviceAssetId); | ||||
| @@ -1406,6 +1392,10 @@ class AssetApi { | ||||
|       hasFields = true; | ||||
|       mp.fields[r'deviceId'] = parameterToString(deviceId); | ||||
|     } | ||||
|     if (duration != null) { | ||||
|       hasFields = true; | ||||
|       mp.fields[r'duration'] = parameterToString(duration); | ||||
|     } | ||||
|     if (fileCreatedAt != null) { | ||||
|       hasFields = true; | ||||
|       mp.fields[r'fileCreatedAt'] = parameterToString(fileCreatedAt); | ||||
| @@ -1414,21 +1404,31 @@ class AssetApi { | ||||
|       hasFields = true; | ||||
|       mp.fields[r'fileModifiedAt'] = parameterToString(fileModifiedAt); | ||||
|     } | ||||
|     if (isArchived != null) { | ||||
|       hasFields = true; | ||||
|       mp.fields[r'isArchived'] = parameterToString(isArchived); | ||||
|     } | ||||
|     if (isFavorite != null) { | ||||
|       hasFields = true; | ||||
|       mp.fields[r'isFavorite'] = parameterToString(isFavorite); | ||||
|     } | ||||
|     if (isArchived != null) { | ||||
|     if (isReadOnly != null) { | ||||
|       hasFields = true; | ||||
|       mp.fields[r'isArchived'] = parameterToString(isArchived); | ||||
|       mp.fields[r'isReadOnly'] = parameterToString(isReadOnly); | ||||
|     } | ||||
|     if (isVisible != null) { | ||||
|       hasFields = true; | ||||
|       mp.fields[r'isVisible'] = parameterToString(isVisible); | ||||
|     } | ||||
|     if (duration != null) { | ||||
|     if (livePhotoData != null) { | ||||
|       hasFields = true; | ||||
|       mp.fields[r'duration'] = parameterToString(duration); | ||||
|       mp.fields[r'livePhotoData'] = livePhotoData.field; | ||||
|       mp.files.add(livePhotoData); | ||||
|     } | ||||
|     if (sidecarData != null) { | ||||
|       hasFields = true; | ||||
|       mp.fields[r'sidecarData'] = sidecarData.field; | ||||
|       mp.files.add(sidecarData); | ||||
|     } | ||||
|     if (hasFields) { | ||||
|       postBody = mp; | ||||
| @@ -1461,19 +1461,19 @@ class AssetApi { | ||||
|   /// | ||||
|   /// * [String] key: | ||||
|   /// | ||||
|   /// * [MultipartFile] livePhotoData: | ||||
|   /// | ||||
|   /// * [MultipartFile] sidecarData: | ||||
|   /// | ||||
|   /// * [bool] isReadOnly: | ||||
|   /// * [String] duration: | ||||
|   /// | ||||
|   /// * [bool] isArchived: | ||||
|   /// | ||||
|   /// * [bool] isReadOnly: | ||||
|   /// | ||||
|   /// * [bool] isVisible: | ||||
|   /// | ||||
|   /// * [String] duration: | ||||
|   Future<AssetFileUploadResponseDto?> uploadFile(MultipartFile assetData, String deviceAssetId, String deviceId, DateTime fileCreatedAt, DateTime fileModifiedAt, bool isFavorite, { String? key, MultipartFile? livePhotoData, MultipartFile? sidecarData, bool? isReadOnly, bool? isArchived, bool? isVisible, String? duration, }) async { | ||||
|     final response = await uploadFileWithHttpInfo(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite,  key: key, livePhotoData: livePhotoData, sidecarData: sidecarData, isReadOnly: isReadOnly, isArchived: isArchived, isVisible: isVisible, duration: duration, ); | ||||
|   /// * [MultipartFile] livePhotoData: | ||||
|   /// | ||||
|   /// * [MultipartFile] sidecarData: | ||||
|   Future<AssetFileUploadResponseDto?> uploadFile(MultipartFile assetData, String deviceAssetId, String deviceId, DateTime fileCreatedAt, DateTime fileModifiedAt, bool isFavorite, { String? key, String? duration, bool? isArchived, bool? isReadOnly, bool? isVisible, MultipartFile? livePhotoData, MultipartFile? sidecarData, }) async { | ||||
|     final response = await uploadFileWithHttpInfo(assetData, deviceAssetId, deviceId, fileCreatedAt, fileModifiedAt, isFavorite,  key: key, duration: duration, isArchived: isArchived, isReadOnly: isReadOnly, isVisible: isVisible, livePhotoData: livePhotoData, sidecarData: sidecarData, ); | ||||
|     if (response.statusCode >= HttpStatus.badRequest) { | ||||
|       throw ApiException(response.statusCode, await _decodeBodyBytes(response)); | ||||
|     } | ||||
|   | ||||
| @@ -13,15 +13,11 @@ part of openapi.api; | ||||
| class AddAssetsResponseDto { | ||||
|   /// Returns a new [AddAssetsResponseDto] instance. | ||||
|   AddAssetsResponseDto({ | ||||
|     required this.successfullyAdded, | ||||
|     this.alreadyInAlbum = const [], | ||||
|     this.album, | ||||
|     this.alreadyInAlbum = const [], | ||||
|     required this.successfullyAdded, | ||||
|   }); | ||||
| 
 | ||||
|   int successfullyAdded; | ||||
| 
 | ||||
|   List<String> alreadyInAlbum; | ||||
| 
 | ||||
|   /// | ||||
|   /// Please note: This property should have been non-nullable! Since the specification file | ||||
|   /// does not include a default value (using the "default:" property), however, the generated | ||||
| @@ -30,31 +26,35 @@ class AddAssetsResponseDto { | ||||
|   /// | ||||
|   AlbumResponseDto? album; | ||||
| 
 | ||||
|   List<String> alreadyInAlbum; | ||||
| 
 | ||||
|   int successfullyAdded; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is AddAssetsResponseDto && | ||||
|      other.successfullyAdded == successfullyAdded && | ||||
|      other.album == album && | ||||
|      other.alreadyInAlbum == alreadyInAlbum && | ||||
|      other.album == album; | ||||
|      other.successfullyAdded == successfullyAdded; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (successfullyAdded.hashCode) + | ||||
|     (album == null ? 0 : album!.hashCode) + | ||||
|     (alreadyInAlbum.hashCode) + | ||||
|     (album == null ? 0 : album!.hashCode); | ||||
|     (successfullyAdded.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'AddAssetsResponseDto[successfullyAdded=$successfullyAdded, alreadyInAlbum=$alreadyInAlbum, album=$album]'; | ||||
|   String toString() => 'AddAssetsResponseDto[album=$album, alreadyInAlbum=$alreadyInAlbum, successfullyAdded=$successfullyAdded]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'successfullyAdded'] = this.successfullyAdded; | ||||
|       json[r'alreadyInAlbum'] = this.alreadyInAlbum; | ||||
|     if (this.album != null) { | ||||
|       json[r'album'] = this.album; | ||||
|     } else { | ||||
|     //  json[r'album'] = null; | ||||
|     } | ||||
|       json[r'alreadyInAlbum'] = this.alreadyInAlbum; | ||||
|       json[r'successfullyAdded'] = this.successfullyAdded; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -66,11 +66,11 @@ class AddAssetsResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return AddAssetsResponseDto( | ||||
|         successfullyAdded: mapValueOfType<int>(json, r'successfullyAdded')!, | ||||
|         album: AlbumResponseDto.fromJson(json[r'album']), | ||||
|         alreadyInAlbum: json[r'alreadyInAlbum'] is Iterable | ||||
|             ? (json[r'alreadyInAlbum'] as Iterable).cast<String>().toList(growable: false) | ||||
|             : const [], | ||||
|         album: AlbumResponseDto.fromJson(json[r'album']), | ||||
|         successfullyAdded: mapValueOfType<int>(json, r'successfullyAdded')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -118,8 +118,8 @@ class AddAssetsResponseDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'successfullyAdded', | ||||
|     'alreadyInAlbum', | ||||
|     'successfullyAdded', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
| @@ -13,50 +13,50 @@ part of openapi.api; | ||||
| class AdminSignupResponseDto { | ||||
|   /// Returns a new [AdminSignupResponseDto] instance. | ||||
|   AdminSignupResponseDto({ | ||||
|     required this.id, | ||||
|     required this.createdAt, | ||||
|     required this.email, | ||||
|     required this.firstName, | ||||
|     required this.id, | ||||
|     required this.lastName, | ||||
|     required this.createdAt, | ||||
|   }); | ||||
| 
 | ||||
|   String id; | ||||
|   DateTime createdAt; | ||||
| 
 | ||||
|   String email; | ||||
| 
 | ||||
|   String firstName; | ||||
| 
 | ||||
|   String lastName; | ||||
|   String id; | ||||
| 
 | ||||
|   DateTime createdAt; | ||||
|   String lastName; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is AdminSignupResponseDto && | ||||
|      other.id == id && | ||||
|      other.createdAt == createdAt && | ||||
|      other.email == email && | ||||
|      other.firstName == firstName && | ||||
|      other.lastName == lastName && | ||||
|      other.createdAt == createdAt; | ||||
|      other.id == id && | ||||
|      other.lastName == lastName; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (id.hashCode) + | ||||
|     (createdAt.hashCode) + | ||||
|     (email.hashCode) + | ||||
|     (firstName.hashCode) + | ||||
|     (lastName.hashCode) + | ||||
|     (createdAt.hashCode); | ||||
|     (id.hashCode) + | ||||
|     (lastName.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'AdminSignupResponseDto[id=$id, email=$email, firstName=$firstName, lastName=$lastName, createdAt=$createdAt]'; | ||||
|   String toString() => 'AdminSignupResponseDto[createdAt=$createdAt, email=$email, firstName=$firstName, id=$id, lastName=$lastName]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'id'] = this.id; | ||||
|       json[r'createdAt'] = this.createdAt.toUtc().toIso8601String(); | ||||
|       json[r'email'] = this.email; | ||||
|       json[r'firstName'] = this.firstName; | ||||
|       json[r'id'] = this.id; | ||||
|       json[r'lastName'] = this.lastName; | ||||
|       json[r'createdAt'] = this.createdAt.toUtc().toIso8601String(); | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -68,11 +68,11 @@ class AdminSignupResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return AdminSignupResponseDto( | ||||
|         id: mapValueOfType<String>(json, r'id')!, | ||||
|         createdAt: mapDateTime(json, r'createdAt', r'')!, | ||||
|         email: mapValueOfType<String>(json, r'email')!, | ||||
|         firstName: mapValueOfType<String>(json, r'firstName')!, | ||||
|         id: mapValueOfType<String>(json, r'id')!, | ||||
|         lastName: mapValueOfType<String>(json, r'lastName')!, | ||||
|         createdAt: mapDateTime(json, r'createdAt', r'')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -120,11 +120,11 @@ class AdminSignupResponseDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'id', | ||||
|     'createdAt', | ||||
|     'email', | ||||
|     'firstName', | ||||
|     'id', | ||||
|     'lastName', | ||||
|     'createdAt', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
| @@ -13,38 +13,38 @@ part of openapi.api; | ||||
| class AlbumCountResponseDto { | ||||
|   /// Returns a new [AlbumCountResponseDto] instance. | ||||
|   AlbumCountResponseDto({ | ||||
|     required this.notShared, | ||||
|     required this.owned, | ||||
|     required this.shared, | ||||
|     required this.notShared, | ||||
|   }); | ||||
| 
 | ||||
|   int notShared; | ||||
| 
 | ||||
|   int owned; | ||||
| 
 | ||||
|   int shared; | ||||
| 
 | ||||
|   int notShared; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is AlbumCountResponseDto && | ||||
|      other.notShared == notShared && | ||||
|      other.owned == owned && | ||||
|      other.shared == shared && | ||||
|      other.notShared == notShared; | ||||
|      other.shared == shared; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (notShared.hashCode) + | ||||
|     (owned.hashCode) + | ||||
|     (shared.hashCode) + | ||||
|     (notShared.hashCode); | ||||
|     (shared.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'AlbumCountResponseDto[owned=$owned, shared=$shared, notShared=$notShared]'; | ||||
|   String toString() => 'AlbumCountResponseDto[notShared=$notShared, owned=$owned, shared=$shared]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'notShared'] = this.notShared; | ||||
|       json[r'owned'] = this.owned; | ||||
|       json[r'shared'] = this.shared; | ||||
|       json[r'notShared'] = this.notShared; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -56,9 +56,9 @@ class AlbumCountResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return AlbumCountResponseDto( | ||||
|         notShared: mapValueOfType<int>(json, r'notShared')!, | ||||
|         owned: mapValueOfType<int>(json, r'owned')!, | ||||
|         shared: mapValueOfType<int>(json, r'shared')!, | ||||
|         notShared: mapValueOfType<int>(json, r'notShared')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -106,9 +106,9 @@ class AlbumCountResponseDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'notShared', | ||||
|     'owned', | ||||
|     'shared', | ||||
|     'notShared', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										124
									
								
								mobile/openapi/lib/model/album_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										124
									
								
								mobile/openapi/lib/model/album_response_dto.dart
									
									
									
										generated
									
									
									
								
							| @@ -13,41 +13,31 @@ part of openapi.api; | ||||
| class AlbumResponseDto { | ||||
|   /// Returns a new [AlbumResponseDto] instance. | ||||
|   AlbumResponseDto({ | ||||
|     required this.assetCount, | ||||
|     required this.id, | ||||
|     required this.ownerId, | ||||
|     required this.albumName, | ||||
|     required this.createdAt, | ||||
|     required this.updatedAt, | ||||
|     required this.albumThumbnailAssetId, | ||||
|     required this.assetCount, | ||||
|     this.assets = const [], | ||||
|     required this.createdAt, | ||||
|     required this.id, | ||||
|     this.lastModifiedAssetTimestamp, | ||||
|     required this.owner, | ||||
|     required this.ownerId, | ||||
|     required this.shared, | ||||
|     this.sharedUsers = const [], | ||||
|     this.assets = const [], | ||||
|     required this.owner, | ||||
|     this.lastModifiedAssetTimestamp, | ||||
|     required this.updatedAt, | ||||
|   }); | ||||
| 
 | ||||
|   int assetCount; | ||||
| 
 | ||||
|   String id; | ||||
| 
 | ||||
|   String ownerId; | ||||
| 
 | ||||
|   String albumName; | ||||
| 
 | ||||
|   DateTime createdAt; | ||||
| 
 | ||||
|   DateTime updatedAt; | ||||
| 
 | ||||
|   String? albumThumbnailAssetId; | ||||
| 
 | ||||
|   bool shared; | ||||
| 
 | ||||
|   List<UserResponseDto> sharedUsers; | ||||
|   int assetCount; | ||||
| 
 | ||||
|   List<AssetResponseDto> assets; | ||||
| 
 | ||||
|   UserResponseDto owner; | ||||
|   DateTime createdAt; | ||||
| 
 | ||||
|   String id; | ||||
| 
 | ||||
|   /// | ||||
|   /// Please note: This property should have been non-nullable! Since the specification file | ||||
| @@ -57,62 +47,72 @@ class AlbumResponseDto { | ||||
|   /// | ||||
|   DateTime? lastModifiedAssetTimestamp; | ||||
| 
 | ||||
|   UserResponseDto owner; | ||||
| 
 | ||||
|   String ownerId; | ||||
| 
 | ||||
|   bool shared; | ||||
| 
 | ||||
|   List<UserResponseDto> sharedUsers; | ||||
| 
 | ||||
|   DateTime updatedAt; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is AlbumResponseDto && | ||||
|      other.assetCount == assetCount && | ||||
|      other.id == id && | ||||
|      other.ownerId == ownerId && | ||||
|      other.albumName == albumName && | ||||
|      other.createdAt == createdAt && | ||||
|      other.updatedAt == updatedAt && | ||||
|      other.albumThumbnailAssetId == albumThumbnailAssetId && | ||||
|      other.assetCount == assetCount && | ||||
|      other.assets == assets && | ||||
|      other.createdAt == createdAt && | ||||
|      other.id == id && | ||||
|      other.lastModifiedAssetTimestamp == lastModifiedAssetTimestamp && | ||||
|      other.owner == owner && | ||||
|      other.ownerId == ownerId && | ||||
|      other.shared == shared && | ||||
|      other.sharedUsers == sharedUsers && | ||||
|      other.assets == assets && | ||||
|      other.owner == owner && | ||||
|      other.lastModifiedAssetTimestamp == lastModifiedAssetTimestamp; | ||||
|      other.updatedAt == updatedAt; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (assetCount.hashCode) + | ||||
|     (id.hashCode) + | ||||
|     (ownerId.hashCode) + | ||||
|     (albumName.hashCode) + | ||||
|     (createdAt.hashCode) + | ||||
|     (updatedAt.hashCode) + | ||||
|     (albumThumbnailAssetId == null ? 0 : albumThumbnailAssetId!.hashCode) + | ||||
|     (assetCount.hashCode) + | ||||
|     (assets.hashCode) + | ||||
|     (createdAt.hashCode) + | ||||
|     (id.hashCode) + | ||||
|     (lastModifiedAssetTimestamp == null ? 0 : lastModifiedAssetTimestamp!.hashCode) + | ||||
|     (owner.hashCode) + | ||||
|     (ownerId.hashCode) + | ||||
|     (shared.hashCode) + | ||||
|     (sharedUsers.hashCode) + | ||||
|     (assets.hashCode) + | ||||
|     (owner.hashCode) + | ||||
|     (lastModifiedAssetTimestamp == null ? 0 : lastModifiedAssetTimestamp!.hashCode); | ||||
|     (updatedAt.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'AlbumResponseDto[assetCount=$assetCount, id=$id, ownerId=$ownerId, albumName=$albumName, createdAt=$createdAt, updatedAt=$updatedAt, albumThumbnailAssetId=$albumThumbnailAssetId, shared=$shared, sharedUsers=$sharedUsers, assets=$assets, owner=$owner, lastModifiedAssetTimestamp=$lastModifiedAssetTimestamp]'; | ||||
|   String toString() => 'AlbumResponseDto[albumName=$albumName, albumThumbnailAssetId=$albumThumbnailAssetId, assetCount=$assetCount, assets=$assets, createdAt=$createdAt, id=$id, lastModifiedAssetTimestamp=$lastModifiedAssetTimestamp, owner=$owner, ownerId=$ownerId, shared=$shared, sharedUsers=$sharedUsers, updatedAt=$updatedAt]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'assetCount'] = this.assetCount; | ||||
|       json[r'id'] = this.id; | ||||
|       json[r'ownerId'] = this.ownerId; | ||||
|       json[r'albumName'] = this.albumName; | ||||
|       json[r'createdAt'] = this.createdAt.toUtc().toIso8601String(); | ||||
|       json[r'updatedAt'] = this.updatedAt.toUtc().toIso8601String(); | ||||
|     if (this.albumThumbnailAssetId != null) { | ||||
|       json[r'albumThumbnailAssetId'] = this.albumThumbnailAssetId; | ||||
|     } else { | ||||
|     //  json[r'albumThumbnailAssetId'] = null; | ||||
|     } | ||||
|       json[r'shared'] = this.shared; | ||||
|       json[r'sharedUsers'] = this.sharedUsers; | ||||
|       json[r'assetCount'] = this.assetCount; | ||||
|       json[r'assets'] = this.assets; | ||||
|       json[r'owner'] = this.owner; | ||||
|       json[r'createdAt'] = this.createdAt.toUtc().toIso8601String(); | ||||
|       json[r'id'] = this.id; | ||||
|     if (this.lastModifiedAssetTimestamp != null) { | ||||
|       json[r'lastModifiedAssetTimestamp'] = this.lastModifiedAssetTimestamp!.toUtc().toIso8601String(); | ||||
|     } else { | ||||
|     //  json[r'lastModifiedAssetTimestamp'] = null; | ||||
|     } | ||||
|       json[r'owner'] = this.owner; | ||||
|       json[r'ownerId'] = this.ownerId; | ||||
|       json[r'shared'] = this.shared; | ||||
|       json[r'sharedUsers'] = this.sharedUsers; | ||||
|       json[r'updatedAt'] = this.updatedAt.toUtc().toIso8601String(); | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -124,18 +124,18 @@ class AlbumResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return AlbumResponseDto( | ||||
|         assetCount: mapValueOfType<int>(json, r'assetCount')!, | ||||
|         id: mapValueOfType<String>(json, r'id')!, | ||||
|         ownerId: mapValueOfType<String>(json, r'ownerId')!, | ||||
|         albumName: mapValueOfType<String>(json, r'albumName')!, | ||||
|         createdAt: mapDateTime(json, r'createdAt', r'')!, | ||||
|         updatedAt: mapDateTime(json, r'updatedAt', r'')!, | ||||
|         albumThumbnailAssetId: mapValueOfType<String>(json, r'albumThumbnailAssetId'), | ||||
|         assetCount: mapValueOfType<int>(json, r'assetCount')!, | ||||
|         assets: AssetResponseDto.listFromJson(json[r'assets']), | ||||
|         createdAt: mapDateTime(json, r'createdAt', r'')!, | ||||
|         id: mapValueOfType<String>(json, r'id')!, | ||||
|         lastModifiedAssetTimestamp: mapDateTime(json, r'lastModifiedAssetTimestamp', r''), | ||||
|         owner: UserResponseDto.fromJson(json[r'owner'])!, | ||||
|         ownerId: mapValueOfType<String>(json, r'ownerId')!, | ||||
|         shared: mapValueOfType<bool>(json, r'shared')!, | ||||
|         sharedUsers: UserResponseDto.listFromJson(json[r'sharedUsers']), | ||||
|         assets: AssetResponseDto.listFromJson(json[r'assets']), | ||||
|         owner: UserResponseDto.fromJson(json[r'owner'])!, | ||||
|         lastModifiedAssetTimestamp: mapDateTime(json, r'lastModifiedAssetTimestamp', r''), | ||||
|         updatedAt: mapDateTime(json, r'updatedAt', r'')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -183,17 +183,17 @@ class AlbumResponseDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'assetCount', | ||||
|     'id', | ||||
|     'ownerId', | ||||
|     'albumName', | ||||
|     'createdAt', | ||||
|     'updatedAt', | ||||
|     'albumThumbnailAssetId', | ||||
|     'assetCount', | ||||
|     'assets', | ||||
|     'createdAt', | ||||
|     'id', | ||||
|     'owner', | ||||
|     'ownerId', | ||||
|     'shared', | ||||
|     'sharedUsers', | ||||
|     'assets', | ||||
|     'owner', | ||||
|     'updatedAt', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
| @@ -13,80 +13,80 @@ part of openapi.api; | ||||
| class AllJobStatusResponseDto { | ||||
|   /// Returns a new [AllJobStatusResponseDto] instance. | ||||
|   AllJobStatusResponseDto({ | ||||
|     required this.thumbnailGeneration, | ||||
|     required this.metadataExtraction, | ||||
|     required this.videoConversion, | ||||
|     required this.objectTagging, | ||||
|     required this.clipEncoding, | ||||
|     required this.storageTemplateMigration, | ||||
|     required this.backgroundTask, | ||||
|     required this.search, | ||||
|     required this.clipEncoding, | ||||
|     required this.metadataExtraction, | ||||
|     required this.objectTagging, | ||||
|     required this.recognizeFaces, | ||||
|     required this.search, | ||||
|     required this.sidecar, | ||||
|     required this.storageTemplateMigration, | ||||
|     required this.thumbnailGeneration, | ||||
|     required this.videoConversion, | ||||
|   }); | ||||
| 
 | ||||
|   JobStatusDto thumbnailGeneration; | ||||
| 
 | ||||
|   JobStatusDto metadataExtraction; | ||||
| 
 | ||||
|   JobStatusDto videoConversion; | ||||
| 
 | ||||
|   JobStatusDto objectTagging; | ||||
| 
 | ||||
|   JobStatusDto clipEncoding; | ||||
| 
 | ||||
|   JobStatusDto storageTemplateMigration; | ||||
| 
 | ||||
|   JobStatusDto backgroundTask; | ||||
| 
 | ||||
|   JobStatusDto search; | ||||
|   JobStatusDto clipEncoding; | ||||
| 
 | ||||
|   JobStatusDto metadataExtraction; | ||||
| 
 | ||||
|   JobStatusDto objectTagging; | ||||
| 
 | ||||
|   JobStatusDto recognizeFaces; | ||||
| 
 | ||||
|   JobStatusDto search; | ||||
| 
 | ||||
|   JobStatusDto sidecar; | ||||
| 
 | ||||
|   JobStatusDto storageTemplateMigration; | ||||
| 
 | ||||
|   JobStatusDto thumbnailGeneration; | ||||
| 
 | ||||
|   JobStatusDto videoConversion; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is AllJobStatusResponseDto && | ||||
|      other.thumbnailGeneration == thumbnailGeneration && | ||||
|      other.metadataExtraction == metadataExtraction && | ||||
|      other.videoConversion == videoConversion && | ||||
|      other.objectTagging == objectTagging && | ||||
|      other.clipEncoding == clipEncoding && | ||||
|      other.storageTemplateMigration == storageTemplateMigration && | ||||
|      other.backgroundTask == backgroundTask && | ||||
|      other.search == search && | ||||
|      other.clipEncoding == clipEncoding && | ||||
|      other.metadataExtraction == metadataExtraction && | ||||
|      other.objectTagging == objectTagging && | ||||
|      other.recognizeFaces == recognizeFaces && | ||||
|      other.sidecar == sidecar; | ||||
|      other.search == search && | ||||
|      other.sidecar == sidecar && | ||||
|      other.storageTemplateMigration == storageTemplateMigration && | ||||
|      other.thumbnailGeneration == thumbnailGeneration && | ||||
|      other.videoConversion == videoConversion; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (thumbnailGeneration.hashCode) + | ||||
|     (metadataExtraction.hashCode) + | ||||
|     (videoConversion.hashCode) + | ||||
|     (objectTagging.hashCode) + | ||||
|     (clipEncoding.hashCode) + | ||||
|     (storageTemplateMigration.hashCode) + | ||||
|     (backgroundTask.hashCode) + | ||||
|     (search.hashCode) + | ||||
|     (clipEncoding.hashCode) + | ||||
|     (metadataExtraction.hashCode) + | ||||
|     (objectTagging.hashCode) + | ||||
|     (recognizeFaces.hashCode) + | ||||
|     (sidecar.hashCode); | ||||
|     (search.hashCode) + | ||||
|     (sidecar.hashCode) + | ||||
|     (storageTemplateMigration.hashCode) + | ||||
|     (thumbnailGeneration.hashCode) + | ||||
|     (videoConversion.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'AllJobStatusResponseDto[thumbnailGeneration=$thumbnailGeneration, metadataExtraction=$metadataExtraction, videoConversion=$videoConversion, objectTagging=$objectTagging, clipEncoding=$clipEncoding, storageTemplateMigration=$storageTemplateMigration, backgroundTask=$backgroundTask, search=$search, recognizeFaces=$recognizeFaces, sidecar=$sidecar]'; | ||||
|   String toString() => 'AllJobStatusResponseDto[backgroundTask=$backgroundTask, clipEncoding=$clipEncoding, metadataExtraction=$metadataExtraction, objectTagging=$objectTagging, recognizeFaces=$recognizeFaces, search=$search, sidecar=$sidecar, storageTemplateMigration=$storageTemplateMigration, thumbnailGeneration=$thumbnailGeneration, videoConversion=$videoConversion]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'thumbnailGeneration'] = this.thumbnailGeneration; | ||||
|       json[r'metadataExtraction'] = this.metadataExtraction; | ||||
|       json[r'videoConversion'] = this.videoConversion; | ||||
|       json[r'objectTagging'] = this.objectTagging; | ||||
|       json[r'clipEncoding'] = this.clipEncoding; | ||||
|       json[r'storageTemplateMigration'] = this.storageTemplateMigration; | ||||
|       json[r'backgroundTask'] = this.backgroundTask; | ||||
|       json[r'search'] = this.search; | ||||
|       json[r'clipEncoding'] = this.clipEncoding; | ||||
|       json[r'metadataExtraction'] = this.metadataExtraction; | ||||
|       json[r'objectTagging'] = this.objectTagging; | ||||
|       json[r'recognizeFaces'] = this.recognizeFaces; | ||||
|       json[r'search'] = this.search; | ||||
|       json[r'sidecar'] = this.sidecar; | ||||
|       json[r'storageTemplateMigration'] = this.storageTemplateMigration; | ||||
|       json[r'thumbnailGeneration'] = this.thumbnailGeneration; | ||||
|       json[r'videoConversion'] = this.videoConversion; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -98,16 +98,16 @@ class AllJobStatusResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return AllJobStatusResponseDto( | ||||
|         thumbnailGeneration: JobStatusDto.fromJson(json[r'thumbnailGeneration'])!, | ||||
|         metadataExtraction: JobStatusDto.fromJson(json[r'metadataExtraction'])!, | ||||
|         videoConversion: JobStatusDto.fromJson(json[r'videoConversion'])!, | ||||
|         objectTagging: JobStatusDto.fromJson(json[r'objectTagging'])!, | ||||
|         clipEncoding: JobStatusDto.fromJson(json[r'clipEncoding'])!, | ||||
|         storageTemplateMigration: JobStatusDto.fromJson(json[r'storageTemplateMigration'])!, | ||||
|         backgroundTask: JobStatusDto.fromJson(json[r'backgroundTask'])!, | ||||
|         search: JobStatusDto.fromJson(json[r'search'])!, | ||||
|         clipEncoding: JobStatusDto.fromJson(json[r'clipEncoding'])!, | ||||
|         metadataExtraction: JobStatusDto.fromJson(json[r'metadataExtraction'])!, | ||||
|         objectTagging: JobStatusDto.fromJson(json[r'objectTagging'])!, | ||||
|         recognizeFaces: JobStatusDto.fromJson(json[r'recognizeFaces'])!, | ||||
|         search: JobStatusDto.fromJson(json[r'search'])!, | ||||
|         sidecar: JobStatusDto.fromJson(json[r'sidecar'])!, | ||||
|         storageTemplateMigration: JobStatusDto.fromJson(json[r'storageTemplateMigration'])!, | ||||
|         thumbnailGeneration: JobStatusDto.fromJson(json[r'thumbnailGeneration'])!, | ||||
|         videoConversion: JobStatusDto.fromJson(json[r'videoConversion'])!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -155,16 +155,16 @@ class AllJobStatusResponseDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'thumbnailGeneration', | ||||
|     'metadataExtraction', | ||||
|     'videoConversion', | ||||
|     'objectTagging', | ||||
|     'clipEncoding', | ||||
|     'storageTemplateMigration', | ||||
|     'backgroundTask', | ||||
|     'search', | ||||
|     'clipEncoding', | ||||
|     'metadataExtraction', | ||||
|     'objectTagging', | ||||
|     'recognizeFaces', | ||||
|     'search', | ||||
|     'sidecar', | ||||
|     'storageTemplateMigration', | ||||
|     'thumbnailGeneration', | ||||
|     'videoConversion', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
| @@ -13,32 +13,32 @@ part of openapi.api; | ||||
| class APIKeyCreateResponseDto { | ||||
|   /// Returns a new [APIKeyCreateResponseDto] instance. | ||||
|   APIKeyCreateResponseDto({ | ||||
|     required this.secret, | ||||
|     required this.apiKey, | ||||
|     required this.secret, | ||||
|   }); | ||||
| 
 | ||||
|   String secret; | ||||
| 
 | ||||
|   APIKeyResponseDto apiKey; | ||||
| 
 | ||||
|   String secret; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is APIKeyCreateResponseDto && | ||||
|      other.secret == secret && | ||||
|      other.apiKey == apiKey; | ||||
|      other.apiKey == apiKey && | ||||
|      other.secret == secret; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (secret.hashCode) + | ||||
|     (apiKey.hashCode); | ||||
|     (apiKey.hashCode) + | ||||
|     (secret.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'APIKeyCreateResponseDto[secret=$secret, apiKey=$apiKey]'; | ||||
|   String toString() => 'APIKeyCreateResponseDto[apiKey=$apiKey, secret=$secret]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'secret'] = this.secret; | ||||
|       json[r'apiKey'] = this.apiKey; | ||||
|       json[r'secret'] = this.secret; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -50,8 +50,8 @@ class APIKeyCreateResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return APIKeyCreateResponseDto( | ||||
|         secret: mapValueOfType<String>(json, r'secret')!, | ||||
|         apiKey: APIKeyResponseDto.fromJson(json[r'apiKey'])!, | ||||
|         secret: mapValueOfType<String>(json, r'secret')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -99,8 +99,8 @@ class APIKeyCreateResponseDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'secret', | ||||
|     'apiKey', | ||||
|     'secret', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										18
									
								
								mobile/openapi/lib/model/api_key_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										18
									
								
								mobile/openapi/lib/model/api_key_response_dto.dart
									
									
									
										generated
									
									
									
								
							| @@ -13,43 +13,43 @@ part of openapi.api; | ||||
| class APIKeyResponseDto { | ||||
|   /// Returns a new [APIKeyResponseDto] instance. | ||||
|   APIKeyResponseDto({ | ||||
|     required this.createdAt, | ||||
|     required this.id, | ||||
|     required this.name, | ||||
|     required this.createdAt, | ||||
|     required this.updatedAt, | ||||
|   }); | ||||
| 
 | ||||
|   DateTime createdAt; | ||||
| 
 | ||||
|   String id; | ||||
| 
 | ||||
|   String name; | ||||
| 
 | ||||
|   DateTime createdAt; | ||||
| 
 | ||||
|   DateTime updatedAt; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is APIKeyResponseDto && | ||||
|      other.createdAt == createdAt && | ||||
|      other.id == id && | ||||
|      other.name == name && | ||||
|      other.createdAt == createdAt && | ||||
|      other.updatedAt == updatedAt; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (createdAt.hashCode) + | ||||
|     (id.hashCode) + | ||||
|     (name.hashCode) + | ||||
|     (createdAt.hashCode) + | ||||
|     (updatedAt.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'APIKeyResponseDto[id=$id, name=$name, createdAt=$createdAt, updatedAt=$updatedAt]'; | ||||
|   String toString() => 'APIKeyResponseDto[createdAt=$createdAt, id=$id, name=$name, updatedAt=$updatedAt]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'createdAt'] = this.createdAt.toUtc().toIso8601String(); | ||||
|       json[r'id'] = this.id; | ||||
|       json[r'name'] = this.name; | ||||
|       json[r'createdAt'] = this.createdAt.toUtc().toIso8601String(); | ||||
|       json[r'updatedAt'] = this.updatedAt.toUtc().toIso8601String(); | ||||
|     return json; | ||||
|   } | ||||
| @@ -62,9 +62,9 @@ class APIKeyResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return APIKeyResponseDto( | ||||
|         createdAt: mapDateTime(json, r'createdAt', r'')!, | ||||
|         id: mapValueOfType<String>(json, r'id')!, | ||||
|         name: mapValueOfType<String>(json, r'name')!, | ||||
|         createdAt: mapDateTime(json, r'createdAt', r'')!, | ||||
|         updatedAt: mapDateTime(json, r'updatedAt', r'')!, | ||||
|       ); | ||||
|     } | ||||
| @@ -113,9 +113,9 @@ class APIKeyResponseDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'createdAt', | ||||
|     'id', | ||||
|     'name', | ||||
|     'createdAt', | ||||
|     'updatedAt', | ||||
|   }; | ||||
| } | ||||
|   | ||||
| @@ -13,33 +13,33 @@ part of openapi.api; | ||||
| class AssetBulkUploadCheckItem { | ||||
|   /// Returns a new [AssetBulkUploadCheckItem] instance. | ||||
|   AssetBulkUploadCheckItem({ | ||||
|     required this.id, | ||||
|     required this.checksum, | ||||
|     required this.id, | ||||
|   }); | ||||
| 
 | ||||
|   String id; | ||||
| 
 | ||||
|   /// base64 or hex encoded sha1 hash | ||||
|   String checksum; | ||||
| 
 | ||||
|   String id; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is AssetBulkUploadCheckItem && | ||||
|      other.id == id && | ||||
|      other.checksum == checksum; | ||||
|      other.checksum == checksum && | ||||
|      other.id == id; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (id.hashCode) + | ||||
|     (checksum.hashCode); | ||||
|     (checksum.hashCode) + | ||||
|     (id.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'AssetBulkUploadCheckItem[id=$id, checksum=$checksum]'; | ||||
|   String toString() => 'AssetBulkUploadCheckItem[checksum=$checksum, id=$id]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'id'] = this.id; | ||||
|       json[r'checksum'] = this.checksum; | ||||
|       json[r'id'] = this.id; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -51,8 +51,8 @@ class AssetBulkUploadCheckItem { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return AssetBulkUploadCheckItem( | ||||
|         id: mapValueOfType<String>(json, r'id')!, | ||||
|         checksum: mapValueOfType<String>(json, r'checksum')!, | ||||
|         id: mapValueOfType<String>(json, r'id')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -100,8 +100,8 @@ class AssetBulkUploadCheckItem { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'id', | ||||
|     'checksum', | ||||
|     'id', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
| @@ -13,18 +13,14 @@ part of openapi.api; | ||||
| class AssetBulkUploadCheckResult { | ||||
|   /// Returns a new [AssetBulkUploadCheckResult] instance. | ||||
|   AssetBulkUploadCheckResult({ | ||||
|     required this.id, | ||||
|     required this.action, | ||||
|     this.reason, | ||||
|     this.assetId, | ||||
|     required this.id, | ||||
|     this.reason, | ||||
|   }); | ||||
| 
 | ||||
|   String id; | ||||
| 
 | ||||
|   AssetBulkUploadCheckResultActionEnum action; | ||||
| 
 | ||||
|   AssetBulkUploadCheckResultReasonEnum? reason; | ||||
| 
 | ||||
|   /// | ||||
|   /// Please note: This property should have been non-nullable! Since the specification file | ||||
|   /// does not include a default value (using the "default:" property), however, the generated | ||||
| @@ -33,37 +29,41 @@ class AssetBulkUploadCheckResult { | ||||
|   /// | ||||
|   String? assetId; | ||||
| 
 | ||||
|   String id; | ||||
| 
 | ||||
|   AssetBulkUploadCheckResultReasonEnum? reason; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is AssetBulkUploadCheckResult && | ||||
|      other.id == id && | ||||
|      other.action == action && | ||||
|      other.reason == reason && | ||||
|      other.assetId == assetId; | ||||
|      other.assetId == assetId && | ||||
|      other.id == id && | ||||
|      other.reason == reason; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (id.hashCode) + | ||||
|     (action.hashCode) + | ||||
|     (reason == null ? 0 : reason!.hashCode) + | ||||
|     (assetId == null ? 0 : assetId!.hashCode); | ||||
|     (assetId == null ? 0 : assetId!.hashCode) + | ||||
|     (id.hashCode) + | ||||
|     (reason == null ? 0 : reason!.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'AssetBulkUploadCheckResult[id=$id, action=$action, reason=$reason, assetId=$assetId]'; | ||||
|   String toString() => 'AssetBulkUploadCheckResult[action=$action, assetId=$assetId, id=$id, reason=$reason]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'id'] = this.id; | ||||
|       json[r'action'] = this.action; | ||||
|     if (this.reason != null) { | ||||
|       json[r'reason'] = this.reason; | ||||
|     } else { | ||||
|     //  json[r'reason'] = null; | ||||
|     } | ||||
|     if (this.assetId != null) { | ||||
|       json[r'assetId'] = this.assetId; | ||||
|     } else { | ||||
|     //  json[r'assetId'] = null; | ||||
|     } | ||||
|       json[r'id'] = this.id; | ||||
|     if (this.reason != null) { | ||||
|       json[r'reason'] = this.reason; | ||||
|     } else { | ||||
|     //  json[r'reason'] = null; | ||||
|     } | ||||
|     return json; | ||||
|   } | ||||
| @@ -76,10 +76,10 @@ class AssetBulkUploadCheckResult { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return AssetBulkUploadCheckResult( | ||||
|         id: mapValueOfType<String>(json, r'id')!, | ||||
|         action: AssetBulkUploadCheckResultActionEnum.fromJson(json[r'action'])!, | ||||
|         reason: AssetBulkUploadCheckResultReasonEnum.fromJson(json[r'reason']), | ||||
|         assetId: mapValueOfType<String>(json, r'assetId'), | ||||
|         id: mapValueOfType<String>(json, r'id')!, | ||||
|         reason: AssetBulkUploadCheckResultReasonEnum.fromJson(json[r'reason']), | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -127,8 +127,8 @@ class AssetBulkUploadCheckResult { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'id', | ||||
|     'action', | ||||
|     'id', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
| @@ -13,32 +13,32 @@ part of openapi.api; | ||||
| class AssetCountByTimeBucket { | ||||
|   /// Returns a new [AssetCountByTimeBucket] instance. | ||||
|   AssetCountByTimeBucket({ | ||||
|     required this.timeBucket, | ||||
|     required this.count, | ||||
|     required this.timeBucket, | ||||
|   }); | ||||
| 
 | ||||
|   String timeBucket; | ||||
| 
 | ||||
|   int count; | ||||
| 
 | ||||
|   String timeBucket; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is AssetCountByTimeBucket && | ||||
|      other.timeBucket == timeBucket && | ||||
|      other.count == count; | ||||
|      other.count == count && | ||||
|      other.timeBucket == timeBucket; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (timeBucket.hashCode) + | ||||
|     (count.hashCode); | ||||
|     (count.hashCode) + | ||||
|     (timeBucket.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'AssetCountByTimeBucket[timeBucket=$timeBucket, count=$count]'; | ||||
|   String toString() => 'AssetCountByTimeBucket[count=$count, timeBucket=$timeBucket]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'timeBucket'] = this.timeBucket; | ||||
|       json[r'count'] = this.count; | ||||
|       json[r'timeBucket'] = this.timeBucket; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -50,8 +50,8 @@ class AssetCountByTimeBucket { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return AssetCountByTimeBucket( | ||||
|         timeBucket: mapValueOfType<String>(json, r'timeBucket')!, | ||||
|         count: mapValueOfType<int>(json, r'count')!, | ||||
|         timeBucket: mapValueOfType<String>(json, r'timeBucket')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -99,8 +99,8 @@ class AssetCountByTimeBucket { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'timeBucket', | ||||
|     'count', | ||||
|     'timeBucket', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
| @@ -13,32 +13,32 @@ part of openapi.api; | ||||
| class AssetCountByTimeBucketResponseDto { | ||||
|   /// Returns a new [AssetCountByTimeBucketResponseDto] instance. | ||||
|   AssetCountByTimeBucketResponseDto({ | ||||
|     required this.totalCount, | ||||
|     this.buckets = const [], | ||||
|     required this.totalCount, | ||||
|   }); | ||||
| 
 | ||||
|   int totalCount; | ||||
| 
 | ||||
|   List<AssetCountByTimeBucket> buckets; | ||||
| 
 | ||||
|   int totalCount; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is AssetCountByTimeBucketResponseDto && | ||||
|      other.totalCount == totalCount && | ||||
|      other.buckets == buckets; | ||||
|      other.buckets == buckets && | ||||
|      other.totalCount == totalCount; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (totalCount.hashCode) + | ||||
|     (buckets.hashCode); | ||||
|     (buckets.hashCode) + | ||||
|     (totalCount.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'AssetCountByTimeBucketResponseDto[totalCount=$totalCount, buckets=$buckets]'; | ||||
|   String toString() => 'AssetCountByTimeBucketResponseDto[buckets=$buckets, totalCount=$totalCount]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'totalCount'] = this.totalCount; | ||||
|       json[r'buckets'] = this.buckets; | ||||
|       json[r'totalCount'] = this.totalCount; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -50,8 +50,8 @@ class AssetCountByTimeBucketResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return AssetCountByTimeBucketResponseDto( | ||||
|         totalCount: mapValueOfType<int>(json, r'totalCount')!, | ||||
|         buckets: AssetCountByTimeBucket.listFromJson(json[r'buckets']), | ||||
|         totalCount: mapValueOfType<int>(json, r'totalCount')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -99,8 +99,8 @@ class AssetCountByTimeBucketResponseDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'totalCount', | ||||
|     'buckets', | ||||
|     'totalCount', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
| @@ -13,32 +13,32 @@ part of openapi.api; | ||||
| class AssetFileUploadResponseDto { | ||||
|   /// Returns a new [AssetFileUploadResponseDto] instance. | ||||
|   AssetFileUploadResponseDto({ | ||||
|     required this.id, | ||||
|     required this.duplicate, | ||||
|     required this.id, | ||||
|   }); | ||||
| 
 | ||||
|   String id; | ||||
| 
 | ||||
|   bool duplicate; | ||||
| 
 | ||||
|   String id; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is AssetFileUploadResponseDto && | ||||
|      other.id == id && | ||||
|      other.duplicate == duplicate; | ||||
|      other.duplicate == duplicate && | ||||
|      other.id == id; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (id.hashCode) + | ||||
|     (duplicate.hashCode); | ||||
|     (duplicate.hashCode) + | ||||
|     (id.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'AssetFileUploadResponseDto[id=$id, duplicate=$duplicate]'; | ||||
|   String toString() => 'AssetFileUploadResponseDto[duplicate=$duplicate, id=$id]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'id'] = this.id; | ||||
|       json[r'duplicate'] = this.duplicate; | ||||
|       json[r'id'] = this.id; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -50,8 +50,8 @@ class AssetFileUploadResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return AssetFileUploadResponseDto( | ||||
|         id: mapValueOfType<String>(json, r'id')!, | ||||
|         duplicate: mapValueOfType<bool>(json, r'duplicate')!, | ||||
|         id: mapValueOfType<String>(json, r'id')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -99,8 +99,8 @@ class AssetFileUploadResponseDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'id', | ||||
|     'duplicate', | ||||
|     'id', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										20
									
								
								mobile/openapi/lib/model/asset_ids_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										20
									
								
								mobile/openapi/lib/model/asset_ids_response_dto.dart
									
									
									
										generated
									
									
									
								
							| @@ -14,41 +14,41 @@ class AssetIdsResponseDto { | ||||
|   /// Returns a new [AssetIdsResponseDto] instance. | ||||
|   AssetIdsResponseDto({ | ||||
|     required this.assetId, | ||||
|     required this.success, | ||||
|     this.error, | ||||
|     required this.success, | ||||
|   }); | ||||
| 
 | ||||
|   String assetId; | ||||
| 
 | ||||
|   bool success; | ||||
| 
 | ||||
|   AssetIdsResponseDtoErrorEnum? error; | ||||
| 
 | ||||
|   bool success; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is AssetIdsResponseDto && | ||||
|      other.assetId == assetId && | ||||
|      other.success == success && | ||||
|      other.error == error; | ||||
|      other.error == error && | ||||
|      other.success == success; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (assetId.hashCode) + | ||||
|     (success.hashCode) + | ||||
|     (error == null ? 0 : error!.hashCode); | ||||
|     (error == null ? 0 : error!.hashCode) + | ||||
|     (success.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'AssetIdsResponseDto[assetId=$assetId, success=$success, error=$error]'; | ||||
|   String toString() => 'AssetIdsResponseDto[assetId=$assetId, error=$error, success=$success]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'assetId'] = this.assetId; | ||||
|       json[r'success'] = this.success; | ||||
|     if (this.error != null) { | ||||
|       json[r'error'] = this.error; | ||||
|     } else { | ||||
|     //  json[r'error'] = null; | ||||
|     } | ||||
|       json[r'success'] = this.success; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -61,8 +61,8 @@ class AssetIdsResponseDto { | ||||
| 
 | ||||
|       return AssetIdsResponseDto( | ||||
|         assetId: mapValueOfType<String>(json, r'assetId')!, | ||||
|         success: mapValueOfType<bool>(json, r'success')!, | ||||
|         error: AssetIdsResponseDtoErrorEnum.fromJson(json[r'error']), | ||||
|         success: mapValueOfType<bool>(json, r'success')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
|   | ||||
							
								
								
									
										248
									
								
								mobile/openapi/lib/model/asset_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										248
									
								
								mobile/openapi/lib/model/asset_response_dto.dart
									
									
									
										generated
									
									
									
								
							| @@ -13,58 +13,36 @@ part of openapi.api; | ||||
| class AssetResponseDto { | ||||
|   /// Returns a new [AssetResponseDto] instance. | ||||
|   AssetResponseDto({ | ||||
|     required this.type, | ||||
|     required this.id, | ||||
|     required this.checksum, | ||||
|     required this.deviceAssetId, | ||||
|     required this.ownerId, | ||||
|     required this.deviceId, | ||||
|     required this.originalPath, | ||||
|     required this.originalFileName, | ||||
|     required this.resized, | ||||
|     required this.thumbhash, | ||||
|     required this.fileCreatedAt, | ||||
|     required this.fileModifiedAt, | ||||
|     required this.updatedAt, | ||||
|     required this.isFavorite, | ||||
|     required this.isArchived, | ||||
|     required this.duration, | ||||
|     this.exifInfo, | ||||
|     this.smartInfo, | ||||
|     required this.fileCreatedAt, | ||||
|     required this.fileModifiedAt, | ||||
|     required this.id, | ||||
|     required this.isArchived, | ||||
|     required this.isFavorite, | ||||
|     this.livePhotoVideoId, | ||||
|     this.tags = const [], | ||||
|     required this.originalFileName, | ||||
|     required this.originalPath, | ||||
|     required this.ownerId, | ||||
|     this.people = const [], | ||||
|     required this.checksum, | ||||
|     required this.resized, | ||||
|     this.smartInfo, | ||||
|     this.tags = const [], | ||||
|     required this.thumbhash, | ||||
|     required this.type, | ||||
|     required this.updatedAt, | ||||
|   }); | ||||
| 
 | ||||
|   AssetTypeEnum type; | ||||
| 
 | ||||
|   String id; | ||||
|   /// base64 encoded sha1 hash | ||||
|   String checksum; | ||||
| 
 | ||||
|   String deviceAssetId; | ||||
| 
 | ||||
|   String ownerId; | ||||
| 
 | ||||
|   String deviceId; | ||||
| 
 | ||||
|   String originalPath; | ||||
| 
 | ||||
|   String originalFileName; | ||||
| 
 | ||||
|   bool resized; | ||||
| 
 | ||||
|   /// base64 encoded thumbhash | ||||
|   String? thumbhash; | ||||
| 
 | ||||
|   DateTime fileCreatedAt; | ||||
| 
 | ||||
|   DateTime fileModifiedAt; | ||||
| 
 | ||||
|   DateTime updatedAt; | ||||
| 
 | ||||
|   bool isFavorite; | ||||
| 
 | ||||
|   bool isArchived; | ||||
| 
 | ||||
|   String duration; | ||||
| 
 | ||||
|   /// | ||||
| @@ -75,6 +53,28 @@ class AssetResponseDto { | ||||
|   /// | ||||
|   ExifResponseDto? exifInfo; | ||||
| 
 | ||||
|   DateTime fileCreatedAt; | ||||
| 
 | ||||
|   DateTime fileModifiedAt; | ||||
| 
 | ||||
|   String id; | ||||
| 
 | ||||
|   bool isArchived; | ||||
| 
 | ||||
|   bool isFavorite; | ||||
| 
 | ||||
|   String? livePhotoVideoId; | ||||
| 
 | ||||
|   String originalFileName; | ||||
| 
 | ||||
|   String originalPath; | ||||
| 
 | ||||
|   String ownerId; | ||||
| 
 | ||||
|   List<PersonResponseDto> people; | ||||
| 
 | ||||
|   bool resized; | ||||
| 
 | ||||
|   /// | ||||
|   /// Please note: This property should have been non-nullable! Since the specification file | ||||
|   /// does not include a default value (using the "default:" property), however, the generated | ||||
| @@ -83,106 +83,106 @@ class AssetResponseDto { | ||||
|   /// | ||||
|   SmartInfoResponseDto? smartInfo; | ||||
| 
 | ||||
|   String? livePhotoVideoId; | ||||
| 
 | ||||
|   List<TagResponseDto> tags; | ||||
| 
 | ||||
|   List<PersonResponseDto> people; | ||||
|   /// base64 encoded thumbhash | ||||
|   String? thumbhash; | ||||
| 
 | ||||
|   /// base64 encoded sha1 hash | ||||
|   String checksum; | ||||
|   AssetTypeEnum type; | ||||
| 
 | ||||
|   DateTime updatedAt; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is AssetResponseDto && | ||||
|      other.type == type && | ||||
|      other.id == id && | ||||
|      other.checksum == checksum && | ||||
|      other.deviceAssetId == deviceAssetId && | ||||
|      other.ownerId == ownerId && | ||||
|      other.deviceId == deviceId && | ||||
|      other.originalPath == originalPath && | ||||
|      other.originalFileName == originalFileName && | ||||
|      other.resized == resized && | ||||
|      other.thumbhash == thumbhash && | ||||
|      other.fileCreatedAt == fileCreatedAt && | ||||
|      other.fileModifiedAt == fileModifiedAt && | ||||
|      other.updatedAt == updatedAt && | ||||
|      other.isFavorite == isFavorite && | ||||
|      other.isArchived == isArchived && | ||||
|      other.duration == duration && | ||||
|      other.exifInfo == exifInfo && | ||||
|      other.smartInfo == smartInfo && | ||||
|      other.fileCreatedAt == fileCreatedAt && | ||||
|      other.fileModifiedAt == fileModifiedAt && | ||||
|      other.id == id && | ||||
|      other.isArchived == isArchived && | ||||
|      other.isFavorite == isFavorite && | ||||
|      other.livePhotoVideoId == livePhotoVideoId && | ||||
|      other.tags == tags && | ||||
|      other.originalFileName == originalFileName && | ||||
|      other.originalPath == originalPath && | ||||
|      other.ownerId == ownerId && | ||||
|      other.people == people && | ||||
|      other.checksum == checksum; | ||||
|      other.resized == resized && | ||||
|      other.smartInfo == smartInfo && | ||||
|      other.tags == tags && | ||||
|      other.thumbhash == thumbhash && | ||||
|      other.type == type && | ||||
|      other.updatedAt == updatedAt; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (type.hashCode) + | ||||
|     (id.hashCode) + | ||||
|     (checksum.hashCode) + | ||||
|     (deviceAssetId.hashCode) + | ||||
|     (ownerId.hashCode) + | ||||
|     (deviceId.hashCode) + | ||||
|     (originalPath.hashCode) + | ||||
|     (originalFileName.hashCode) + | ||||
|     (resized.hashCode) + | ||||
|     (thumbhash == null ? 0 : thumbhash!.hashCode) + | ||||
|     (fileCreatedAt.hashCode) + | ||||
|     (fileModifiedAt.hashCode) + | ||||
|     (updatedAt.hashCode) + | ||||
|     (isFavorite.hashCode) + | ||||
|     (isArchived.hashCode) + | ||||
|     (duration.hashCode) + | ||||
|     (exifInfo == null ? 0 : exifInfo!.hashCode) + | ||||
|     (smartInfo == null ? 0 : smartInfo!.hashCode) + | ||||
|     (fileCreatedAt.hashCode) + | ||||
|     (fileModifiedAt.hashCode) + | ||||
|     (id.hashCode) + | ||||
|     (isArchived.hashCode) + | ||||
|     (isFavorite.hashCode) + | ||||
|     (livePhotoVideoId == null ? 0 : livePhotoVideoId!.hashCode) + | ||||
|     (tags.hashCode) + | ||||
|     (originalFileName.hashCode) + | ||||
|     (originalPath.hashCode) + | ||||
|     (ownerId.hashCode) + | ||||
|     (people.hashCode) + | ||||
|     (checksum.hashCode); | ||||
|     (resized.hashCode) + | ||||
|     (smartInfo == null ? 0 : smartInfo!.hashCode) + | ||||
|     (tags.hashCode) + | ||||
|     (thumbhash == null ? 0 : thumbhash!.hashCode) + | ||||
|     (type.hashCode) + | ||||
|     (updatedAt.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'AssetResponseDto[type=$type, id=$id, deviceAssetId=$deviceAssetId, ownerId=$ownerId, deviceId=$deviceId, originalPath=$originalPath, originalFileName=$originalFileName, resized=$resized, thumbhash=$thumbhash, fileCreatedAt=$fileCreatedAt, fileModifiedAt=$fileModifiedAt, updatedAt=$updatedAt, isFavorite=$isFavorite, isArchived=$isArchived, duration=$duration, exifInfo=$exifInfo, smartInfo=$smartInfo, livePhotoVideoId=$livePhotoVideoId, tags=$tags, people=$people, checksum=$checksum]'; | ||||
|   String toString() => 'AssetResponseDto[checksum=$checksum, deviceAssetId=$deviceAssetId, deviceId=$deviceId, duration=$duration, exifInfo=$exifInfo, fileCreatedAt=$fileCreatedAt, fileModifiedAt=$fileModifiedAt, id=$id, isArchived=$isArchived, isFavorite=$isFavorite, livePhotoVideoId=$livePhotoVideoId, originalFileName=$originalFileName, originalPath=$originalPath, ownerId=$ownerId, people=$people, resized=$resized, smartInfo=$smartInfo, tags=$tags, thumbhash=$thumbhash, type=$type, updatedAt=$updatedAt]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'type'] = this.type; | ||||
|       json[r'id'] = this.id; | ||||
|       json[r'checksum'] = this.checksum; | ||||
|       json[r'deviceAssetId'] = this.deviceAssetId; | ||||
|       json[r'ownerId'] = this.ownerId; | ||||
|       json[r'deviceId'] = this.deviceId; | ||||
|       json[r'originalPath'] = this.originalPath; | ||||
|       json[r'originalFileName'] = this.originalFileName; | ||||
|       json[r'resized'] = this.resized; | ||||
|     if (this.thumbhash != null) { | ||||
|       json[r'thumbhash'] = this.thumbhash; | ||||
|     } else { | ||||
|     //  json[r'thumbhash'] = null; | ||||
|     } | ||||
|       json[r'fileCreatedAt'] = this.fileCreatedAt.toUtc().toIso8601String(); | ||||
|       json[r'fileModifiedAt'] = this.fileModifiedAt.toUtc().toIso8601String(); | ||||
|       json[r'updatedAt'] = this.updatedAt.toUtc().toIso8601String(); | ||||
|       json[r'isFavorite'] = this.isFavorite; | ||||
|       json[r'isArchived'] = this.isArchived; | ||||
|       json[r'duration'] = this.duration; | ||||
|     if (this.exifInfo != null) { | ||||
|       json[r'exifInfo'] = this.exifInfo; | ||||
|     } else { | ||||
|     //  json[r'exifInfo'] = null; | ||||
|     } | ||||
|     if (this.smartInfo != null) { | ||||
|       json[r'smartInfo'] = this.smartInfo; | ||||
|     } else { | ||||
|     //  json[r'smartInfo'] = null; | ||||
|     } | ||||
|       json[r'fileCreatedAt'] = this.fileCreatedAt.toUtc().toIso8601String(); | ||||
|       json[r'fileModifiedAt'] = this.fileModifiedAt.toUtc().toIso8601String(); | ||||
|       json[r'id'] = this.id; | ||||
|       json[r'isArchived'] = this.isArchived; | ||||
|       json[r'isFavorite'] = this.isFavorite; | ||||
|     if (this.livePhotoVideoId != null) { | ||||
|       json[r'livePhotoVideoId'] = this.livePhotoVideoId; | ||||
|     } else { | ||||
|     //  json[r'livePhotoVideoId'] = null; | ||||
|     } | ||||
|       json[r'tags'] = this.tags; | ||||
|       json[r'originalFileName'] = this.originalFileName; | ||||
|       json[r'originalPath'] = this.originalPath; | ||||
|       json[r'ownerId'] = this.ownerId; | ||||
|       json[r'people'] = this.people; | ||||
|       json[r'checksum'] = this.checksum; | ||||
|       json[r'resized'] = this.resized; | ||||
|     if (this.smartInfo != null) { | ||||
|       json[r'smartInfo'] = this.smartInfo; | ||||
|     } else { | ||||
|     //  json[r'smartInfo'] = null; | ||||
|     } | ||||
|       json[r'tags'] = this.tags; | ||||
|     if (this.thumbhash != null) { | ||||
|       json[r'thumbhash'] = this.thumbhash; | ||||
|     } else { | ||||
|     //  json[r'thumbhash'] = null; | ||||
|     } | ||||
|       json[r'type'] = this.type; | ||||
|       json[r'updatedAt'] = this.updatedAt.toUtc().toIso8601String(); | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -194,27 +194,27 @@ class AssetResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return AssetResponseDto( | ||||
|         type: AssetTypeEnum.fromJson(json[r'type'])!, | ||||
|         id: mapValueOfType<String>(json, r'id')!, | ||||
|         checksum: mapValueOfType<String>(json, r'checksum')!, | ||||
|         deviceAssetId: mapValueOfType<String>(json, r'deviceAssetId')!, | ||||
|         ownerId: mapValueOfType<String>(json, r'ownerId')!, | ||||
|         deviceId: mapValueOfType<String>(json, r'deviceId')!, | ||||
|         originalPath: mapValueOfType<String>(json, r'originalPath')!, | ||||
|         originalFileName: mapValueOfType<String>(json, r'originalFileName')!, | ||||
|         resized: mapValueOfType<bool>(json, r'resized')!, | ||||
|         thumbhash: mapValueOfType<String>(json, r'thumbhash'), | ||||
|         fileCreatedAt: mapDateTime(json, r'fileCreatedAt', r'')!, | ||||
|         fileModifiedAt: mapDateTime(json, r'fileModifiedAt', r'')!, | ||||
|         updatedAt: mapDateTime(json, r'updatedAt', r'')!, | ||||
|         isFavorite: mapValueOfType<bool>(json, r'isFavorite')!, | ||||
|         isArchived: mapValueOfType<bool>(json, r'isArchived')!, | ||||
|         duration: mapValueOfType<String>(json, r'duration')!, | ||||
|         exifInfo: ExifResponseDto.fromJson(json[r'exifInfo']), | ||||
|         smartInfo: SmartInfoResponseDto.fromJson(json[r'smartInfo']), | ||||
|         fileCreatedAt: mapDateTime(json, r'fileCreatedAt', r'')!, | ||||
|         fileModifiedAt: mapDateTime(json, r'fileModifiedAt', r'')!, | ||||
|         id: mapValueOfType<String>(json, r'id')!, | ||||
|         isArchived: mapValueOfType<bool>(json, r'isArchived')!, | ||||
|         isFavorite: mapValueOfType<bool>(json, r'isFavorite')!, | ||||
|         livePhotoVideoId: mapValueOfType<String>(json, r'livePhotoVideoId'), | ||||
|         tags: TagResponseDto.listFromJson(json[r'tags']), | ||||
|         originalFileName: mapValueOfType<String>(json, r'originalFileName')!, | ||||
|         originalPath: mapValueOfType<String>(json, r'originalPath')!, | ||||
|         ownerId: mapValueOfType<String>(json, r'ownerId')!, | ||||
|         people: PersonResponseDto.listFromJson(json[r'people']), | ||||
|         checksum: mapValueOfType<String>(json, r'checksum')!, | ||||
|         resized: mapValueOfType<bool>(json, r'resized')!, | ||||
|         smartInfo: SmartInfoResponseDto.fromJson(json[r'smartInfo']), | ||||
|         tags: TagResponseDto.listFromJson(json[r'tags']), | ||||
|         thumbhash: mapValueOfType<String>(json, r'thumbhash'), | ||||
|         type: AssetTypeEnum.fromJson(json[r'type'])!, | ||||
|         updatedAt: mapDateTime(json, r'updatedAt', r'')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -262,22 +262,22 @@ class AssetResponseDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'type', | ||||
|     'id', | ||||
|     'checksum', | ||||
|     'deviceAssetId', | ||||
|     'ownerId', | ||||
|     'deviceId', | ||||
|     'originalPath', | ||||
|     'originalFileName', | ||||
|     'resized', | ||||
|     'thumbhash', | ||||
|     'duration', | ||||
|     'fileCreatedAt', | ||||
|     'fileModifiedAt', | ||||
|     'updatedAt', | ||||
|     'isFavorite', | ||||
|     'id', | ||||
|     'isArchived', | ||||
|     'duration', | ||||
|     'checksum', | ||||
|     'isFavorite', | ||||
|     'originalFileName', | ||||
|     'originalPath', | ||||
|     'ownerId', | ||||
|     'resized', | ||||
|     'thumbhash', | ||||
|     'type', | ||||
|     'updatedAt', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
| @@ -14,37 +14,37 @@ class AssetStatsResponseDto { | ||||
|   /// Returns a new [AssetStatsResponseDto] instance. | ||||
|   AssetStatsResponseDto({ | ||||
|     required this.images, | ||||
|     required this.videos, | ||||
|     required this.total, | ||||
|     required this.videos, | ||||
|   }); | ||||
| 
 | ||||
|   int images; | ||||
| 
 | ||||
|   int videos; | ||||
| 
 | ||||
|   int total; | ||||
| 
 | ||||
|   int videos; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is AssetStatsResponseDto && | ||||
|      other.images == images && | ||||
|      other.videos == videos && | ||||
|      other.total == total; | ||||
|      other.total == total && | ||||
|      other.videos == videos; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (images.hashCode) + | ||||
|     (videos.hashCode) + | ||||
|     (total.hashCode); | ||||
|     (total.hashCode) + | ||||
|     (videos.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'AssetStatsResponseDto[images=$images, videos=$videos, total=$total]'; | ||||
|   String toString() => 'AssetStatsResponseDto[images=$images, total=$total, videos=$videos]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'images'] = this.images; | ||||
|       json[r'videos'] = this.videos; | ||||
|       json[r'total'] = this.total; | ||||
|       json[r'videos'] = this.videos; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -57,8 +57,8 @@ class AssetStatsResponseDto { | ||||
| 
 | ||||
|       return AssetStatsResponseDto( | ||||
|         images: mapValueOfType<int>(json, r'images')!, | ||||
|         videos: mapValueOfType<int>(json, r'videos')!, | ||||
|         total: mapValueOfType<int>(json, r'total')!, | ||||
|         videos: mapValueOfType<int>(json, r'videos')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -107,8 +107,8 @@ class AssetStatsResponseDto { | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'images', | ||||
|     'videos', | ||||
|     'total', | ||||
|     'videos', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
| @@ -13,56 +13,56 @@ part of openapi.api; | ||||
| class AuthDeviceResponseDto { | ||||
|   /// Returns a new [AuthDeviceResponseDto] instance. | ||||
|   AuthDeviceResponseDto({ | ||||
|     required this.id, | ||||
|     required this.createdAt, | ||||
|     required this.updatedAt, | ||||
|     required this.current, | ||||
|     required this.deviceType, | ||||
|     required this.deviceOS, | ||||
|     required this.deviceType, | ||||
|     required this.id, | ||||
|     required this.updatedAt, | ||||
|   }); | ||||
| 
 | ||||
|   String id; | ||||
| 
 | ||||
|   String createdAt; | ||||
| 
 | ||||
|   String updatedAt; | ||||
| 
 | ||||
|   bool current; | ||||
| 
 | ||||
|   String deviceType; | ||||
| 
 | ||||
|   String deviceOS; | ||||
| 
 | ||||
|   String deviceType; | ||||
| 
 | ||||
|   String id; | ||||
| 
 | ||||
|   String updatedAt; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is AuthDeviceResponseDto && | ||||
|      other.id == id && | ||||
|      other.createdAt == createdAt && | ||||
|      other.updatedAt == updatedAt && | ||||
|      other.current == current && | ||||
|      other.deviceOS == deviceOS && | ||||
|      other.deviceType == deviceType && | ||||
|      other.deviceOS == deviceOS; | ||||
|      other.id == id && | ||||
|      other.updatedAt == updatedAt; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (id.hashCode) + | ||||
|     (createdAt.hashCode) + | ||||
|     (updatedAt.hashCode) + | ||||
|     (current.hashCode) + | ||||
|     (deviceOS.hashCode) + | ||||
|     (deviceType.hashCode) + | ||||
|     (deviceOS.hashCode); | ||||
|     (id.hashCode) + | ||||
|     (updatedAt.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'AuthDeviceResponseDto[id=$id, createdAt=$createdAt, updatedAt=$updatedAt, current=$current, deviceType=$deviceType, deviceOS=$deviceOS]'; | ||||
|   String toString() => 'AuthDeviceResponseDto[createdAt=$createdAt, current=$current, deviceOS=$deviceOS, deviceType=$deviceType, id=$id, updatedAt=$updatedAt]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'id'] = this.id; | ||||
|       json[r'createdAt'] = this.createdAt; | ||||
|       json[r'updatedAt'] = this.updatedAt; | ||||
|       json[r'current'] = this.current; | ||||
|       json[r'deviceType'] = this.deviceType; | ||||
|       json[r'deviceOS'] = this.deviceOS; | ||||
|       json[r'deviceType'] = this.deviceType; | ||||
|       json[r'id'] = this.id; | ||||
|       json[r'updatedAt'] = this.updatedAt; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -74,12 +74,12 @@ class AuthDeviceResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return AuthDeviceResponseDto( | ||||
|         id: mapValueOfType<String>(json, r'id')!, | ||||
|         createdAt: mapValueOfType<String>(json, r'createdAt')!, | ||||
|         updatedAt: mapValueOfType<String>(json, r'updatedAt')!, | ||||
|         current: mapValueOfType<bool>(json, r'current')!, | ||||
|         deviceType: mapValueOfType<String>(json, r'deviceType')!, | ||||
|         deviceOS: mapValueOfType<String>(json, r'deviceOS')!, | ||||
|         deviceType: mapValueOfType<String>(json, r'deviceType')!, | ||||
|         id: mapValueOfType<String>(json, r'id')!, | ||||
|         updatedAt: mapValueOfType<String>(json, r'updatedAt')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -127,12 +127,12 @@ class AuthDeviceResponseDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'id', | ||||
|     'createdAt', | ||||
|     'updatedAt', | ||||
|     'current', | ||||
|     'deviceType', | ||||
|     'deviceOS', | ||||
|     'deviceType', | ||||
|     'id', | ||||
|     'updatedAt', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										22
									
								
								mobile/openapi/lib/model/bulk_id_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										22
									
								
								mobile/openapi/lib/model/bulk_id_response_dto.dart
									
									
									
										generated
									
									
									
								
							| @@ -13,42 +13,42 @@ part of openapi.api; | ||||
| class BulkIdResponseDto { | ||||
|   /// Returns a new [BulkIdResponseDto] instance. | ||||
|   BulkIdResponseDto({ | ||||
|     this.error, | ||||
|     required this.id, | ||||
|     required this.success, | ||||
|     this.error, | ||||
|   }); | ||||
| 
 | ||||
|   BulkIdResponseDtoErrorEnum? error; | ||||
| 
 | ||||
|   String id; | ||||
| 
 | ||||
|   bool success; | ||||
| 
 | ||||
|   BulkIdResponseDtoErrorEnum? error; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is BulkIdResponseDto && | ||||
|      other.error == error && | ||||
|      other.id == id && | ||||
|      other.success == success && | ||||
|      other.error == error; | ||||
|      other.success == success; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (error == null ? 0 : error!.hashCode) + | ||||
|     (id.hashCode) + | ||||
|     (success.hashCode) + | ||||
|     (error == null ? 0 : error!.hashCode); | ||||
|     (success.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'BulkIdResponseDto[id=$id, success=$success, error=$error]'; | ||||
|   String toString() => 'BulkIdResponseDto[error=$error, id=$id, success=$success]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'id'] = this.id; | ||||
|       json[r'success'] = this.success; | ||||
|     if (this.error != null) { | ||||
|       json[r'error'] = this.error; | ||||
|     } else { | ||||
|     //  json[r'error'] = null; | ||||
|     } | ||||
|       json[r'id'] = this.id; | ||||
|       json[r'success'] = this.success; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -60,9 +60,9 @@ class BulkIdResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return BulkIdResponseDto( | ||||
|         error: BulkIdResponseDtoErrorEnum.fromJson(json[r'error']), | ||||
|         id: mapValueOfType<String>(json, r'id')!, | ||||
|         success: mapValueOfType<bool>(json, r'success')!, | ||||
|         error: BulkIdResponseDtoErrorEnum.fromJson(json[r'error']), | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
|   | ||||
							
								
								
									
										22
									
								
								mobile/openapi/lib/model/change_password_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										22
									
								
								mobile/openapi/lib/model/change_password_dto.dart
									
									
									
										generated
									
									
									
								
							| @@ -13,32 +13,32 @@ part of openapi.api; | ||||
| class ChangePasswordDto { | ||||
|   /// Returns a new [ChangePasswordDto] instance. | ||||
|   ChangePasswordDto({ | ||||
|     required this.password, | ||||
|     required this.newPassword, | ||||
|     required this.password, | ||||
|   }); | ||||
| 
 | ||||
|   String password; | ||||
| 
 | ||||
|   String newPassword; | ||||
| 
 | ||||
|   String password; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is ChangePasswordDto && | ||||
|      other.password == password && | ||||
|      other.newPassword == newPassword; | ||||
|      other.newPassword == newPassword && | ||||
|      other.password == password; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (password.hashCode) + | ||||
|     (newPassword.hashCode); | ||||
|     (newPassword.hashCode) + | ||||
|     (password.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'ChangePasswordDto[password=$password, newPassword=$newPassword]'; | ||||
|   String toString() => 'ChangePasswordDto[newPassword=$newPassword, password=$password]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'password'] = this.password; | ||||
|       json[r'newPassword'] = this.newPassword; | ||||
|       json[r'password'] = this.password; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -50,8 +50,8 @@ class ChangePasswordDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return ChangePasswordDto( | ||||
|         password: mapValueOfType<String>(json, r'password')!, | ||||
|         newPassword: mapValueOfType<String>(json, r'newPassword')!, | ||||
|         password: mapValueOfType<String>(json, r'password')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -99,8 +99,8 @@ class ChangePasswordDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'password', | ||||
|     'newPassword', | ||||
|     'password', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
| @@ -13,12 +13,10 @@ part of openapi.api; | ||||
| class CheckDuplicateAssetResponseDto { | ||||
|   /// Returns a new [CheckDuplicateAssetResponseDto] instance. | ||||
|   CheckDuplicateAssetResponseDto({ | ||||
|     required this.isExist, | ||||
|     this.id, | ||||
|     required this.isExist, | ||||
|   }); | ||||
| 
 | ||||
|   bool isExist; | ||||
| 
 | ||||
|   /// | ||||
|   /// Please note: This property should have been non-nullable! Since the specification file | ||||
|   /// does not include a default value (using the "default:" property), however, the generated | ||||
| @@ -27,28 +25,30 @@ class CheckDuplicateAssetResponseDto { | ||||
|   /// | ||||
|   String? id; | ||||
| 
 | ||||
|   bool isExist; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is CheckDuplicateAssetResponseDto && | ||||
|      other.isExist == isExist && | ||||
|      other.id == id; | ||||
|      other.id == id && | ||||
|      other.isExist == isExist; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (isExist.hashCode) + | ||||
|     (id == null ? 0 : id!.hashCode); | ||||
|     (id == null ? 0 : id!.hashCode) + | ||||
|     (isExist.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'CheckDuplicateAssetResponseDto[isExist=$isExist, id=$id]'; | ||||
|   String toString() => 'CheckDuplicateAssetResponseDto[id=$id, isExist=$isExist]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'isExist'] = this.isExist; | ||||
|     if (this.id != null) { | ||||
|       json[r'id'] = this.id; | ||||
|     } else { | ||||
|     //  json[r'id'] = null; | ||||
|     } | ||||
|       json[r'isExist'] = this.isExist; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -60,8 +60,8 @@ class CheckDuplicateAssetResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return CheckDuplicateAssetResponseDto( | ||||
|         isExist: mapValueOfType<bool>(json, r'isExist')!, | ||||
|         id: mapValueOfType<String>(json, r'id'), | ||||
|         isExist: mapValueOfType<bool>(json, r'isExist')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
|   | ||||
							
								
								
									
										24
									
								
								mobile/openapi/lib/model/create_album_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										24
									
								
								mobile/openapi/lib/model/create_album_dto.dart
									
									
									
										generated
									
									
									
								
							| @@ -14,37 +14,37 @@ class CreateAlbumDto { | ||||
|   /// Returns a new [CreateAlbumDto] instance. | ||||
|   CreateAlbumDto({ | ||||
|     required this.albumName, | ||||
|     this.sharedWithUserIds = const [], | ||||
|     this.assetIds = const [], | ||||
|     this.sharedWithUserIds = const [], | ||||
|   }); | ||||
| 
 | ||||
|   String albumName; | ||||
| 
 | ||||
|   List<String> sharedWithUserIds; | ||||
| 
 | ||||
|   List<String> assetIds; | ||||
| 
 | ||||
|   List<String> sharedWithUserIds; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is CreateAlbumDto && | ||||
|      other.albumName == albumName && | ||||
|      other.sharedWithUserIds == sharedWithUserIds && | ||||
|      other.assetIds == assetIds; | ||||
|      other.assetIds == assetIds && | ||||
|      other.sharedWithUserIds == sharedWithUserIds; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (albumName.hashCode) + | ||||
|     (sharedWithUserIds.hashCode) + | ||||
|     (assetIds.hashCode); | ||||
|     (assetIds.hashCode) + | ||||
|     (sharedWithUserIds.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'CreateAlbumDto[albumName=$albumName, sharedWithUserIds=$sharedWithUserIds, assetIds=$assetIds]'; | ||||
|   String toString() => 'CreateAlbumDto[albumName=$albumName, assetIds=$assetIds, sharedWithUserIds=$sharedWithUserIds]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'albumName'] = this.albumName; | ||||
|       json[r'sharedWithUserIds'] = this.sharedWithUserIds; | ||||
|       json[r'assetIds'] = this.assetIds; | ||||
|       json[r'sharedWithUserIds'] = this.sharedWithUserIds; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -57,12 +57,12 @@ class CreateAlbumDto { | ||||
| 
 | ||||
|       return CreateAlbumDto( | ||||
|         albumName: mapValueOfType<String>(json, r'albumName')!, | ||||
|         sharedWithUserIds: json[r'sharedWithUserIds'] is Iterable | ||||
|             ? (json[r'sharedWithUserIds'] as Iterable).cast<String>().toList(growable: false) | ||||
|             : const [], | ||||
|         assetIds: json[r'assetIds'] is Iterable | ||||
|             ? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false) | ||||
|             : const [], | ||||
|         sharedWithUserIds: json[r'sharedWithUserIds'] is Iterable | ||||
|             ? (json[r'sharedWithUserIds'] as Iterable).cast<String>().toList(growable: false) | ||||
|             : const [], | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
|   | ||||
| @@ -13,32 +13,32 @@ part of openapi.api; | ||||
| class CreateProfileImageResponseDto { | ||||
|   /// Returns a new [CreateProfileImageResponseDto] instance. | ||||
|   CreateProfileImageResponseDto({ | ||||
|     required this.userId, | ||||
|     required this.profileImagePath, | ||||
|     required this.userId, | ||||
|   }); | ||||
| 
 | ||||
|   String userId; | ||||
| 
 | ||||
|   String profileImagePath; | ||||
| 
 | ||||
|   String userId; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is CreateProfileImageResponseDto && | ||||
|      other.userId == userId && | ||||
|      other.profileImagePath == profileImagePath; | ||||
|      other.profileImagePath == profileImagePath && | ||||
|      other.userId == userId; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (userId.hashCode) + | ||||
|     (profileImagePath.hashCode); | ||||
|     (profileImagePath.hashCode) + | ||||
|     (userId.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'CreateProfileImageResponseDto[userId=$userId, profileImagePath=$profileImagePath]'; | ||||
|   String toString() => 'CreateProfileImageResponseDto[profileImagePath=$profileImagePath, userId=$userId]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'userId'] = this.userId; | ||||
|       json[r'profileImagePath'] = this.profileImagePath; | ||||
|       json[r'userId'] = this.userId; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -50,8 +50,8 @@ class CreateProfileImageResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return CreateProfileImageResponseDto( | ||||
|         userId: mapValueOfType<String>(json, r'userId')!, | ||||
|         profileImagePath: mapValueOfType<String>(json, r'profileImagePath')!, | ||||
|         userId: mapValueOfType<String>(json, r'userId')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -99,8 +99,8 @@ class CreateProfileImageResponseDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'userId', | ||||
|     'profileImagePath', | ||||
|     'userId', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										22
									
								
								mobile/openapi/lib/model/create_tag_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										22
									
								
								mobile/openapi/lib/model/create_tag_dto.dart
									
									
									
										generated
									
									
									
								
							| @@ -13,32 +13,32 @@ part of openapi.api; | ||||
| class CreateTagDto { | ||||
|   /// Returns a new [CreateTagDto] instance. | ||||
|   CreateTagDto({ | ||||
|     required this.type, | ||||
|     required this.name, | ||||
|     required this.type, | ||||
|   }); | ||||
| 
 | ||||
|   TagTypeEnum type; | ||||
| 
 | ||||
|   String name; | ||||
| 
 | ||||
|   TagTypeEnum type; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is CreateTagDto && | ||||
|      other.type == type && | ||||
|      other.name == name; | ||||
|      other.name == name && | ||||
|      other.type == type; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (type.hashCode) + | ||||
|     (name.hashCode); | ||||
|     (name.hashCode) + | ||||
|     (type.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'CreateTagDto[type=$type, name=$name]'; | ||||
|   String toString() => 'CreateTagDto[name=$name, type=$type]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'type'] = this.type; | ||||
|       json[r'name'] = this.name; | ||||
|       json[r'type'] = this.type; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -50,8 +50,8 @@ class CreateTagDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return CreateTagDto( | ||||
|         type: TagTypeEnum.fromJson(json[r'type'])!, | ||||
|         name: mapValueOfType<String>(json, r'name')!, | ||||
|         type: TagTypeEnum.fromJson(json[r'type'])!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -99,8 +99,8 @@ class CreateTagDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'type', | ||||
|     'name', | ||||
|     'type', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										46
									
								
								mobile/openapi/lib/model/create_user_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										46
									
								
								mobile/openapi/lib/model/create_user_dto.dart
									
									
									
										generated
									
									
									
								
							| @@ -14,62 +14,62 @@ class CreateUserDto { | ||||
|   /// Returns a new [CreateUserDto] instance. | ||||
|   CreateUserDto({ | ||||
|     required this.email, | ||||
|     required this.password, | ||||
|     this.externalPath, | ||||
|     required this.firstName, | ||||
|     required this.lastName, | ||||
|     required this.password, | ||||
|     this.storageLabel, | ||||
|     this.externalPath, | ||||
|   }); | ||||
| 
 | ||||
|   String email; | ||||
| 
 | ||||
|   String password; | ||||
|   String? externalPath; | ||||
| 
 | ||||
|   String firstName; | ||||
| 
 | ||||
|   String lastName; | ||||
| 
 | ||||
|   String? storageLabel; | ||||
|   String password; | ||||
| 
 | ||||
|   String? externalPath; | ||||
|   String? storageLabel; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is CreateUserDto && | ||||
|      other.email == email && | ||||
|      other.password == password && | ||||
|      other.externalPath == externalPath && | ||||
|      other.firstName == firstName && | ||||
|      other.lastName == lastName && | ||||
|      other.storageLabel == storageLabel && | ||||
|      other.externalPath == externalPath; | ||||
|      other.password == password && | ||||
|      other.storageLabel == storageLabel; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (email.hashCode) + | ||||
|     (password.hashCode) + | ||||
|     (externalPath == null ? 0 : externalPath!.hashCode) + | ||||
|     (firstName.hashCode) + | ||||
|     (lastName.hashCode) + | ||||
|     (storageLabel == null ? 0 : storageLabel!.hashCode) + | ||||
|     (externalPath == null ? 0 : externalPath!.hashCode); | ||||
|     (password.hashCode) + | ||||
|     (storageLabel == null ? 0 : storageLabel!.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'CreateUserDto[email=$email, password=$password, firstName=$firstName, lastName=$lastName, storageLabel=$storageLabel, externalPath=$externalPath]'; | ||||
|   String toString() => 'CreateUserDto[email=$email, externalPath=$externalPath, firstName=$firstName, lastName=$lastName, password=$password, storageLabel=$storageLabel]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'email'] = this.email; | ||||
|       json[r'password'] = this.password; | ||||
|       json[r'firstName'] = this.firstName; | ||||
|       json[r'lastName'] = this.lastName; | ||||
|     if (this.storageLabel != null) { | ||||
|       json[r'storageLabel'] = this.storageLabel; | ||||
|     } else { | ||||
|     //  json[r'storageLabel'] = null; | ||||
|     } | ||||
|     if (this.externalPath != null) { | ||||
|       json[r'externalPath'] = this.externalPath; | ||||
|     } else { | ||||
|     //  json[r'externalPath'] = null; | ||||
|     } | ||||
|       json[r'firstName'] = this.firstName; | ||||
|       json[r'lastName'] = this.lastName; | ||||
|       json[r'password'] = this.password; | ||||
|     if (this.storageLabel != null) { | ||||
|       json[r'storageLabel'] = this.storageLabel; | ||||
|     } else { | ||||
|     //  json[r'storageLabel'] = null; | ||||
|     } | ||||
|     return json; | ||||
|   } | ||||
| @@ -83,11 +83,11 @@ class CreateUserDto { | ||||
| 
 | ||||
|       return CreateUserDto( | ||||
|         email: mapValueOfType<String>(json, r'email')!, | ||||
|         password: mapValueOfType<String>(json, r'password')!, | ||||
|         externalPath: mapValueOfType<String>(json, r'externalPath'), | ||||
|         firstName: mapValueOfType<String>(json, r'firstName')!, | ||||
|         lastName: mapValueOfType<String>(json, r'lastName')!, | ||||
|         password: mapValueOfType<String>(json, r'password')!, | ||||
|         storageLabel: mapValueOfType<String>(json, r'storageLabel'), | ||||
|         externalPath: mapValueOfType<String>(json, r'externalPath'), | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -136,9 +136,9 @@ class CreateUserDto { | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'email', | ||||
|     'password', | ||||
|     'firstName', | ||||
|     'lastName', | ||||
|     'password', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
| @@ -13,50 +13,50 @@ part of openapi.api; | ||||
| class CuratedLocationsResponseDto { | ||||
|   /// Returns a new [CuratedLocationsResponseDto] instance. | ||||
|   CuratedLocationsResponseDto({ | ||||
|     required this.id, | ||||
|     required this.city, | ||||
|     required this.resizePath, | ||||
|     required this.deviceAssetId, | ||||
|     required this.deviceId, | ||||
|     required this.id, | ||||
|     required this.resizePath, | ||||
|   }); | ||||
| 
 | ||||
|   String id; | ||||
| 
 | ||||
|   String city; | ||||
| 
 | ||||
|   String resizePath; | ||||
| 
 | ||||
|   String deviceAssetId; | ||||
| 
 | ||||
|   String deviceId; | ||||
| 
 | ||||
|   String id; | ||||
| 
 | ||||
|   String resizePath; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is CuratedLocationsResponseDto && | ||||
|      other.id == id && | ||||
|      other.city == city && | ||||
|      other.resizePath == resizePath && | ||||
|      other.deviceAssetId == deviceAssetId && | ||||
|      other.deviceId == deviceId; | ||||
|      other.deviceId == deviceId && | ||||
|      other.id == id && | ||||
|      other.resizePath == resizePath; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (id.hashCode) + | ||||
|     (city.hashCode) + | ||||
|     (resizePath.hashCode) + | ||||
|     (deviceAssetId.hashCode) + | ||||
|     (deviceId.hashCode); | ||||
|     (deviceId.hashCode) + | ||||
|     (id.hashCode) + | ||||
|     (resizePath.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'CuratedLocationsResponseDto[id=$id, city=$city, resizePath=$resizePath, deviceAssetId=$deviceAssetId, deviceId=$deviceId]'; | ||||
|   String toString() => 'CuratedLocationsResponseDto[city=$city, deviceAssetId=$deviceAssetId, deviceId=$deviceId, id=$id, resizePath=$resizePath]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'id'] = this.id; | ||||
|       json[r'city'] = this.city; | ||||
|       json[r'resizePath'] = this.resizePath; | ||||
|       json[r'deviceAssetId'] = this.deviceAssetId; | ||||
|       json[r'deviceId'] = this.deviceId; | ||||
|       json[r'id'] = this.id; | ||||
|       json[r'resizePath'] = this.resizePath; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -68,11 +68,11 @@ class CuratedLocationsResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return CuratedLocationsResponseDto( | ||||
|         id: mapValueOfType<String>(json, r'id')!, | ||||
|         city: mapValueOfType<String>(json, r'city')!, | ||||
|         resizePath: mapValueOfType<String>(json, r'resizePath')!, | ||||
|         deviceAssetId: mapValueOfType<String>(json, r'deviceAssetId')!, | ||||
|         deviceId: mapValueOfType<String>(json, r'deviceId')!, | ||||
|         id: mapValueOfType<String>(json, r'id')!, | ||||
|         resizePath: mapValueOfType<String>(json, r'resizePath')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -120,11 +120,11 @@ class CuratedLocationsResponseDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'id', | ||||
|     'city', | ||||
|     'resizePath', | ||||
|     'deviceAssetId', | ||||
|     'deviceId', | ||||
|     'id', | ||||
|     'resizePath', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
| @@ -13,50 +13,50 @@ part of openapi.api; | ||||
| class CuratedObjectsResponseDto { | ||||
|   /// Returns a new [CuratedObjectsResponseDto] instance. | ||||
|   CuratedObjectsResponseDto({ | ||||
|     required this.deviceAssetId, | ||||
|     required this.deviceId, | ||||
|     required this.id, | ||||
|     required this.object, | ||||
|     required this.resizePath, | ||||
|     required this.deviceAssetId, | ||||
|     required this.deviceId, | ||||
|   }); | ||||
| 
 | ||||
|   String deviceAssetId; | ||||
| 
 | ||||
|   String deviceId; | ||||
| 
 | ||||
|   String id; | ||||
| 
 | ||||
|   String object; | ||||
| 
 | ||||
|   String resizePath; | ||||
| 
 | ||||
|   String deviceAssetId; | ||||
| 
 | ||||
|   String deviceId; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is CuratedObjectsResponseDto && | ||||
|      other.deviceAssetId == deviceAssetId && | ||||
|      other.deviceId == deviceId && | ||||
|      other.id == id && | ||||
|      other.object == object && | ||||
|      other.resizePath == resizePath && | ||||
|      other.deviceAssetId == deviceAssetId && | ||||
|      other.deviceId == deviceId; | ||||
|      other.resizePath == resizePath; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (deviceAssetId.hashCode) + | ||||
|     (deviceId.hashCode) + | ||||
|     (id.hashCode) + | ||||
|     (object.hashCode) + | ||||
|     (resizePath.hashCode) + | ||||
|     (deviceAssetId.hashCode) + | ||||
|     (deviceId.hashCode); | ||||
|     (resizePath.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'CuratedObjectsResponseDto[id=$id, object=$object, resizePath=$resizePath, deviceAssetId=$deviceAssetId, deviceId=$deviceId]'; | ||||
|   String toString() => 'CuratedObjectsResponseDto[deviceAssetId=$deviceAssetId, deviceId=$deviceId, id=$id, object=$object, resizePath=$resizePath]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'deviceAssetId'] = this.deviceAssetId; | ||||
|       json[r'deviceId'] = this.deviceId; | ||||
|       json[r'id'] = this.id; | ||||
|       json[r'object'] = this.object; | ||||
|       json[r'resizePath'] = this.resizePath; | ||||
|       json[r'deviceAssetId'] = this.deviceAssetId; | ||||
|       json[r'deviceId'] = this.deviceId; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -68,11 +68,11 @@ class CuratedObjectsResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return CuratedObjectsResponseDto( | ||||
|         deviceAssetId: mapValueOfType<String>(json, r'deviceAssetId')!, | ||||
|         deviceId: mapValueOfType<String>(json, r'deviceId')!, | ||||
|         id: mapValueOfType<String>(json, r'id')!, | ||||
|         object: mapValueOfType<String>(json, r'object')!, | ||||
|         resizePath: mapValueOfType<String>(json, r'resizePath')!, | ||||
|         deviceAssetId: mapValueOfType<String>(json, r'deviceAssetId')!, | ||||
|         deviceId: mapValueOfType<String>(json, r'deviceId')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -120,11 +120,11 @@ class CuratedObjectsResponseDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'deviceAssetId', | ||||
|     'deviceId', | ||||
|     'id', | ||||
|     'object', | ||||
|     'resizePath', | ||||
|     'deviceAssetId', | ||||
|     'deviceId', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
| @@ -13,32 +13,32 @@ part of openapi.api; | ||||
| class DeleteAssetResponseDto { | ||||
|   /// Returns a new [DeleteAssetResponseDto] instance. | ||||
|   DeleteAssetResponseDto({ | ||||
|     required this.status, | ||||
|     required this.id, | ||||
|     required this.status, | ||||
|   }); | ||||
| 
 | ||||
|   DeleteAssetStatus status; | ||||
| 
 | ||||
|   String id; | ||||
| 
 | ||||
|   DeleteAssetStatus status; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is DeleteAssetResponseDto && | ||||
|      other.status == status && | ||||
|      other.id == id; | ||||
|      other.id == id && | ||||
|      other.status == status; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (status.hashCode) + | ||||
|     (id.hashCode); | ||||
|     (id.hashCode) + | ||||
|     (status.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'DeleteAssetResponseDto[status=$status, id=$id]'; | ||||
|   String toString() => 'DeleteAssetResponseDto[id=$id, status=$status]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'status'] = this.status; | ||||
|       json[r'id'] = this.id; | ||||
|       json[r'status'] = this.status; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -50,8 +50,8 @@ class DeleteAssetResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return DeleteAssetResponseDto( | ||||
|         status: DeleteAssetStatus.fromJson(json[r'status'])!, | ||||
|         id: mapValueOfType<String>(json, r'id')!, | ||||
|         status: DeleteAssetStatus.fromJson(json[r'status'])!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -99,8 +99,8 @@ class DeleteAssetResponseDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'status', | ||||
|     'id', | ||||
|     'status', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										22
									
								
								mobile/openapi/lib/model/download_archive_info.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										22
									
								
								mobile/openapi/lib/model/download_archive_info.dart
									
									
									
										generated
									
									
									
								
							| @@ -13,32 +13,32 @@ part of openapi.api; | ||||
| class DownloadArchiveInfo { | ||||
|   /// Returns a new [DownloadArchiveInfo] instance. | ||||
|   DownloadArchiveInfo({ | ||||
|     required this.size, | ||||
|     this.assetIds = const [], | ||||
|     required this.size, | ||||
|   }); | ||||
| 
 | ||||
|   int size; | ||||
| 
 | ||||
|   List<String> assetIds; | ||||
| 
 | ||||
|   int size; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is DownloadArchiveInfo && | ||||
|      other.size == size && | ||||
|      other.assetIds == assetIds; | ||||
|      other.assetIds == assetIds && | ||||
|      other.size == size; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (size.hashCode) + | ||||
|     (assetIds.hashCode); | ||||
|     (assetIds.hashCode) + | ||||
|     (size.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'DownloadArchiveInfo[size=$size, assetIds=$assetIds]'; | ||||
|   String toString() => 'DownloadArchiveInfo[assetIds=$assetIds, size=$size]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'size'] = this.size; | ||||
|       json[r'assetIds'] = this.assetIds; | ||||
|       json[r'size'] = this.size; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -50,10 +50,10 @@ class DownloadArchiveInfo { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return DownloadArchiveInfo( | ||||
|         size: mapValueOfType<int>(json, r'size')!, | ||||
|         assetIds: json[r'assetIds'] is Iterable | ||||
|             ? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false) | ||||
|             : const [], | ||||
|         size: mapValueOfType<int>(json, r'size')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -101,8 +101,8 @@ class DownloadArchiveInfo { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'size', | ||||
|     'assetIds', | ||||
|     'size', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										22
									
								
								mobile/openapi/lib/model/download_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										22
									
								
								mobile/openapi/lib/model/download_response_dto.dart
									
									
									
										generated
									
									
									
								
							| @@ -13,32 +13,32 @@ part of openapi.api; | ||||
| class DownloadResponseDto { | ||||
|   /// Returns a new [DownloadResponseDto] instance. | ||||
|   DownloadResponseDto({ | ||||
|     required this.totalSize, | ||||
|     this.archives = const [], | ||||
|     required this.totalSize, | ||||
|   }); | ||||
| 
 | ||||
|   int totalSize; | ||||
| 
 | ||||
|   List<DownloadArchiveInfo> archives; | ||||
| 
 | ||||
|   int totalSize; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is DownloadResponseDto && | ||||
|      other.totalSize == totalSize && | ||||
|      other.archives == archives; | ||||
|      other.archives == archives && | ||||
|      other.totalSize == totalSize; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (totalSize.hashCode) + | ||||
|     (archives.hashCode); | ||||
|     (archives.hashCode) + | ||||
|     (totalSize.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'DownloadResponseDto[totalSize=$totalSize, archives=$archives]'; | ||||
|   String toString() => 'DownloadResponseDto[archives=$archives, totalSize=$totalSize]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'totalSize'] = this.totalSize; | ||||
|       json[r'archives'] = this.archives; | ||||
|       json[r'totalSize'] = this.totalSize; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -50,8 +50,8 @@ class DownloadResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return DownloadResponseDto( | ||||
|         totalSize: mapValueOfType<int>(json, r'totalSize')!, | ||||
|         archives: DownloadArchiveInfo.listFromJson(json[r'archives']), | ||||
|         totalSize: mapValueOfType<int>(json, r'totalSize')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -99,8 +99,8 @@ class DownloadResponseDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'totalSize', | ||||
|     'archives', | ||||
|     'totalSize', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										268
									
								
								mobile/openapi/lib/model/exif_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										268
									
								
								mobile/openapi/lib/model/exif_response_dto.dart
									
									
									
										generated
									
									
									
								
							| @@ -13,180 +13,170 @@ part of openapi.api; | ||||
| class ExifResponseDto { | ||||
|   /// Returns a new [ExifResponseDto] instance. | ||||
|   ExifResponseDto({ | ||||
|     this.fileSizeInByte, | ||||
|     this.make, | ||||
|     this.model, | ||||
|     this.exifImageWidth, | ||||
|     this.exifImageHeight, | ||||
|     this.orientation, | ||||
|     this.city, | ||||
|     this.country, | ||||
|     this.dateTimeOriginal, | ||||
|     this.modifyDate, | ||||
|     this.timeZone, | ||||
|     this.lensModel, | ||||
|     this.description, | ||||
|     this.exifImageHeight, | ||||
|     this.exifImageWidth, | ||||
|     this.exposureTime, | ||||
|     this.fNumber, | ||||
|     this.fileSizeInByte, | ||||
|     this.focalLength, | ||||
|     this.iso, | ||||
|     this.exposureTime, | ||||
|     this.latitude, | ||||
|     this.lensModel, | ||||
|     this.longitude, | ||||
|     this.city, | ||||
|     this.state, | ||||
|     this.country, | ||||
|     this.description, | ||||
|     this.make, | ||||
|     this.model, | ||||
|     this.modifyDate, | ||||
|     this.orientation, | ||||
|     this.projectionType, | ||||
|     this.state, | ||||
|     this.timeZone, | ||||
|   }); | ||||
| 
 | ||||
|   int? fileSizeInByte; | ||||
|   String? city; | ||||
| 
 | ||||
|   String? make; | ||||
| 
 | ||||
|   String? model; | ||||
| 
 | ||||
|   num? exifImageWidth; | ||||
| 
 | ||||
|   num? exifImageHeight; | ||||
| 
 | ||||
|   String? orientation; | ||||
|   String? country; | ||||
| 
 | ||||
|   DateTime? dateTimeOriginal; | ||||
| 
 | ||||
|   DateTime? modifyDate; | ||||
|   String? description; | ||||
| 
 | ||||
|   String? timeZone; | ||||
|   num? exifImageHeight; | ||||
| 
 | ||||
|   String? lensModel; | ||||
|   num? exifImageWidth; | ||||
| 
 | ||||
|   String? exposureTime; | ||||
| 
 | ||||
|   num? fNumber; | ||||
| 
 | ||||
|   int? fileSizeInByte; | ||||
| 
 | ||||
|   num? focalLength; | ||||
| 
 | ||||
|   num? iso; | ||||
| 
 | ||||
|   String? exposureTime; | ||||
| 
 | ||||
|   num? latitude; | ||||
| 
 | ||||
|   String? lensModel; | ||||
| 
 | ||||
|   num? longitude; | ||||
| 
 | ||||
|   String? city; | ||||
|   String? make; | ||||
| 
 | ||||
|   String? state; | ||||
|   String? model; | ||||
| 
 | ||||
|   String? country; | ||||
|   DateTime? modifyDate; | ||||
| 
 | ||||
|   String? description; | ||||
|   String? orientation; | ||||
| 
 | ||||
|   String? projectionType; | ||||
| 
 | ||||
|   String? state; | ||||
| 
 | ||||
|   String? timeZone; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is ExifResponseDto && | ||||
|      other.fileSizeInByte == fileSizeInByte && | ||||
|      other.make == make && | ||||
|      other.model == model && | ||||
|      other.exifImageWidth == exifImageWidth && | ||||
|      other.exifImageHeight == exifImageHeight && | ||||
|      other.orientation == orientation && | ||||
|      other.city == city && | ||||
|      other.country == country && | ||||
|      other.dateTimeOriginal == dateTimeOriginal && | ||||
|      other.modifyDate == modifyDate && | ||||
|      other.timeZone == timeZone && | ||||
|      other.lensModel == lensModel && | ||||
|      other.description == description && | ||||
|      other.exifImageHeight == exifImageHeight && | ||||
|      other.exifImageWidth == exifImageWidth && | ||||
|      other.exposureTime == exposureTime && | ||||
|      other.fNumber == fNumber && | ||||
|      other.fileSizeInByte == fileSizeInByte && | ||||
|      other.focalLength == focalLength && | ||||
|      other.iso == iso && | ||||
|      other.exposureTime == exposureTime && | ||||
|      other.latitude == latitude && | ||||
|      other.lensModel == lensModel && | ||||
|      other.longitude == longitude && | ||||
|      other.city == city && | ||||
|      other.make == make && | ||||
|      other.model == model && | ||||
|      other.modifyDate == modifyDate && | ||||
|      other.orientation == orientation && | ||||
|      other.projectionType == projectionType && | ||||
|      other.state == state && | ||||
|      other.country == country && | ||||
|      other.description == description && | ||||
|      other.projectionType == projectionType; | ||||
|      other.timeZone == timeZone; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (fileSizeInByte == null ? 0 : fileSizeInByte!.hashCode) + | ||||
|     (make == null ? 0 : make!.hashCode) + | ||||
|     (model == null ? 0 : model!.hashCode) + | ||||
|     (exifImageWidth == null ? 0 : exifImageWidth!.hashCode) + | ||||
|     (exifImageHeight == null ? 0 : exifImageHeight!.hashCode) + | ||||
|     (orientation == null ? 0 : orientation!.hashCode) + | ||||
|     (city == null ? 0 : city!.hashCode) + | ||||
|     (country == null ? 0 : country!.hashCode) + | ||||
|     (dateTimeOriginal == null ? 0 : dateTimeOriginal!.hashCode) + | ||||
|     (modifyDate == null ? 0 : modifyDate!.hashCode) + | ||||
|     (timeZone == null ? 0 : timeZone!.hashCode) + | ||||
|     (lensModel == null ? 0 : lensModel!.hashCode) + | ||||
|     (description == null ? 0 : description!.hashCode) + | ||||
|     (exifImageHeight == null ? 0 : exifImageHeight!.hashCode) + | ||||
|     (exifImageWidth == null ? 0 : exifImageWidth!.hashCode) + | ||||
|     (exposureTime == null ? 0 : exposureTime!.hashCode) + | ||||
|     (fNumber == null ? 0 : fNumber!.hashCode) + | ||||
|     (fileSizeInByte == null ? 0 : fileSizeInByte!.hashCode) + | ||||
|     (focalLength == null ? 0 : focalLength!.hashCode) + | ||||
|     (iso == null ? 0 : iso!.hashCode) + | ||||
|     (exposureTime == null ? 0 : exposureTime!.hashCode) + | ||||
|     (latitude == null ? 0 : latitude!.hashCode) + | ||||
|     (lensModel == null ? 0 : lensModel!.hashCode) + | ||||
|     (longitude == null ? 0 : longitude!.hashCode) + | ||||
|     (city == null ? 0 : city!.hashCode) + | ||||
|     (make == null ? 0 : make!.hashCode) + | ||||
|     (model == null ? 0 : model!.hashCode) + | ||||
|     (modifyDate == null ? 0 : modifyDate!.hashCode) + | ||||
|     (orientation == null ? 0 : orientation!.hashCode) + | ||||
|     (projectionType == null ? 0 : projectionType!.hashCode) + | ||||
|     (state == null ? 0 : state!.hashCode) + | ||||
|     (country == null ? 0 : country!.hashCode) + | ||||
|     (description == null ? 0 : description!.hashCode) + | ||||
|     (projectionType == null ? 0 : projectionType!.hashCode); | ||||
|     (timeZone == null ? 0 : timeZone!.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'ExifResponseDto[fileSizeInByte=$fileSizeInByte, make=$make, model=$model, exifImageWidth=$exifImageWidth, exifImageHeight=$exifImageHeight, orientation=$orientation, dateTimeOriginal=$dateTimeOriginal, modifyDate=$modifyDate, timeZone=$timeZone, lensModel=$lensModel, fNumber=$fNumber, focalLength=$focalLength, iso=$iso, exposureTime=$exposureTime, latitude=$latitude, longitude=$longitude, city=$city, state=$state, country=$country, description=$description, projectionType=$projectionType]'; | ||||
|   String toString() => 'ExifResponseDto[city=$city, country=$country, dateTimeOriginal=$dateTimeOriginal, description=$description, exifImageHeight=$exifImageHeight, exifImageWidth=$exifImageWidth, exposureTime=$exposureTime, fNumber=$fNumber, fileSizeInByte=$fileSizeInByte, focalLength=$focalLength, iso=$iso, latitude=$latitude, lensModel=$lensModel, longitude=$longitude, make=$make, model=$model, modifyDate=$modifyDate, orientation=$orientation, projectionType=$projectionType, state=$state, timeZone=$timeZone]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|     if (this.fileSizeInByte != null) { | ||||
|       json[r'fileSizeInByte'] = this.fileSizeInByte; | ||||
|     if (this.city != null) { | ||||
|       json[r'city'] = this.city; | ||||
|     } else { | ||||
|     //  json[r'fileSizeInByte'] = null; | ||||
|     //  json[r'city'] = null; | ||||
|     } | ||||
|     if (this.make != null) { | ||||
|       json[r'make'] = this.make; | ||||
|     if (this.country != null) { | ||||
|       json[r'country'] = this.country; | ||||
|     } else { | ||||
|     //  json[r'make'] = null; | ||||
|     } | ||||
|     if (this.model != null) { | ||||
|       json[r'model'] = this.model; | ||||
|     } else { | ||||
|     //  json[r'model'] = null; | ||||
|     } | ||||
|     if (this.exifImageWidth != null) { | ||||
|       json[r'exifImageWidth'] = this.exifImageWidth; | ||||
|     } else { | ||||
|     //  json[r'exifImageWidth'] = null; | ||||
|     } | ||||
|     if (this.exifImageHeight != null) { | ||||
|       json[r'exifImageHeight'] = this.exifImageHeight; | ||||
|     } else { | ||||
|     //  json[r'exifImageHeight'] = null; | ||||
|     } | ||||
|     if (this.orientation != null) { | ||||
|       json[r'orientation'] = this.orientation; | ||||
|     } else { | ||||
|     //  json[r'orientation'] = null; | ||||
|     //  json[r'country'] = null; | ||||
|     } | ||||
|     if (this.dateTimeOriginal != null) { | ||||
|       json[r'dateTimeOriginal'] = this.dateTimeOriginal!.toUtc().toIso8601String(); | ||||
|     } else { | ||||
|     //  json[r'dateTimeOriginal'] = null; | ||||
|     } | ||||
|     if (this.modifyDate != null) { | ||||
|       json[r'modifyDate'] = this.modifyDate!.toUtc().toIso8601String(); | ||||
|     if (this.description != null) { | ||||
|       json[r'description'] = this.description; | ||||
|     } else { | ||||
|     //  json[r'modifyDate'] = null; | ||||
|     //  json[r'description'] = null; | ||||
|     } | ||||
|     if (this.timeZone != null) { | ||||
|       json[r'timeZone'] = this.timeZone; | ||||
|     if (this.exifImageHeight != null) { | ||||
|       json[r'exifImageHeight'] = this.exifImageHeight; | ||||
|     } else { | ||||
|     //  json[r'timeZone'] = null; | ||||
|     //  json[r'exifImageHeight'] = null; | ||||
|     } | ||||
|     if (this.lensModel != null) { | ||||
|       json[r'lensModel'] = this.lensModel; | ||||
|     if (this.exifImageWidth != null) { | ||||
|       json[r'exifImageWidth'] = this.exifImageWidth; | ||||
|     } else { | ||||
|     //  json[r'lensModel'] = null; | ||||
|     //  json[r'exifImageWidth'] = null; | ||||
|     } | ||||
|     if (this.exposureTime != null) { | ||||
|       json[r'exposureTime'] = this.exposureTime; | ||||
|     } else { | ||||
|     //  json[r'exposureTime'] = null; | ||||
|     } | ||||
|     if (this.fNumber != null) { | ||||
|       json[r'fNumber'] = this.fNumber; | ||||
|     } else { | ||||
|     //  json[r'fNumber'] = null; | ||||
|     } | ||||
|     if (this.fileSizeInByte != null) { | ||||
|       json[r'fileSizeInByte'] = this.fileSizeInByte; | ||||
|     } else { | ||||
|     //  json[r'fileSizeInByte'] = null; | ||||
|     } | ||||
|     if (this.focalLength != null) { | ||||
|       json[r'focalLength'] = this.focalLength; | ||||
|     } else { | ||||
| @@ -197,45 +187,55 @@ class ExifResponseDto { | ||||
|     } else { | ||||
|     //  json[r'iso'] = null; | ||||
|     } | ||||
|     if (this.exposureTime != null) { | ||||
|       json[r'exposureTime'] = this.exposureTime; | ||||
|     } else { | ||||
|     //  json[r'exposureTime'] = null; | ||||
|     } | ||||
|     if (this.latitude != null) { | ||||
|       json[r'latitude'] = this.latitude; | ||||
|     } else { | ||||
|     //  json[r'latitude'] = null; | ||||
|     } | ||||
|     if (this.lensModel != null) { | ||||
|       json[r'lensModel'] = this.lensModel; | ||||
|     } else { | ||||
|     //  json[r'lensModel'] = null; | ||||
|     } | ||||
|     if (this.longitude != null) { | ||||
|       json[r'longitude'] = this.longitude; | ||||
|     } else { | ||||
|     //  json[r'longitude'] = null; | ||||
|     } | ||||
|     if (this.city != null) { | ||||
|       json[r'city'] = this.city; | ||||
|     if (this.make != null) { | ||||
|       json[r'make'] = this.make; | ||||
|     } else { | ||||
|     //  json[r'city'] = null; | ||||
|     //  json[r'make'] = null; | ||||
|     } | ||||
|     if (this.model != null) { | ||||
|       json[r'model'] = this.model; | ||||
|     } else { | ||||
|     //  json[r'model'] = null; | ||||
|     } | ||||
|     if (this.modifyDate != null) { | ||||
|       json[r'modifyDate'] = this.modifyDate!.toUtc().toIso8601String(); | ||||
|     } else { | ||||
|     //  json[r'modifyDate'] = null; | ||||
|     } | ||||
|     if (this.orientation != null) { | ||||
|       json[r'orientation'] = this.orientation; | ||||
|     } else { | ||||
|     //  json[r'orientation'] = null; | ||||
|     } | ||||
|     if (this.projectionType != null) { | ||||
|       json[r'projectionType'] = this.projectionType; | ||||
|     } else { | ||||
|     //  json[r'projectionType'] = null; | ||||
|     } | ||||
|     if (this.state != null) { | ||||
|       json[r'state'] = this.state; | ||||
|     } else { | ||||
|     //  json[r'state'] = null; | ||||
|     } | ||||
|     if (this.country != null) { | ||||
|       json[r'country'] = this.country; | ||||
|     if (this.timeZone != null) { | ||||
|       json[r'timeZone'] = this.timeZone; | ||||
|     } else { | ||||
|     //  json[r'country'] = null; | ||||
|     } | ||||
|     if (this.description != null) { | ||||
|       json[r'description'] = this.description; | ||||
|     } else { | ||||
|     //  json[r'description'] = null; | ||||
|     } | ||||
|     if (this.projectionType != null) { | ||||
|       json[r'projectionType'] = this.projectionType; | ||||
|     } else { | ||||
|     //  json[r'projectionType'] = null; | ||||
|     //  json[r'timeZone'] = null; | ||||
|     } | ||||
|     return json; | ||||
|   } | ||||
| @@ -248,41 +248,41 @@ class ExifResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return ExifResponseDto( | ||||
|         fileSizeInByte: mapValueOfType<int>(json, r'fileSizeInByte'), | ||||
|         make: mapValueOfType<String>(json, r'make'), | ||||
|         model: mapValueOfType<String>(json, r'model'), | ||||
|         exifImageWidth: json[r'exifImageWidth'] == null | ||||
|             ? null | ||||
|             : num.parse('${json[r'exifImageWidth']}'), | ||||
|         city: mapValueOfType<String>(json, r'city'), | ||||
|         country: mapValueOfType<String>(json, r'country'), | ||||
|         dateTimeOriginal: mapDateTime(json, r'dateTimeOriginal', r''), | ||||
|         description: mapValueOfType<String>(json, r'description'), | ||||
|         exifImageHeight: json[r'exifImageHeight'] == null | ||||
|             ? null | ||||
|             : num.parse('${json[r'exifImageHeight']}'), | ||||
|         orientation: mapValueOfType<String>(json, r'orientation'), | ||||
|         dateTimeOriginal: mapDateTime(json, r'dateTimeOriginal', r''), | ||||
|         modifyDate: mapDateTime(json, r'modifyDate', r''), | ||||
|         timeZone: mapValueOfType<String>(json, r'timeZone'), | ||||
|         lensModel: mapValueOfType<String>(json, r'lensModel'), | ||||
|         exifImageWidth: json[r'exifImageWidth'] == null | ||||
|             ? null | ||||
|             : num.parse('${json[r'exifImageWidth']}'), | ||||
|         exposureTime: mapValueOfType<String>(json, r'exposureTime'), | ||||
|         fNumber: json[r'fNumber'] == null | ||||
|             ? null | ||||
|             : num.parse('${json[r'fNumber']}'), | ||||
|         fileSizeInByte: mapValueOfType<int>(json, r'fileSizeInByte'), | ||||
|         focalLength: json[r'focalLength'] == null | ||||
|             ? null | ||||
|             : num.parse('${json[r'focalLength']}'), | ||||
|         iso: json[r'iso'] == null | ||||
|             ? null | ||||
|             : num.parse('${json[r'iso']}'), | ||||
|         exposureTime: mapValueOfType<String>(json, r'exposureTime'), | ||||
|         latitude: json[r'latitude'] == null | ||||
|             ? null | ||||
|             : num.parse('${json[r'latitude']}'), | ||||
|         lensModel: mapValueOfType<String>(json, r'lensModel'), | ||||
|         longitude: json[r'longitude'] == null | ||||
|             ? null | ||||
|             : num.parse('${json[r'longitude']}'), | ||||
|         city: mapValueOfType<String>(json, r'city'), | ||||
|         state: mapValueOfType<String>(json, r'state'), | ||||
|         country: mapValueOfType<String>(json, r'country'), | ||||
|         description: mapValueOfType<String>(json, r'description'), | ||||
|         make: mapValueOfType<String>(json, r'make'), | ||||
|         model: mapValueOfType<String>(json, r'model'), | ||||
|         modifyDate: mapDateTime(json, r'modifyDate', r''), | ||||
|         orientation: mapValueOfType<String>(json, r'orientation'), | ||||
|         projectionType: mapValueOfType<String>(json, r'projectionType'), | ||||
|         state: mapValueOfType<String>(json, r'state'), | ||||
|         timeZone: mapValueOfType<String>(json, r'timeZone'), | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
|   | ||||
							
								
								
									
										74
									
								
								mobile/openapi/lib/model/import_asset_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										74
									
								
								mobile/openapi/lib/model/import_asset_dto.dart
									
									
									
										generated
									
									
									
								
							| @@ -13,41 +13,37 @@ part of openapi.api; | ||||
| class ImportAssetDto { | ||||
|   /// Returns a new [ImportAssetDto] instance. | ||||
|   ImportAssetDto({ | ||||
|     this.isReadOnly = true, | ||||
|     required this.assetPath, | ||||
|     this.sidecarPath, | ||||
|     required this.deviceAssetId, | ||||
|     required this.deviceId, | ||||
|     this.duration, | ||||
|     required this.fileCreatedAt, | ||||
|     required this.fileModifiedAt, | ||||
|     required this.isFavorite, | ||||
|     this.isArchived, | ||||
|     required this.isFavorite, | ||||
|     this.isReadOnly = true, | ||||
|     this.isVisible, | ||||
|     this.duration, | ||||
|     this.sidecarPath, | ||||
|   }); | ||||
| 
 | ||||
|   bool isReadOnly; | ||||
| 
 | ||||
|   String assetPath; | ||||
| 
 | ||||
|   String deviceAssetId; | ||||
| 
 | ||||
|   String deviceId; | ||||
| 
 | ||||
|   /// | ||||
|   /// Please note: This property should have been non-nullable! Since the specification file | ||||
|   /// does not include a default value (using the "default:" property), however, the generated | ||||
|   /// source code must fall back to having a nullable type. | ||||
|   /// Consider adding a "default:" property in the specification file to hide this note. | ||||
|   /// | ||||
|   String? sidecarPath; | ||||
| 
 | ||||
|   String deviceAssetId; | ||||
| 
 | ||||
|   String deviceId; | ||||
|   String? duration; | ||||
| 
 | ||||
|   DateTime fileCreatedAt; | ||||
| 
 | ||||
|   DateTime fileModifiedAt; | ||||
| 
 | ||||
|   bool isFavorite; | ||||
| 
 | ||||
|   /// | ||||
|   /// Please note: This property should have been non-nullable! Since the specification file | ||||
|   /// does not include a default value (using the "default:" property), however, the generated | ||||
| @@ -56,6 +52,10 @@ class ImportAssetDto { | ||||
|   /// | ||||
|   bool? isArchived; | ||||
| 
 | ||||
|   bool isFavorite; | ||||
| 
 | ||||
|   bool isReadOnly; | ||||
| 
 | ||||
|   /// | ||||
|   /// Please note: This property should have been non-nullable! Since the specification file | ||||
|   /// does not include a default value (using the "default:" property), however, the generated | ||||
| @@ -70,68 +70,68 @@ class ImportAssetDto { | ||||
|   /// source code must fall back to having a nullable type. | ||||
|   /// Consider adding a "default:" property in the specification file to hide this note. | ||||
|   /// | ||||
|   String? duration; | ||||
|   String? sidecarPath; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is ImportAssetDto && | ||||
|      other.isReadOnly == isReadOnly && | ||||
|      other.assetPath == assetPath && | ||||
|      other.sidecarPath == sidecarPath && | ||||
|      other.deviceAssetId == deviceAssetId && | ||||
|      other.deviceId == deviceId && | ||||
|      other.duration == duration && | ||||
|      other.fileCreatedAt == fileCreatedAt && | ||||
|      other.fileModifiedAt == fileModifiedAt && | ||||
|      other.isFavorite == isFavorite && | ||||
|      other.isArchived == isArchived && | ||||
|      other.isFavorite == isFavorite && | ||||
|      other.isReadOnly == isReadOnly && | ||||
|      other.isVisible == isVisible && | ||||
|      other.duration == duration; | ||||
|      other.sidecarPath == sidecarPath; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (isReadOnly.hashCode) + | ||||
|     (assetPath.hashCode) + | ||||
|     (sidecarPath == null ? 0 : sidecarPath!.hashCode) + | ||||
|     (deviceAssetId.hashCode) + | ||||
|     (deviceId.hashCode) + | ||||
|     (duration == null ? 0 : duration!.hashCode) + | ||||
|     (fileCreatedAt.hashCode) + | ||||
|     (fileModifiedAt.hashCode) + | ||||
|     (isFavorite.hashCode) + | ||||
|     (isArchived == null ? 0 : isArchived!.hashCode) + | ||||
|     (isFavorite.hashCode) + | ||||
|     (isReadOnly.hashCode) + | ||||
|     (isVisible == null ? 0 : isVisible!.hashCode) + | ||||
|     (duration == null ? 0 : duration!.hashCode); | ||||
|     (sidecarPath == null ? 0 : sidecarPath!.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'ImportAssetDto[isReadOnly=$isReadOnly, assetPath=$assetPath, sidecarPath=$sidecarPath, deviceAssetId=$deviceAssetId, deviceId=$deviceId, fileCreatedAt=$fileCreatedAt, fileModifiedAt=$fileModifiedAt, isFavorite=$isFavorite, isArchived=$isArchived, isVisible=$isVisible, duration=$duration]'; | ||||
|   String toString() => 'ImportAssetDto[assetPath=$assetPath, deviceAssetId=$deviceAssetId, deviceId=$deviceId, duration=$duration, fileCreatedAt=$fileCreatedAt, fileModifiedAt=$fileModifiedAt, isArchived=$isArchived, isFavorite=$isFavorite, isReadOnly=$isReadOnly, isVisible=$isVisible, sidecarPath=$sidecarPath]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'isReadOnly'] = this.isReadOnly; | ||||
|       json[r'assetPath'] = this.assetPath; | ||||
|     if (this.sidecarPath != null) { | ||||
|       json[r'sidecarPath'] = this.sidecarPath; | ||||
|     } else { | ||||
|     //  json[r'sidecarPath'] = null; | ||||
|     } | ||||
|       json[r'deviceAssetId'] = this.deviceAssetId; | ||||
|       json[r'deviceId'] = this.deviceId; | ||||
|     if (this.duration != null) { | ||||
|       json[r'duration'] = this.duration; | ||||
|     } else { | ||||
|     //  json[r'duration'] = null; | ||||
|     } | ||||
|       json[r'fileCreatedAt'] = this.fileCreatedAt.toUtc().toIso8601String(); | ||||
|       json[r'fileModifiedAt'] = this.fileModifiedAt.toUtc().toIso8601String(); | ||||
|       json[r'isFavorite'] = this.isFavorite; | ||||
|     if (this.isArchived != null) { | ||||
|       json[r'isArchived'] = this.isArchived; | ||||
|     } else { | ||||
|     //  json[r'isArchived'] = null; | ||||
|     } | ||||
|       json[r'isFavorite'] = this.isFavorite; | ||||
|       json[r'isReadOnly'] = this.isReadOnly; | ||||
|     if (this.isVisible != null) { | ||||
|       json[r'isVisible'] = this.isVisible; | ||||
|     } else { | ||||
|     //  json[r'isVisible'] = null; | ||||
|     } | ||||
|     if (this.duration != null) { | ||||
|       json[r'duration'] = this.duration; | ||||
|     if (this.sidecarPath != null) { | ||||
|       json[r'sidecarPath'] = this.sidecarPath; | ||||
|     } else { | ||||
|     //  json[r'duration'] = null; | ||||
|     //  json[r'sidecarPath'] = null; | ||||
|     } | ||||
|     return json; | ||||
|   } | ||||
| @@ -144,17 +144,17 @@ class ImportAssetDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return ImportAssetDto( | ||||
|         isReadOnly: mapValueOfType<bool>(json, r'isReadOnly') ?? true, | ||||
|         assetPath: mapValueOfType<String>(json, r'assetPath')!, | ||||
|         sidecarPath: mapValueOfType<String>(json, r'sidecarPath'), | ||||
|         deviceAssetId: mapValueOfType<String>(json, r'deviceAssetId')!, | ||||
|         deviceId: mapValueOfType<String>(json, r'deviceId')!, | ||||
|         duration: mapValueOfType<String>(json, r'duration'), | ||||
|         fileCreatedAt: mapDateTime(json, r'fileCreatedAt', r'')!, | ||||
|         fileModifiedAt: mapDateTime(json, r'fileModifiedAt', r'')!, | ||||
|         isFavorite: mapValueOfType<bool>(json, r'isFavorite')!, | ||||
|         isArchived: mapValueOfType<bool>(json, r'isArchived'), | ||||
|         isFavorite: mapValueOfType<bool>(json, r'isFavorite')!, | ||||
|         isReadOnly: mapValueOfType<bool>(json, r'isReadOnly') ?? true, | ||||
|         isVisible: mapValueOfType<bool>(json, r'isVisible'), | ||||
|         duration: mapValueOfType<String>(json, r'duration'), | ||||
|         sidecarPath: mapValueOfType<String>(json, r'sidecarPath'), | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
|   | ||||
							
								
								
									
										36
									
								
								mobile/openapi/lib/model/job_counts_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										36
									
								
								mobile/openapi/lib/model/job_counts_dto.dart
									
									
									
										generated
									
									
									
								
							| @@ -15,54 +15,54 @@ class JobCountsDto { | ||||
|   JobCountsDto({ | ||||
|     required this.active, | ||||
|     required this.completed, | ||||
|     required this.failed, | ||||
|     required this.delayed, | ||||
|     required this.waiting, | ||||
|     required this.failed, | ||||
|     required this.paused, | ||||
|     required this.waiting, | ||||
|   }); | ||||
| 
 | ||||
|   int active; | ||||
| 
 | ||||
|   int completed; | ||||
| 
 | ||||
|   int failed; | ||||
| 
 | ||||
|   int delayed; | ||||
| 
 | ||||
|   int waiting; | ||||
|   int failed; | ||||
| 
 | ||||
|   int paused; | ||||
| 
 | ||||
|   int waiting; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is JobCountsDto && | ||||
|      other.active == active && | ||||
|      other.completed == completed && | ||||
|      other.failed == failed && | ||||
|      other.delayed == delayed && | ||||
|      other.waiting == waiting && | ||||
|      other.paused == paused; | ||||
|      other.failed == failed && | ||||
|      other.paused == paused && | ||||
|      other.waiting == waiting; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (active.hashCode) + | ||||
|     (completed.hashCode) + | ||||
|     (failed.hashCode) + | ||||
|     (delayed.hashCode) + | ||||
|     (waiting.hashCode) + | ||||
|     (paused.hashCode); | ||||
|     (failed.hashCode) + | ||||
|     (paused.hashCode) + | ||||
|     (waiting.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'JobCountsDto[active=$active, completed=$completed, failed=$failed, delayed=$delayed, waiting=$waiting, paused=$paused]'; | ||||
|   String toString() => 'JobCountsDto[active=$active, completed=$completed, delayed=$delayed, failed=$failed, paused=$paused, waiting=$waiting]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'active'] = this.active; | ||||
|       json[r'completed'] = this.completed; | ||||
|       json[r'failed'] = this.failed; | ||||
|       json[r'delayed'] = this.delayed; | ||||
|       json[r'waiting'] = this.waiting; | ||||
|       json[r'failed'] = this.failed; | ||||
|       json[r'paused'] = this.paused; | ||||
|       json[r'waiting'] = this.waiting; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -76,10 +76,10 @@ class JobCountsDto { | ||||
|       return JobCountsDto( | ||||
|         active: mapValueOfType<int>(json, r'active')!, | ||||
|         completed: mapValueOfType<int>(json, r'completed')!, | ||||
|         failed: mapValueOfType<int>(json, r'failed')!, | ||||
|         delayed: mapValueOfType<int>(json, r'delayed')!, | ||||
|         waiting: mapValueOfType<int>(json, r'waiting')!, | ||||
|         failed: mapValueOfType<int>(json, r'failed')!, | ||||
|         paused: mapValueOfType<int>(json, r'paused')!, | ||||
|         waiting: mapValueOfType<int>(json, r'waiting')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -129,10 +129,10 @@ class JobCountsDto { | ||||
|   static const requiredKeys = <String>{ | ||||
|     'active', | ||||
|     'completed', | ||||
|     'failed', | ||||
|     'delayed', | ||||
|     'waiting', | ||||
|     'failed', | ||||
|     'paused', | ||||
|     'waiting', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										54
									
								
								mobile/openapi/lib/model/login_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										54
									
								
								mobile/openapi/lib/model/login_response_dto.dart
									
									
									
										generated
									
									
									
								
							| @@ -14,67 +14,67 @@ class LoginResponseDto { | ||||
|   /// Returns a new [LoginResponseDto] instance. | ||||
|   LoginResponseDto({ | ||||
|     required this.accessToken, | ||||
|     required this.userId, | ||||
|     required this.userEmail, | ||||
|     required this.firstName, | ||||
|     required this.isAdmin, | ||||
|     required this.lastName, | ||||
|     required this.profileImagePath, | ||||
|     required this.isAdmin, | ||||
|     required this.shouldChangePassword, | ||||
|     required this.userEmail, | ||||
|     required this.userId, | ||||
|   }); | ||||
| 
 | ||||
|   String accessToken; | ||||
| 
 | ||||
|   String userId; | ||||
| 
 | ||||
|   String userEmail; | ||||
| 
 | ||||
|   String firstName; | ||||
| 
 | ||||
|   bool isAdmin; | ||||
| 
 | ||||
|   String lastName; | ||||
| 
 | ||||
|   String profileImagePath; | ||||
| 
 | ||||
|   bool isAdmin; | ||||
| 
 | ||||
|   bool shouldChangePassword; | ||||
| 
 | ||||
|   String userEmail; | ||||
| 
 | ||||
|   String userId; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is LoginResponseDto && | ||||
|      other.accessToken == accessToken && | ||||
|      other.userId == userId && | ||||
|      other.userEmail == userEmail && | ||||
|      other.firstName == firstName && | ||||
|      other.isAdmin == isAdmin && | ||||
|      other.lastName == lastName && | ||||
|      other.profileImagePath == profileImagePath && | ||||
|      other.isAdmin == isAdmin && | ||||
|      other.shouldChangePassword == shouldChangePassword; | ||||
|      other.shouldChangePassword == shouldChangePassword && | ||||
|      other.userEmail == userEmail && | ||||
|      other.userId == userId; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (accessToken.hashCode) + | ||||
|     (userId.hashCode) + | ||||
|     (userEmail.hashCode) + | ||||
|     (firstName.hashCode) + | ||||
|     (isAdmin.hashCode) + | ||||
|     (lastName.hashCode) + | ||||
|     (profileImagePath.hashCode) + | ||||
|     (isAdmin.hashCode) + | ||||
|     (shouldChangePassword.hashCode); | ||||
|     (shouldChangePassword.hashCode) + | ||||
|     (userEmail.hashCode) + | ||||
|     (userId.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'LoginResponseDto[accessToken=$accessToken, userId=$userId, userEmail=$userEmail, firstName=$firstName, lastName=$lastName, profileImagePath=$profileImagePath, isAdmin=$isAdmin, shouldChangePassword=$shouldChangePassword]'; | ||||
|   String toString() => 'LoginResponseDto[accessToken=$accessToken, firstName=$firstName, isAdmin=$isAdmin, lastName=$lastName, profileImagePath=$profileImagePath, shouldChangePassword=$shouldChangePassword, userEmail=$userEmail, userId=$userId]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'accessToken'] = this.accessToken; | ||||
|       json[r'userId'] = this.userId; | ||||
|       json[r'userEmail'] = this.userEmail; | ||||
|       json[r'firstName'] = this.firstName; | ||||
|       json[r'isAdmin'] = this.isAdmin; | ||||
|       json[r'lastName'] = this.lastName; | ||||
|       json[r'profileImagePath'] = this.profileImagePath; | ||||
|       json[r'isAdmin'] = this.isAdmin; | ||||
|       json[r'shouldChangePassword'] = this.shouldChangePassword; | ||||
|       json[r'userEmail'] = this.userEmail; | ||||
|       json[r'userId'] = this.userId; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -87,13 +87,13 @@ class LoginResponseDto { | ||||
| 
 | ||||
|       return LoginResponseDto( | ||||
|         accessToken: mapValueOfType<String>(json, r'accessToken')!, | ||||
|         userId: mapValueOfType<String>(json, r'userId')!, | ||||
|         userEmail: mapValueOfType<String>(json, r'userEmail')!, | ||||
|         firstName: mapValueOfType<String>(json, r'firstName')!, | ||||
|         isAdmin: mapValueOfType<bool>(json, r'isAdmin')!, | ||||
|         lastName: mapValueOfType<String>(json, r'lastName')!, | ||||
|         profileImagePath: mapValueOfType<String>(json, r'profileImagePath')!, | ||||
|         isAdmin: mapValueOfType<bool>(json, r'isAdmin')!, | ||||
|         shouldChangePassword: mapValueOfType<bool>(json, r'shouldChangePassword')!, | ||||
|         userEmail: mapValueOfType<String>(json, r'userEmail')!, | ||||
|         userId: mapValueOfType<String>(json, r'userId')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -142,13 +142,13 @@ class LoginResponseDto { | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'accessToken', | ||||
|     'userId', | ||||
|     'userEmail', | ||||
|     'firstName', | ||||
|     'isAdmin', | ||||
|     'lastName', | ||||
|     'profileImagePath', | ||||
|     'isAdmin', | ||||
|     'shouldChangePassword', | ||||
|     'userEmail', | ||||
|     'userId', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
							
								
								
									
										22
									
								
								mobile/openapi/lib/model/logout_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										22
									
								
								mobile/openapi/lib/model/logout_response_dto.dart
									
									
									
										generated
									
									
									
								
							| @@ -13,32 +13,32 @@ part of openapi.api; | ||||
| class LogoutResponseDto { | ||||
|   /// Returns a new [LogoutResponseDto] instance. | ||||
|   LogoutResponseDto({ | ||||
|     required this.successful, | ||||
|     required this.redirectUri, | ||||
|     required this.successful, | ||||
|   }); | ||||
| 
 | ||||
|   bool successful; | ||||
| 
 | ||||
|   String redirectUri; | ||||
| 
 | ||||
|   bool successful; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is LogoutResponseDto && | ||||
|      other.successful == successful && | ||||
|      other.redirectUri == redirectUri; | ||||
|      other.redirectUri == redirectUri && | ||||
|      other.successful == successful; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (successful.hashCode) + | ||||
|     (redirectUri.hashCode); | ||||
|     (redirectUri.hashCode) + | ||||
|     (successful.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'LogoutResponseDto[successful=$successful, redirectUri=$redirectUri]'; | ||||
|   String toString() => 'LogoutResponseDto[redirectUri=$redirectUri, successful=$successful]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'successful'] = this.successful; | ||||
|       json[r'redirectUri'] = this.redirectUri; | ||||
|       json[r'successful'] = this.successful; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -50,8 +50,8 @@ class LogoutResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return LogoutResponseDto( | ||||
|         successful: mapValueOfType<bool>(json, r'successful')!, | ||||
|         redirectUri: mapValueOfType<String>(json, r'redirectUri')!, | ||||
|         successful: mapValueOfType<bool>(json, r'successful')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -99,8 +99,8 @@ class LogoutResponseDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'successful', | ||||
|     'redirectUri', | ||||
|     'successful', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
| @@ -13,32 +13,32 @@ part of openapi.api; | ||||
| class MemoryLaneResponseDto { | ||||
|   /// Returns a new [MemoryLaneResponseDto] instance. | ||||
|   MemoryLaneResponseDto({ | ||||
|     required this.title, | ||||
|     this.assets = const [], | ||||
|     required this.title, | ||||
|   }); | ||||
| 
 | ||||
|   String title; | ||||
| 
 | ||||
|   List<AssetResponseDto> assets; | ||||
| 
 | ||||
|   String title; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is MemoryLaneResponseDto && | ||||
|      other.title == title && | ||||
|      other.assets == assets; | ||||
|      other.assets == assets && | ||||
|      other.title == title; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (title.hashCode) + | ||||
|     (assets.hashCode); | ||||
|     (assets.hashCode) + | ||||
|     (title.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'MemoryLaneResponseDto[title=$title, assets=$assets]'; | ||||
|   String toString() => 'MemoryLaneResponseDto[assets=$assets, title=$title]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'title'] = this.title; | ||||
|       json[r'assets'] = this.assets; | ||||
|       json[r'title'] = this.title; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -50,8 +50,8 @@ class MemoryLaneResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return MemoryLaneResponseDto( | ||||
|         title: mapValueOfType<String>(json, r'title')!, | ||||
|         assets: AssetResponseDto.listFromJson(json[r'assets']), | ||||
|         title: mapValueOfType<String>(json, r'title')!, | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -99,8 +99,8 @@ class MemoryLaneResponseDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'title', | ||||
|     'assets', | ||||
|     'title', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
| @@ -13,13 +13,29 @@ part of openapi.api; | ||||
| class OAuthConfigResponseDto { | ||||
|   /// Returns a new [OAuthConfigResponseDto] instance. | ||||
|   OAuthConfigResponseDto({ | ||||
|     this.autoLaunch, | ||||
|     this.buttonText, | ||||
|     required this.enabled, | ||||
|     required this.passwordLoginEnabled, | ||||
|     this.url, | ||||
|     this.buttonText, | ||||
|     this.autoLaunch, | ||||
|   }); | ||||
| 
 | ||||
|   /// | ||||
|   /// Please note: This property should have been non-nullable! Since the specification file | ||||
|   /// does not include a default value (using the "default:" property), however, the generated | ||||
|   /// source code must fall back to having a nullable type. | ||||
|   /// Consider adding a "default:" property in the specification file to hide this note. | ||||
|   /// | ||||
|   bool? autoLaunch; | ||||
| 
 | ||||
|   /// | ||||
|   /// Please note: This property should have been non-nullable! Since the specification file | ||||
|   /// does not include a default value (using the "default:" property), however, the generated | ||||
|   /// source code must fall back to having a nullable type. | ||||
|   /// Consider adding a "default:" property in the specification file to hide this note. | ||||
|   /// | ||||
|   String? buttonText; | ||||
| 
 | ||||
|   bool enabled; | ||||
| 
 | ||||
|   bool passwordLoginEnabled; | ||||
| @@ -32,60 +48,44 @@ class OAuthConfigResponseDto { | ||||
|   /// | ||||
|   String? url; | ||||
| 
 | ||||
|   /// | ||||
|   /// Please note: This property should have been non-nullable! Since the specification file | ||||
|   /// does not include a default value (using the "default:" property), however, the generated | ||||
|   /// source code must fall back to having a nullable type. | ||||
|   /// Consider adding a "default:" property in the specification file to hide this note. | ||||
|   /// | ||||
|   String? buttonText; | ||||
| 
 | ||||
|   /// | ||||
|   /// Please note: This property should have been non-nullable! Since the specification file | ||||
|   /// does not include a default value (using the "default:" property), however, the generated | ||||
|   /// source code must fall back to having a nullable type. | ||||
|   /// Consider adding a "default:" property in the specification file to hide this note. | ||||
|   /// | ||||
|   bool? autoLaunch; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is OAuthConfigResponseDto && | ||||
|      other.autoLaunch == autoLaunch && | ||||
|      other.buttonText == buttonText && | ||||
|      other.enabled == enabled && | ||||
|      other.passwordLoginEnabled == passwordLoginEnabled && | ||||
|      other.url == url && | ||||
|      other.buttonText == buttonText && | ||||
|      other.autoLaunch == autoLaunch; | ||||
|      other.url == url; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (autoLaunch == null ? 0 : autoLaunch!.hashCode) + | ||||
|     (buttonText == null ? 0 : buttonText!.hashCode) + | ||||
|     (enabled.hashCode) + | ||||
|     (passwordLoginEnabled.hashCode) + | ||||
|     (url == null ? 0 : url!.hashCode) + | ||||
|     (buttonText == null ? 0 : buttonText!.hashCode) + | ||||
|     (autoLaunch == null ? 0 : autoLaunch!.hashCode); | ||||
|     (url == null ? 0 : url!.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'OAuthConfigResponseDto[enabled=$enabled, passwordLoginEnabled=$passwordLoginEnabled, url=$url, buttonText=$buttonText, autoLaunch=$autoLaunch]'; | ||||
|   String toString() => 'OAuthConfigResponseDto[autoLaunch=$autoLaunch, buttonText=$buttonText, enabled=$enabled, passwordLoginEnabled=$passwordLoginEnabled, url=$url]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'enabled'] = this.enabled; | ||||
|       json[r'passwordLoginEnabled'] = this.passwordLoginEnabled; | ||||
|     if (this.url != null) { | ||||
|       json[r'url'] = this.url; | ||||
|     if (this.autoLaunch != null) { | ||||
|       json[r'autoLaunch'] = this.autoLaunch; | ||||
|     } else { | ||||
|     //  json[r'url'] = null; | ||||
|     //  json[r'autoLaunch'] = null; | ||||
|     } | ||||
|     if (this.buttonText != null) { | ||||
|       json[r'buttonText'] = this.buttonText; | ||||
|     } else { | ||||
|     //  json[r'buttonText'] = null; | ||||
|     } | ||||
|     if (this.autoLaunch != null) { | ||||
|       json[r'autoLaunch'] = this.autoLaunch; | ||||
|       json[r'enabled'] = this.enabled; | ||||
|       json[r'passwordLoginEnabled'] = this.passwordLoginEnabled; | ||||
|     if (this.url != null) { | ||||
|       json[r'url'] = this.url; | ||||
|     } else { | ||||
|     //  json[r'autoLaunch'] = null; | ||||
|     //  json[r'url'] = null; | ||||
|     } | ||||
|     return json; | ||||
|   } | ||||
| @@ -98,11 +98,11 @@ class OAuthConfigResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return OAuthConfigResponseDto( | ||||
|         autoLaunch: mapValueOfType<bool>(json, r'autoLaunch'), | ||||
|         buttonText: mapValueOfType<String>(json, r'buttonText'), | ||||
|         enabled: mapValueOfType<bool>(json, r'enabled')!, | ||||
|         passwordLoginEnabled: mapValueOfType<bool>(json, r'passwordLoginEnabled')!, | ||||
|         url: mapValueOfType<String>(json, r'url'), | ||||
|         buttonText: mapValueOfType<String>(json, r'buttonText'), | ||||
|         autoLaunch: mapValueOfType<bool>(json, r'autoLaunch'), | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
|   | ||||
							
								
								
									
										22
									
								
								mobile/openapi/lib/model/people_response_dto.dart
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										22
									
								
								mobile/openapi/lib/model/people_response_dto.dart
									
									
									
										generated
									
									
									
								
							| @@ -13,38 +13,38 @@ part of openapi.api; | ||||
| class PeopleResponseDto { | ||||
|   /// Returns a new [PeopleResponseDto] instance. | ||||
|   PeopleResponseDto({ | ||||
|     this.people = const [], | ||||
|     required this.total, | ||||
|     required this.visible, | ||||
|     this.people = const [], | ||||
|   }); | ||||
| 
 | ||||
|   List<PersonResponseDto> people; | ||||
| 
 | ||||
|   num total; | ||||
| 
 | ||||
|   num visible; | ||||
| 
 | ||||
|   List<PersonResponseDto> people; | ||||
| 
 | ||||
|   @override | ||||
|   bool operator ==(Object other) => identical(this, other) || other is PeopleResponseDto && | ||||
|      other.people == people && | ||||
|      other.total == total && | ||||
|      other.visible == visible && | ||||
|      other.people == people; | ||||
|      other.visible == visible; | ||||
| 
 | ||||
|   @override | ||||
|   int get hashCode => | ||||
|     // ignore: unnecessary_parenthesis | ||||
|     (people.hashCode) + | ||||
|     (total.hashCode) + | ||||
|     (visible.hashCode) + | ||||
|     (people.hashCode); | ||||
|     (visible.hashCode); | ||||
| 
 | ||||
|   @override | ||||
|   String toString() => 'PeopleResponseDto[total=$total, visible=$visible, people=$people]'; | ||||
|   String toString() => 'PeopleResponseDto[people=$people, total=$total, visible=$visible]'; | ||||
| 
 | ||||
|   Map<String, dynamic> toJson() { | ||||
|     final json = <String, dynamic>{}; | ||||
|       json[r'people'] = this.people; | ||||
|       json[r'total'] = this.total; | ||||
|       json[r'visible'] = this.visible; | ||||
|       json[r'people'] = this.people; | ||||
|     return json; | ||||
|   } | ||||
| 
 | ||||
| @@ -56,9 +56,9 @@ class PeopleResponseDto { | ||||
|       final json = value.cast<String, dynamic>(); | ||||
| 
 | ||||
|       return PeopleResponseDto( | ||||
|         people: PersonResponseDto.listFromJson(json[r'people']), | ||||
|         total: num.parse('${json[r'total']}'), | ||||
|         visible: num.parse('${json[r'visible']}'), | ||||
|         people: PersonResponseDto.listFromJson(json[r'people']), | ||||
|       ); | ||||
|     } | ||||
|     return null; | ||||
| @@ -106,9 +106,9 @@ class PeopleResponseDto { | ||||
| 
 | ||||
|   /// The list of required keys that must be present in a JSON. | ||||
|   static const requiredKeys = <String>{ | ||||
|     'people', | ||||
|     'total', | ||||
|     'visible', | ||||
|     'people', | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
|   | ||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user