mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
deps: open-api generator (#6655)
* deps: open-api generator * fix: unused sed/replace
This commit is contained in:
parent
78a2fa8569
commit
2e39243670
195 changed files with 1907 additions and 1545 deletions
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'),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue