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