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
|
|
@ -41,10 +41,10 @@ class ActivityCreateDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is ActivityCreateDto &&
|
||||
other.albumId == albumId &&
|
||||
other.assetId == assetId &&
|
||||
other.comment == comment &&
|
||||
other.type == type;
|
||||
other.albumId == albumId &&
|
||||
other.assetId == assetId &&
|
||||
other.comment == comment &&
|
||||
other.type == type;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
16
mobile/openapi/lib/model/activity_response_dto.dart
generated
16
mobile/openapi/lib/model/activity_response_dto.dart
generated
|
|
@ -35,12 +35,12 @@ class ActivityResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is ActivityResponseDto &&
|
||||
other.assetId == assetId &&
|
||||
other.comment == comment &&
|
||||
other.createdAt == createdAt &&
|
||||
other.id == id &&
|
||||
other.type == type &&
|
||||
other.user == user;
|
||||
other.assetId == assetId &&
|
||||
other.comment == comment &&
|
||||
other.createdAt == createdAt &&
|
||||
other.id == id &&
|
||||
other.type == type &&
|
||||
other.user == user;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -84,7 +84,7 @@ class ActivityResponseDto {
|
|||
return ActivityResponseDto(
|
||||
assetId: mapValueOfType<String>(json, r'assetId'),
|
||||
comment: mapValueOfType<String>(json, r'comment'),
|
||||
createdAt: mapDateTime(json, r'createdAt', '')!,
|
||||
createdAt: mapDateTime(json, r'createdAt', r'')!,
|
||||
id: mapValueOfType<String>(json, r'id')!,
|
||||
type: ActivityResponseDtoTypeEnum.fromJson(json[r'type'])!,
|
||||
user: UserDto.fromJson(json[r'user'])!,
|
||||
|
|
@ -167,7 +167,7 @@ class ActivityResponseDtoTypeEnum {
|
|||
|
||||
static ActivityResponseDtoTypeEnum? fromJson(dynamic value) => ActivityResponseDtoTypeEnumTypeTransformer().decode(value);
|
||||
|
||||
static List<ActivityResponseDtoTypeEnum>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<ActivityResponseDtoTypeEnum> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <ActivityResponseDtoTypeEnum>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class ActivityStatisticsResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is ActivityStatisticsResponseDto &&
|
||||
other.comments == comments;
|
||||
other.comments == comments;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
6
mobile/openapi/lib/model/add_users_dto.dart
generated
6
mobile/openapi/lib/model/add_users_dto.dart
generated
|
|
@ -20,7 +20,7 @@ class AddUsersDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AddUsersDto &&
|
||||
other.sharedUserIds == sharedUserIds;
|
||||
_deepEquality.equals(other.sharedUserIds, sharedUserIds);
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -44,8 +44,8 @@ class AddUsersDto {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return AddUsersDto(
|
||||
sharedUserIds: json[r'sharedUserIds'] is List
|
||||
? (json[r'sharedUserIds'] as List).cast<String>()
|
||||
sharedUserIds: json[r'sharedUserIds'] is Iterable
|
||||
? (json[r'sharedUserIds'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,9 +26,9 @@ class AlbumCountResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AlbumCountResponseDto &&
|
||||
other.notShared == notShared &&
|
||||
other.owned == owned &&
|
||||
other.shared == shared;
|
||||
other.notShared == notShared &&
|
||||
other.owned == owned &&
|
||||
other.shared == shared;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
44
mobile/openapi/lib/model/album_response_dto.dart
generated
44
mobile/openapi/lib/model/album_response_dto.dart
generated
|
|
@ -86,23 +86,23 @@ class AlbumResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AlbumResponseDto &&
|
||||
other.albumName == albumName &&
|
||||
other.albumThumbnailAssetId == albumThumbnailAssetId &&
|
||||
other.assetCount == assetCount &&
|
||||
other.assets == assets &&
|
||||
other.createdAt == createdAt &&
|
||||
other.description == description &&
|
||||
other.endDate == endDate &&
|
||||
other.hasSharedLink == hasSharedLink &&
|
||||
other.id == id &&
|
||||
other.isActivityEnabled == isActivityEnabled &&
|
||||
other.lastModifiedAssetTimestamp == lastModifiedAssetTimestamp &&
|
||||
other.owner == owner &&
|
||||
other.ownerId == ownerId &&
|
||||
other.shared == shared &&
|
||||
other.sharedUsers == sharedUsers &&
|
||||
other.startDate == startDate &&
|
||||
other.updatedAt == updatedAt;
|
||||
other.albumName == albumName &&
|
||||
other.albumThumbnailAssetId == albumThumbnailAssetId &&
|
||||
other.assetCount == assetCount &&
|
||||
_deepEquality.equals(other.assets, assets) &&
|
||||
other.createdAt == createdAt &&
|
||||
other.description == description &&
|
||||
other.endDate == endDate &&
|
||||
other.hasSharedLink == hasSharedLink &&
|
||||
other.id == id &&
|
||||
other.isActivityEnabled == isActivityEnabled &&
|
||||
other.lastModifiedAssetTimestamp == lastModifiedAssetTimestamp &&
|
||||
other.owner == owner &&
|
||||
other.ownerId == ownerId &&
|
||||
other.shared == shared &&
|
||||
_deepEquality.equals(other.sharedUsers, sharedUsers) &&
|
||||
other.startDate == startDate &&
|
||||
other.updatedAt == updatedAt;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -178,19 +178,19 @@ class AlbumResponseDto {
|
|||
albumThumbnailAssetId: mapValueOfType<String>(json, r'albumThumbnailAssetId'),
|
||||
assetCount: mapValueOfType<int>(json, r'assetCount')!,
|
||||
assets: AssetResponseDto.listFromJson(json[r'assets']),
|
||||
createdAt: mapDateTime(json, r'createdAt', '')!,
|
||||
createdAt: mapDateTime(json, r'createdAt', r'')!,
|
||||
description: mapValueOfType<String>(json, r'description')!,
|
||||
endDate: mapDateTime(json, r'endDate', ''),
|
||||
endDate: mapDateTime(json, r'endDate', r''),
|
||||
hasSharedLink: mapValueOfType<bool>(json, r'hasSharedLink')!,
|
||||
id: mapValueOfType<String>(json, r'id')!,
|
||||
isActivityEnabled: mapValueOfType<bool>(json, r'isActivityEnabled')!,
|
||||
lastModifiedAssetTimestamp: mapDateTime(json, r'lastModifiedAssetTimestamp', ''),
|
||||
lastModifiedAssetTimestamp: mapDateTime(json, r'lastModifiedAssetTimestamp', r''),
|
||||
owner: UserResponseDto.fromJson(json[r'owner'])!,
|
||||
ownerId: mapValueOfType<String>(json, r'ownerId')!,
|
||||
shared: mapValueOfType<bool>(json, r'shared')!,
|
||||
sharedUsers: UserResponseDto.listFromJson(json[r'sharedUsers']),
|
||||
startDate: mapDateTime(json, r'startDate', ''),
|
||||
updatedAt: mapDateTime(json, r'updatedAt', '')!,
|
||||
startDate: mapDateTime(json, r'startDate', r''),
|
||||
updatedAt: mapDateTime(json, r'updatedAt', r'')!,
|
||||
);
|
||||
}
|
||||
return null;
|
||||
|
|
|
|||
|
|
@ -53,18 +53,18 @@ class AllJobStatusResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AllJobStatusResponseDto &&
|
||||
other.backgroundTask == backgroundTask &&
|
||||
other.faceDetection == faceDetection &&
|
||||
other.facialRecognition == facialRecognition &&
|
||||
other.library_ == library_ &&
|
||||
other.metadataExtraction == metadataExtraction &&
|
||||
other.migration == migration &&
|
||||
other.search == search &&
|
||||
other.sidecar == sidecar &&
|
||||
other.smartSearch == smartSearch &&
|
||||
other.storageTemplateMigration == storageTemplateMigration &&
|
||||
other.thumbnailGeneration == thumbnailGeneration &&
|
||||
other.videoConversion == videoConversion;
|
||||
other.backgroundTask == backgroundTask &&
|
||||
other.faceDetection == faceDetection &&
|
||||
other.facialRecognition == facialRecognition &&
|
||||
other.library_ == library_ &&
|
||||
other.metadataExtraction == metadataExtraction &&
|
||||
other.migration == migration &&
|
||||
other.search == search &&
|
||||
other.sidecar == sidecar &&
|
||||
other.smartSearch == smartSearch &&
|
||||
other.storageTemplateMigration == storageTemplateMigration &&
|
||||
other.thumbnailGeneration == thumbnailGeneration &&
|
||||
other.videoConversion == videoConversion;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/api_key_create_dto.dart
generated
2
mobile/openapi/lib/model/api_key_create_dto.dart
generated
|
|
@ -26,7 +26,7 @@ class APIKeyCreateDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is APIKeyCreateDto &&
|
||||
other.name == name;
|
||||
other.name == name;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ class APIKeyCreateResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is APIKeyCreateResponseDto &&
|
||||
other.apiKey == apiKey &&
|
||||
other.secret == secret;
|
||||
other.apiKey == apiKey &&
|
||||
other.secret == secret;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
12
mobile/openapi/lib/model/api_key_response_dto.dart
generated
12
mobile/openapi/lib/model/api_key_response_dto.dart
generated
|
|
@ -29,10 +29,10 @@ class APIKeyResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is APIKeyResponseDto &&
|
||||
other.createdAt == createdAt &&
|
||||
other.id == id &&
|
||||
other.name == name &&
|
||||
other.updatedAt == updatedAt;
|
||||
other.createdAt == createdAt &&
|
||||
other.id == id &&
|
||||
other.name == name &&
|
||||
other.updatedAt == updatedAt;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -62,10 +62,10 @@ class APIKeyResponseDto {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return APIKeyResponseDto(
|
||||
createdAt: mapDateTime(json, r'createdAt', '')!,
|
||||
createdAt: mapDateTime(json, r'createdAt', r'')!,
|
||||
id: mapValueOfType<String>(json, r'id')!,
|
||||
name: mapValueOfType<String>(json, r'name')!,
|
||||
updatedAt: mapDateTime(json, r'updatedAt', '')!,
|
||||
updatedAt: mapDateTime(json, r'updatedAt', r'')!,
|
||||
);
|
||||
}
|
||||
return null;
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/api_key_update_dto.dart
generated
2
mobile/openapi/lib/model/api_key_update_dto.dart
generated
|
|
@ -20,7 +20,7 @@ class APIKeyUpdateDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is APIKeyUpdateDto &&
|
||||
other.name == name;
|
||||
other.name == name;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ class AssetBulkDeleteDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AssetBulkDeleteDto &&
|
||||
other.force == force &&
|
||||
other.ids == ids;
|
||||
other.force == force &&
|
||||
_deepEquality.equals(other.ids, ids);
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -61,8 +61,8 @@ class AssetBulkDeleteDto {
|
|||
|
||||
return AssetBulkDeleteDto(
|
||||
force: mapValueOfType<bool>(json, r'force'),
|
||||
ids: json[r'ids'] is List
|
||||
? (json[r'ids'] as List).cast<String>()
|
||||
ids: json[r'ids'] is Iterable
|
||||
? (json[r'ids'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
28
mobile/openapi/lib/model/asset_bulk_update_dto.dart
generated
28
mobile/openapi/lib/model/asset_bulk_update_dto.dart
generated
|
|
@ -83,14 +83,14 @@ class AssetBulkUpdateDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AssetBulkUpdateDto &&
|
||||
other.dateTimeOriginal == dateTimeOriginal &&
|
||||
other.ids == ids &&
|
||||
other.isArchived == isArchived &&
|
||||
other.isFavorite == isFavorite &&
|
||||
other.latitude == latitude &&
|
||||
other.longitude == longitude &&
|
||||
other.removeParent == removeParent &&
|
||||
other.stackParentId == stackParentId;
|
||||
other.dateTimeOriginal == dateTimeOriginal &&
|
||||
_deepEquality.equals(other.ids, ids) &&
|
||||
other.isArchived == isArchived &&
|
||||
other.isFavorite == isFavorite &&
|
||||
other.latitude == latitude &&
|
||||
other.longitude == longitude &&
|
||||
other.removeParent == removeParent &&
|
||||
other.stackParentId == stackParentId;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -157,17 +157,13 @@ class AssetBulkUpdateDto {
|
|||
|
||||
return AssetBulkUpdateDto(
|
||||
dateTimeOriginal: mapValueOfType<String>(json, r'dateTimeOriginal'),
|
||||
ids: json[r'ids'] is List
|
||||
? (json[r'ids'] as List).cast<String>()
|
||||
ids: json[r'ids'] is Iterable
|
||||
? (json[r'ids'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
isArchived: mapValueOfType<bool>(json, r'isArchived'),
|
||||
isFavorite: mapValueOfType<bool>(json, r'isFavorite'),
|
||||
latitude: json[r'latitude'] == null
|
||||
? null
|
||||
: num.parse(json[r'latitude'].toString()),
|
||||
longitude: json[r'longitude'] == null
|
||||
? null
|
||||
: num.parse(json[r'longitude'].toString()),
|
||||
latitude: num.parse('${json[r'latitude']}'),
|
||||
longitude: num.parse('${json[r'longitude']}'),
|
||||
removeParent: mapValueOfType<bool>(json, r'removeParent'),
|
||||
stackParentId: mapValueOfType<String>(json, r'stackParentId'),
|
||||
);
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class AssetBulkUploadCheckDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AssetBulkUploadCheckDto &&
|
||||
other.assets == assets;
|
||||
_deepEquality.equals(other.assets, assets);
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@ class AssetBulkUploadCheckItem {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AssetBulkUploadCheckItem &&
|
||||
other.checksum == checksum &&
|
||||
other.id == id;
|
||||
other.checksum == checksum &&
|
||||
other.id == id;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class AssetBulkUploadCheckResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AssetBulkUploadCheckResponseDto &&
|
||||
other.results == results;
|
||||
_deepEquality.equals(other.results, results);
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -35,10 +35,10 @@ class AssetBulkUploadCheckResult {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AssetBulkUploadCheckResult &&
|
||||
other.action == action &&
|
||||
other.assetId == assetId &&
|
||||
other.id == id &&
|
||||
other.reason == reason;
|
||||
other.action == action &&
|
||||
other.assetId == assetId &&
|
||||
other.id == id &&
|
||||
other.reason == reason;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -156,7 +156,7 @@ class AssetBulkUploadCheckResultActionEnum {
|
|||
|
||||
static AssetBulkUploadCheckResultActionEnum? fromJson(dynamic value) => AssetBulkUploadCheckResultActionEnumTypeTransformer().decode(value);
|
||||
|
||||
static List<AssetBulkUploadCheckResultActionEnum>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<AssetBulkUploadCheckResultActionEnum> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <AssetBulkUploadCheckResultActionEnum>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
@ -230,7 +230,7 @@ class AssetBulkUploadCheckResultReasonEnum {
|
|||
|
||||
static AssetBulkUploadCheckResultReasonEnum? fromJson(dynamic value) => AssetBulkUploadCheckResultReasonEnumTypeTransformer().decode(value);
|
||||
|
||||
static List<AssetBulkUploadCheckResultReasonEnum>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<AssetBulkUploadCheckResultReasonEnum> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <AssetBulkUploadCheckResultReasonEnum>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
|
|
@ -41,14 +41,14 @@ class AssetFaceResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AssetFaceResponseDto &&
|
||||
other.boundingBoxX1 == boundingBoxX1 &&
|
||||
other.boundingBoxX2 == boundingBoxX2 &&
|
||||
other.boundingBoxY1 == boundingBoxY1 &&
|
||||
other.boundingBoxY2 == boundingBoxY2 &&
|
||||
other.id == id &&
|
||||
other.imageHeight == imageHeight &&
|
||||
other.imageWidth == imageWidth &&
|
||||
other.person == person;
|
||||
other.boundingBoxX1 == boundingBoxX1 &&
|
||||
other.boundingBoxX2 == boundingBoxX2 &&
|
||||
other.boundingBoxY1 == boundingBoxY1 &&
|
||||
other.boundingBoxY2 == boundingBoxY2 &&
|
||||
other.id == id &&
|
||||
other.imageHeight == imageHeight &&
|
||||
other.imageWidth == imageWidth &&
|
||||
other.person == person;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class AssetFaceUpdateDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AssetFaceUpdateDto &&
|
||||
other.data == data;
|
||||
_deepEquality.equals(other.data, data);
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ class AssetFaceUpdateItem {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AssetFaceUpdateItem &&
|
||||
other.assetId == assetId &&
|
||||
other.personId == personId;
|
||||
other.assetId == assetId &&
|
||||
other.personId == personId;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -38,13 +38,13 @@ class AssetFaceWithoutPersonResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AssetFaceWithoutPersonResponseDto &&
|
||||
other.boundingBoxX1 == boundingBoxX1 &&
|
||||
other.boundingBoxX2 == boundingBoxX2 &&
|
||||
other.boundingBoxY1 == boundingBoxY1 &&
|
||||
other.boundingBoxY2 == boundingBoxY2 &&
|
||||
other.id == id &&
|
||||
other.imageHeight == imageHeight &&
|
||||
other.imageWidth == imageWidth;
|
||||
other.boundingBoxX1 == boundingBoxX1 &&
|
||||
other.boundingBoxX2 == boundingBoxX2 &&
|
||||
other.boundingBoxY1 == boundingBoxY1 &&
|
||||
other.boundingBoxY2 == boundingBoxY2 &&
|
||||
other.id == id &&
|
||||
other.imageHeight == imageHeight &&
|
||||
other.imageWidth == imageWidth;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ class AssetFileUploadResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AssetFileUploadResponseDto &&
|
||||
other.duplicate == duplicate &&
|
||||
other.id == id;
|
||||
other.duplicate == duplicate &&
|
||||
other.id == id;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
6
mobile/openapi/lib/model/asset_ids_dto.dart
generated
6
mobile/openapi/lib/model/asset_ids_dto.dart
generated
|
|
@ -20,7 +20,7 @@ class AssetIdsDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AssetIdsDto &&
|
||||
other.assetIds == assetIds;
|
||||
_deepEquality.equals(other.assetIds, assetIds);
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -44,8 +44,8 @@ class AssetIdsDto {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return AssetIdsDto(
|
||||
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 [],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,9 +26,9 @@ class AssetIdsResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AssetIdsResponseDto &&
|
||||
other.assetId == assetId &&
|
||||
other.error == error &&
|
||||
other.success == success;
|
||||
other.assetId == assetId &&
|
||||
other.error == error &&
|
||||
other.success == success;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -141,7 +141,7 @@ class AssetIdsResponseDtoErrorEnum {
|
|||
|
||||
static AssetIdsResponseDtoErrorEnum? fromJson(dynamic value) => AssetIdsResponseDtoErrorEnumTypeTransformer().decode(value);
|
||||
|
||||
static List<AssetIdsResponseDtoErrorEnum>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<AssetIdsResponseDtoErrorEnum> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <AssetIdsResponseDtoErrorEnum>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/asset_job_name.dart
generated
2
mobile/openapi/lib/model/asset_job_name.dart
generated
|
|
@ -36,7 +36,7 @@ class AssetJobName {
|
|||
|
||||
static AssetJobName? fromJson(dynamic value) => AssetJobNameTypeTransformer().decode(value);
|
||||
|
||||
static List<AssetJobName>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<AssetJobName> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <AssetJobName>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
8
mobile/openapi/lib/model/asset_jobs_dto.dart
generated
8
mobile/openapi/lib/model/asset_jobs_dto.dart
generated
|
|
@ -23,8 +23,8 @@ class AssetJobsDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AssetJobsDto &&
|
||||
other.assetIds == assetIds &&
|
||||
other.name == name;
|
||||
_deepEquality.equals(other.assetIds, assetIds) &&
|
||||
other.name == name;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -50,8 +50,8 @@ class AssetJobsDto {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return AssetJobsDto(
|
||||
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 [],
|
||||
name: AssetJobName.fromJson(json[r'name'])!,
|
||||
);
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/asset_order.dart
generated
2
mobile/openapi/lib/model/asset_order.dart
generated
|
|
@ -34,7 +34,7 @@ class AssetOrder {
|
|||
|
||||
static AssetOrder? fromJson(dynamic value) => AssetOrderTypeTransformer().decode(value);
|
||||
|
||||
static List<AssetOrder>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<AssetOrder> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <AssetOrder>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
72
mobile/openapi/lib/model/asset_response_dto.dart
generated
72
mobile/openapi/lib/model/asset_response_dto.dart
generated
|
|
@ -132,38 +132,38 @@ class AssetResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AssetResponseDto &&
|
||||
other.checksum == checksum &&
|
||||
other.deviceAssetId == deviceAssetId &&
|
||||
other.deviceId == deviceId &&
|
||||
other.duration == duration &&
|
||||
other.exifInfo == exifInfo &&
|
||||
other.fileCreatedAt == fileCreatedAt &&
|
||||
other.fileModifiedAt == fileModifiedAt &&
|
||||
other.hasMetadata == hasMetadata &&
|
||||
other.id == id &&
|
||||
other.isArchived == isArchived &&
|
||||
other.isExternal == isExternal &&
|
||||
other.isFavorite == isFavorite &&
|
||||
other.isOffline == isOffline &&
|
||||
other.isReadOnly == isReadOnly &&
|
||||
other.isTrashed == isTrashed &&
|
||||
other.libraryId == libraryId &&
|
||||
other.livePhotoVideoId == livePhotoVideoId &&
|
||||
other.localDateTime == localDateTime &&
|
||||
other.originalFileName == originalFileName &&
|
||||
other.originalPath == originalPath &&
|
||||
other.owner == owner &&
|
||||
other.ownerId == ownerId &&
|
||||
other.people == people &&
|
||||
other.resized == resized &&
|
||||
other.smartInfo == smartInfo &&
|
||||
other.stack == stack &&
|
||||
other.stackCount == stackCount &&
|
||||
other.stackParentId == stackParentId &&
|
||||
other.tags == tags &&
|
||||
other.thumbhash == thumbhash &&
|
||||
other.type == type &&
|
||||
other.updatedAt == updatedAt;
|
||||
other.checksum == checksum &&
|
||||
other.deviceAssetId == deviceAssetId &&
|
||||
other.deviceId == deviceId &&
|
||||
other.duration == duration &&
|
||||
other.exifInfo == exifInfo &&
|
||||
other.fileCreatedAt == fileCreatedAt &&
|
||||
other.fileModifiedAt == fileModifiedAt &&
|
||||
other.hasMetadata == hasMetadata &&
|
||||
other.id == id &&
|
||||
other.isArchived == isArchived &&
|
||||
other.isExternal == isExternal &&
|
||||
other.isFavorite == isFavorite &&
|
||||
other.isOffline == isOffline &&
|
||||
other.isReadOnly == isReadOnly &&
|
||||
other.isTrashed == isTrashed &&
|
||||
other.libraryId == libraryId &&
|
||||
other.livePhotoVideoId == livePhotoVideoId &&
|
||||
other.localDateTime == localDateTime &&
|
||||
other.originalFileName == originalFileName &&
|
||||
other.originalPath == originalPath &&
|
||||
other.owner == owner &&
|
||||
other.ownerId == ownerId &&
|
||||
_deepEquality.equals(other.people, people) &&
|
||||
other.resized == resized &&
|
||||
other.smartInfo == smartInfo &&
|
||||
_deepEquality.equals(other.stack, stack) &&
|
||||
other.stackCount == stackCount &&
|
||||
other.stackParentId == stackParentId &&
|
||||
_deepEquality.equals(other.tags, tags) &&
|
||||
other.thumbhash == thumbhash &&
|
||||
other.type == type &&
|
||||
other.updatedAt == updatedAt;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -282,8 +282,8 @@ class AssetResponseDto {
|
|||
deviceId: mapValueOfType<String>(json, r'deviceId')!,
|
||||
duration: mapValueOfType<String>(json, r'duration')!,
|
||||
exifInfo: ExifResponseDto.fromJson(json[r'exifInfo']),
|
||||
fileCreatedAt: mapDateTime(json, r'fileCreatedAt', '')!,
|
||||
fileModifiedAt: mapDateTime(json, r'fileModifiedAt', '')!,
|
||||
fileCreatedAt: mapDateTime(json, r'fileCreatedAt', r'')!,
|
||||
fileModifiedAt: mapDateTime(json, r'fileModifiedAt', r'')!,
|
||||
hasMetadata: mapValueOfType<bool>(json, r'hasMetadata')!,
|
||||
id: mapValueOfType<String>(json, r'id')!,
|
||||
isArchived: mapValueOfType<bool>(json, r'isArchived')!,
|
||||
|
|
@ -294,7 +294,7 @@ class AssetResponseDto {
|
|||
isTrashed: mapValueOfType<bool>(json, r'isTrashed')!,
|
||||
libraryId: mapValueOfType<String>(json, r'libraryId')!,
|
||||
livePhotoVideoId: mapValueOfType<String>(json, r'livePhotoVideoId'),
|
||||
localDateTime: mapDateTime(json, r'localDateTime', '')!,
|
||||
localDateTime: mapDateTime(json, r'localDateTime', r'')!,
|
||||
originalFileName: mapValueOfType<String>(json, r'originalFileName')!,
|
||||
originalPath: mapValueOfType<String>(json, r'originalPath')!,
|
||||
owner: UserResponseDto.fromJson(json[r'owner']),
|
||||
|
|
@ -308,7 +308,7 @@ class AssetResponseDto {
|
|||
tags: TagResponseDto.listFromJson(json[r'tags']),
|
||||
thumbhash: mapValueOfType<String>(json, r'thumbhash'),
|
||||
type: AssetTypeEnum.fromJson(json[r'type'])!,
|
||||
updatedAt: mapDateTime(json, r'updatedAt', '')!,
|
||||
updatedAt: mapDateTime(json, r'updatedAt', r'')!,
|
||||
);
|
||||
}
|
||||
return null;
|
||||
|
|
|
|||
|
|
@ -26,9 +26,9 @@ class AssetStatsResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AssetStatsResponseDto &&
|
||||
other.images == images &&
|
||||
other.total == total &&
|
||||
other.videos == videos;
|
||||
other.images == images &&
|
||||
other.total == total &&
|
||||
other.videos == videos;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/asset_type_enum.dart
generated
2
mobile/openapi/lib/model/asset_type_enum.dart
generated
|
|
@ -38,7 +38,7 @@ class AssetTypeEnum {
|
|||
|
||||
static AssetTypeEnum? fromJson(dynamic value) => AssetTypeEnumTypeTransformer().decode(value);
|
||||
|
||||
static List<AssetTypeEnum>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<AssetTypeEnum> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <AssetTypeEnum>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/audio_codec.dart
generated
2
mobile/openapi/lib/model/audio_codec.dart
generated
|
|
@ -36,7 +36,7 @@ class AudioCodec {
|
|||
|
||||
static AudioCodec? fromJson(dynamic value) => AudioCodecTypeTransformer().decode(value);
|
||||
|
||||
static List<AudioCodec>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<AudioCodec> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <AudioCodec>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ class AuditDeletesResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AuditDeletesResponseDto &&
|
||||
other.ids == ids &&
|
||||
other.needsFullSync == needsFullSync;
|
||||
_deepEquality.equals(other.ids, ids) &&
|
||||
other.needsFullSync == needsFullSync;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -50,8 +50,8 @@ class AuditDeletesResponseDto {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return AuditDeletesResponseDto(
|
||||
ids: json[r'ids'] is List
|
||||
? (json[r'ids'] as List).cast<String>()
|
||||
ids: json[r'ids'] is Iterable
|
||||
? (json[r'ids'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
needsFullSync: mapValueOfType<bool>(json, r'needsFullSync')!,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -35,12 +35,12 @@ class AuthDeviceResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AuthDeviceResponseDto &&
|
||||
other.createdAt == createdAt &&
|
||||
other.current == current &&
|
||||
other.deviceOS == deviceOS &&
|
||||
other.deviceType == deviceType &&
|
||||
other.id == id &&
|
||||
other.updatedAt == updatedAt;
|
||||
other.createdAt == createdAt &&
|
||||
other.current == current &&
|
||||
other.deviceOS == deviceOS &&
|
||||
other.deviceType == deviceType &&
|
||||
other.id == id &&
|
||||
other.updatedAt == updatedAt;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -26,9 +26,9 @@ class BulkIdResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is BulkIdResponseDto &&
|
||||
other.error == error &&
|
||||
other.id == id &&
|
||||
other.success == success;
|
||||
other.error == error &&
|
||||
other.id == id &&
|
||||
other.success == success;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -143,7 +143,7 @@ class BulkIdResponseDtoErrorEnum {
|
|||
|
||||
static BulkIdResponseDtoErrorEnum? fromJson(dynamic value) => BulkIdResponseDtoErrorEnumTypeTransformer().decode(value);
|
||||
|
||||
static List<BulkIdResponseDtoErrorEnum>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<BulkIdResponseDtoErrorEnum> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <BulkIdResponseDtoErrorEnum>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
6
mobile/openapi/lib/model/bulk_ids_dto.dart
generated
6
mobile/openapi/lib/model/bulk_ids_dto.dart
generated
|
|
@ -20,7 +20,7 @@ class BulkIdsDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is BulkIdsDto &&
|
||||
other.ids == ids;
|
||||
_deepEquality.equals(other.ids, ids);
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -44,8 +44,8 @@ class BulkIdsDto {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return BulkIdsDto(
|
||||
ids: json[r'ids'] is List
|
||||
? (json[r'ids'] as List).cast<String>()
|
||||
ids: json[r'ids'] is Iterable
|
||||
? (json[r'ids'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ class ChangePasswordDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is ChangePasswordDto &&
|
||||
other.newPassword == newPassword &&
|
||||
other.password == password;
|
||||
other.newPassword == newPassword &&
|
||||
other.password == password;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ class CheckExistingAssetsDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is CheckExistingAssetsDto &&
|
||||
other.deviceAssetIds == deviceAssetIds &&
|
||||
other.deviceId == deviceId;
|
||||
_deepEquality.equals(other.deviceAssetIds, deviceAssetIds) &&
|
||||
other.deviceId == deviceId;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -50,8 +50,8 @@ class CheckExistingAssetsDto {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return CheckExistingAssetsDto(
|
||||
deviceAssetIds: json[r'deviceAssetIds'] is List
|
||||
? (json[r'deviceAssetIds'] as List).cast<String>()
|
||||
deviceAssetIds: json[r'deviceAssetIds'] is Iterable
|
||||
? (json[r'deviceAssetIds'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
deviceId: mapValueOfType<String>(json, r'deviceId')!,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class CheckExistingAssetsResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is CheckExistingAssetsResponseDto &&
|
||||
other.existingIds == existingIds;
|
||||
_deepEquality.equals(other.existingIds, existingIds);
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -44,8 +44,8 @@ class CheckExistingAssetsResponseDto {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return CheckExistingAssetsResponseDto(
|
||||
existingIds: json[r'existingIds'] is List
|
||||
? (json[r'existingIds'] as List).cast<String>()
|
||||
existingIds: json[r'existingIds'] is Iterable
|
||||
? (json[r'existingIds'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
8
mobile/openapi/lib/model/clip_config.dart
generated
8
mobile/openapi/lib/model/clip_config.dart
generated
|
|
@ -41,10 +41,10 @@ class CLIPConfig {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is CLIPConfig &&
|
||||
other.enabled == enabled &&
|
||||
other.mode == mode &&
|
||||
other.modelName == modelName &&
|
||||
other.modelType == modelType;
|
||||
other.enabled == enabled &&
|
||||
other.mode == mode &&
|
||||
other.modelName == modelName &&
|
||||
other.modelType == modelType;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/clip_mode.dart
generated
2
mobile/openapi/lib/model/clip_mode.dart
generated
|
|
@ -34,7 +34,7 @@ class CLIPMode {
|
|||
|
||||
static CLIPMode? fromJson(dynamic value) => CLIPModeTypeTransformer().decode(value);
|
||||
|
||||
static List<CLIPMode>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<CLIPMode> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <CLIPMode>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/colorspace.dart
generated
2
mobile/openapi/lib/model/colorspace.dart
generated
|
|
@ -34,7 +34,7 @@ class Colorspace {
|
|||
|
||||
static Colorspace? fromJson(dynamic value) => ColorspaceTypeTransformer().decode(value);
|
||||
|
||||
static List<Colorspace>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<Colorspace> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <Colorspace>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/cq_mode.dart
generated
2
mobile/openapi/lib/model/cq_mode.dart
generated
|
|
@ -36,7 +36,7 @@ class CQMode {
|
|||
|
||||
static CQMode? fromJson(dynamic value) => CQModeTypeTransformer().decode(value);
|
||||
|
||||
static List<CQMode>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<CQMode> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <CQMode>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
16
mobile/openapi/lib/model/create_album_dto.dart
generated
16
mobile/openapi/lib/model/create_album_dto.dart
generated
|
|
@ -35,10 +35,10 @@ class CreateAlbumDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is CreateAlbumDto &&
|
||||
other.albumName == albumName &&
|
||||
other.assetIds == assetIds &&
|
||||
other.description == description &&
|
||||
other.sharedWithUserIds == sharedWithUserIds;
|
||||
other.albumName == albumName &&
|
||||
_deepEquality.equals(other.assetIds, assetIds) &&
|
||||
other.description == description &&
|
||||
_deepEquality.equals(other.sharedWithUserIds, sharedWithUserIds);
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -73,12 +73,12 @@ class CreateAlbumDto {
|
|||
|
||||
return CreateAlbumDto(
|
||||
albumName: mapValueOfType<String>(json, r'albumName')!,
|
||||
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 [],
|
||||
description: mapValueOfType<String>(json, r'description'),
|
||||
sharedWithUserIds: json[r'sharedWithUserIds'] is List
|
||||
? (json[r'sharedWithUserIds'] as List).cast<String>()
|
||||
sharedWithUserIds: json[r'sharedWithUserIds'] is Iterable
|
||||
? (json[r'sharedWithUserIds'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
18
mobile/openapi/lib/model/create_library_dto.dart
generated
18
mobile/openapi/lib/model/create_library_dto.dart
generated
|
|
@ -44,11 +44,11 @@ class CreateLibraryDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is CreateLibraryDto &&
|
||||
other.exclusionPatterns == exclusionPatterns &&
|
||||
other.importPaths == importPaths &&
|
||||
other.isVisible == isVisible &&
|
||||
other.name == name &&
|
||||
other.type == type;
|
||||
_deepEquality.equals(other.exclusionPatterns, exclusionPatterns) &&
|
||||
_deepEquality.equals(other.importPaths, importPaths) &&
|
||||
other.isVisible == isVisible &&
|
||||
other.name == name &&
|
||||
other.type == type;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -88,11 +88,11 @@ class CreateLibraryDto {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return CreateLibraryDto(
|
||||
exclusionPatterns: json[r'exclusionPatterns'] is List
|
||||
? (json[r'exclusionPatterns'] as List).cast<String>()
|
||||
exclusionPatterns: json[r'exclusionPatterns'] is Iterable
|
||||
? (json[r'exclusionPatterns'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
importPaths: json[r'importPaths'] is List
|
||||
? (json[r'importPaths'] as List).cast<String>()
|
||||
importPaths: json[r'importPaths'] is Iterable
|
||||
? (json[r'importPaths'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
isVisible: mapValueOfType<bool>(json, r'isVisible'),
|
||||
name: mapValueOfType<String>(json, r'name'),
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ class CreateProfileImageResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is CreateProfileImageResponseDto &&
|
||||
other.profileImagePath == profileImagePath &&
|
||||
other.userId == userId;
|
||||
other.profileImagePath == profileImagePath &&
|
||||
other.userId == userId;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
4
mobile/openapi/lib/model/create_tag_dto.dart
generated
4
mobile/openapi/lib/model/create_tag_dto.dart
generated
|
|
@ -23,8 +23,8 @@ class CreateTagDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is CreateTagDto &&
|
||||
other.name == name &&
|
||||
other.type == type;
|
||||
other.name == name &&
|
||||
other.type == type;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
14
mobile/openapi/lib/model/create_user_dto.dart
generated
14
mobile/openapi/lib/model/create_user_dto.dart
generated
|
|
@ -44,13 +44,13 @@ class CreateUserDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is CreateUserDto &&
|
||||
other.email == email &&
|
||||
other.externalPath == externalPath &&
|
||||
other.memoriesEnabled == memoriesEnabled &&
|
||||
other.name == name &&
|
||||
other.password == password &&
|
||||
other.quotaSizeInBytes == quotaSizeInBytes &&
|
||||
other.storageLabel == storageLabel;
|
||||
other.email == email &&
|
||||
other.externalPath == externalPath &&
|
||||
other.memoriesEnabled == memoriesEnabled &&
|
||||
other.name == name &&
|
||||
other.password == password &&
|
||||
other.quotaSizeInBytes == quotaSizeInBytes &&
|
||||
other.storageLabel == storageLabel;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -32,11 +32,11 @@ class CuratedLocationsResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is CuratedLocationsResponseDto &&
|
||||
other.city == city &&
|
||||
other.deviceAssetId == deviceAssetId &&
|
||||
other.deviceId == deviceId &&
|
||||
other.id == id &&
|
||||
other.resizePath == resizePath;
|
||||
other.city == city &&
|
||||
other.deviceAssetId == deviceAssetId &&
|
||||
other.deviceId == deviceId &&
|
||||
other.id == id &&
|
||||
other.resizePath == resizePath;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -32,11 +32,11 @@ class CuratedObjectsResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is CuratedObjectsResponseDto &&
|
||||
other.deviceAssetId == deviceAssetId &&
|
||||
other.deviceId == deviceId &&
|
||||
other.id == id &&
|
||||
other.object == object &&
|
||||
other.resizePath == resizePath;
|
||||
other.deviceAssetId == deviceAssetId &&
|
||||
other.deviceId == deviceId &&
|
||||
other.id == id &&
|
||||
other.object == object &&
|
||||
other.resizePath == resizePath;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ class DownloadArchiveInfo {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is DownloadArchiveInfo &&
|
||||
other.assetIds == assetIds &&
|
||||
other.size == size;
|
||||
_deepEquality.equals(other.assetIds, assetIds) &&
|
||||
other.size == size;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -50,8 +50,8 @@ class DownloadArchiveInfo {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return DownloadArchiveInfo(
|
||||
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 [],
|
||||
size: mapValueOfType<int>(json, r'size')!,
|
||||
);
|
||||
|
|
|
|||
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'),
|
||||
);
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ class DownloadResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is DownloadResponseDto &&
|
||||
other.archives == archives &&
|
||||
other.totalSize == totalSize;
|
||||
_deepEquality.equals(other.archives, archives) &&
|
||||
other.totalSize == totalSize;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/entity_type.dart
generated
2
mobile/openapi/lib/model/entity_type.dart
generated
|
|
@ -34,7 +34,7 @@ class EntityType {
|
|||
|
||||
static EntityType? fromJson(dynamic value) => EntityTypeTypeTransformer().decode(value);
|
||||
|
||||
static List<EntityType>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<EntityType> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <EntityType>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
60
mobile/openapi/lib/model/exif_response_dto.dart
generated
60
mobile/openapi/lib/model/exif_response_dto.dart
generated
|
|
@ -80,27 +80,27 @@ class ExifResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is ExifResponseDto &&
|
||||
other.city == city &&
|
||||
other.country == country &&
|
||||
other.dateTimeOriginal == dateTimeOriginal &&
|
||||
other.description == description &&
|
||||
other.exifImageHeight == exifImageHeight &&
|
||||
other.exifImageWidth == exifImageWidth &&
|
||||
other.exposureTime == exposureTime &&
|
||||
other.fNumber == fNumber &&
|
||||
other.fileSizeInByte == fileSizeInByte &&
|
||||
other.focalLength == focalLength &&
|
||||
other.iso == iso &&
|
||||
other.latitude == latitude &&
|
||||
other.lensModel == lensModel &&
|
||||
other.longitude == longitude &&
|
||||
other.make == make &&
|
||||
other.model == model &&
|
||||
other.modifyDate == modifyDate &&
|
||||
other.orientation == orientation &&
|
||||
other.projectionType == projectionType &&
|
||||
other.state == state &&
|
||||
other.timeZone == timeZone;
|
||||
other.city == city &&
|
||||
other.country == country &&
|
||||
other.dateTimeOriginal == dateTimeOriginal &&
|
||||
other.description == description &&
|
||||
other.exifImageHeight == exifImageHeight &&
|
||||
other.exifImageWidth == exifImageWidth &&
|
||||
other.exposureTime == exposureTime &&
|
||||
other.fNumber == fNumber &&
|
||||
other.fileSizeInByte == fileSizeInByte &&
|
||||
other.focalLength == focalLength &&
|
||||
other.iso == iso &&
|
||||
other.latitude == latitude &&
|
||||
other.lensModel == lensModel &&
|
||||
other.longitude == longitude &&
|
||||
other.make == make &&
|
||||
other.model == model &&
|
||||
other.modifyDate == modifyDate &&
|
||||
other.orientation == orientation &&
|
||||
other.projectionType == projectionType &&
|
||||
other.state == state &&
|
||||
other.timeZone == timeZone;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -250,35 +250,35 @@ class ExifResponseDto {
|
|||
return ExifResponseDto(
|
||||
city: mapValueOfType<String>(json, r'city'),
|
||||
country: mapValueOfType<String>(json, r'country'),
|
||||
dateTimeOriginal: mapDateTime(json, r'dateTimeOriginal', ''),
|
||||
dateTimeOriginal: mapDateTime(json, r'dateTimeOriginal', r''),
|
||||
description: mapValueOfType<String>(json, r'description'),
|
||||
exifImageHeight: json[r'exifImageHeight'] == null
|
||||
? null
|
||||
: num.parse(json[r'exifImageHeight'].toString()),
|
||||
: num.parse('${json[r'exifImageHeight']}'),
|
||||
exifImageWidth: json[r'exifImageWidth'] == null
|
||||
? null
|
||||
: num.parse(json[r'exifImageWidth'].toString()),
|
||||
: num.parse('${json[r'exifImageWidth']}'),
|
||||
exposureTime: mapValueOfType<String>(json, r'exposureTime'),
|
||||
fNumber: json[r'fNumber'] == null
|
||||
? null
|
||||
: num.parse(json[r'fNumber'].toString()),
|
||||
: num.parse('${json[r'fNumber']}'),
|
||||
fileSizeInByte: mapValueOfType<int>(json, r'fileSizeInByte'),
|
||||
focalLength: json[r'focalLength'] == null
|
||||
? null
|
||||
: num.parse(json[r'focalLength'].toString()),
|
||||
: num.parse('${json[r'focalLength']}'),
|
||||
iso: json[r'iso'] == null
|
||||
? null
|
||||
: num.parse(json[r'iso'].toString()),
|
||||
: num.parse('${json[r'iso']}'),
|
||||
latitude: json[r'latitude'] == null
|
||||
? null
|
||||
: num.parse(json[r'latitude'].toString()),
|
||||
: num.parse('${json[r'latitude']}'),
|
||||
lensModel: mapValueOfType<String>(json, r'lensModel'),
|
||||
longitude: json[r'longitude'] == null
|
||||
? null
|
||||
: num.parse(json[r'longitude'].toString()),
|
||||
: num.parse('${json[r'longitude']}'),
|
||||
make: mapValueOfType<String>(json, r'make'),
|
||||
model: mapValueOfType<String>(json, r'model'),
|
||||
modifyDate: mapDateTime(json, r'modifyDate', ''),
|
||||
modifyDate: mapDateTime(json, r'modifyDate', r''),
|
||||
orientation: mapValueOfType<String>(json, r'orientation'),
|
||||
projectionType: mapValueOfType<String>(json, r'projectionType'),
|
||||
state: mapValueOfType<String>(json, r'state'),
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/face_dto.dart
generated
2
mobile/openapi/lib/model/face_dto.dart
generated
|
|
@ -20,7 +20,7 @@ class FaceDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is FaceDto &&
|
||||
other.id == id;
|
||||
other.id == id;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
6
mobile/openapi/lib/model/file_checksum_dto.dart
generated
6
mobile/openapi/lib/model/file_checksum_dto.dart
generated
|
|
@ -20,7 +20,7 @@ class FileChecksumDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is FileChecksumDto &&
|
||||
other.filenames == filenames;
|
||||
_deepEquality.equals(other.filenames, filenames);
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -44,8 +44,8 @@ class FileChecksumDto {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return FileChecksumDto(
|
||||
filenames: json[r'filenames'] is List
|
||||
? (json[r'filenames'] as List).cast<String>()
|
||||
filenames: json[r'filenames'] is Iterable
|
||||
? (json[r'filenames'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ class FileChecksumResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is FileChecksumResponseDto &&
|
||||
other.checksum == checksum &&
|
||||
other.filename == filename;
|
||||
other.checksum == checksum &&
|
||||
other.filename == filename;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
8
mobile/openapi/lib/model/file_report_dto.dart
generated
8
mobile/openapi/lib/model/file_report_dto.dart
generated
|
|
@ -23,8 +23,8 @@ class FileReportDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is FileReportDto &&
|
||||
other.extras == extras &&
|
||||
other.orphans == orphans;
|
||||
_deepEquality.equals(other.extras, extras) &&
|
||||
_deepEquality.equals(other.orphans, orphans);
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -50,8 +50,8 @@ class FileReportDto {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return FileReportDto(
|
||||
extras: json[r'extras'] is List
|
||||
? (json[r'extras'] as List).cast<String>()
|
||||
extras: json[r'extras'] is Iterable
|
||||
? (json[r'extras'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
orphans: FileReportItemDto.listFromJson(json[r'orphans']),
|
||||
);
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class FileReportFixDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is FileReportFixDto &&
|
||||
other.items == items;
|
||||
_deepEquality.equals(other.items, items);
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
10
mobile/openapi/lib/model/file_report_item_dto.dart
generated
10
mobile/openapi/lib/model/file_report_item_dto.dart
generated
|
|
@ -38,11 +38,11 @@ class FileReportItemDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is FileReportItemDto &&
|
||||
other.checksum == checksum &&
|
||||
other.entityId == entityId &&
|
||||
other.entityType == entityType &&
|
||||
other.pathType == pathType &&
|
||||
other.pathValue == pathValue;
|
||||
other.checksum == checksum &&
|
||||
other.entityId == entityId &&
|
||||
other.entityType == entityType &&
|
||||
other.pathType == pathType &&
|
||||
other.pathValue == pathValue;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/job_command.dart
generated
2
mobile/openapi/lib/model/job_command.dart
generated
|
|
@ -40,7 +40,7 @@ class JobCommand {
|
|||
|
||||
static JobCommand? fromJson(dynamic value) => JobCommandTypeTransformer().decode(value);
|
||||
|
||||
static List<JobCommand>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<JobCommand> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <JobCommand>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
4
mobile/openapi/lib/model/job_command_dto.dart
generated
4
mobile/openapi/lib/model/job_command_dto.dart
generated
|
|
@ -23,8 +23,8 @@ class JobCommandDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is JobCommandDto &&
|
||||
other.command == command &&
|
||||
other.force == force;
|
||||
other.command == command &&
|
||||
other.force == force;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
12
mobile/openapi/lib/model/job_counts_dto.dart
generated
12
mobile/openapi/lib/model/job_counts_dto.dart
generated
|
|
@ -35,12 +35,12 @@ class JobCountsDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is JobCountsDto &&
|
||||
other.active == active &&
|
||||
other.completed == completed &&
|
||||
other.delayed == delayed &&
|
||||
other.failed == failed &&
|
||||
other.paused == paused &&
|
||||
other.waiting == waiting;
|
||||
other.active == active &&
|
||||
other.completed == completed &&
|
||||
other.delayed == delayed &&
|
||||
other.failed == failed &&
|
||||
other.paused == paused &&
|
||||
other.waiting == waiting;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/job_name.dart
generated
2
mobile/openapi/lib/model/job_name.dart
generated
|
|
@ -54,7 +54,7 @@ class JobName {
|
|||
|
||||
static JobName? fromJson(dynamic value) => JobNameTypeTransformer().decode(value);
|
||||
|
||||
static List<JobName>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<JobName> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <JobName>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/job_settings_dto.dart
generated
2
mobile/openapi/lib/model/job_settings_dto.dart
generated
|
|
@ -20,7 +20,7 @@ class JobSettingsDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is JobSettingsDto &&
|
||||
other.concurrency == concurrency;
|
||||
other.concurrency == concurrency;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
4
mobile/openapi/lib/model/job_status_dto.dart
generated
4
mobile/openapi/lib/model/job_status_dto.dart
generated
|
|
@ -23,8 +23,8 @@ class JobStatusDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is JobStatusDto &&
|
||||
other.jobCounts == jobCounts &&
|
||||
other.queueStatus == queueStatus;
|
||||
other.jobCounts == jobCounts &&
|
||||
other.queueStatus == queueStatus;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
34
mobile/openapi/lib/model/library_response_dto.dart
generated
34
mobile/openapi/lib/model/library_response_dto.dart
generated
|
|
@ -47,16 +47,16 @@ class LibraryResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is LibraryResponseDto &&
|
||||
other.assetCount == assetCount &&
|
||||
other.createdAt == createdAt &&
|
||||
other.exclusionPatterns == exclusionPatterns &&
|
||||
other.id == id &&
|
||||
other.importPaths == importPaths &&
|
||||
other.name == name &&
|
||||
other.ownerId == ownerId &&
|
||||
other.refreshedAt == refreshedAt &&
|
||||
other.type == type &&
|
||||
other.updatedAt == updatedAt;
|
||||
other.assetCount == assetCount &&
|
||||
other.createdAt == createdAt &&
|
||||
_deepEquality.equals(other.exclusionPatterns, exclusionPatterns) &&
|
||||
other.id == id &&
|
||||
_deepEquality.equals(other.importPaths, importPaths) &&
|
||||
other.name == name &&
|
||||
other.ownerId == ownerId &&
|
||||
other.refreshedAt == refreshedAt &&
|
||||
other.type == type &&
|
||||
other.updatedAt == updatedAt;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -103,19 +103,19 @@ class LibraryResponseDto {
|
|||
|
||||
return LibraryResponseDto(
|
||||
assetCount: mapValueOfType<int>(json, r'assetCount')!,
|
||||
createdAt: mapDateTime(json, r'createdAt', '')!,
|
||||
exclusionPatterns: json[r'exclusionPatterns'] is List
|
||||
? (json[r'exclusionPatterns'] as List).cast<String>()
|
||||
createdAt: mapDateTime(json, r'createdAt', r'')!,
|
||||
exclusionPatterns: json[r'exclusionPatterns'] is Iterable
|
||||
? (json[r'exclusionPatterns'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
id: mapValueOfType<String>(json, r'id')!,
|
||||
importPaths: json[r'importPaths'] is List
|
||||
? (json[r'importPaths'] as List).cast<String>()
|
||||
importPaths: json[r'importPaths'] is Iterable
|
||||
? (json[r'importPaths'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
name: mapValueOfType<String>(json, r'name')!,
|
||||
ownerId: mapValueOfType<String>(json, r'ownerId')!,
|
||||
refreshedAt: mapDateTime(json, r'refreshedAt', ''),
|
||||
refreshedAt: mapDateTime(json, r'refreshedAt', r''),
|
||||
type: LibraryType.fromJson(json[r'type'])!,
|
||||
updatedAt: mapDateTime(json, r'updatedAt', '')!,
|
||||
updatedAt: mapDateTime(json, r'updatedAt', r'')!,
|
||||
);
|
||||
}
|
||||
return null;
|
||||
|
|
|
|||
|
|
@ -29,10 +29,10 @@ class LibraryStatsResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is LibraryStatsResponseDto &&
|
||||
other.photos == photos &&
|
||||
other.total == total &&
|
||||
other.usage == usage &&
|
||||
other.videos == videos;
|
||||
other.photos == photos &&
|
||||
other.total == total &&
|
||||
other.usage == usage &&
|
||||
other.videos == videos;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/library_type.dart
generated
2
mobile/openapi/lib/model/library_type.dart
generated
|
|
@ -34,7 +34,7 @@ class LibraryType {
|
|||
|
||||
static LibraryType? fromJson(dynamic value) => LibraryTypeTypeTransformer().decode(value);
|
||||
|
||||
static List<LibraryType>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<LibraryType> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <LibraryType>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/log_level.dart
generated
2
mobile/openapi/lib/model/log_level.dart
generated
|
|
@ -42,7 +42,7 @@ class LogLevel {
|
|||
|
||||
static LogLevel? fromJson(dynamic value) => LogLevelTypeTransformer().decode(value);
|
||||
|
||||
static List<LogLevel>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<LogLevel> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <LogLevel>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ class LoginCredentialDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is LoginCredentialDto &&
|
||||
other.email == email &&
|
||||
other.password == password;
|
||||
other.email == email &&
|
||||
other.password == password;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
14
mobile/openapi/lib/model/login_response_dto.dart
generated
14
mobile/openapi/lib/model/login_response_dto.dart
generated
|
|
@ -38,13 +38,13 @@ class LoginResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is LoginResponseDto &&
|
||||
other.accessToken == accessToken &&
|
||||
other.isAdmin == isAdmin &&
|
||||
other.name == name &&
|
||||
other.profileImagePath == profileImagePath &&
|
||||
other.shouldChangePassword == shouldChangePassword &&
|
||||
other.userEmail == userEmail &&
|
||||
other.userId == userId;
|
||||
other.accessToken == accessToken &&
|
||||
other.isAdmin == isAdmin &&
|
||||
other.name == name &&
|
||||
other.profileImagePath == profileImagePath &&
|
||||
other.shouldChangePassword == shouldChangePassword &&
|
||||
other.userEmail == userEmail &&
|
||||
other.userId == userId;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ class LogoutResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is LogoutResponseDto &&
|
||||
other.redirectUri == redirectUri &&
|
||||
other.successful == successful;
|
||||
other.redirectUri == redirectUri &&
|
||||
other.successful == successful;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -26,9 +26,9 @@ class MapMarkerResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is MapMarkerResponseDto &&
|
||||
other.id == id &&
|
||||
other.lat == lat &&
|
||||
other.lon == lon;
|
||||
other.id == id &&
|
||||
other.lat == lat &&
|
||||
other.lon == lon;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/map_theme.dart
generated
2
mobile/openapi/lib/model/map_theme.dart
generated
|
|
@ -34,7 +34,7 @@ class MapTheme {
|
|||
|
||||
static MapTheme? fromJson(dynamic value) => MapThemeTypeTransformer().decode(value);
|
||||
|
||||
static List<MapTheme>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<MapTheme> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <MapTheme>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ class MemoryLaneResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is MemoryLaneResponseDto &&
|
||||
other.assets == assets &&
|
||||
other.title == title;
|
||||
_deepEquality.equals(other.assets, assets) &&
|
||||
other.title == title;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
6
mobile/openapi/lib/model/merge_person_dto.dart
generated
6
mobile/openapi/lib/model/merge_person_dto.dart
generated
|
|
@ -20,7 +20,7 @@ class MergePersonDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is MergePersonDto &&
|
||||
other.ids == ids;
|
||||
_deepEquality.equals(other.ids, ids);
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -44,8 +44,8 @@ class MergePersonDto {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return MergePersonDto(
|
||||
ids: json[r'ids'] is List
|
||||
? (json[r'ids'] as List).cast<String>()
|
||||
ids: json[r'ids'] is Iterable
|
||||
? (json[r'ids'] as Iterable).cast<String>().toList(growable: false)
|
||||
: const [],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/model_type.dart
generated
2
mobile/openapi/lib/model/model_type.dart
generated
|
|
@ -34,7 +34,7 @@ class ModelType {
|
|||
|
||||
static ModelType? fromJson(dynamic value) => ModelTypeTypeTransformer().decode(value);
|
||||
|
||||
static List<ModelType>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<ModelType> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <ModelType>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class OAuthAuthorizeResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is OAuthAuthorizeResponseDto &&
|
||||
other.url == url;
|
||||
other.url == url;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class OAuthCallbackDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is OAuthCallbackDto &&
|
||||
other.url == url;
|
||||
other.url == url;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/o_auth_config_dto.dart
generated
2
mobile/openapi/lib/model/o_auth_config_dto.dart
generated
|
|
@ -20,7 +20,7 @@ class OAuthConfigDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is OAuthConfigDto &&
|
||||
other.redirectUri == redirectUri;
|
||||
other.redirectUri == redirectUri;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -50,11 +50,11 @@ class OAuthConfigResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is OAuthConfigResponseDto &&
|
||||
other.autoLaunch == autoLaunch &&
|
||||
other.buttonText == buttonText &&
|
||||
other.enabled == enabled &&
|
||||
other.passwordLoginEnabled == passwordLoginEnabled &&
|
||||
other.url == url;
|
||||
other.autoLaunch == autoLaunch &&
|
||||
other.buttonText == buttonText &&
|
||||
other.enabled == enabled &&
|
||||
other.passwordLoginEnabled == passwordLoginEnabled &&
|
||||
other.url == url;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
40
mobile/openapi/lib/model/partner_response_dto.dart
generated
40
mobile/openapi/lib/model/partner_response_dto.dart
generated
|
|
@ -80,23 +80,23 @@ class PartnerResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is PartnerResponseDto &&
|
||||
other.avatarColor == avatarColor &&
|
||||
other.createdAt == createdAt &&
|
||||
other.deletedAt == deletedAt &&
|
||||
other.email == email &&
|
||||
other.externalPath == externalPath &&
|
||||
other.id == id &&
|
||||
other.inTimeline == inTimeline &&
|
||||
other.isAdmin == isAdmin &&
|
||||
other.memoriesEnabled == memoriesEnabled &&
|
||||
other.name == name &&
|
||||
other.oauthId == oauthId &&
|
||||
other.profileImagePath == profileImagePath &&
|
||||
other.quotaSizeInBytes == quotaSizeInBytes &&
|
||||
other.quotaUsageInBytes == quotaUsageInBytes &&
|
||||
other.shouldChangePassword == shouldChangePassword &&
|
||||
other.storageLabel == storageLabel &&
|
||||
other.updatedAt == updatedAt;
|
||||
other.avatarColor == avatarColor &&
|
||||
other.createdAt == createdAt &&
|
||||
other.deletedAt == deletedAt &&
|
||||
other.email == email &&
|
||||
other.externalPath == externalPath &&
|
||||
other.id == id &&
|
||||
other.inTimeline == inTimeline &&
|
||||
other.isAdmin == isAdmin &&
|
||||
other.memoriesEnabled == memoriesEnabled &&
|
||||
other.name == name &&
|
||||
other.oauthId == oauthId &&
|
||||
other.profileImagePath == profileImagePath &&
|
||||
other.quotaSizeInBytes == quotaSizeInBytes &&
|
||||
other.quotaUsageInBytes == quotaUsageInBytes &&
|
||||
other.shouldChangePassword == shouldChangePassword &&
|
||||
other.storageLabel == storageLabel &&
|
||||
other.updatedAt == updatedAt;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -181,8 +181,8 @@ class PartnerResponseDto {
|
|||
|
||||
return PartnerResponseDto(
|
||||
avatarColor: UserAvatarColor.fromJson(json[r'avatarColor'])!,
|
||||
createdAt: mapDateTime(json, r'createdAt', '')!,
|
||||
deletedAt: mapDateTime(json, r'deletedAt', ''),
|
||||
createdAt: mapDateTime(json, r'createdAt', r'')!,
|
||||
deletedAt: mapDateTime(json, r'deletedAt', r''),
|
||||
email: mapValueOfType<String>(json, r'email')!,
|
||||
externalPath: mapValueOfType<String>(json, r'externalPath'),
|
||||
id: mapValueOfType<String>(json, r'id')!,
|
||||
|
|
@ -196,7 +196,7 @@ class PartnerResponseDto {
|
|||
quotaUsageInBytes: mapValueOfType<int>(json, r'quotaUsageInBytes'),
|
||||
shouldChangePassword: mapValueOfType<bool>(json, r'shouldChangePassword')!,
|
||||
storageLabel: mapValueOfType<String>(json, r'storageLabel'),
|
||||
updatedAt: mapDateTime(json, r'updatedAt', '')!,
|
||||
updatedAt: mapDateTime(json, r'updatedAt', r'')!,
|
||||
);
|
||||
}
|
||||
return null;
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/path_entity_type.dart
generated
2
mobile/openapi/lib/model/path_entity_type.dart
generated
|
|
@ -36,7 +36,7 @@ class PathEntityType {
|
|||
|
||||
static PathEntityType? fromJson(dynamic value) => PathEntityTypeTypeTransformer().decode(value);
|
||||
|
||||
static List<PathEntityType>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<PathEntityType> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <PathEntityType>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/path_type.dart
generated
2
mobile/openapi/lib/model/path_type.dart
generated
|
|
@ -44,7 +44,7 @@ class PathType {
|
|||
|
||||
static PathType? fromJson(dynamic value) => PathTypeTypeTransformer().decode(value);
|
||||
|
||||
static List<PathType>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<PathType> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <PathType>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
|
|
@ -26,9 +26,9 @@ class PeopleResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is PeopleResponseDto &&
|
||||
other.people == people &&
|
||||
other.total == total &&
|
||||
other.visible == visible;
|
||||
_deepEquality.equals(other.people, people) &&
|
||||
other.total == total &&
|
||||
other.visible == visible;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/people_update_dto.dart
generated
2
mobile/openapi/lib/model/people_update_dto.dart
generated
|
|
@ -20,7 +20,7 @@ class PeopleUpdateDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is PeopleUpdateDto &&
|
||||
other.people == people;
|
||||
_deepEquality.equals(other.people, people);
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
12
mobile/openapi/lib/model/people_update_item.dart
generated
12
mobile/openapi/lib/model/people_update_item.dart
generated
|
|
@ -55,11 +55,11 @@ class PeopleUpdateItem {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is PeopleUpdateItem &&
|
||||
other.birthDate == birthDate &&
|
||||
other.featureFaceAssetId == featureFaceAssetId &&
|
||||
other.id == id &&
|
||||
other.isHidden == isHidden &&
|
||||
other.name == name;
|
||||
other.birthDate == birthDate &&
|
||||
other.featureFaceAssetId == featureFaceAssetId &&
|
||||
other.id == id &&
|
||||
other.isHidden == isHidden &&
|
||||
other.name == name;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -107,7 +107,7 @@ class PeopleUpdateItem {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return PeopleUpdateItem(
|
||||
birthDate: mapDateTime(json, r'birthDate', ''),
|
||||
birthDate: mapDateTime(json, r'birthDate', r''),
|
||||
featureFaceAssetId: mapValueOfType<String>(json, r'featureFaceAssetId'),
|
||||
id: mapValueOfType<String>(json, r'id')!,
|
||||
isHidden: mapValueOfType<bool>(json, r'isHidden'),
|
||||
|
|
|
|||
12
mobile/openapi/lib/model/person_response_dto.dart
generated
12
mobile/openapi/lib/model/person_response_dto.dart
generated
|
|
@ -32,11 +32,11 @@ class PersonResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is PersonResponseDto &&
|
||||
other.birthDate == birthDate &&
|
||||
other.id == id &&
|
||||
other.isHidden == isHidden &&
|
||||
other.name == name &&
|
||||
other.thumbnailPath == thumbnailPath;
|
||||
other.birthDate == birthDate &&
|
||||
other.id == id &&
|
||||
other.isHidden == isHidden &&
|
||||
other.name == name &&
|
||||
other.thumbnailPath == thumbnailPath;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -72,7 +72,7 @@ class PersonResponseDto {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return PersonResponseDto(
|
||||
birthDate: mapDateTime(json, r'birthDate', ''),
|
||||
birthDate: mapDateTime(json, r'birthDate', r''),
|
||||
id: mapValueOfType<String>(json, r'id')!,
|
||||
isHidden: mapValueOfType<bool>(json, r'isHidden')!,
|
||||
name: mapValueOfType<String>(json, r'name')!,
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class PersonStatisticsResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is PersonStatisticsResponseDto &&
|
||||
other.assets == assets;
|
||||
other.assets == assets;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
10
mobile/openapi/lib/model/person_update_dto.dart
generated
10
mobile/openapi/lib/model/person_update_dto.dart
generated
|
|
@ -51,10 +51,10 @@ class PersonUpdateDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is PersonUpdateDto &&
|
||||
other.birthDate == birthDate &&
|
||||
other.featureFaceAssetId == featureFaceAssetId &&
|
||||
other.isHidden == isHidden &&
|
||||
other.name == name;
|
||||
other.birthDate == birthDate &&
|
||||
other.featureFaceAssetId == featureFaceAssetId &&
|
||||
other.isHidden == isHidden &&
|
||||
other.name == name;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -100,7 +100,7 @@ class PersonUpdateDto {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return PersonUpdateDto(
|
||||
birthDate: mapDateTime(json, r'birthDate', ''),
|
||||
birthDate: mapDateTime(json, r'birthDate', r''),
|
||||
featureFaceAssetId: mapValueOfType<String>(json, r'featureFaceAssetId'),
|
||||
isHidden: mapValueOfType<bool>(json, r'isHidden'),
|
||||
name: mapValueOfType<String>(json, r'name'),
|
||||
|
|
|
|||
|
|
@ -35,12 +35,12 @@ class PersonWithFacesResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is PersonWithFacesResponseDto &&
|
||||
other.birthDate == birthDate &&
|
||||
other.faces == faces &&
|
||||
other.id == id &&
|
||||
other.isHidden == isHidden &&
|
||||
other.name == name &&
|
||||
other.thumbnailPath == thumbnailPath;
|
||||
other.birthDate == birthDate &&
|
||||
_deepEquality.equals(other.faces, faces) &&
|
||||
other.id == id &&
|
||||
other.isHidden == isHidden &&
|
||||
other.name == name &&
|
||||
other.thumbnailPath == thumbnailPath;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
@ -78,7 +78,7 @@ class PersonWithFacesResponseDto {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return PersonWithFacesResponseDto(
|
||||
birthDate: mapDateTime(json, r'birthDate', ''),
|
||||
birthDate: mapDateTime(json, r'birthDate', r''),
|
||||
faces: AssetFaceWithoutPersonResponseDto.listFromJson(json[r'faces']),
|
||||
id: mapValueOfType<String>(json, r'id')!,
|
||||
isHidden: mapValueOfType<bool>(json, r'isHidden')!,
|
||||
|
|
|
|||
4
mobile/openapi/lib/model/queue_status_dto.dart
generated
4
mobile/openapi/lib/model/queue_status_dto.dart
generated
|
|
@ -23,8 +23,8 @@ class QueueStatusDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is QueueStatusDto &&
|
||||
other.isActive == isActive &&
|
||||
other.isPaused == isPaused;
|
||||
other.isActive == isActive &&
|
||||
other.isPaused == isPaused;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/reaction_level.dart
generated
2
mobile/openapi/lib/model/reaction_level.dart
generated
|
|
@ -34,7 +34,7 @@ class ReactionLevel {
|
|||
|
||||
static ReactionLevel? fromJson(dynamic value) => ReactionLevelTypeTransformer().decode(value);
|
||||
|
||||
static List<ReactionLevel>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<ReactionLevel> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <ReactionLevel>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
2
mobile/openapi/lib/model/reaction_type.dart
generated
2
mobile/openapi/lib/model/reaction_type.dart
generated
|
|
@ -34,7 +34,7 @@ class ReactionType {
|
|||
|
||||
static ReactionType? fromJson(dynamic value) => ReactionTypeTypeTransformer().decode(value);
|
||||
|
||||
static List<ReactionType>? listFromJson(dynamic json, {bool growable = false,}) {
|
||||
static List<ReactionType> listFromJson(dynamic json, {bool growable = false,}) {
|
||||
final result = <ReactionType>[];
|
||||
if (json is List && json.isNotEmpty) {
|
||||
for (final row in json) {
|
||||
|
|
|
|||
12
mobile/openapi/lib/model/recognition_config.dart
generated
12
mobile/openapi/lib/model/recognition_config.dart
generated
|
|
@ -41,12 +41,12 @@ class RecognitionConfig {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is RecognitionConfig &&
|
||||
other.enabled == enabled &&
|
||||
other.maxDistance == maxDistance &&
|
||||
other.minFaces == minFaces &&
|
||||
other.minScore == minScore &&
|
||||
other.modelName == modelName &&
|
||||
other.modelType == modelType;
|
||||
other.enabled == enabled &&
|
||||
other.maxDistance == maxDistance &&
|
||||
other.minFaces == minFaces &&
|
||||
other.minScore == minScore &&
|
||||
other.modelName == modelName &&
|
||||
other.modelType == modelType;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
4
mobile/openapi/lib/model/scan_library_dto.dart
generated
4
mobile/openapi/lib/model/scan_library_dto.dart
generated
|
|
@ -29,8 +29,8 @@ class ScanLibraryDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is ScanLibraryDto &&
|
||||
other.refreshAllFiles == refreshAllFiles &&
|
||||
other.refreshModifiedFiles == refreshModifiedFiles;
|
||||
other.refreshAllFiles == refreshAllFiles &&
|
||||
other.refreshModifiedFiles == refreshModifiedFiles;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -29,10 +29,10 @@ class SearchAlbumResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is SearchAlbumResponseDto &&
|
||||
other.count == count &&
|
||||
other.facets == facets &&
|
||||
other.items == items &&
|
||||
other.total == total;
|
||||
other.count == count &&
|
||||
_deepEquality.equals(other.facets, facets) &&
|
||||
_deepEquality.equals(other.items, items) &&
|
||||
other.total == total;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -29,10 +29,10 @@ class SearchAssetResponseDto {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is SearchAssetResponseDto &&
|
||||
other.count == count &&
|
||||
other.facets == facets &&
|
||||
other.items == items &&
|
||||
other.total == total;
|
||||
other.count == count &&
|
||||
_deepEquality.equals(other.facets, facets) &&
|
||||
_deepEquality.equals(other.items, items) &&
|
||||
other.total == total;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ class SearchExploreItem {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is SearchExploreItem &&
|
||||
other.data == data &&
|
||||
other.value == value;
|
||||
other.data == data &&
|
||||
other.value == value;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue