|
|
@ -92,18 +92,13 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_VersionToJson( |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Core _$CoreServerCapabilities_Ocs_Data_Capabilities_CoreFromJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Core _$CoreServerCapabilities_Ocs_Data_Capabilities_CoreFromJson( |
|
|
|
Map<String, dynamic> json) { |
|
|
|
Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Core( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['pollinterval', 'webdav-root', 'reference-api', 'reference-regex'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Core( |
|
|
|
|
|
|
|
pollinterval: json['pollinterval'] as int, |
|
|
|
pollinterval: json['pollinterval'] as int, |
|
|
|
webdavRoot: json['webdav-root'] as String, |
|
|
|
webdavRoot: json['webdav-root'] as String, |
|
|
|
referenceApi: json['reference-api'] as bool, |
|
|
|
referenceApi: json['reference-api'] as bool, |
|
|
|
referenceRegex: json['reference-regex'] as String, |
|
|
|
referenceRegex: json['reference-regex'] as String, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_CoreToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_CoreToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Core instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Core instance) => |
|
|
@ -115,15 +110,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_CoreToJson( |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['delay'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce( |
|
|
|
|
|
|
|
delay: json['delay'] as int, |
|
|
|
delay: json['delay'] as int, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce instance) => |
|
|
@ -132,16 +122,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceTo |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['size', 'gps'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable( |
|
|
|
|
|
|
|
size: (json['size'] as List<dynamic>).map((e) => e as String).toList(), |
|
|
|
size: (json['size'] as List<dynamic>).map((e) => e as String).toList(), |
|
|
|
gps: (json['gps'] as List<dynamic>).map((e) => e as String).toList(), |
|
|
|
gps: (json['gps'] as List<dynamic>).map((e) => e as String).toList(), |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable instance) => |
|
|
@ -151,16 +136,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvai |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['url', 'etag'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing( |
|
|
|
|
|
|
|
url: json['url'] as String, |
|
|
|
url: json['url'] as String, |
|
|
|
etag: json['etag'] as String, |
|
|
|
etag: json['etag'] as String, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing instance) => |
|
|
@ -170,12 +150,8 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Files_Direct |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Files _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesFromJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Files _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesFromJson( |
|
|
|
Map<String, dynamic> json) { |
|
|
|
Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Files( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['bigfilechunking', 'blacklisted_files', 'directEditing', 'comments', 'undelete', 'versioning'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Files( |
|
|
|
|
|
|
|
bigfilechunking: json['bigfilechunking'] as bool, |
|
|
|
bigfilechunking: json['bigfilechunking'] as bool, |
|
|
|
blacklistedFiles: (json['blacklisted_files'] as List<dynamic>).map((e) => e as String).toList(), |
|
|
|
blacklistedFiles: (json['blacklisted_files'] as List<dynamic>).map((e) => e as String).toList(), |
|
|
|
directEditing: CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing.fromJson( |
|
|
|
directEditing: CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing.fromJson( |
|
|
@ -184,7 +160,6 @@ CoreServerCapabilities_Ocs_Data_Capabilities_Files _$CoreServerCapabilities_Ocs_ |
|
|
|
undelete: json['undelete'] as bool, |
|
|
|
undelete: json['undelete'] as bool, |
|
|
|
versioning: json['versioning'] as bool, |
|
|
|
versioning: json['versioning'] as bool, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Files instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Files instance) => |
|
|
@ -198,15 +173,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesToJson( |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Activity _$CoreServerCapabilities_Ocs_Data_Capabilities_ActivityFromJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Activity _$CoreServerCapabilities_Ocs_Data_Capabilities_ActivityFromJson( |
|
|
|
Map<String, dynamic> json) { |
|
|
|
Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Activity( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['apiv2'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Activity( |
|
|
|
|
|
|
|
apiv2: (json['apiv2'] as List<dynamic>).map((e) => e as String).toList(), |
|
|
|
apiv2: (json['apiv2'] as List<dynamic>).map((e) => e as String).toList(), |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_ActivityToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_ActivityToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Activity instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Activity instance) => |
|
|
@ -215,15 +185,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_ActivityToJs |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['globalScale'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status( |
|
|
|
|
|
|
|
globalScale: json['globalScale'] as bool, |
|
|
|
globalScale: json['globalScale'] as bool, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status instance) => |
|
|
@ -232,18 +197,13 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Stat |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['frontendEnabled', 'allowedCircles', 'allowedUserTypes', 'membersLimit'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings( |
|
|
|
|
|
|
|
frontendEnabled: json['frontendEnabled'] as bool, |
|
|
|
frontendEnabled: json['frontendEnabled'] as bool, |
|
|
|
allowedCircles: json['allowedCircles'] as int, |
|
|
|
allowedCircles: json['allowedCircles'] as int, |
|
|
|
allowedUserTypes: json['allowedUserTypes'] as int, |
|
|
|
allowedUserTypes: json['allowedUserTypes'] as int, |
|
|
|
membersLimit: json['membersLimit'] as int, |
|
|
|
membersLimit: json['membersLimit'] as int, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings instance) => |
|
|
@ -255,16 +215,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Sett |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['core', 'extra'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source( |
|
|
|
|
|
|
|
core: json['core'], |
|
|
|
core: json['core'], |
|
|
|
extra: json['extra'], |
|
|
|
extra: json['extra'], |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source instance) => |
|
|
@ -274,17 +229,12 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['flags', 'source'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants( |
|
|
|
|
|
|
|
flags: json['flags'], |
|
|
|
flags: json['flags'], |
|
|
|
source: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source.fromJson( |
|
|
|
source: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source.fromJson( |
|
|
|
json['source'] as Map<String, dynamic>), |
|
|
|
json['source'] as Map<String, dynamic>), |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants instance) => |
|
|
@ -294,16 +244,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['coreFlags', 'systemFlags'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config( |
|
|
|
|
|
|
|
coreFlags: (json['coreFlags'] as List<dynamic>).map((e) => e as int).toList(), |
|
|
|
coreFlags: (json['coreFlags'] as List<dynamic>).map((e) => e as int).toList(), |
|
|
|
systemFlags: (json['systemFlags'] as List<dynamic>).map((e) => e as int).toList(), |
|
|
|
systemFlags: (json['systemFlags'] as List<dynamic>).map((e) => e as int).toList(), |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config instance) => |
|
|
@ -313,18 +258,13 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['constants', 'config'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle( |
|
|
|
|
|
|
|
constants: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants.fromJson( |
|
|
|
constants: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants.fromJson( |
|
|
|
json['constants'] as Map<String, dynamic>), |
|
|
|
json['constants'] as Map<String, dynamic>), |
|
|
|
config: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config.fromJson( |
|
|
|
config: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config.fromJson( |
|
|
|
json['config'] as Map<String, dynamic>), |
|
|
|
json['config'] as Map<String, dynamic>), |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle instance) => |
|
|
@ -334,15 +274,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['level'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants( |
|
|
|
|
|
|
|
level: json['level'], |
|
|
|
level: json['level'], |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants instance) => |
|
|
@ -351,17 +286,12 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Memb |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['constants', 'type'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member( |
|
|
|
|
|
|
|
constants: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants.fromJson( |
|
|
|
constants: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants.fromJson( |
|
|
|
json['constants'] as Map<String, dynamic>), |
|
|
|
json['constants'] as Map<String, dynamic>), |
|
|
|
type: json['type'], |
|
|
|
type: json['type'], |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member instance) => |
|
|
@ -371,12 +301,8 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Memb |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles _$CoreServerCapabilities_Ocs_Data_Capabilities_CirclesFromJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles _$CoreServerCapabilities_Ocs_Data_Capabilities_CirclesFromJson( |
|
|
|
Map<String, dynamic> json) { |
|
|
|
Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['version', 'status', 'settings', 'circle', 'member'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Circles( |
|
|
|
|
|
|
|
version: json['version'] as String, |
|
|
|
version: json['version'] as String, |
|
|
|
status: |
|
|
|
status: |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status.fromJson(json['status'] as Map<String, dynamic>), |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status.fromJson(json['status'] as Map<String, dynamic>), |
|
|
@ -387,7 +313,6 @@ CoreServerCapabilities_Ocs_Data_Capabilities_Circles _$CoreServerCapabilities_Oc |
|
|
|
member: |
|
|
|
member: |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member.fromJson(json['member'] as Map<String, dynamic>), |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member.fromJson(json['member'] as Map<String, dynamic>), |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_CirclesToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_CirclesToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles instance) => |
|
|
@ -400,15 +325,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_CirclesToJso |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['webdav'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols( |
|
|
|
|
|
|
|
webdav: json['webdav'] as String, |
|
|
|
webdav: json['webdav'] as String, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols instance) => |
|
|
@ -417,18 +337,13 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_Resource |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['name', 'shareTypes', 'protocols'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes( |
|
|
|
|
|
|
|
name: json['name'] as String, |
|
|
|
name: json['name'] as String, |
|
|
|
shareTypes: (json['shareTypes'] as List<dynamic>).map((e) => e as String).toList(), |
|
|
|
shareTypes: (json['shareTypes'] as List<dynamic>).map((e) => e as String).toList(), |
|
|
|
protocols: CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols.fromJson( |
|
|
|
protocols: CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols.fromJson( |
|
|
|
json['protocols'] as Map<String, dynamic>), |
|
|
|
json['protocols'] as Map<String, dynamic>), |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes instance) => |
|
|
@ -439,20 +354,16 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_Resource |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm _$CoreServerCapabilities_Ocs_Data_Capabilities_OcmFromJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm _$CoreServerCapabilities_Ocs_Data_Capabilities_OcmFromJson( |
|
|
|
Map<String, dynamic> json) { |
|
|
|
Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['enabled', 'apiVersion', 'endPoint', 'resourceTypes'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Ocm( |
|
|
|
|
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
apiVersion: json['apiVersion'] as String, |
|
|
|
apiVersion: json['apiVersion'] as String, |
|
|
|
endPoint: json['endPoint'] as String, |
|
|
|
endPoint: json['endPoint'] as String, |
|
|
|
resourceTypes: (json['resourceTypes'] as List<dynamic>) |
|
|
|
resourceTypes: (json['resourceTypes'] as List<dynamic>) |
|
|
|
.map((e) => CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes.fromJson(e as Map<String, dynamic>)) |
|
|
|
.map( |
|
|
|
|
|
|
|
(e) => CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes.fromJson(e as Map<String, dynamic>)) |
|
|
|
.toList(), |
|
|
|
.toList(), |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_OcmToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_OcmToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm instance) => |
|
|
@ -464,16 +375,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_OcmToJson( |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Dav _$CoreServerCapabilities_Ocs_Data_Capabilities_DavFromJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Dav _$CoreServerCapabilities_Ocs_Data_Capabilities_DavFromJson( |
|
|
|
Map<String, dynamic> json) { |
|
|
|
Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Dav( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['bulkupload', 'chunking'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Dav( |
|
|
|
|
|
|
|
bulkupload: json['bulkupload'] as String?, |
|
|
|
bulkupload: json['bulkupload'] as String?, |
|
|
|
chunking: json['chunking'] as String, |
|
|
|
chunking: json['chunking'] as String, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_DavToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_DavToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Dav instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Dav instance) => |
|
|
@ -483,16 +389,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_DavToJson( |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['enforced', 'askForOptionalPassword'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password( |
|
|
|
|
|
|
|
enforced: json['enforced'] as bool, |
|
|
|
enforced: json['enforced'] as bool, |
|
|
|
askForOptionalPassword: json['askForOptionalPassword'] as bool, |
|
|
|
askForOptionalPassword: json['askForOptionalPassword'] as bool, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password instance) => |
|
|
@ -502,15 +403,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['enabled'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate( |
|
|
|
|
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate instance) => |
|
|
@ -520,15 +416,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalFromJson( |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalFromJson( |
|
|
|
Map<String, dynamic> json) { |
|
|
|
Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['enabled'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal( |
|
|
|
|
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal instance) => |
|
|
@ -538,15 +429,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteFromJson( |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteFromJson( |
|
|
|
Map<String, dynamic> json) { |
|
|
|
Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['enabled'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote( |
|
|
|
|
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote instance) => |
|
|
@ -555,29 +441,16 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const [ |
|
|
|
|
|
|
|
'enabled', |
|
|
|
|
|
|
|
'password', |
|
|
|
|
|
|
|
'expire_date', |
|
|
|
|
|
|
|
'multiple_links', |
|
|
|
|
|
|
|
'expire_date_internal', |
|
|
|
|
|
|
|
'expire_date_remote', |
|
|
|
|
|
|
|
'send_mail', |
|
|
|
|
|
|
|
'upload', |
|
|
|
|
|
|
|
'upload_files_drop' |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public( |
|
|
|
|
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
password: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password.fromJson( |
|
|
|
password: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password.fromJson( |
|
|
|
json['password'] as Map<String, dynamic>), |
|
|
|
json['password'] as Map<String, dynamic>), |
|
|
|
expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate.fromJson( |
|
|
|
expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate.fromJson( |
|
|
|
json['expire_date'] as Map<String, dynamic>), |
|
|
|
json['expire_date'] as Map<String, dynamic>), |
|
|
|
multipleLinks: json['multiple_links'] as bool, |
|
|
|
multipleLinks: json['multiple_links'] as bool, |
|
|
|
expireDateInternal: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal.fromJson( |
|
|
|
expireDateInternal: |
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal.fromJson( |
|
|
|
json['expire_date_internal'] as Map<String, dynamic>), |
|
|
|
json['expire_date_internal'] as Map<String, dynamic>), |
|
|
|
expireDateRemote: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote.fromJson( |
|
|
|
expireDateRemote: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote.fromJson( |
|
|
|
json['expire_date_remote'] as Map<String, dynamic>), |
|
|
|
json['expire_date_remote'] as Map<String, dynamic>), |
|
|
@ -585,7 +458,6 @@ CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public |
|
|
|
upload: json['upload'] as bool, |
|
|
|
upload: json['upload'] as bool, |
|
|
|
uploadFilesDrop: json['upload_files_drop'] as bool, |
|
|
|
uploadFilesDrop: json['upload_files_drop'] as bool, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public instance) => |
|
|
@ -602,15 +474,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['enabled'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate( |
|
|
|
|
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate instance) => |
|
|
@ -619,17 +486,12 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['send_mail', 'expire_date'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User( |
|
|
|
|
|
|
|
sendMail: json['send_mail'] as bool, |
|
|
|
sendMail: json['send_mail'] as bool, |
|
|
|
expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate.fromJson( |
|
|
|
expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate.fromJson( |
|
|
|
json['expire_date'] as Map<String, dynamic>), |
|
|
|
json['expire_date'] as Map<String, dynamic>), |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User instance) => |
|
|
@ -639,15 +501,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['enabled'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate( |
|
|
|
|
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate instance) => |
|
|
@ -656,17 +513,12 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['enabled', 'expire_date'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group( |
|
|
|
|
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate.fromJson( |
|
|
|
expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate.fromJson( |
|
|
|
json['expire_date'] as Map<String, dynamic>), |
|
|
|
json['expire_date'] as Map<String, dynamic>), |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group instance) => |
|
|
@ -677,15 +529,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateFromJson( |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateFromJson( |
|
|
|
Map<String, dynamic> json) { |
|
|
|
Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['enabled'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate( |
|
|
|
|
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate instance) => |
|
|
@ -695,15 +542,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedFromJson( |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedFromJson( |
|
|
|
Map<String, dynamic> json) { |
|
|
|
Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['enabled'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported( |
|
|
|
|
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported instance) => |
|
|
@ -712,12 +554,8 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['outgoing', 'incoming', 'expire_date', 'expire_date_supported'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation( |
|
|
|
|
|
|
|
outgoing: json['outgoing'] as bool, |
|
|
|
outgoing: json['outgoing'] as bool, |
|
|
|
incoming: json['incoming'] as bool, |
|
|
|
incoming: json['incoming'] as bool, |
|
|
|
expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate.fromJson( |
|
|
|
expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate.fromJson( |
|
|
@ -726,7 +564,6 @@ CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported.fromJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported.fromJson( |
|
|
|
json['expire_date_supported'] as Map<String, dynamic>), |
|
|
|
json['expire_date_supported'] as Map<String, dynamic>), |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation instance) => |
|
|
@ -738,16 +575,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['query_lookup_default', 'always_show_unique'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee( |
|
|
|
|
|
|
|
queryLookupDefault: json['query_lookup_default'] as bool, |
|
|
|
queryLookupDefault: json['query_lookup_default'] as bool, |
|
|
|
alwaysShowUnique: json['always_show_unique'] as bool, |
|
|
|
alwaysShowUnique: json['always_show_unique'] as bool, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee instance) => |
|
|
@ -758,15 +590,10 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropFromJson( |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropFromJson( |
|
|
|
Map<String, dynamic> json) { |
|
|
|
Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['enabled'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop( |
|
|
|
|
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop instance) => |
|
|
@ -776,16 +603,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordFromJson( |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordFromJson( |
|
|
|
Map<String, dynamic> json) { |
|
|
|
Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['enabled', 'enforced'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password( |
|
|
|
|
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
enforced: json['enforced'] as bool, |
|
|
|
enforced: json['enforced'] as bool, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password instance) => |
|
|
@ -796,16 +618,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateFromJson( |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateFromJson( |
|
|
|
Map<String, dynamic> json) { |
|
|
|
Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['enabled', 'enforced'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate( |
|
|
|
|
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
enforced: json['enforced'] as bool, |
|
|
|
enforced: json['enforced'] as bool, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate instance) => |
|
|
@ -815,22 +632,18 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['enabled', 'send_password_by_mail', 'upload_files_drop', 'password', 'expire_date'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail( |
|
|
|
|
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
sendPasswordByMail: json['send_password_by_mail'] as bool, |
|
|
|
sendPasswordByMail: json['send_password_by_mail'] as bool, |
|
|
|
uploadFilesDrop: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop.fromJson( |
|
|
|
uploadFilesDrop: |
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop.fromJson( |
|
|
|
json['upload_files_drop'] as Map<String, dynamic>), |
|
|
|
json['upload_files_drop'] as Map<String, dynamic>), |
|
|
|
password: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password.fromJson( |
|
|
|
password: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password.fromJson( |
|
|
|
json['password'] as Map<String, dynamic>), |
|
|
|
json['password'] as Map<String, dynamic>), |
|
|
|
expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate.fromJson( |
|
|
|
expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate.fromJson( |
|
|
|
json['expire_date'] as Map<String, dynamic>), |
|
|
|
json['expire_date'] as Map<String, dynamic>), |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail instance) => |
|
|
@ -843,31 +656,17 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const [ |
|
|
|
|
|
|
|
'api_enabled', |
|
|
|
|
|
|
|
'public', |
|
|
|
|
|
|
|
'resharing', |
|
|
|
|
|
|
|
'user', |
|
|
|
|
|
|
|
'group_sharing', |
|
|
|
|
|
|
|
'group', |
|
|
|
|
|
|
|
'default_permissions', |
|
|
|
|
|
|
|
'federation', |
|
|
|
|
|
|
|
'sharee', |
|
|
|
|
|
|
|
'sharebymail' |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing( |
|
|
|
|
|
|
|
apiEnabled: json['api_enabled'] as bool, |
|
|
|
apiEnabled: json['api_enabled'] as bool, |
|
|
|
public: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public.fromJson( |
|
|
|
public: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public.fromJson( |
|
|
|
json['public'] as Map<String, dynamic>), |
|
|
|
json['public'] as Map<String, dynamic>), |
|
|
|
resharing: json['resharing'] as bool, |
|
|
|
resharing: json['resharing'] as bool, |
|
|
|
user: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User.fromJson(json['user'] as Map<String, dynamic>), |
|
|
|
user: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User.fromJson( |
|
|
|
|
|
|
|
json['user'] as Map<String, dynamic>), |
|
|
|
groupSharing: json['group_sharing'] as bool, |
|
|
|
groupSharing: json['group_sharing'] as bool, |
|
|
|
group: |
|
|
|
group: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group.fromJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group.fromJson(json['group'] as Map<String, dynamic>), |
|
|
|
json['group'] as Map<String, dynamic>), |
|
|
|
defaultPermissions: json['default_permissions'] as int, |
|
|
|
defaultPermissions: json['default_permissions'] as int, |
|
|
|
federation: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation.fromJson( |
|
|
|
federation: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation.fromJson( |
|
|
|
json['federation'] as Map<String, dynamic>), |
|
|
|
json['federation'] as Map<String, dynamic>), |
|
|
@ -876,7 +675,6 @@ CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
sharebymail: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail.fromJson( |
|
|
|
sharebymail: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail.fromJson( |
|
|
|
json['sharebymail'] as Map<String, dynamic>), |
|
|
|
json['sharebymail'] as Map<String, dynamic>), |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing instance) => |
|
|
@ -894,16 +692,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Notes _$CoreServerCapabilities_Ocs_Data_Capabilities_NotesFromJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Notes _$CoreServerCapabilities_Ocs_Data_Capabilities_NotesFromJson( |
|
|
|
Map<String, dynamic> json) { |
|
|
|
Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Notes( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['api_version', 'version'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Notes( |
|
|
|
|
|
|
|
apiVersion: (json['api_version'] as List<dynamic>).map((e) => e as String).toList(), |
|
|
|
apiVersion: (json['api_version'] as List<dynamic>).map((e) => e as String).toList(), |
|
|
|
version: json['version'] as String, |
|
|
|
version: json['version'] as String, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_NotesToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_NotesToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Notes instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Notes instance) => |
|
|
@ -913,17 +706,12 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_NotesToJson( |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Notifications |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Notifications |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Notifications( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['ocs-endpoints', 'push', 'admin-notifications'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Notifications( |
|
|
|
|
|
|
|
ocsEndpoints: (json['ocs-endpoints'] as List<dynamic>).map((e) => e as String).toList(), |
|
|
|
ocsEndpoints: (json['ocs-endpoints'] as List<dynamic>).map((e) => e as String).toList(), |
|
|
|
push: (json['push'] as List<dynamic>).map((e) => e as String).toList(), |
|
|
|
push: (json['push'] as List<dynamic>).map((e) => e as String).toList(), |
|
|
|
adminNotifications: (json['admin-notifications'] as List<dynamic>).map((e) => e as String).toList(), |
|
|
|
adminNotifications: (json['admin-notifications'] as List<dynamic>).map((e) => e as String).toList(), |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Notifications instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Notifications instance) => |
|
|
@ -934,16 +722,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Notification |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['generate', 'validate'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api( |
|
|
|
|
|
|
|
generate: json['generate'] as String, |
|
|
|
generate: json['generate'] as String, |
|
|
|
validate: json['validate'] as String, |
|
|
|
validate: json['validate'] as String, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api instance) => |
|
|
@ -953,27 +736,16 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPoli |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const [ |
|
|
|
|
|
|
|
'minLength', |
|
|
|
|
|
|
|
'enforceNonCommonPassword', |
|
|
|
|
|
|
|
'enforceNumericCharacters', |
|
|
|
|
|
|
|
'enforceSpecialCharacters', |
|
|
|
|
|
|
|
'enforceUpperLowerCase', |
|
|
|
|
|
|
|
'api' |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy( |
|
|
|
|
|
|
|
minLength: json['minLength'] as int, |
|
|
|
minLength: json['minLength'] as int, |
|
|
|
enforceNonCommonPassword: json['enforceNonCommonPassword'] as bool, |
|
|
|
enforceNonCommonPassword: json['enforceNonCommonPassword'] as bool, |
|
|
|
enforceNumericCharacters: json['enforceNumericCharacters'] as bool, |
|
|
|
enforceNumericCharacters: json['enforceNumericCharacters'] as bool, |
|
|
|
enforceSpecialCharacters: json['enforceSpecialCharacters'] as bool, |
|
|
|
enforceSpecialCharacters: json['enforceSpecialCharacters'] as bool, |
|
|
|
enforceUpperLowerCase: json['enforceUpperLowerCase'] as bool, |
|
|
|
enforceUpperLowerCase: json['enforceUpperLowerCase'] as bool, |
|
|
|
api: CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api.fromJson(json['api'] as Map<String, dynamic>), |
|
|
|
api: CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api.fromJson( |
|
|
|
|
|
|
|
json['api'] as Map<String, dynamic>), |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy instance) => |
|
|
@ -987,23 +759,13 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPoli |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const [ |
|
|
|
|
|
|
|
'version', |
|
|
|
|
|
|
|
'AccountPropertyScopesVersion', |
|
|
|
|
|
|
|
'AccountPropertyScopesFederatedEnabled', |
|
|
|
|
|
|
|
'AccountPropertyScopesPublishedEnabled' |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi( |
|
|
|
|
|
|
|
version: json['version'] as String, |
|
|
|
version: json['version'] as String, |
|
|
|
accountPropertyScopesVersion: json['AccountPropertyScopesVersion'] as int, |
|
|
|
accountPropertyScopesVersion: json['AccountPropertyScopesVersion'] as int, |
|
|
|
accountPropertyScopesFederatedEnabled: json['AccountPropertyScopesFederatedEnabled'] as bool, |
|
|
|
accountPropertyScopesFederatedEnabled: json['AccountPropertyScopesFederatedEnabled'] as bool, |
|
|
|
accountPropertyScopesPublishedEnabled: json['AccountPropertyScopesPublishedEnabled'] as bool, |
|
|
|
accountPropertyScopesPublishedEnabled: json['AccountPropertyScopesPublishedEnabled'] as bool, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi instance) => |
|
|
@ -1015,27 +777,8 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Provisioning |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Theming _$CoreServerCapabilities_Ocs_Data_Capabilities_ThemingFromJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Theming _$CoreServerCapabilities_Ocs_Data_Capabilities_ThemingFromJson( |
|
|
|
Map<String, dynamic> json) { |
|
|
|
Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Theming( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const [ |
|
|
|
|
|
|
|
'name', |
|
|
|
|
|
|
|
'url', |
|
|
|
|
|
|
|
'slogan', |
|
|
|
|
|
|
|
'color', |
|
|
|
|
|
|
|
'color-text', |
|
|
|
|
|
|
|
'color-element', |
|
|
|
|
|
|
|
'color-element-bright', |
|
|
|
|
|
|
|
'color-element-dark', |
|
|
|
|
|
|
|
'logo', |
|
|
|
|
|
|
|
'background', |
|
|
|
|
|
|
|
'background-plain', |
|
|
|
|
|
|
|
'background-default', |
|
|
|
|
|
|
|
'logoheader', |
|
|
|
|
|
|
|
'favicon' |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_Theming( |
|
|
|
|
|
|
|
name: json['name'] as String, |
|
|
|
name: json['name'] as String, |
|
|
|
url: json['url'] as String, |
|
|
|
url: json['url'] as String, |
|
|
|
slogan: json['slogan'] as String, |
|
|
|
slogan: json['slogan'] as String, |
|
|
@ -1051,7 +794,6 @@ CoreServerCapabilities_Ocs_Data_Capabilities_Theming _$CoreServerCapabilities_Oc |
|
|
|
logoheader: json['logoheader'] as String, |
|
|
|
logoheader: json['logoheader'] as String, |
|
|
|
favicon: json['favicon'] as String, |
|
|
|
favicon: json['favicon'] as String, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_ThemingToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_ThemingToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Theming instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Theming instance) => |
|
|
@ -1073,16 +815,11 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_ThemingToJso |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusFromJson(Map<String, dynamic> json) { |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusFromJson(Map<String, dynamic> json) => |
|
|
|
$checkKeys( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus( |
|
|
|
json, |
|
|
|
|
|
|
|
allowedKeys: const ['enabled', 'supports_emoji'], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus( |
|
|
|
|
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
supportsEmoji: json['supports_emoji'] as bool, |
|
|
|
supportsEmoji: json['supports_emoji'] as bool, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus instance) => |
|
|
|