|
@@ -20,6 +20,7 @@ class SystemConfigJobDto {
|
|
required this.recognizeFaces,
|
|
required this.recognizeFaces,
|
|
required this.search,
|
|
required this.search,
|
|
required this.sidecar,
|
|
required this.sidecar,
|
|
|
|
+ required this.smartAlbum,
|
|
required this.storageTemplateMigration,
|
|
required this.storageTemplateMigration,
|
|
required this.thumbnailGeneration,
|
|
required this.thumbnailGeneration,
|
|
required this.videoConversion,
|
|
required this.videoConversion,
|
|
@@ -39,6 +40,8 @@ class SystemConfigJobDto {
|
|
|
|
|
|
JobSettingsDto sidecar;
|
|
JobSettingsDto sidecar;
|
|
|
|
|
|
|
|
+ JobSettingsDto smartAlbum;
|
|
|
|
+
|
|
JobSettingsDto storageTemplateMigration;
|
|
JobSettingsDto storageTemplateMigration;
|
|
|
|
|
|
JobSettingsDto thumbnailGeneration;
|
|
JobSettingsDto thumbnailGeneration;
|
|
@@ -54,6 +57,7 @@ class SystemConfigJobDto {
|
|
other.recognizeFaces == recognizeFaces &&
|
|
other.recognizeFaces == recognizeFaces &&
|
|
other.search == search &&
|
|
other.search == search &&
|
|
other.sidecar == sidecar &&
|
|
other.sidecar == sidecar &&
|
|
|
|
+ other.smartAlbum == smartAlbum &&
|
|
other.storageTemplateMigration == storageTemplateMigration &&
|
|
other.storageTemplateMigration == storageTemplateMigration &&
|
|
other.thumbnailGeneration == thumbnailGeneration &&
|
|
other.thumbnailGeneration == thumbnailGeneration &&
|
|
other.videoConversion == videoConversion;
|
|
other.videoConversion == videoConversion;
|
|
@@ -68,12 +72,13 @@ class SystemConfigJobDto {
|
|
(recognizeFaces.hashCode) +
|
|
(recognizeFaces.hashCode) +
|
|
(search.hashCode) +
|
|
(search.hashCode) +
|
|
(sidecar.hashCode) +
|
|
(sidecar.hashCode) +
|
|
|
|
+ (smartAlbum.hashCode) +
|
|
(storageTemplateMigration.hashCode) +
|
|
(storageTemplateMigration.hashCode) +
|
|
(thumbnailGeneration.hashCode) +
|
|
(thumbnailGeneration.hashCode) +
|
|
(videoConversion.hashCode);
|
|
(videoConversion.hashCode);
|
|
|
|
|
|
@override
|
|
@override
|
|
- String toString() => 'SystemConfigJobDto[backgroundTask=$backgroundTask, clipEncoding=$clipEncoding, metadataExtraction=$metadataExtraction, objectTagging=$objectTagging, recognizeFaces=$recognizeFaces, search=$search, sidecar=$sidecar, storageTemplateMigration=$storageTemplateMigration, thumbnailGeneration=$thumbnailGeneration, videoConversion=$videoConversion]';
|
|
|
|
|
|
+ String toString() => 'SystemConfigJobDto[backgroundTask=$backgroundTask, clipEncoding=$clipEncoding, metadataExtraction=$metadataExtraction, objectTagging=$objectTagging, recognizeFaces=$recognizeFaces, search=$search, sidecar=$sidecar, smartAlbum=$smartAlbum, storageTemplateMigration=$storageTemplateMigration, thumbnailGeneration=$thumbnailGeneration, videoConversion=$videoConversion]';
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
Map<String, dynamic> toJson() {
|
|
final json = <String, dynamic>{};
|
|
final json = <String, dynamic>{};
|
|
@@ -84,6 +89,7 @@ class SystemConfigJobDto {
|
|
json[r'recognizeFaces'] = this.recognizeFaces;
|
|
json[r'recognizeFaces'] = this.recognizeFaces;
|
|
json[r'search'] = this.search;
|
|
json[r'search'] = this.search;
|
|
json[r'sidecar'] = this.sidecar;
|
|
json[r'sidecar'] = this.sidecar;
|
|
|
|
+ json[r'smartAlbum'] = this.smartAlbum;
|
|
json[r'storageTemplateMigration'] = this.storageTemplateMigration;
|
|
json[r'storageTemplateMigration'] = this.storageTemplateMigration;
|
|
json[r'thumbnailGeneration'] = this.thumbnailGeneration;
|
|
json[r'thumbnailGeneration'] = this.thumbnailGeneration;
|
|
json[r'videoConversion'] = this.videoConversion;
|
|
json[r'videoConversion'] = this.videoConversion;
|
|
@@ -105,6 +111,7 @@ class SystemConfigJobDto {
|
|
recognizeFaces: JobSettingsDto.fromJson(json[r'recognizeFaces'])!,
|
|
recognizeFaces: JobSettingsDto.fromJson(json[r'recognizeFaces'])!,
|
|
search: JobSettingsDto.fromJson(json[r'search'])!,
|
|
search: JobSettingsDto.fromJson(json[r'search'])!,
|
|
sidecar: JobSettingsDto.fromJson(json[r'sidecar'])!,
|
|
sidecar: JobSettingsDto.fromJson(json[r'sidecar'])!,
|
|
|
|
+ smartAlbum: JobSettingsDto.fromJson(json[r'smartAlbum'])!,
|
|
storageTemplateMigration: JobSettingsDto.fromJson(json[r'storageTemplateMigration'])!,
|
|
storageTemplateMigration: JobSettingsDto.fromJson(json[r'storageTemplateMigration'])!,
|
|
thumbnailGeneration: JobSettingsDto.fromJson(json[r'thumbnailGeneration'])!,
|
|
thumbnailGeneration: JobSettingsDto.fromJson(json[r'thumbnailGeneration'])!,
|
|
videoConversion: JobSettingsDto.fromJson(json[r'videoConversion'])!,
|
|
videoConversion: JobSettingsDto.fromJson(json[r'videoConversion'])!,
|
|
@@ -162,6 +169,7 @@ class SystemConfigJobDto {
|
|
'recognizeFaces',
|
|
'recognizeFaces',
|
|
'search',
|
|
'search',
|
|
'sidecar',
|
|
'sidecar',
|
|
|
|
+ 'smartAlbum',
|
|
'storageTemplateMigration',
|
|
'storageTemplateMigration',
|
|
'thumbnailGeneration',
|
|
'thumbnailGeneration',
|
|
'videoConversion',
|
|
'videoConversion',
|