mirror of
https://github.com/immich-app/immich.git
synced 2025-12-22 09:15:34 +03:00
deps: open-api generator (#6655)
* deps: open-api generator * fix: unused sed/replace
This commit is contained in:
12
mobile/openapi/lib/model/download_info_dto.dart
generated
12
mobile/openapi/lib/model/download_info_dto.dart
generated
@@ -47,10 +47,10 @@ class DownloadInfoDto {
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is DownloadInfoDto &&
|
||||
other.albumId == albumId &&
|
||||
other.archiveSize == archiveSize &&
|
||||
other.assetIds == assetIds &&
|
||||
other.userId == userId;
|
||||
other.albumId == albumId &&
|
||||
other.archiveSize == archiveSize &&
|
||||
_deepEquality.equals(other.assetIds, assetIds) &&
|
||||
other.userId == userId;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
@@ -94,8 +94,8 @@ class DownloadInfoDto {
|
||||
return DownloadInfoDto(
|
||||
albumId: mapValueOfType<String>(json, r'albumId'),
|
||||
archiveSize: mapValueOfType<int>(json, r'archiveSize'),
|
||||
assetIds: json[r'assetIds'] is List
|
||||
? (json[r'assetIds'] as List).cast<String>()
|
||||
assetIds: json[r'assetIds'] is Iterable
|
||||
? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
userId: mapValueOfType<String>(json, r'userId'),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user