| 
									
										
										
										
											2022-11-14 23:39:32 -05:00
										 |  |  | //
 | 
					
						
							|  |  |  | // AUTO-GENERATED FILE, DO NOT MODIFY!
 | 
					
						
							|  |  |  | //
 | 
					
						
							|  |  |  | // @dart=2.12
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // ignore_for_file: unused_element, unused_import
 | 
					
						
							|  |  |  | // ignore_for_file: always_put_required_named_parameters_first
 | 
					
						
							|  |  |  | // ignore_for_file: constant_identifier_names
 | 
					
						
							|  |  |  | // ignore_for_file: lines_longer_than_80_chars
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | part of openapi.api; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-09 15:51:42 -05:00
										 |  |  | class SystemConfigDto { | 
					
						
							|  |  |  |   /// Returns a new [SystemConfigDto] instance.
 | 
					
						
							|  |  |  |   SystemConfigDto({ | 
					
						
							|  |  |  |     required this.ffmpeg, | 
					
						
							| 
									
										
										
										
											2023-08-01 12:49:18 -04:00
										 |  |  |     required this.job, | 
					
						
							| 
									
										
										
										
											2023-08-25 00:15:03 -04:00
										 |  |  |     required this.machineLearning, | 
					
						
							| 
									
										
										
										
											2023-09-08 22:51:46 -04:00
										 |  |  |     required this.map, | 
					
						
							| 
									
										
										
										
											2022-12-09 15:51:42 -05:00
										 |  |  |     required this.oauth, | 
					
						
							| 
									
										
										
										
											2023-01-09 16:32:58 -05:00
										 |  |  |     required this.passwordLogin, | 
					
						
							| 
									
										
										
										
											2023-09-26 09:03:57 +02:00
										 |  |  |     required this.reverseGeocoding, | 
					
						
							| 
									
										
										
										
											2022-12-16 14:26:12 -06:00
										 |  |  |     required this.storageTemplate, | 
					
						
							| 
									
										
										
										
											2023-08-08 09:39:51 -05:00
										 |  |  |     required this.thumbnail, | 
					
						
							| 
									
										
										
										
											2022-11-14 23:39:32 -05:00
										 |  |  |   }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-09 15:51:42 -05:00
										 |  |  |   SystemConfigFFmpegDto ffmpeg; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-08-01 12:49:18 -04:00
										 |  |  |   SystemConfigJobDto job; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-08-25 00:15:03 -04:00
										 |  |  |   SystemConfigMachineLearningDto machineLearning; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-09-08 22:51:46 -04:00
										 |  |  |   SystemConfigMapDto map; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-09 15:51:42 -05:00
										 |  |  |   SystemConfigOAuthDto oauth; | 
					
						
							| 
									
										
										
										
											2022-11-14 23:39:32 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-01-09 16:32:58 -05:00
										 |  |  |   SystemConfigPasswordLoginDto passwordLogin; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-09-26 09:03:57 +02:00
										 |  |  |   SystemConfigReverseGeocodingDto reverseGeocoding; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-16 14:26:12 -06:00
										 |  |  |   SystemConfigStorageTemplateDto storageTemplate; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-08-08 09:39:51 -05:00
										 |  |  |   SystemConfigThumbnailDto thumbnail; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-11-14 23:39:32 -05:00
										 |  |  |   @override | 
					
						
							| 
									
										
										
										
											2022-12-09 15:51:42 -05:00
										 |  |  |   bool operator ==(Object other) => identical(this, other) || other is SystemConfigDto && | 
					
						
							| 
									
										
										
										
											2023-08-06 15:55:14 -05:00
										 |  |  |      other.ffmpeg == ffmpeg && | 
					
						
							|  |  |  |      other.job == job && | 
					
						
							| 
									
										
										
										
											2023-08-25 00:15:03 -04:00
										 |  |  |      other.machineLearning == machineLearning && | 
					
						
							| 
									
										
										
										
											2023-09-08 22:51:46 -04:00
										 |  |  |      other.map == map && | 
					
						
							| 
									
										
										
										
											2023-08-06 15:55:14 -05:00
										 |  |  |      other.oauth == oauth && | 
					
						
							|  |  |  |      other.passwordLogin == passwordLogin && | 
					
						
							| 
									
										
										
										
											2023-09-26 09:03:57 +02:00
										 |  |  |      other.reverseGeocoding == reverseGeocoding && | 
					
						
							| 
									
										
										
										
											2023-08-08 09:39:51 -05:00
										 |  |  |      other.storageTemplate == storageTemplate && | 
					
						
							|  |  |  |      other.thumbnail == thumbnail; | 
					
						
							| 
									
										
										
										
											2022-11-14 23:39:32 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  |   @override | 
					
						
							|  |  |  |   int get hashCode => | 
					
						
							|  |  |  |     // ignore: unnecessary_parenthesis
 | 
					
						
							| 
									
										
										
										
											2022-12-09 15:51:42 -05:00
										 |  |  |     (ffmpeg.hashCode) + | 
					
						
							| 
									
										
										
										
											2023-08-01 12:49:18 -04:00
										 |  |  |     (job.hashCode) + | 
					
						
							| 
									
										
										
										
											2023-08-25 00:15:03 -04:00
										 |  |  |     (machineLearning.hashCode) + | 
					
						
							| 
									
										
										
										
											2023-09-08 22:51:46 -04:00
										 |  |  |     (map.hashCode) + | 
					
						
							| 
									
										
										
										
											2022-12-16 14:26:12 -06:00
										 |  |  |     (oauth.hashCode) + | 
					
						
							| 
									
										
										
										
											2023-01-09 16:32:58 -05:00
										 |  |  |     (passwordLogin.hashCode) + | 
					
						
							| 
									
										
										
										
											2023-09-26 09:03:57 +02:00
										 |  |  |     (reverseGeocoding.hashCode) + | 
					
						
							| 
									
										
										
										
											2023-08-08 09:39:51 -05:00
										 |  |  |     (storageTemplate.hashCode) + | 
					
						
							|  |  |  |     (thumbnail.hashCode); | 
					
						
							| 
									
										
										
										
											2022-11-14 23:39:32 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  |   @override | 
					
						
							| 
									
										
										
										
											2023-09-26 09:03:57 +02:00
										 |  |  |   String toString() => 'SystemConfigDto[ffmpeg=$ffmpeg, job=$job, machineLearning=$machineLearning, map=$map, oauth=$oauth, passwordLogin=$passwordLogin, reverseGeocoding=$reverseGeocoding, storageTemplate=$storageTemplate, thumbnail=$thumbnail]'; | 
					
						
							| 
									
										
										
										
											2022-11-14 23:39:32 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  |   Map<String, dynamic> toJson() { | 
					
						
							| 
									
										
										
										
											2023-01-09 23:08:45 -05:00
										 |  |  |     final json = <String, dynamic>{}; | 
					
						
							|  |  |  |       json[r'ffmpeg'] = this.ffmpeg; | 
					
						
							| 
									
										
										
										
											2023-08-01 12:49:18 -04:00
										 |  |  |       json[r'job'] = this.job; | 
					
						
							| 
									
										
										
										
											2023-08-25 00:15:03 -04:00
										 |  |  |       json[r'machineLearning'] = this.machineLearning; | 
					
						
							| 
									
										
										
										
											2023-09-08 22:51:46 -04:00
										 |  |  |       json[r'map'] = this.map; | 
					
						
							| 
									
										
										
										
											2023-01-09 23:08:45 -05:00
										 |  |  |       json[r'oauth'] = this.oauth; | 
					
						
							|  |  |  |       json[r'passwordLogin'] = this.passwordLogin; | 
					
						
							| 
									
										
										
										
											2023-09-26 09:03:57 +02:00
										 |  |  |       json[r'reverseGeocoding'] = this.reverseGeocoding; | 
					
						
							| 
									
										
										
										
											2023-01-09 23:08:45 -05:00
										 |  |  |       json[r'storageTemplate'] = this.storageTemplate; | 
					
						
							| 
									
										
										
										
											2023-08-08 09:39:51 -05:00
										 |  |  |       json[r'thumbnail'] = this.thumbnail; | 
					
						
							| 
									
										
										
										
											2023-01-09 23:08:45 -05:00
										 |  |  |     return json; | 
					
						
							| 
									
										
										
										
											2022-11-14 23:39:32 -05:00
										 |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-09 15:51:42 -05:00
										 |  |  |   /// Returns a new [SystemConfigDto] instance and imports its values from
 | 
					
						
							| 
									
										
										
										
											2022-11-14 23:39:32 -05:00
										 |  |  |   /// [value] if it's a [Map], null otherwise.
 | 
					
						
							|  |  |  |   // ignore: prefer_constructors_over_static_methods
 | 
					
						
							| 
									
										
										
										
											2022-12-09 15:51:42 -05:00
										 |  |  |   static SystemConfigDto? fromJson(dynamic value) { | 
					
						
							| 
									
										
										
										
											2022-11-14 23:39:32 -05:00
										 |  |  |     if (value is Map) { | 
					
						
							|  |  |  |       final json = value.cast<String, dynamic>(); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-09 15:51:42 -05:00
										 |  |  |       return SystemConfigDto( | 
					
						
							|  |  |  |         ffmpeg: SystemConfigFFmpegDto.fromJson(json[r'ffmpeg'])!, | 
					
						
							| 
									
										
										
										
											2023-08-01 12:49:18 -04:00
										 |  |  |         job: SystemConfigJobDto.fromJson(json[r'job'])!, | 
					
						
							| 
									
										
										
										
											2023-08-25 00:15:03 -04:00
										 |  |  |         machineLearning: SystemConfigMachineLearningDto.fromJson(json[r'machineLearning'])!, | 
					
						
							| 
									
										
										
										
											2023-09-08 22:51:46 -04:00
										 |  |  |         map: SystemConfigMapDto.fromJson(json[r'map'])!, | 
					
						
							| 
									
										
										
										
											2022-12-09 15:51:42 -05:00
										 |  |  |         oauth: SystemConfigOAuthDto.fromJson(json[r'oauth'])!, | 
					
						
							| 
									
										
										
										
											2023-01-09 16:32:58 -05:00
										 |  |  |         passwordLogin: SystemConfigPasswordLoginDto.fromJson(json[r'passwordLogin'])!, | 
					
						
							| 
									
										
										
										
											2023-09-26 09:03:57 +02:00
										 |  |  |         reverseGeocoding: SystemConfigReverseGeocodingDto.fromJson(json[r'reverseGeocoding'])!, | 
					
						
							| 
									
										
										
										
											2022-12-16 14:26:12 -06:00
										 |  |  |         storageTemplate: SystemConfigStorageTemplateDto.fromJson(json[r'storageTemplate'])!, | 
					
						
							| 
									
										
										
										
											2023-08-08 09:39:51 -05:00
										 |  |  |         thumbnail: SystemConfigThumbnailDto.fromJson(json[r'thumbnail'])!, | 
					
						
							| 
									
										
										
										
											2022-11-14 23:39:32 -05:00
										 |  |  |       ); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |     return null; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-05-03 15:27:57 -04:00
										 |  |  |   static List<SystemConfigDto> listFromJson(dynamic json, {bool growable = false,}) { | 
					
						
							| 
									
										
										
										
											2022-12-09 15:51:42 -05:00
										 |  |  |     final result = <SystemConfigDto>[]; | 
					
						
							| 
									
										
										
										
											2022-11-14 23:39:32 -05:00
										 |  |  |     if (json is List && json.isNotEmpty) { | 
					
						
							|  |  |  |       for (final row in json) { | 
					
						
							| 
									
										
										
										
											2022-12-09 15:51:42 -05:00
										 |  |  |         final value = SystemConfigDto.fromJson(row); | 
					
						
							| 
									
										
										
										
											2022-11-14 23:39:32 -05:00
										 |  |  |         if (value != null) { | 
					
						
							|  |  |  |           result.add(value); | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |     return result.toList(growable: growable); | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-09 15:51:42 -05:00
										 |  |  |   static Map<String, SystemConfigDto> mapFromJson(dynamic json) { | 
					
						
							|  |  |  |     final map = <String, SystemConfigDto>{}; | 
					
						
							| 
									
										
										
										
											2022-11-14 23:39:32 -05:00
										 |  |  |     if (json is Map && json.isNotEmpty) { | 
					
						
							|  |  |  |       json = json.cast<String, dynamic>(); // ignore: parameter_assignments
 | 
					
						
							|  |  |  |       for (final entry in json.entries) { | 
					
						
							| 
									
										
										
										
											2022-12-09 15:51:42 -05:00
										 |  |  |         final value = SystemConfigDto.fromJson(entry.value); | 
					
						
							| 
									
										
										
										
											2022-11-14 23:39:32 -05:00
										 |  |  |         if (value != null) { | 
					
						
							|  |  |  |           map[entry.key] = value; | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |     return map; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-12-09 15:51:42 -05:00
										 |  |  |   // maps a json object with a list of SystemConfigDto-objects as value to a dart map
 | 
					
						
							|  |  |  |   static Map<String, List<SystemConfigDto>> mapListFromJson(dynamic json, {bool growable = false,}) { | 
					
						
							|  |  |  |     final map = <String, List<SystemConfigDto>>{}; | 
					
						
							| 
									
										
										
										
											2022-11-14 23:39:32 -05:00
										 |  |  |     if (json is Map && json.isNotEmpty) { | 
					
						
							| 
									
										
										
										
											2023-05-03 15:27:57 -04:00
										 |  |  |       // ignore: parameter_assignments
 | 
					
						
							|  |  |  |       json = json.cast<String, dynamic>(); | 
					
						
							| 
									
										
										
										
											2022-11-14 23:39:32 -05:00
										 |  |  |       for (final entry in json.entries) { | 
					
						
							| 
									
										
										
										
											2023-05-03 15:27:57 -04:00
										 |  |  |         map[entry.key] = SystemConfigDto.listFromJson(entry.value, growable: growable,); | 
					
						
							| 
									
										
										
										
											2022-11-14 23:39:32 -05:00
										 |  |  |       } | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |     return map; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   /// The list of required keys that must be present in a JSON.
 | 
					
						
							|  |  |  |   static const requiredKeys = <String>{ | 
					
						
							| 
									
										
										
										
											2022-12-09 15:51:42 -05:00
										 |  |  |     'ffmpeg', | 
					
						
							| 
									
										
										
										
											2023-08-01 12:49:18 -04:00
										 |  |  |     'job', | 
					
						
							| 
									
										
										
										
											2023-08-25 00:15:03 -04:00
										 |  |  |     'machineLearning', | 
					
						
							| 
									
										
										
										
											2023-09-08 22:51:46 -04:00
										 |  |  |     'map', | 
					
						
							| 
									
										
										
										
											2022-12-09 15:51:42 -05:00
										 |  |  |     'oauth', | 
					
						
							| 
									
										
										
										
											2023-01-09 16:32:58 -05:00
										 |  |  |     'passwordLogin', | 
					
						
							| 
									
										
										
										
											2023-09-26 09:03:57 +02:00
										 |  |  |     'reverseGeocoding', | 
					
						
							| 
									
										
										
										
											2022-12-16 14:26:12 -06:00
										 |  |  |     'storageTemplate', | 
					
						
							| 
									
										
										
										
											2023-08-08 09:39:51 -05:00
										 |  |  |     'thumbnail', | 
					
						
							| 
									
										
										
										
											2022-11-14 23:39:32 -05:00
										 |  |  |   }; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 |