|
|
@ -71,12 +71,12 @@ CoreServerCapabilities_Ocs_Data_Version _$CoreServerCapabilities_Ocs_Data_Versio |
|
|
|
allowedKeys: const ['major', 'minor', 'micro', 'string', 'edition', 'extendedSupport'], |
|
|
|
allowedKeys: const ['major', 'minor', 'micro', 'string', 'edition', 'extendedSupport'], |
|
|
|
); |
|
|
|
); |
|
|
|
return CoreServerCapabilities_Ocs_Data_Version( |
|
|
|
return CoreServerCapabilities_Ocs_Data_Version( |
|
|
|
major: json['major'] as int, |
|
|
|
major: json['major'] as int?, |
|
|
|
minor: json['minor'] as int, |
|
|
|
minor: json['minor'] as int?, |
|
|
|
micro: json['micro'] as int, |
|
|
|
micro: json['micro'] as int?, |
|
|
|
string: json['string'] as String, |
|
|
|
string: json['string'] as String?, |
|
|
|
edition: json['edition'] as String, |
|
|
|
edition: json['edition'] as String?, |
|
|
|
extendedSupport: json['extendedSupport'] as bool, |
|
|
|
extendedSupport: json['extendedSupport'] as bool?, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -94,10 +94,10 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Core( |
|
|
|
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( |
|
|
@ -112,7 +112,7 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce( |
|
|
|
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( |
|
|
@ -124,8 +124,8 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable( |
|
|
|
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( |
|
|
@ -138,8 +138,8 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing( |
|
|
|
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( |
|
|
@ -152,13 +152,15 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Files( |
|
|
|
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: json['directEditing'] == null |
|
|
|
json['directEditing'] as Map<String, dynamic>), |
|
|
|
? null |
|
|
|
comments: json['comments'] as bool, |
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing.fromJson( |
|
|
|
undelete: json['undelete'] as bool, |
|
|
|
json['directEditing'] as Map<String, dynamic>), |
|
|
|
versioning: json['versioning'] as bool, |
|
|
|
comments: json['comments'] as bool?, |
|
|
|
|
|
|
|
undelete: json['undelete'] as bool?, |
|
|
|
|
|
|
|
versioning: json['versioning'] as bool?, |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesToJson( |
|
|
@ -166,7 +168,7 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesToJson( |
|
|
|
<String, dynamic>{ |
|
|
|
<String, dynamic>{ |
|
|
|
'bigfilechunking': instance.bigfilechunking, |
|
|
|
'bigfilechunking': instance.bigfilechunking, |
|
|
|
'blacklisted_files': instance.blacklistedFiles, |
|
|
|
'blacklisted_files': instance.blacklistedFiles, |
|
|
|
'directEditing': instance.directEditing.toJson(), |
|
|
|
'directEditing': instance.directEditing?.toJson(), |
|
|
|
'comments': instance.comments, |
|
|
|
'comments': instance.comments, |
|
|
|
'undelete': instance.undelete, |
|
|
|
'undelete': instance.undelete, |
|
|
|
'versioning': instance.versioning, |
|
|
|
'versioning': instance.versioning, |
|
|
@ -175,7 +177,7 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Activity( |
|
|
|
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( |
|
|
@ -187,7 +189,7 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status( |
|
|
|
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( |
|
|
@ -199,10 +201,10 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings( |
|
|
|
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( |
|
|
@ -232,22 +234,24 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants( |
|
|
|
flags: json['flags'], |
|
|
|
flags: json['flags'], |
|
|
|
source: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source.fromJson( |
|
|
|
source: json['source'] == null |
|
|
|
json['source'] as Map<String, dynamic>), |
|
|
|
? null |
|
|
|
|
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source.fromJson( |
|
|
|
|
|
|
|
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) => |
|
|
|
<String, dynamic>{ |
|
|
|
<String, dynamic>{ |
|
|
|
'flags': instance.flags, |
|
|
|
'flags': instance.flags, |
|
|
|
'source': instance.source.toJson(), |
|
|
|
'source': instance.source?.toJson(), |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config( |
|
|
|
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( |
|
|
@ -260,17 +264,21 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle( |
|
|
|
constants: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants.fromJson( |
|
|
|
constants: json['constants'] == null |
|
|
|
json['constants'] as Map<String, dynamic>), |
|
|
|
? null |
|
|
|
config: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config.fromJson( |
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants.fromJson( |
|
|
|
json['config'] as Map<String, dynamic>), |
|
|
|
json['constants'] as Map<String, dynamic>), |
|
|
|
|
|
|
|
config: json['config'] == null |
|
|
|
|
|
|
|
? null |
|
|
|
|
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config.fromJson( |
|
|
|
|
|
|
|
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) => |
|
|
|
<String, dynamic>{ |
|
|
|
<String, dynamic>{ |
|
|
|
'constants': instance.constants.toJson(), |
|
|
|
'constants': instance.constants?.toJson(), |
|
|
|
'config': instance.config.toJson(), |
|
|
|
'config': instance.config?.toJson(), |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants |
|
|
@ -288,46 +296,56 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member( |
|
|
|
constants: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants.fromJson( |
|
|
|
constants: json['constants'] == null |
|
|
|
json['constants'] as Map<String, dynamic>), |
|
|
|
? null |
|
|
|
|
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants.fromJson( |
|
|
|
|
|
|
|
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) => |
|
|
|
<String, dynamic>{ |
|
|
|
<String, dynamic>{ |
|
|
|
'constants': instance.constants.toJson(), |
|
|
|
'constants': instance.constants?.toJson(), |
|
|
|
'type': instance.type, |
|
|
|
'type': instance.type, |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles( |
|
|
|
version: json['version'] as String, |
|
|
|
version: json['version'] as String?, |
|
|
|
status: |
|
|
|
status: json['status'] == null |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status.fromJson(json['status'] as Map<String, dynamic>), |
|
|
|
? null |
|
|
|
settings: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings.fromJson( |
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status.fromJson( |
|
|
|
json['settings'] as Map<String, dynamic>), |
|
|
|
json['status'] as Map<String, dynamic>), |
|
|
|
circle: |
|
|
|
settings: json['settings'] == null |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle.fromJson(json['circle'] as Map<String, dynamic>), |
|
|
|
? null |
|
|
|
member: |
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings.fromJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member.fromJson(json['member'] as Map<String, dynamic>), |
|
|
|
json['settings'] as Map<String, dynamic>), |
|
|
|
|
|
|
|
circle: json['circle'] == null |
|
|
|
|
|
|
|
? null |
|
|
|
|
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle.fromJson( |
|
|
|
|
|
|
|
json['circle'] as Map<String, dynamic>), |
|
|
|
|
|
|
|
member: json['member'] == null |
|
|
|
|
|
|
|
? null |
|
|
|
|
|
|
|
: 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) => |
|
|
|
<String, dynamic>{ |
|
|
|
<String, dynamic>{ |
|
|
|
'version': instance.version, |
|
|
|
'version': instance.version, |
|
|
|
'status': instance.status.toJson(), |
|
|
|
'status': instance.status?.toJson(), |
|
|
|
'settings': instance.settings.toJson(), |
|
|
|
'settings': instance.settings?.toJson(), |
|
|
|
'circle': instance.circle.toJson(), |
|
|
|
'circle': instance.circle?.toJson(), |
|
|
|
'member': instance.member.toJson(), |
|
|
|
'member': instance.member?.toJson(), |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols( |
|
|
|
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( |
|
|
@ -339,10 +357,12 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes( |
|
|
|
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: json['protocols'] == null |
|
|
|
json['protocols'] as Map<String, dynamic>), |
|
|
|
? null |
|
|
|
|
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols.fromJson( |
|
|
|
|
|
|
|
json['protocols'] as Map<String, dynamic>), |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesToJson( |
|
|
@ -350,17 +370,17 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_Resource |
|
|
|
<String, dynamic>{ |
|
|
|
<String, dynamic>{ |
|
|
|
'name': instance.name, |
|
|
|
'name': instance.name, |
|
|
|
'shareTypes': instance.shareTypes, |
|
|
|
'shareTypes': instance.shareTypes, |
|
|
|
'protocols': instance.protocols.toJson(), |
|
|
|
'protocols': instance.protocols?.toJson(), |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm( |
|
|
|
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( |
|
|
|
?.map( |
|
|
|
(e) => CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes.fromJson(e as Map<String, dynamic>)) |
|
|
|
(e) => CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes.fromJson(e as Map<String, dynamic>)) |
|
|
|
.toList(), |
|
|
|
.toList(), |
|
|
|
); |
|
|
|
); |
|
|
@ -371,14 +391,14 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_OcmToJson( |
|
|
|
'enabled': instance.enabled, |
|
|
|
'enabled': instance.enabled, |
|
|
|
'apiVersion': instance.apiVersion, |
|
|
|
'apiVersion': instance.apiVersion, |
|
|
|
'endPoint': instance.endPoint, |
|
|
|
'endPoint': instance.endPoint, |
|
|
|
'resourceTypes': instance.resourceTypes.map((e) => e.toJson()).toList(), |
|
|
|
'resourceTypes': instance.resourceTypes?.map((e) => e.toJson()).toList(), |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Dav( |
|
|
|
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( |
|
|
@ -391,8 +411,8 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password( |
|
|
|
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( |
|
|
@ -405,7 +425,7 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate( |
|
|
|
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( |
|
|
@ -418,7 +438,7 @@ CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInter |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalFromJson( |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalFromJson( |
|
|
|
Map<String, dynamic> json) => |
|
|
|
Map<String, dynamic> json) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal( |
|
|
|
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( |
|
|
@ -431,7 +451,7 @@ CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemot |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteFromJson( |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteFromJson( |
|
|
|
Map<String, dynamic> json) => |
|
|
|
Map<String, dynamic> json) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote( |
|
|
|
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( |
|
|
@ -443,31 +463,38 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public( |
|
|
|
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: json['password'] == null |
|
|
|
json['password'] as Map<String, dynamic>), |
|
|
|
? null |
|
|
|
expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate.fromJson( |
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password.fromJson( |
|
|
|
json['expire_date'] as Map<String, dynamic>), |
|
|
|
json['password'] as Map<String, dynamic>), |
|
|
|
multipleLinks: json['multiple_links'] as bool, |
|
|
|
expireDate: json['expire_date'] == null |
|
|
|
expireDateInternal: |
|
|
|
? null |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal.fromJson( |
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate.fromJson( |
|
|
|
|
|
|
|
json['expire_date'] as Map<String, dynamic>), |
|
|
|
|
|
|
|
multipleLinks: json['multiple_links'] as bool?, |
|
|
|
|
|
|
|
expireDateInternal: json['expire_date_internal'] == null |
|
|
|
|
|
|
|
? null |
|
|
|
|
|
|
|
: 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: json['expire_date_remote'] == null |
|
|
|
json['expire_date_remote'] as Map<String, dynamic>), |
|
|
|
? null |
|
|
|
sendMail: json['send_mail'] as bool, |
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote.fromJson( |
|
|
|
upload: json['upload'] as bool, |
|
|
|
json['expire_date_remote'] as Map<String, dynamic>), |
|
|
|
uploadFilesDrop: json['upload_files_drop'] as bool, |
|
|
|
sendMail: json['send_mail'] as bool?, |
|
|
|
|
|
|
|
upload: json['upload'] 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) => |
|
|
|
<String, dynamic>{ |
|
|
|
<String, dynamic>{ |
|
|
|
'enabled': instance.enabled, |
|
|
|
'enabled': instance.enabled, |
|
|
|
'password': instance.password.toJson(), |
|
|
|
'password': instance.password?.toJson(), |
|
|
|
'expire_date': instance.expireDate.toJson(), |
|
|
|
'expire_date': instance.expireDate?.toJson(), |
|
|
|
'multiple_links': instance.multipleLinks, |
|
|
|
'multiple_links': instance.multipleLinks, |
|
|
|
'expire_date_internal': instance.expireDateInternal.toJson(), |
|
|
|
'expire_date_internal': instance.expireDateInternal?.toJson(), |
|
|
|
'expire_date_remote': instance.expireDateRemote.toJson(), |
|
|
|
'expire_date_remote': instance.expireDateRemote?.toJson(), |
|
|
|
'send_mail': instance.sendMail, |
|
|
|
'send_mail': instance.sendMail, |
|
|
|
'upload': instance.upload, |
|
|
|
'upload': instance.upload, |
|
|
|
'upload_files_drop': instance.uploadFilesDrop, |
|
|
|
'upload_files_drop': instance.uploadFilesDrop, |
|
|
@ -476,7 +503,7 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate( |
|
|
|
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( |
|
|
@ -488,22 +515,24 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User( |
|
|
|
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: json['expire_date'] == null |
|
|
|
json['expire_date'] as Map<String, dynamic>), |
|
|
|
? null |
|
|
|
|
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate.fromJson( |
|
|
|
|
|
|
|
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) => |
|
|
|
<String, dynamic>{ |
|
|
|
<String, dynamic>{ |
|
|
|
'send_mail': instance.sendMail, |
|
|
|
'send_mail': instance.sendMail, |
|
|
|
'expire_date': instance.expireDate.toJson(), |
|
|
|
'expire_date': instance.expireDate?.toJson(), |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate( |
|
|
|
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( |
|
|
@ -515,23 +544,25 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group( |
|
|
|
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: json['expire_date'] == null |
|
|
|
json['expire_date'] as Map<String, dynamic>), |
|
|
|
? null |
|
|
|
|
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate.fromJson( |
|
|
|
|
|
|
|
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) => |
|
|
|
<String, dynamic>{ |
|
|
|
<String, dynamic>{ |
|
|
|
'enabled': instance.enabled, |
|
|
|
'enabled': instance.enabled, |
|
|
|
'expire_date': instance.expireDate.toJson(), |
|
|
|
'expire_date': instance.expireDate?.toJson(), |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate( |
|
|
|
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( |
|
|
@ -544,7 +575,7 @@ CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateS |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedFromJson( |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedFromJson( |
|
|
|
Map<String, dynamic> json) => |
|
|
|
Map<String, dynamic> json) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported( |
|
|
|
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( |
|
|
@ -556,12 +587,15 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation( |
|
|
|
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: json['expire_date'] == null |
|
|
|
json['expire_date'] as Map<String, dynamic>), |
|
|
|
? null |
|
|
|
expireDateSupported: |
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate.fromJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported.fromJson( |
|
|
|
json['expire_date'] as Map<String, dynamic>), |
|
|
|
|
|
|
|
expireDateSupported: json['expire_date_supported'] == null |
|
|
|
|
|
|
|
? null |
|
|
|
|
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported.fromJson( |
|
|
|
json['expire_date_supported'] as Map<String, dynamic>), |
|
|
|
json['expire_date_supported'] as Map<String, dynamic>), |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
@ -570,15 +604,15 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
<String, dynamic>{ |
|
|
|
<String, dynamic>{ |
|
|
|
'outgoing': instance.outgoing, |
|
|
|
'outgoing': instance.outgoing, |
|
|
|
'incoming': instance.incoming, |
|
|
|
'incoming': instance.incoming, |
|
|
|
'expire_date': instance.expireDate.toJson(), |
|
|
|
'expire_date': instance.expireDate?.toJson(), |
|
|
|
'expire_date_supported': instance.expireDateSupported.toJson(), |
|
|
|
'expire_date_supported': instance.expireDateSupported?.toJson(), |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee( |
|
|
|
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( |
|
|
@ -592,7 +626,7 @@ CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFile |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropFromJson( |
|
|
|
_$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropFromJson( |
|
|
|
Map<String, dynamic> json) => |
|
|
|
Map<String, dynamic> json) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop( |
|
|
|
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( |
|
|
@ -605,8 +639,8 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password( |
|
|
|
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( |
|
|
@ -620,8 +654,8 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate( |
|
|
|
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( |
|
|
@ -634,15 +668,20 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail( |
|
|
|
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: |
|
|
|
uploadFilesDrop: json['upload_files_drop'] == null |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop.fromJson( |
|
|
|
? null |
|
|
|
|
|
|
|
: 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: json['password'] == null |
|
|
|
json['password'] as Map<String, dynamic>), |
|
|
|
? null |
|
|
|
expireDate: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate.fromJson( |
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password.fromJson( |
|
|
|
json['expire_date'] as Map<String, dynamic>), |
|
|
|
json['password'] as Map<String, dynamic>), |
|
|
|
|
|
|
|
expireDate: json['expire_date'] == null |
|
|
|
|
|
|
|
? null |
|
|
|
|
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate.fromJson( |
|
|
|
|
|
|
|
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( |
|
|
@ -650,52 +689,64 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing |
|
|
|
<String, dynamic>{ |
|
|
|
<String, dynamic>{ |
|
|
|
'enabled': instance.enabled, |
|
|
|
'enabled': instance.enabled, |
|
|
|
'send_password_by_mail': instance.sendPasswordByMail, |
|
|
|
'send_password_by_mail': instance.sendPasswordByMail, |
|
|
|
'upload_files_drop': instance.uploadFilesDrop.toJson(), |
|
|
|
'upload_files_drop': instance.uploadFilesDrop?.toJson(), |
|
|
|
'password': instance.password.toJson(), |
|
|
|
'password': instance.password?.toJson(), |
|
|
|
'expire_date': instance.expireDate.toJson(), |
|
|
|
'expire_date': instance.expireDate?.toJson(), |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing( |
|
|
|
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: json['public'] == null |
|
|
|
json['public'] as Map<String, dynamic>), |
|
|
|
? null |
|
|
|
resharing: json['resharing'] as bool, |
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public.fromJson( |
|
|
|
user: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User.fromJson( |
|
|
|
json['public'] as Map<String, dynamic>), |
|
|
|
json['user'] as Map<String, dynamic>), |
|
|
|
resharing: json['resharing'] as bool?, |
|
|
|
groupSharing: json['group_sharing'] as bool, |
|
|
|
user: json['user'] == null |
|
|
|
group: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group.fromJson( |
|
|
|
? null |
|
|
|
json['group'] as Map<String, dynamic>), |
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User.fromJson( |
|
|
|
defaultPermissions: json['default_permissions'] as int, |
|
|
|
json['user'] as Map<String, dynamic>), |
|
|
|
federation: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation.fromJson( |
|
|
|
groupSharing: json['group_sharing'] as bool?, |
|
|
|
json['federation'] as Map<String, dynamic>), |
|
|
|
group: json['group'] == null |
|
|
|
sharee: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee.fromJson( |
|
|
|
? null |
|
|
|
json['sharee'] as Map<String, dynamic>), |
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group.fromJson( |
|
|
|
sharebymail: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail.fromJson( |
|
|
|
json['group'] as Map<String, dynamic>), |
|
|
|
json['sharebymail'] as Map<String, dynamic>), |
|
|
|
defaultPermissions: json['default_permissions'] as int?, |
|
|
|
|
|
|
|
federation: json['federation'] == null |
|
|
|
|
|
|
|
? null |
|
|
|
|
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation.fromJson( |
|
|
|
|
|
|
|
json['federation'] as Map<String, dynamic>), |
|
|
|
|
|
|
|
sharee: json['sharee'] == null |
|
|
|
|
|
|
|
? null |
|
|
|
|
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee.fromJson( |
|
|
|
|
|
|
|
json['sharee'] as Map<String, dynamic>), |
|
|
|
|
|
|
|
sharebymail: json['sharebymail'] == null |
|
|
|
|
|
|
|
? null |
|
|
|
|
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail.fromJson( |
|
|
|
|
|
|
|
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) => |
|
|
|
<String, dynamic>{ |
|
|
|
<String, dynamic>{ |
|
|
|
'api_enabled': instance.apiEnabled, |
|
|
|
'api_enabled': instance.apiEnabled, |
|
|
|
'public': instance.public.toJson(), |
|
|
|
'public': instance.public?.toJson(), |
|
|
|
'resharing': instance.resharing, |
|
|
|
'resharing': instance.resharing, |
|
|
|
'user': instance.user.toJson(), |
|
|
|
'user': instance.user?.toJson(), |
|
|
|
'group_sharing': instance.groupSharing, |
|
|
|
'group_sharing': instance.groupSharing, |
|
|
|
'group': instance.group.toJson(), |
|
|
|
'group': instance.group?.toJson(), |
|
|
|
'default_permissions': instance.defaultPermissions, |
|
|
|
'default_permissions': instance.defaultPermissions, |
|
|
|
'federation': instance.federation.toJson(), |
|
|
|
'federation': instance.federation?.toJson(), |
|
|
|
'sharee': instance.sharee.toJson(), |
|
|
|
'sharee': instance.sharee?.toJson(), |
|
|
|
'sharebymail': instance.sharebymail.toJson(), |
|
|
|
'sharebymail': instance.sharebymail?.toJson(), |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Notes( |
|
|
|
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( |
|
|
@ -708,9 +759,9 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Notifications( |
|
|
|
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( |
|
|
@ -724,8 +775,8 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api( |
|
|
|
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( |
|
|
@ -738,13 +789,15 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy( |
|
|
|
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( |
|
|
|
api: json['api'] == null |
|
|
|
json['api'] as Map<String, dynamic>), |
|
|
|
? null |
|
|
|
|
|
|
|
: 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( |
|
|
@ -755,16 +808,16 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPoli |
|
|
|
'enforceNumericCharacters': instance.enforceNumericCharacters, |
|
|
|
'enforceNumericCharacters': instance.enforceNumericCharacters, |
|
|
|
'enforceSpecialCharacters': instance.enforceSpecialCharacters, |
|
|
|
'enforceSpecialCharacters': instance.enforceSpecialCharacters, |
|
|
|
'enforceUpperLowerCase': instance.enforceUpperLowerCase, |
|
|
|
'enforceUpperLowerCase': instance.enforceUpperLowerCase, |
|
|
|
'api': instance.api.toJson(), |
|
|
|
'api': instance.api?.toJson(), |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi( |
|
|
|
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( |
|
|
@ -779,20 +832,20 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Theming( |
|
|
|
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?, |
|
|
|
color: json['color'] as String, |
|
|
|
color: json['color'] as String?, |
|
|
|
colorText: json['color-text'] as String, |
|
|
|
colorText: json['color-text'] as String?, |
|
|
|
colorElement: json['color-element'] as String, |
|
|
|
colorElement: json['color-element'] as String?, |
|
|
|
colorElementBright: json['color-element-bright'] as String, |
|
|
|
colorElementBright: json['color-element-bright'] as String?, |
|
|
|
colorElementDark: json['color-element-dark'] as String, |
|
|
|
colorElementDark: json['color-element-dark'] as String?, |
|
|
|
logo: json['logo'] as String, |
|
|
|
logo: json['logo'] as String?, |
|
|
|
background: json['background'] as String, |
|
|
|
background: json['background'] as String?, |
|
|
|
backgroundPlain: json['background-plain'] as bool, |
|
|
|
backgroundPlain: json['background-plain'] as bool?, |
|
|
|
backgroundDefault: json['background-default'] as bool, |
|
|
|
backgroundDefault: json['background-default'] as bool?, |
|
|
|
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( |
|
|
@ -817,8 +870,8 @@ 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) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus( |
|
|
|
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( |
|
|
@ -835,7 +888,7 @@ CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus |
|
|
|
allowedKeys: const ['enabled'], |
|
|
|
allowedKeys: const ['enabled'], |
|
|
|
); |
|
|
|
); |
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus( |
|
|
|
return CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus( |
|
|
|
enabled: json['enabled'] as bool, |
|
|
|
enabled: json['enabled'] as bool?, |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -848,20 +901,32 @@ Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatu |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities _$CoreServerCapabilities_Ocs_Data_CapabilitiesFromJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities _$CoreServerCapabilities_Ocs_Data_CapabilitiesFromJson( |
|
|
|
Map<String, dynamic> json) => |
|
|
|
Map<String, dynamic> json) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities( |
|
|
|
core: CoreServerCapabilities_Ocs_Data_Capabilities_Core.fromJson(json['core'] as Map<String, dynamic>), |
|
|
|
core: json['core'] == null |
|
|
|
bruteforce: |
|
|
|
? null |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce.fromJson(json['bruteforce'] as Map<String, dynamic>), |
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_Core.fromJson(json['core'] as Map<String, dynamic>), |
|
|
|
metadataAvailable: CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable.fromJson( |
|
|
|
bruteforce: json['bruteforce'] == null |
|
|
|
json['metadataAvailable'] as Map<String, dynamic>), |
|
|
|
? null |
|
|
|
files: CoreServerCapabilities_Ocs_Data_Capabilities_Files.fromJson(json['files'] as Map<String, dynamic>), |
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce.fromJson( |
|
|
|
|
|
|
|
json['bruteforce'] as Map<String, dynamic>), |
|
|
|
|
|
|
|
metadataAvailable: json['metadataAvailable'] == null |
|
|
|
|
|
|
|
? null |
|
|
|
|
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable.fromJson( |
|
|
|
|
|
|
|
json['metadataAvailable'] as Map<String, dynamic>), |
|
|
|
|
|
|
|
files: json['files'] == null |
|
|
|
|
|
|
|
? null |
|
|
|
|
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_Files.fromJson(json['files'] as Map<String, dynamic>), |
|
|
|
activity: json['activity'] == null |
|
|
|
activity: json['activity'] == null |
|
|
|
? null |
|
|
|
? null |
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_Activity.fromJson(json['activity'] as Map<String, dynamic>), |
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_Activity.fromJson(json['activity'] as Map<String, dynamic>), |
|
|
|
circles: json['circles'] == null |
|
|
|
circles: json['circles'] == null |
|
|
|
? null |
|
|
|
? null |
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_Circles.fromJson(json['circles'] as Map<String, dynamic>), |
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_Circles.fromJson(json['circles'] as Map<String, dynamic>), |
|
|
|
ocm: CoreServerCapabilities_Ocs_Data_Capabilities_Ocm.fromJson(json['ocm'] as Map<String, dynamic>), |
|
|
|
ocm: json['ocm'] == null |
|
|
|
dav: CoreServerCapabilities_Ocs_Data_Capabilities_Dav.fromJson(json['dav'] as Map<String, dynamic>), |
|
|
|
? null |
|
|
|
|
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_Ocm.fromJson(json['ocm'] as Map<String, dynamic>), |
|
|
|
|
|
|
|
dav: json['dav'] == null |
|
|
|
|
|
|
|
? null |
|
|
|
|
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_Dav.fromJson(json['dav'] as Map<String, dynamic>), |
|
|
|
filesSharing: json['files_sharing'] == null |
|
|
|
filesSharing: json['files_sharing'] == null |
|
|
|
? null |
|
|
|
? null |
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing.fromJson( |
|
|
|
: CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing.fromJson( |
|
|
@ -897,14 +962,14 @@ CoreServerCapabilities_Ocs_Data_Capabilities _$CoreServerCapabilities_Ocs_Data_C |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_CapabilitiesToJson( |
|
|
|
Map<String, dynamic> _$CoreServerCapabilities_Ocs_Data_CapabilitiesToJson( |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities instance) => |
|
|
|
CoreServerCapabilities_Ocs_Data_Capabilities instance) => |
|
|
|
<String, dynamic>{ |
|
|
|
<String, dynamic>{ |
|
|
|
'core': instance.core.toJson(), |
|
|
|
'core': instance.core?.toJson(), |
|
|
|
'bruteforce': instance.bruteforce.toJson(), |
|
|
|
'bruteforce': instance.bruteforce?.toJson(), |
|
|
|
'metadataAvailable': instance.metadataAvailable.toJson(), |
|
|
|
'metadataAvailable': instance.metadataAvailable?.toJson(), |
|
|
|
'files': instance.files.toJson(), |
|
|
|
'files': instance.files?.toJson(), |
|
|
|
'activity': instance.activity?.toJson(), |
|
|
|
'activity': instance.activity?.toJson(), |
|
|
|
'circles': instance.circles?.toJson(), |
|
|
|
'circles': instance.circles?.toJson(), |
|
|
|
'ocm': instance.ocm.toJson(), |
|
|
|
'ocm': instance.ocm?.toJson(), |
|
|
|
'dav': instance.dav.toJson(), |
|
|
|
'dav': instance.dav?.toJson(), |
|
|
|
'files_sharing': instance.filesSharing?.toJson(), |
|
|
|
'files_sharing': instance.filesSharing?.toJson(), |
|
|
|
'notes': instance.notes?.toJson(), |
|
|
|
'notes': instance.notes?.toJson(), |
|
|
|
'notifications': instance.notifications?.toJson(), |
|
|
|
'notifications': instance.notifications?.toJson(), |
|
|
|