diff --git a/packages/dynamite/dynamite/lib/src/openapi_builder.dart b/packages/dynamite/dynamite/lib/src/openapi_builder.dart index 1ac9d09e..8ba4428c 100644 --- a/packages/dynamite/dynamite/lib/src/openapi_builder.dart +++ b/packages/dynamite/dynamite/lib/src/openapi_builder.dart @@ -373,6 +373,7 @@ class OpenAPIBuilder implements Builder { final security = operation.security ?? spec.security ?? []; final securityRequirements = security.where((final requirement) => requirement.isNotEmpty); final isOptionalSecurity = securityRequirements.length != security.length; + code.write(' // coverage:ignore-start\n'); for (final requirement in securityRequirements) { final securityScheme = spec.components!.securitySchemes![requirement.keys.single]!; code.write(''' @@ -387,10 +388,11 @@ class OpenAPIBuilder implements Builder { if (securityRequirements.isNotEmpty && !isOptionalSecurity) { code.write(''' else { - throw Exception('Missing authentication for ${securityRequirements.map((final r) => r.keys.single).join(' or ')}'); // coverage:ignore-line + throw Exception('Missing authentication for ${securityRequirements.map((final r) => r.keys.single).join(' or ')}'); } '''); } + code.write(' // coverage:ignore-end\n'); for (final parameter in parameters) { final dartParameterNullable = _isDartParameterNullable( @@ -710,6 +712,7 @@ class OpenAPIBuilder implements Builder { if (state.resolvedTypes.isNotEmpty) { output.addAll([ + '// coverage:ignore-start', 'final Serializers _serializers = (Serializers().toBuilder()', ...state.resolvedTypes.map((final type) => type.serializers).expand((final element) => element).toSet(), ').build();', @@ -718,7 +721,6 @@ class OpenAPIBuilder implements Builder { '', 'final Serializers _jsonSerializers = (_serializers.toBuilder()..addPlugin(StandardJsonPlugin())..addPlugin(const ContentStringPlugin())).build();', '', - '// coverage:ignore-start', 'T deserialize$classPrefix(final Object data) => _serializers.deserialize(data, specifiedType: FullType(T))! as T;', '', 'Object? serialize$classPrefix(final T data) => _serializers.serialize(data, specifiedType: FullType(T));', @@ -726,29 +728,28 @@ class OpenAPIBuilder implements Builder { ]); } - final formatter = DartFormatter( - pageWidth: 120, - ); - const coverageIgnoreStart = ' // coverage:ignore-start'; - const coverageIgnoreEnd = ' // coverage:ignore-end'; final patterns = [ RegExp( - r'factory .*\.fromJson\(Map json\) => _\$.*FromJson\(json\);', + r'const .*\._\(\);', + ), + RegExp( + r'factory .*\.fromJson\(Map json\) => _jsonSerializers\.deserializeWith\(serializer, json\)!;', ), RegExp( - r'Map toJson\(\) => _\$.*ToJson\(this\);', + r'Map toJson\(\) => _jsonSerializers\.serializeWith\(serializer, this\)! as Map;', ), RegExp( - r'dynamic toJson\(\) => _data;', + r'static BuiltSet<.*> get values => _\$.*Values;', ), ]; var outputString = output.join('\n'); for (final pattern in patterns) { outputString = outputString.replaceAllMapped( pattern, - (final match) => '$coverageIgnoreStart\n${match.group(0)}\n$coverageIgnoreEnd', + (final match) => ' // coverage:ignore-start\n${match.group(0)}\n // coverage:ignore-end', ); } + final formatter = DartFormatter(pageWidth: 120); await buildStep.writeAsString( outputId, formatter.format(outputString), @@ -952,11 +953,6 @@ TypeResult resolveObject( ), ) ..constructors.addAll([ - Constructor( - (final b) => b - ..name = '_' - ..constant = true, - ), Constructor( (final b) => b ..factory = true @@ -970,6 +966,11 @@ TypeResult resolveObject( ) ..redirect = refer('_\$${state.prefix}$identifier'), ), + Constructor( + (final b) => b + ..name = '_' + ..constant = true, + ), Constructor( (final b) => b ..factory = true diff --git a/packages/nextcloud/lib/src/api/core.openapi.dart b/packages/nextcloud/lib/src/api/core.openapi.dart index 9bec345b..83b48f85 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.dart +++ b/packages/nextcloud/lib/src/api/core.openapi.dart @@ -98,6 +98,8 @@ class CoreClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start + // coverage:ignore-end final response = await doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), @@ -127,6 +129,7 @@ class CoreAppPasswordClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -135,8 +138,9 @@ class CoreAppPasswordClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( 'get', @@ -163,6 +167,7 @@ class CoreAppPasswordClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -171,8 +176,9 @@ class CoreAppPasswordClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( 'post', @@ -199,6 +205,7 @@ class CoreAppPasswordClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -207,8 +214,9 @@ class CoreAppPasswordClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( 'delete', @@ -247,6 +255,7 @@ class CoreAutoCompleteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -255,8 +264,9 @@ class CoreAutoCompleteClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['search'] = search; if (itemType != null) { queryParameters['itemType'] = itemType; @@ -307,6 +317,7 @@ class CoreAvatarClient { 'Accept': '*/*', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -315,6 +326,7 @@ class CoreAvatarClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); path = path.replaceAll('{size}', Uri.encodeQueryComponent(size.toString())); final response = await rootClient.doRequest( @@ -346,6 +358,7 @@ class CoreAvatarClient { 'Accept': '*/*', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -354,6 +367,7 @@ class CoreAvatarClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); path = path.replaceAll('{size}', Uri.encodeQueryComponent(size.toString())); final response = await rootClient.doRequest( @@ -388,6 +402,7 @@ class CoreClientFlowLoginV2Client { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -396,6 +411,7 @@ class CoreClientFlowLoginV2Client { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end queryParameters['token'] = token; final response = await rootClient.doRequest( 'post', @@ -420,6 +436,7 @@ class CoreClientFlowLoginV2Client { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -428,6 +445,7 @@ class CoreClientFlowLoginV2Client { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end final response = await rootClient.doRequest( 'post', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), @@ -458,6 +476,7 @@ class CoreCollaborationResourcesClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -466,8 +485,9 @@ class CoreCollaborationResourcesClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{filter}', Uri.encodeQueryComponent(filter)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -496,6 +516,7 @@ class CoreCollaborationResourcesClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -504,8 +525,9 @@ class CoreCollaborationResourcesClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{collectionId}', Uri.encodeQueryComponent(collectionId.toString())); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -535,6 +557,7 @@ class CoreCollaborationResourcesClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -543,8 +566,9 @@ class CoreCollaborationResourcesClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['collectionName'] = collectionName; path = path.replaceAll('{collectionId}', Uri.encodeQueryComponent(collectionId.toString())); headers['OCS-APIRequest'] = oCSAPIRequest; @@ -576,6 +600,7 @@ class CoreCollaborationResourcesClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -584,8 +609,9 @@ class CoreCollaborationResourcesClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['resourceType'] = resourceType; queryParameters['resourceId'] = resourceId; path = path.replaceAll('{collectionId}', Uri.encodeQueryComponent(collectionId.toString())); @@ -618,6 +644,7 @@ class CoreCollaborationResourcesClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -626,8 +653,9 @@ class CoreCollaborationResourcesClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['resourceType'] = resourceType; queryParameters['resourceId'] = resourceId; path = path.replaceAll('{collectionId}', Uri.encodeQueryComponent(collectionId.toString())); @@ -659,6 +687,7 @@ class CoreCollaborationResourcesClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -667,8 +696,9 @@ class CoreCollaborationResourcesClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{resourceType}', Uri.encodeQueryComponent(resourceType)); path = path.replaceAll('{resourceId}', Uri.encodeQueryComponent(resourceId)); headers['OCS-APIRequest'] = oCSAPIRequest; @@ -700,6 +730,7 @@ class CoreCollaborationResourcesClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -708,8 +739,9 @@ class CoreCollaborationResourcesClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['name'] = name; path = path.replaceAll('{baseResourceType}', Uri.encodeQueryComponent(baseResourceType)); path = path.replaceAll('{baseResourceId}', Uri.encodeQueryComponent(baseResourceId)); @@ -747,6 +779,7 @@ class CoreGuestAvatarClient { 'Accept': '*/*', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -755,6 +788,7 @@ class CoreGuestAvatarClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end path = path.replaceAll('{guestName}', Uri.encodeQueryComponent(guestName)); path = path.replaceAll('{size}', Uri.encodeQueryComponent(size)); final response = await rootClient.doRequest( @@ -781,6 +815,7 @@ class CoreGuestAvatarClient { 'Accept': '*/*', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -789,6 +824,7 @@ class CoreGuestAvatarClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end path = path.replaceAll('{guestName}', Uri.encodeQueryComponent(guestName)); path = path.replaceAll('{size}', Uri.encodeQueryComponent(size)); if (darkTheme != null) { @@ -825,6 +861,7 @@ class CoreHoverCardClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -833,8 +870,9 @@ class CoreHoverCardClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -869,6 +907,7 @@ class CoreNavigationClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -877,8 +916,9 @@ class CoreNavigationClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end if (absolute != 0) { queryParameters['absolute'] = absolute.toString(); } @@ -909,6 +949,7 @@ class CoreNavigationClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -917,8 +958,9 @@ class CoreNavigationClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end if (absolute != 0) { queryParameters['absolute'] = absolute.toString(); } @@ -954,6 +996,7 @@ class CoreOcsClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -962,6 +1005,7 @@ class CoreOcsClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( 'get', @@ -999,6 +1043,7 @@ class CorePreviewClient { 'Accept': '*/*', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1007,8 +1052,9 @@ class CorePreviewClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end if (fileId != -1) { queryParameters['fileId'] = fileId.toString(); } @@ -1054,6 +1100,7 @@ class CorePreviewClient { 'Accept': '*/*', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1062,8 +1109,9 @@ class CorePreviewClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end if (file != '') { queryParameters['file'] = file; } @@ -1113,6 +1161,7 @@ class CoreProfileApiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1121,8 +1170,9 @@ class CoreProfileApiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['paramId'] = paramId; queryParameters['visibility'] = visibility; path = path.replaceAll('{targetUserId}', Uri.encodeQueryComponent(targetUserId)); @@ -1156,6 +1206,7 @@ class CoreReferenceClient { 'Accept': '*/*', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1164,6 +1215,7 @@ class CoreReferenceClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end path = path.replaceAll('{referenceId}', Uri.encodeQueryComponent(referenceId)); final response = await rootClient.doRequest( 'get', @@ -1194,6 +1246,7 @@ class CoreReferenceApiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1202,8 +1255,9 @@ class CoreReferenceApiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['reference'] = reference; headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -1233,6 +1287,7 @@ class CoreReferenceApiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1241,8 +1296,9 @@ class CoreReferenceApiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['references[]'] = references.map((final e) => e); if (limit != 1) { queryParameters['limit'] = limit.toString(); @@ -1276,6 +1332,7 @@ class CoreReferenceApiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1284,8 +1341,9 @@ class CoreReferenceApiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['text'] = text; if (resolve != 0) { queryParameters['resolve'] = resolve.toString(); @@ -1319,6 +1377,7 @@ class CoreReferenceApiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1327,8 +1386,9 @@ class CoreReferenceApiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( 'get', @@ -1357,6 +1417,7 @@ class CoreReferenceApiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1365,8 +1426,9 @@ class CoreReferenceApiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{providerId}', Uri.encodeQueryComponent(providerId)); if (timestamp != null) { queryParameters['timestamp'] = timestamp.toString(); @@ -1403,6 +1465,7 @@ class CoreTextProcessingApiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1411,6 +1474,7 @@ class CoreTextProcessingApiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( 'get', @@ -1441,6 +1505,7 @@ class CoreTextProcessingApiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1449,6 +1514,7 @@ class CoreTextProcessingApiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end queryParameters['input'] = input; queryParameters['type'] = type; queryParameters['appId'] = appId; @@ -1482,6 +1548,7 @@ class CoreTextProcessingApiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1490,6 +1557,7 @@ class CoreTextProcessingApiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -1521,6 +1589,7 @@ class CoreTranslationApiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1529,6 +1598,7 @@ class CoreTranslationApiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( 'get', @@ -1558,6 +1628,7 @@ class CoreTranslationApiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1566,6 +1637,7 @@ class CoreTranslationApiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end queryParameters['text'] = text; queryParameters['toLanguage'] = toLanguage; if (fromLanguage != null) { @@ -1604,6 +1676,7 @@ class CoreUnifiedSearchClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1612,8 +1685,9 @@ class CoreUnifiedSearchClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end if (from != '') { queryParameters['from'] = from; } @@ -1649,6 +1723,7 @@ class CoreUnifiedSearchClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1657,8 +1732,9 @@ class CoreUnifiedSearchClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{providerId}', Uri.encodeQueryComponent(providerId)); if (term != '') { queryParameters['term'] = term; @@ -1708,6 +1784,7 @@ class CoreWhatsNewClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1716,8 +1793,9 @@ class CoreWhatsNewClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( 'get', @@ -1745,6 +1823,7 @@ class CoreWhatsNewClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1753,8 +1832,9 @@ class CoreWhatsNewClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['version'] = version; headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -1786,6 +1866,7 @@ class CoreWipeClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1794,6 +1875,7 @@ class CoreWipeClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end queryParameters['token'] = token; final response = await rootClient.doRequest( 'post', @@ -1818,6 +1900,7 @@ class CoreWipeClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1826,6 +1909,7 @@ class CoreWipeClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end queryParameters['token'] = token; final response = await rootClient.doRequest( 'post', @@ -1842,11 +1926,18 @@ class CoreWipeClient { abstract class CoreStatus implements Built { factory CoreStatus([final void Function(CoreStatusBuilder)? b]) = _$CoreStatus; + + // coverage:ignore-start const CoreStatus._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreStatus.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get installed; bool get maintenance; bool get needsDbUpgrade; @@ -1860,11 +1951,18 @@ abstract class CoreStatus implements Built { abstract class CoreOCSMeta implements Built { factory CoreOCSMeta([final void Function(CoreOCSMetaBuilder)? b]) = _$CoreOCSMeta; + + // coverage:ignore-start const CoreOCSMeta._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOCSMeta.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get status; int get statuscode; String? get message; @@ -1880,12 +1978,19 @@ abstract class CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data factory CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data([ final void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get apppassword; static Serializer get serializer => _$coreAppPasswordGetAppPasswordResponse200ApplicationJsonOcsDataSerializer; @@ -1898,12 +2003,19 @@ abstract class CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs factory CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs([ final void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -1917,12 +2029,19 @@ abstract class CoreAppPasswordGetAppPasswordResponse200ApplicationJson factory CoreAppPasswordGetAppPasswordResponse200ApplicationJson([ final void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder)? b, ]) = _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson; + + // coverage:ignore-start const CoreAppPasswordGetAppPasswordResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreAppPasswordGetAppPasswordResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreAppPasswordGetAppPasswordResponse200ApplicationJsonSerializer; @@ -1935,14 +2054,21 @@ abstract class CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Da factory CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data([ final void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get apppassword; static Serializer get serializer => _$coreAppPasswordRotateAppPasswordResponse200ApplicationJsonOcsDataSerializer; @@ -1955,12 +2081,19 @@ abstract class CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs factory CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs([ final void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -1974,12 +2107,19 @@ abstract class CoreAppPasswordRotateAppPasswordResponse200ApplicationJson factory CoreAppPasswordRotateAppPasswordResponse200ApplicationJson([ final void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder)? b, ]) = _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson; + + // coverage:ignore-start const CoreAppPasswordRotateAppPasswordResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreAppPasswordRotateAppPasswordResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreAppPasswordRotateAppPasswordResponse200ApplicationJsonSerializer; @@ -1992,12 +2132,19 @@ abstract class CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs factory CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs([ final void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -2011,12 +2158,19 @@ abstract class CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson factory CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson([ final void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder)? b, ]) = _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson; + + // coverage:ignore-start const CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreAppPasswordDeleteAppPasswordResponse200ApplicationJsonSerializer; @@ -2024,12 +2178,19 @@ abstract class CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson abstract class CoreAutocompleteResult implements Built { factory CoreAutocompleteResult([final void Function(CoreAutocompleteResultBuilder)? b]) = _$CoreAutocompleteResult; + + // coverage:ignore-start const CoreAutocompleteResult._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreAutocompleteResult.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get id; String get label; String get icon; @@ -2047,12 +2208,19 @@ abstract class CoreAutoCompleteGetResponse200ApplicationJson_Ocs factory CoreAutoCompleteGetResponse200ApplicationJson_Ocs([ final void Function(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreAutoCompleteGetResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreAutoCompleteGetResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; BuiltList get data; static Serializer get serializer => @@ -2065,12 +2233,19 @@ abstract class CoreAutoCompleteGetResponse200ApplicationJson factory CoreAutoCompleteGetResponse200ApplicationJson([ final void Function(CoreAutoCompleteGetResponse200ApplicationJsonBuilder)? b, ]) = _$CoreAutoCompleteGetResponse200ApplicationJson; + + // coverage:ignore-start const CoreAutoCompleteGetResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreAutoCompleteGetResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreAutoCompleteGetResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreAutoCompleteGetResponse200ApplicationJsonSerializer; @@ -2080,12 +2255,19 @@ abstract class CoreAvatarAvatarGetAvatarDarkHeaders implements Built { factory CoreAvatarAvatarGetAvatarDarkHeaders([final void Function(CoreAvatarAvatarGetAvatarDarkHeadersBuilder)? b]) = _$CoreAvatarAvatarGetAvatarDarkHeaders; + + // coverage:ignore-start const CoreAvatarAvatarGetAvatarDarkHeaders._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreAvatarAvatarGetAvatarDarkHeaders.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueField(wireName: 'x-nc-iscustomavatar') int? get xNcIscustomavatar; @BuiltValueSerializer(custom: true) @@ -2138,12 +2320,19 @@ abstract class CoreAvatarAvatarGetAvatarHeaders implements Built { factory CoreAvatarAvatarGetAvatarHeaders([final void Function(CoreAvatarAvatarGetAvatarHeadersBuilder)? b]) = _$CoreAvatarAvatarGetAvatarHeaders; + + // coverage:ignore-start const CoreAvatarAvatarGetAvatarHeaders._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreAvatarAvatarGetAvatarHeaders.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueField(wireName: 'x-nc-iscustomavatar') int? get xNcIscustomavatar; @BuiltValueSerializer(custom: true) @@ -2194,12 +2383,19 @@ abstract class CoreLoginFlowV2Credentials implements Built { factory CoreLoginFlowV2Credentials([final void Function(CoreLoginFlowV2CredentialsBuilder)? b]) = _$CoreLoginFlowV2Credentials; + + // coverage:ignore-start const CoreLoginFlowV2Credentials._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreLoginFlowV2Credentials.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get server; String get loginName; String get appPassword; @@ -2208,12 +2404,19 @@ abstract class CoreLoginFlowV2Credentials abstract class CoreLoginFlowV2_Poll implements Built { factory CoreLoginFlowV2_Poll([final void Function(CoreLoginFlowV2_PollBuilder)? b]) = _$CoreLoginFlowV2_Poll; + + // coverage:ignore-start const CoreLoginFlowV2_Poll._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreLoginFlowV2_Poll.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get token; String get endpoint; static Serializer get serializer => _$coreLoginFlowV2PollSerializer; @@ -2221,12 +2424,19 @@ abstract class CoreLoginFlowV2_Poll implements Built { factory CoreLoginFlowV2([final void Function(CoreLoginFlowV2Builder)? b]) = _$CoreLoginFlowV2; + + // coverage:ignore-start const CoreLoginFlowV2._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreLoginFlowV2.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreLoginFlowV2_Poll get poll; String get login; static Serializer get serializer => _$coreLoginFlowV2Serializer; @@ -2236,12 +2446,19 @@ abstract class CoreOpenGraphObject_OpenGraphObject implements Built { factory CoreOpenGraphObject_OpenGraphObject([final void Function(CoreOpenGraphObject_OpenGraphObjectBuilder)? b]) = _$CoreOpenGraphObject_OpenGraphObject; + + // coverage:ignore-start const CoreOpenGraphObject_OpenGraphObject._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOpenGraphObject_OpenGraphObject.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get id; String get name; String? get description; @@ -2253,12 +2470,19 @@ abstract class CoreOpenGraphObject_OpenGraphObject abstract class CoreOpenGraphObject implements Built { factory CoreOpenGraphObject([final void Function(CoreOpenGraphObjectBuilder)? b]) = _$CoreOpenGraphObject; + + // coverage:ignore-start const CoreOpenGraphObject._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOpenGraphObject.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get richObjectType; BuiltMap get richObject; CoreOpenGraphObject_OpenGraphObject get openGraphObject; @@ -2268,12 +2492,19 @@ abstract class CoreOpenGraphObject implements Built { factory CoreCollection([final void Function(CoreCollectionBuilder)? b]) = _$CoreCollection; + + // coverage:ignore-start const CoreCollection._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreCollection.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end int get id; String get name; BuiltList get resources; @@ -2287,14 +2518,21 @@ abstract class CoreCollaborationResourcesSearchCollectionsResponse200Application factory CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs([ final void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; BuiltList get data; static Serializer get serializer => @@ -2308,14 +2546,21 @@ abstract class CoreCollaborationResourcesSearchCollectionsResponse200Application factory CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson([ final void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder)? b, ]) = _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson; + + // coverage:ignore-start const CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonSerializer; @@ -2328,14 +2573,21 @@ abstract class CoreCollaborationResourcesListCollectionResponse200ApplicationJso factory CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs([ final void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; CoreCollection get data; static Serializer get serializer => @@ -2349,14 +2601,21 @@ abstract class CoreCollaborationResourcesListCollectionResponse200ApplicationJso factory CoreCollaborationResourcesListCollectionResponse200ApplicationJson([ final void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder)? b, ]) = _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson; + + // coverage:ignore-start const CoreCollaborationResourcesListCollectionResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreCollaborationResourcesListCollectionResponse200ApplicationJson.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreCollaborationResourcesListCollectionResponse200ApplicationJsonSerializer; @@ -2369,14 +2628,21 @@ abstract class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJ factory CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs([ final void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; CoreCollection get data; static Serializer get serializer => @@ -2390,14 +2656,21 @@ abstract class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJ factory CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson([ final void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder)? b, ]) = _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson; + + // coverage:ignore-start const CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreCollaborationResourcesRenameCollectionResponse200ApplicationJsonSerializer; @@ -2410,14 +2683,21 @@ abstract class CoreCollaborationResourcesAddResourceResponse200ApplicationJson_O factory CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs([ final void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; CoreCollection get data; static Serializer get serializer => @@ -2431,12 +2711,19 @@ abstract class CoreCollaborationResourcesAddResourceResponse200ApplicationJson factory CoreCollaborationResourcesAddResourceResponse200ApplicationJson([ final void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder)? b, ]) = _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson; + + // coverage:ignore-start const CoreCollaborationResourcesAddResourceResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreCollaborationResourcesAddResourceResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreCollaborationResourcesAddResourceResponse200ApplicationJsonSerializer; @@ -2449,14 +2736,21 @@ abstract class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJso factory CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs([ final void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; CoreCollection get data; static Serializer get serializer => @@ -2470,14 +2764,21 @@ abstract class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJso factory CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson([ final void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder)? b, ]) = _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson; + + // coverage:ignore-start const CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreCollaborationResourcesRemoveResourceResponse200ApplicationJsonSerializer; @@ -2490,14 +2791,21 @@ abstract class CoreCollaborationResourcesGetCollectionsByResourceResponse200Appl factory CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs([ final void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; BuiltList get data; static Serializer get serializer => @@ -2511,14 +2819,21 @@ abstract class CoreCollaborationResourcesGetCollectionsByResourceResponse200Appl factory CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson([ final void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder)? b, ]) = _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson; + + // coverage:ignore-start const CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonSerializer; @@ -2531,14 +2846,21 @@ abstract class CoreCollaborationResourcesCreateCollectionOnResourceResponse200Ap factory CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs([ final void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; CoreCollection get data; static Serializer @@ -2552,14 +2874,21 @@ abstract class CoreCollaborationResourcesCreateCollectionOnResourceResponse200Ap factory CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson([ final void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder)? b, ]) = _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson; + + // coverage:ignore-start const CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonSerializer; @@ -2567,12 +2896,19 @@ abstract class CoreCollaborationResourcesCreateCollectionOnResourceResponse200Ap abstract class CoreContactsAction implements Built { factory CoreContactsAction([final void Function(CoreContactsActionBuilder)? b]) = _$CoreContactsAction; + + // coverage:ignore-start const CoreContactsAction._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreContactsAction.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get title; String get icon; String get hyperlink; @@ -2587,12 +2923,19 @@ abstract class CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data factory CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data([ final void Function(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get userId; String get displayName; BuiltList get actions; @@ -2607,12 +2950,19 @@ abstract class CoreHoverCardGetUserResponse200ApplicationJson_Ocs factory CoreHoverCardGetUserResponse200ApplicationJson_Ocs([ final void Function(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreHoverCardGetUserResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreHoverCardGetUserResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -2625,27 +2975,39 @@ abstract class CoreHoverCardGetUserResponse200ApplicationJson factory CoreHoverCardGetUserResponse200ApplicationJson([ final void Function(CoreHoverCardGetUserResponse200ApplicationJsonBuilder)? b, ]) = _$CoreHoverCardGetUserResponse200ApplicationJson; + + // coverage:ignore-start const CoreHoverCardGetUserResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreHoverCardGetUserResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreHoverCardGetUserResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreHoverCardGetUserResponse200ApplicationJsonSerializer; } abstract class CoreNavigationEntry_Order implements Built { + // coverage:ignore-end + factory CoreNavigationEntry_Order([final void Function(CoreNavigationEntry_OrderBuilder)? b]) = _$CoreNavigationEntry_Order; + // coverage:ignore-start const CoreNavigationEntry_Order._(); JsonObject get data; int? get $int; String? get string; static CoreNavigationEntry_Order fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$CoreNavigationEntry_OrderSerializer(); } @@ -2685,12 +3047,19 @@ class _$CoreNavigationEntry_OrderSerializer implements PrimitiveSerializer { factory CoreNavigationEntry([final void Function(CoreNavigationEntryBuilder)? b]) = _$CoreNavigationEntry; + + // coverage:ignore-start const CoreNavigationEntry._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreNavigationEntry.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get id; CoreNavigationEntry_Order get order; String get href; @@ -2710,12 +3079,19 @@ abstract class CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs factory CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs([ final void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; BuiltList get data; static Serializer get serializer => @@ -2729,12 +3105,19 @@ abstract class CoreNavigationGetAppsNavigationResponse200ApplicationJson factory CoreNavigationGetAppsNavigationResponse200ApplicationJson([ final void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder)? b, ]) = _$CoreNavigationGetAppsNavigationResponse200ApplicationJson; + + // coverage:ignore-start const CoreNavigationGetAppsNavigationResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreNavigationGetAppsNavigationResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreNavigationGetAppsNavigationResponse200ApplicationJsonSerializer; @@ -2747,12 +3130,19 @@ abstract class CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs factory CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs([ final void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; BuiltList get data; static Serializer get serializer => @@ -2766,12 +3156,19 @@ abstract class CoreNavigationGetSettingsNavigationResponse200ApplicationJson factory CoreNavigationGetSettingsNavigationResponse200ApplicationJson([ final void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder)? b, ]) = _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson; + + // coverage:ignore-start const CoreNavigationGetSettingsNavigationResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreNavigationGetSettingsNavigationResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreNavigationGetSettingsNavigationResponse200ApplicationJsonSerializer; @@ -2784,12 +3181,19 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version([ final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder)? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end int get major; int get minor; int get micro; @@ -2809,14 +3213,21 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder, )? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enforced; bool get askForOptionalPassword; static Serializer @@ -2833,14 +3244,21 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder, )? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enabled; int? get days; bool? get enforced; @@ -2860,14 +3278,21 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder, )? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enabled; int? get days; bool? get enforced; @@ -2887,14 +3312,21 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder, )? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enabled; int? get days; bool? get enforced; @@ -2913,14 +3345,21 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_PublicBuilder, )? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enabled; CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public_Password? get password; @BuiltValueField(wireName: 'multiple_links') @@ -2952,14 +3391,21 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder, )? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enabled; static Serializer get serializer => @@ -2975,14 +3421,21 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_UserBuilder, )? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_User.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueField(wireName: 'send_mail') bool get sendMail; @BuiltValueField(wireName: 'expire_date') @@ -3000,14 +3453,21 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder, )? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enabled; static Serializer< CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate> @@ -3024,14 +3484,21 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_GroupBuilder, )? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enabled; @BuiltValueField(wireName: 'expire_date') CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate? get expireDate; @@ -3049,14 +3516,21 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder, )? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enabled; static Serializer< CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate> @@ -3075,14 +3549,21 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil )? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enabled; static Serializer< CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported> @@ -3099,14 +3580,21 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_FederationBuilder, )? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Federation.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get outgoing; bool get incoming; @BuiltValueField(wireName: 'expire_date') @@ -3129,14 +3617,21 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder, )? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Sharee.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueField(wireName: 'query_lookup_default') bool get queryLookupDefault; @BuiltValueField(wireName: 'always_show_unique') @@ -3153,14 +3648,21 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing([ final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharingBuilder)? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueField(wireName: 'api_enabled') bool get apiEnabled; CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing_Public get public; @@ -3184,14 +3686,21 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes([ final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder)? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueField(wireName: 'api_version') BuiltList? get apiVersion; String? get version; @@ -3206,14 +3715,21 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications([ final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder)? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueField(wireName: 'ocs-endpoints') BuiltList? get ocsEndpoints; BuiltList? get push; @@ -3231,14 +3747,21 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder)? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get version; @BuiltValueField(wireName: 'AccountPropertyScopesVersion') int get accountPropertyScopesVersion; @@ -3257,14 +3780,21 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming([ final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder)? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get name; String get url; String get slogan; @@ -3296,14 +3826,21 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus([ final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder)? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enabled; bool get restore; @BuiltValueField(wireName: 'supports_emoji') @@ -3319,14 +3856,21 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabil factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities([ final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder)? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueField(wireName: 'files_sharing') CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_FilesSharing? get filesSharing; CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes? get notes; @@ -3347,12 +3891,19 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data([ final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version get version; CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities get capabilities; static Serializer get serializer => @@ -3366,12 +3917,19 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs([ final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -3385,12 +3943,19 @@ abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson factory CoreOcsGetCapabilitiesResponse200ApplicationJson([ final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder)? b, ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson; + + // coverage:ignore-start const CoreOcsGetCapabilitiesResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreOcsGetCapabilitiesResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreOcsGetCapabilitiesResponse200ApplicationJsonSerializer; @@ -3403,12 +3968,19 @@ abstract class CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs factory CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs([ final void Function(CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -3422,12 +3994,19 @@ abstract class CoreProfileApiSetVisibilityResponse200ApplicationJson factory CoreProfileApiSetVisibilityResponse200ApplicationJson([ final void Function(CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder)? b, ]) = _$CoreProfileApiSetVisibilityResponse200ApplicationJson; + + // coverage:ignore-start const CoreProfileApiSetVisibilityResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreProfileApiSetVisibilityResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreProfileApiSetVisibilityResponse200ApplicationJsonSerializer; @@ -3435,12 +4014,19 @@ abstract class CoreProfileApiSetVisibilityResponse200ApplicationJson abstract class CoreReference implements Built { factory CoreReference([final void Function(CoreReferenceBuilder)? b]) = _$CoreReference; + + // coverage:ignore-start const CoreReference._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreReference.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get richObjectType; BuiltMap get richObject; CoreOpenGraphObject get openGraphObject; @@ -3455,12 +4041,19 @@ abstract class CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data factory CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data([ final void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltMap get references; static Serializer get serializer => _$coreReferenceApiResolveOneResponse200ApplicationJsonOcsDataSerializer; @@ -3473,12 +4066,19 @@ abstract class CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs factory CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs([ final void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -3492,12 +4092,19 @@ abstract class CoreReferenceApiResolveOneResponse200ApplicationJson factory CoreReferenceApiResolveOneResponse200ApplicationJson([ final void Function(CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder)? b, ]) = _$CoreReferenceApiResolveOneResponse200ApplicationJson; + + // coverage:ignore-start const CoreReferenceApiResolveOneResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreReferenceApiResolveOneResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreReferenceApiResolveOneResponse200ApplicationJsonSerializer; @@ -3507,9 +4114,12 @@ abstract class CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_Refere implements Built { + // coverage:ignore-end + factory CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References([ final void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder)? b, ]) = _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References; + // coverage:ignore-start const CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References._(); JsonObject get data; @@ -3517,7 +4127,9 @@ abstract class CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_Refere JsonObject? get jsonObject; static CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesSerializer(); @@ -3573,12 +4185,19 @@ abstract class CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data factory CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data([ final void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltMap get references; static Serializer get serializer => _$coreReferenceApiResolveResponse200ApplicationJsonOcsDataSerializer; @@ -3591,12 +4210,19 @@ abstract class CoreReferenceApiResolveResponse200ApplicationJson_Ocs factory CoreReferenceApiResolveResponse200ApplicationJson_Ocs([ final void Function(CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreReferenceApiResolveResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreReferenceApiResolveResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -3610,12 +4236,19 @@ abstract class CoreReferenceApiResolveResponse200ApplicationJson factory CoreReferenceApiResolveResponse200ApplicationJson([ final void Function(CoreReferenceApiResolveResponse200ApplicationJsonBuilder)? b, ]) = _$CoreReferenceApiResolveResponse200ApplicationJson; + + // coverage:ignore-start const CoreReferenceApiResolveResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreReferenceApiResolveResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreReferenceApiResolveResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreReferenceApiResolveResponse200ApplicationJsonSerializer; @@ -3625,9 +4258,12 @@ abstract class CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_Refere implements Built { + // coverage:ignore-end + factory CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References([ final void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder)? b, ]) = _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References; + // coverage:ignore-start const CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References._(); JsonObject get data; @@ -3635,7 +4271,9 @@ abstract class CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_Refere JsonObject? get jsonObject; static CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesSerializer(); @@ -3691,12 +4329,19 @@ abstract class CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data factory CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data([ final void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltMap get references; static Serializer get serializer => _$coreReferenceApiExtractResponse200ApplicationJsonOcsDataSerializer; @@ -3709,12 +4354,19 @@ abstract class CoreReferenceApiExtractResponse200ApplicationJson_Ocs factory CoreReferenceApiExtractResponse200ApplicationJson_Ocs([ final void Function(CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreReferenceApiExtractResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreReferenceApiExtractResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -3728,12 +4380,19 @@ abstract class CoreReferenceApiExtractResponse200ApplicationJson factory CoreReferenceApiExtractResponse200ApplicationJson([ final void Function(CoreReferenceApiExtractResponse200ApplicationJsonBuilder)? b, ]) = _$CoreReferenceApiExtractResponse200ApplicationJson; + + // coverage:ignore-start const CoreReferenceApiExtractResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreReferenceApiExtractResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreReferenceApiExtractResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreReferenceApiExtractResponse200ApplicationJsonSerializer; @@ -3741,12 +4400,19 @@ abstract class CoreReferenceApiExtractResponse200ApplicationJson abstract class CoreReferenceProvider implements Built { factory CoreReferenceProvider([final void Function(CoreReferenceProviderBuilder)? b]) = _$CoreReferenceProvider; + + // coverage:ignore-start const CoreReferenceProvider._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreReferenceProvider.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get id; String get title; @BuiltValueField(wireName: 'icon_url') @@ -3764,12 +4430,19 @@ abstract class CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs factory CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs([ final void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; BuiltList get data; static Serializer get serializer => @@ -3783,12 +4456,19 @@ abstract class CoreReferenceApiGetProvidersInfoResponse200ApplicationJson factory CoreReferenceApiGetProvidersInfoResponse200ApplicationJson([ final void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder)? b, ]) = _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson; + + // coverage:ignore-start const CoreReferenceApiGetProvidersInfoResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreReferenceApiGetProvidersInfoResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreReferenceApiGetProvidersInfoResponse200ApplicationJsonSerializer; @@ -3801,12 +4481,19 @@ abstract class CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data factory CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data([ final void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get success; static Serializer get serializer => _$coreReferenceApiTouchProviderResponse200ApplicationJsonOcsDataSerializer; @@ -3819,12 +4506,19 @@ abstract class CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs factory CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs([ final void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -3838,12 +4532,19 @@ abstract class CoreReferenceApiTouchProviderResponse200ApplicationJson factory CoreReferenceApiTouchProviderResponse200ApplicationJson([ final void Function(CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder)? b, ]) = _$CoreReferenceApiTouchProviderResponse200ApplicationJson; + + // coverage:ignore-start const CoreReferenceApiTouchProviderResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreReferenceApiTouchProviderResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreReferenceApiTouchProviderResponse200ApplicationJsonSerializer; @@ -3856,14 +4557,21 @@ abstract class CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data factory CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types([ final void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder)? b, ]) = _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types; + + // coverage:ignore-start const CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get id; String get name; String get description; @@ -3878,12 +4586,19 @@ abstract class CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data factory CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data([ final void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltList get types; static Serializer get serializer => _$coreTextProcessingApiTaskTypesResponse200ApplicationJsonOcsDataSerializer; @@ -3896,12 +4611,19 @@ abstract class CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs factory CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs([ final void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -3915,12 +4637,19 @@ abstract class CoreTextProcessingApiTaskTypesResponse200ApplicationJson factory CoreTextProcessingApiTaskTypesResponse200ApplicationJson([ final void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder)? b, ]) = _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson; + + // coverage:ignore-start const CoreTextProcessingApiTaskTypesResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreTextProcessingApiTaskTypesResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreTextProcessingApiTaskTypesResponse200ApplicationJsonSerializer; @@ -3928,12 +4657,19 @@ abstract class CoreTextProcessingApiTaskTypesResponse200ApplicationJson abstract class CoreTextProcessingTask implements Built { factory CoreTextProcessingTask([final void Function(CoreTextProcessingTaskBuilder)? b]) = _$CoreTextProcessingTask; + + // coverage:ignore-start const CoreTextProcessingTask._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreTextProcessingTask.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end int? get id; String get type; int get status; @@ -3952,12 +4688,19 @@ abstract class CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data factory CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data([ final void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreTextProcessingTask get task; static Serializer get serializer => _$coreTextProcessingApiScheduleResponse200ApplicationJsonOcsDataSerializer; @@ -3970,12 +4713,19 @@ abstract class CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs factory CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs([ final void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -3989,12 +4739,19 @@ abstract class CoreTextProcessingApiScheduleResponse200ApplicationJson factory CoreTextProcessingApiScheduleResponse200ApplicationJson([ final void Function(CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder)? b, ]) = _$CoreTextProcessingApiScheduleResponse200ApplicationJson; + + // coverage:ignore-start const CoreTextProcessingApiScheduleResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreTextProcessingApiScheduleResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreTextProcessingApiScheduleResponse200ApplicationJsonSerializer; @@ -4007,12 +4764,19 @@ abstract class CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data factory CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data([ final void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreTextProcessingTask get task; static Serializer get serializer => _$coreTextProcessingApiGetTaskResponse200ApplicationJsonOcsDataSerializer; @@ -4025,12 +4789,19 @@ abstract class CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs factory CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs([ final void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -4044,12 +4815,19 @@ abstract class CoreTextProcessingApiGetTaskResponse200ApplicationJson factory CoreTextProcessingApiGetTaskResponse200ApplicationJson([ final void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder)? b, ]) = _$CoreTextProcessingApiGetTaskResponse200ApplicationJson; + + // coverage:ignore-start const CoreTextProcessingApiGetTaskResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreTextProcessingApiGetTaskResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreTextProcessingApiGetTaskResponse200ApplicationJsonSerializer; @@ -4062,14 +4840,21 @@ abstract class CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_La factory CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages([ final void Function(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesBuilder)? b, ]) = _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages; + + // coverage:ignore-start const CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get from; String get fromLabel; String get to; @@ -4085,12 +4870,19 @@ abstract class CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data factory CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data([ final void Function(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltList get languages; bool get languageDetection; static Serializer get serializer => @@ -4104,12 +4896,19 @@ abstract class CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs factory CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs([ final void Function(CoreTranslationApiLanguagesResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -4123,12 +4922,19 @@ abstract class CoreTranslationApiLanguagesResponse200ApplicationJson factory CoreTranslationApiLanguagesResponse200ApplicationJson([ final void Function(CoreTranslationApiLanguagesResponse200ApplicationJsonBuilder)? b, ]) = _$CoreTranslationApiLanguagesResponse200ApplicationJson; + + // coverage:ignore-start const CoreTranslationApiLanguagesResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreTranslationApiLanguagesResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreTranslationApiLanguagesResponse200ApplicationJsonSerializer; @@ -4141,12 +4947,19 @@ abstract class CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data factory CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data([ final void Function(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get text; String? get from; static Serializer get serializer => @@ -4160,12 +4973,19 @@ abstract class CoreTranslationApiTranslateResponse200ApplicationJson_Ocs factory CoreTranslationApiTranslateResponse200ApplicationJson_Ocs([ final void Function(CoreTranslationApiTranslateResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreTranslationApiTranslateResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreTranslationApiTranslateResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -4179,12 +4999,19 @@ abstract class CoreTranslationApiTranslateResponse200ApplicationJson factory CoreTranslationApiTranslateResponse200ApplicationJson([ final void Function(CoreTranslationApiTranslateResponse200ApplicationJsonBuilder)? b, ]) = _$CoreTranslationApiTranslateResponse200ApplicationJson; + + // coverage:ignore-start const CoreTranslationApiTranslateResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreTranslationApiTranslateResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreTranslationApiTranslateResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreTranslationApiTranslateResponse200ApplicationJsonSerializer; @@ -4193,12 +5020,19 @@ abstract class CoreTranslationApiTranslateResponse200ApplicationJson abstract class CoreUnifiedSearchProvider implements Built { factory CoreUnifiedSearchProvider([final void Function(CoreUnifiedSearchProviderBuilder)? b]) = _$CoreUnifiedSearchProvider; + + // coverage:ignore-start const CoreUnifiedSearchProvider._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreUnifiedSearchProvider.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get id; String get name; int get order; @@ -4212,12 +5046,19 @@ abstract class CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs factory CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs([ final void Function(CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; BuiltList get data; static Serializer get serializer => @@ -4231,12 +5072,19 @@ abstract class CoreUnifiedSearchGetProvidersResponse200ApplicationJson factory CoreUnifiedSearchGetProvidersResponse200ApplicationJson([ final void Function(CoreUnifiedSearchGetProvidersResponse200ApplicationJsonBuilder)? b, ]) = _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson; + + // coverage:ignore-start const CoreUnifiedSearchGetProvidersResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreUnifiedSearchGetProvidersResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreUnifiedSearchGetProvidersResponse200ApplicationJsonSerializer; @@ -4244,8 +5092,11 @@ abstract class CoreUnifiedSearchGetProvidersResponse200ApplicationJson abstract class CoreUnifiedSearchSearchCursor implements Built { + // coverage:ignore-end + factory CoreUnifiedSearchSearchCursor([final void Function(CoreUnifiedSearchSearchCursorBuilder)? b]) = _$CoreUnifiedSearchSearchCursor; + // coverage:ignore-start const CoreUnifiedSearchSearchCursor._(); JsonObject get data; @@ -4253,7 +5104,9 @@ abstract class CoreUnifiedSearchSearchCursor String? get string; static CoreUnifiedSearchSearchCursor fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$CoreUnifiedSearchSearchCursorSerializer(); } @@ -4295,12 +5148,19 @@ abstract class CoreUnifiedSearchResultEntry implements Built { factory CoreUnifiedSearchResultEntry([final void Function(CoreUnifiedSearchResultEntryBuilder)? b]) = _$CoreUnifiedSearchResultEntry; + + // coverage:ignore-start const CoreUnifiedSearchResultEntry._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreUnifiedSearchResultEntry.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get thumbnailUrl; String get title; String get subline; @@ -4313,8 +5173,11 @@ abstract class CoreUnifiedSearchResultEntry abstract class CoreUnifiedSearchResult_Cursor implements Built { + // coverage:ignore-end + factory CoreUnifiedSearchResult_Cursor([final void Function(CoreUnifiedSearchResult_CursorBuilder)? b]) = _$CoreUnifiedSearchResult_Cursor; + // coverage:ignore-start const CoreUnifiedSearchResult_Cursor._(); JsonObject get data; @@ -4322,7 +5185,9 @@ abstract class CoreUnifiedSearchResult_Cursor String? get string; static CoreUnifiedSearchResult_Cursor fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$CoreUnifiedSearchResult_CursorSerializer(); } @@ -4362,12 +5227,19 @@ class _$CoreUnifiedSearchResult_CursorSerializer implements PrimitiveSerializer< abstract class CoreUnifiedSearchResult implements Built { factory CoreUnifiedSearchResult([final void Function(CoreUnifiedSearchResultBuilder)? b]) = _$CoreUnifiedSearchResult; + + // coverage:ignore-start const CoreUnifiedSearchResult._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreUnifiedSearchResult.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get name; bool get isPaginated; BuiltList get entries; @@ -4382,12 +5254,19 @@ abstract class CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs factory CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs([ final void Function(CoreUnifiedSearchSearchResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; CoreUnifiedSearchResult get data; static Serializer get serializer => @@ -4401,12 +5280,19 @@ abstract class CoreUnifiedSearchSearchResponse200ApplicationJson factory CoreUnifiedSearchSearchResponse200ApplicationJson([ final void Function(CoreUnifiedSearchSearchResponse200ApplicationJsonBuilder)? b, ]) = _$CoreUnifiedSearchSearchResponse200ApplicationJson; + + // coverage:ignore-start const CoreUnifiedSearchSearchResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreUnifiedSearchSearchResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreUnifiedSearchSearchResponse200ApplicationJsonSerializer; @@ -4419,12 +5305,19 @@ abstract class CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew factory CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew([ final void Function(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewBuilder)? b, ]) = _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew; + + // coverage:ignore-start const CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltList get regular; BuiltList get admin; static Serializer get serializer => @@ -4438,12 +5331,19 @@ abstract class CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data factory CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data([ final void Function(CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get changelogURL; String get product; String get version; @@ -4458,12 +5358,19 @@ abstract class CoreWhatsNewGetResponse200ApplicationJson_Ocs factory CoreWhatsNewGetResponse200ApplicationJson_Ocs([ final void Function(CoreWhatsNewGetResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreWhatsNewGetResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreWhatsNewGetResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreWhatsNewGetResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -4475,12 +5382,19 @@ abstract class CoreWhatsNewGetResponse200ApplicationJson factory CoreWhatsNewGetResponse200ApplicationJson([ final void Function(CoreWhatsNewGetResponse200ApplicationJsonBuilder)? b, ]) = _$CoreWhatsNewGetResponse200ApplicationJson; + + // coverage:ignore-start const CoreWhatsNewGetResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreWhatsNewGetResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreWhatsNewGetResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreWhatsNewGetResponse200ApplicationJsonSerializer; @@ -4493,12 +5407,19 @@ abstract class CoreWhatsNewDismissResponse200ApplicationJson_Ocs factory CoreWhatsNewDismissResponse200ApplicationJson_Ocs([ final void Function(CoreWhatsNewDismissResponse200ApplicationJson_OcsBuilder)? b, ]) = _$CoreWhatsNewDismissResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const CoreWhatsNewDismissResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreWhatsNewDismissResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -4511,12 +5432,19 @@ abstract class CoreWhatsNewDismissResponse200ApplicationJson factory CoreWhatsNewDismissResponse200ApplicationJson([ final void Function(CoreWhatsNewDismissResponse200ApplicationJsonBuilder)? b, ]) = _$CoreWhatsNewDismissResponse200ApplicationJson; + + // coverage:ignore-start const CoreWhatsNewDismissResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreWhatsNewDismissResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end CoreWhatsNewDismissResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$coreWhatsNewDismissResponse200ApplicationJsonSerializer; @@ -4527,17 +5455,25 @@ abstract class CoreWipeCheckWipeResponse200ApplicationJson factory CoreWipeCheckWipeResponse200ApplicationJson([ final void Function(CoreWipeCheckWipeResponse200ApplicationJsonBuilder)? b, ]) = _$CoreWipeCheckWipeResponse200ApplicationJson; + + // coverage:ignore-start const CoreWipeCheckWipeResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory CoreWipeCheckWipeResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get wipe; static Serializer get serializer => _$coreWipeCheckWipeResponse200ApplicationJsonSerializer; } +// coverage:ignore-start final Serializers _serializers = (Serializers().toBuilder() ..addBuilderFactory(const FullType(CoreStatus), CoreStatus.new) ..add(CoreStatus.serializer) @@ -5205,7 +6141,6 @@ final Serializers _jsonSerializers = (_serializers.toBuilder() ..addPlugin(const ContentStringPlugin())) .build(); -// coverage:ignore-start T deserializeCore(final Object data) => _serializers.deserialize(data, specifiedType: FullType(T))! as T; Object? serializeCore(final T data) => _serializers.serialize(data, specifiedType: FullType(T)); diff --git a/packages/nextcloud/lib/src/api/files_sharing.openapi.dart b/packages/nextcloud/lib/src/api/files_sharing.openapi.dart index 111402b5..1ae675ed 100644 --- a/packages/nextcloud/lib/src/api/files_sharing.openapi.dart +++ b/packages/nextcloud/lib/src/api/files_sharing.openapi.dart @@ -94,6 +94,7 @@ class FilesSharingDeletedShareapiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -102,8 +103,9 @@ class FilesSharingDeletedShareapiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( 'get', @@ -131,6 +133,7 @@ class FilesSharingDeletedShareapiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -139,8 +142,9 @@ class FilesSharingDeletedShareapiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{id}', Uri.encodeQueryComponent(id)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -175,6 +179,7 @@ class FilesSharingPublicPreviewClient { 'Accept': '*/*', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -183,6 +188,7 @@ class FilesSharingPublicPreviewClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -212,6 +218,7 @@ class FilesSharingPublicPreviewClient { 'Accept': '*/*', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -220,6 +227,7 @@ class FilesSharingPublicPreviewClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); if (file != '') { queryParameters['file'] = file; @@ -260,6 +268,7 @@ class FilesSharingRemoteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -268,8 +277,9 @@ class FilesSharingRemoteClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( 'get', @@ -296,6 +306,7 @@ class FilesSharingRemoteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -304,8 +315,9 @@ class FilesSharingRemoteClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( 'get', @@ -333,6 +345,7 @@ class FilesSharingRemoteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -341,8 +354,9 @@ class FilesSharingRemoteClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -371,6 +385,7 @@ class FilesSharingRemoteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -379,8 +394,9 @@ class FilesSharingRemoteClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -409,6 +425,7 @@ class FilesSharingRemoteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -417,8 +434,9 @@ class FilesSharingRemoteClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -447,6 +465,7 @@ class FilesSharingRemoteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -455,8 +474,9 @@ class FilesSharingRemoteClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -493,6 +513,7 @@ class FilesSharingShareInfoClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -501,6 +522,7 @@ class FilesSharingShareInfoClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end queryParameters['t'] = t; if (password != null) { queryParameters['password'] = password; @@ -547,6 +569,7 @@ class FilesSharingShareapiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -555,8 +578,9 @@ class FilesSharingShareapiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end if (sharedWithMe != 'false') { queryParameters['shared_with_me'] = sharedWithMe; } @@ -609,6 +633,7 @@ class FilesSharingShareapiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -617,8 +642,9 @@ class FilesSharingShareapiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['path'] = path; if (permissions != null) { queryParameters['permissions'] = permissions.toString(); @@ -677,6 +703,7 @@ class FilesSharingShareapiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -685,8 +712,9 @@ class FilesSharingShareapiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['path'] = path; headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -714,6 +742,7 @@ class FilesSharingShareapiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -722,8 +751,9 @@ class FilesSharingShareapiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( 'get', @@ -752,6 +782,7 @@ class FilesSharingShareapiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -760,8 +791,9 @@ class FilesSharingShareapiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{id}', Uri.encodeQueryComponent(id)); if (includeTags != 0) { queryParameters['include_tags'] = includeTags.toString(); @@ -802,6 +834,7 @@ class FilesSharingShareapiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -810,8 +843,9 @@ class FilesSharingShareapiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{id}', Uri.encodeQueryComponent(id)); if (permissions != null) { queryParameters['permissions'] = permissions.toString(); @@ -867,6 +901,7 @@ class FilesSharingShareapiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -875,8 +910,9 @@ class FilesSharingShareapiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{id}', Uri.encodeQueryComponent(id)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -905,6 +941,7 @@ class FilesSharingShareapiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -913,8 +950,9 @@ class FilesSharingShareapiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{id}', Uri.encodeQueryComponent(id)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -956,6 +994,7 @@ class FilesSharingShareesapiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -964,8 +1003,9 @@ class FilesSharingShareesapiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end if (search != '') { queryParameters['search'] = search; } @@ -1022,6 +1062,7 @@ class FilesSharingShareesapiClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1030,8 +1071,9 @@ class FilesSharingShareesapiClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['itemType'] = itemType; if (shareType != null) { queryParameters['shareType'] = _jsonSerializers.serialize( @@ -1058,12 +1100,19 @@ class FilesSharingShareesapiClient { abstract class FilesSharingOCSMeta implements Built { factory FilesSharingOCSMeta([final void Function(FilesSharingOCSMetaBuilder)? b]) = _$FilesSharingOCSMeta; + + // coverage:ignore-start const FilesSharingOCSMeta._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingOCSMeta.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get status; int get statuscode; String? get message; @@ -1075,12 +1124,19 @@ abstract class FilesSharingOCSMeta implements Built { factory FilesSharingDeletedShare([final void Function(FilesSharingDeletedShareBuilder)? b]) = _$FilesSharingDeletedShare; + + // coverage:ignore-start const FilesSharingDeletedShare._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingDeletedShare.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get id; @BuiltValueField(wireName: 'share_type') int get shareType; @@ -1124,12 +1180,19 @@ abstract class FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs factory FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs([ final void Function(FilesSharingDeletedShareapiListResponse200ApplicationJson_OcsBuilder)? b, ]) = _$FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingOCSMeta get meta; BuiltList get data; static Serializer get serializer => @@ -1143,12 +1206,19 @@ abstract class FilesSharingDeletedShareapiListResponse200ApplicationJson factory FilesSharingDeletedShareapiListResponse200ApplicationJson([ final void Function(FilesSharingDeletedShareapiListResponse200ApplicationJsonBuilder)? b, ]) = _$FilesSharingDeletedShareapiListResponse200ApplicationJson; + + // coverage:ignore-start const FilesSharingDeletedShareapiListResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingDeletedShareapiListResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingDeletedShareapiListResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$filesSharingDeletedShareapiListResponse200ApplicationJsonSerializer; @@ -1161,12 +1231,19 @@ abstract class FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs factory FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs([ final void Function(FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_OcsBuilder)? b, ]) = _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -1180,12 +1257,19 @@ abstract class FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson factory FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson([ final void Function(FilesSharingDeletedShareapiUndeleteResponse200ApplicationJsonBuilder)? b, ]) = _$FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson; + + // coverage:ignore-start const FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$filesSharingDeletedShareapiUndeleteResponse200ApplicationJsonSerializer; @@ -1193,12 +1277,19 @@ abstract class FilesSharingDeletedShareapiUndeleteResponse200ApplicationJson abstract class FilesSharingRemoteShare implements Built { factory FilesSharingRemoteShare([final void Function(FilesSharingRemoteShareBuilder)? b]) = _$FilesSharingRemoteShare; + + // coverage:ignore-start const FilesSharingRemoteShare._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingRemoteShare.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get accepted; @BuiltValueField(wireName: 'file_id') int? get fileId; @@ -1229,12 +1320,19 @@ abstract class FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs factory FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs([ final void Function(FilesSharingRemoteGetSharesResponse200ApplicationJson_OcsBuilder)? b, ]) = _$FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingOCSMeta get meta; BuiltList get data; static Serializer get serializer => @@ -1248,12 +1346,19 @@ abstract class FilesSharingRemoteGetSharesResponse200ApplicationJson factory FilesSharingRemoteGetSharesResponse200ApplicationJson([ final void Function(FilesSharingRemoteGetSharesResponse200ApplicationJsonBuilder)? b, ]) = _$FilesSharingRemoteGetSharesResponse200ApplicationJson; + + // coverage:ignore-start const FilesSharingRemoteGetSharesResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingRemoteGetSharesResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingRemoteGetSharesResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$filesSharingRemoteGetSharesResponse200ApplicationJsonSerializer; @@ -1266,12 +1371,19 @@ abstract class FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs factory FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs([ final void Function(FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_OcsBuilder)? b, ]) = _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingOCSMeta get meta; BuiltList get data; static Serializer get serializer => @@ -1285,12 +1397,19 @@ abstract class FilesSharingRemoteGetOpenSharesResponse200ApplicationJson factory FilesSharingRemoteGetOpenSharesResponse200ApplicationJson([ final void Function(FilesSharingRemoteGetOpenSharesResponse200ApplicationJsonBuilder)? b, ]) = _$FilesSharingRemoteGetOpenSharesResponse200ApplicationJson; + + // coverage:ignore-start const FilesSharingRemoteGetOpenSharesResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingRemoteGetOpenSharesResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingRemoteGetOpenSharesResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$filesSharingRemoteGetOpenSharesResponse200ApplicationJsonSerializer; @@ -1303,12 +1422,19 @@ abstract class FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs factory FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs([ final void Function(FilesSharingRemoteAcceptShareResponse200ApplicationJson_OcsBuilder)? b, ]) = _$FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -1322,12 +1448,19 @@ abstract class FilesSharingRemoteAcceptShareResponse200ApplicationJson factory FilesSharingRemoteAcceptShareResponse200ApplicationJson([ final void Function(FilesSharingRemoteAcceptShareResponse200ApplicationJsonBuilder)? b, ]) = _$FilesSharingRemoteAcceptShareResponse200ApplicationJson; + + // coverage:ignore-start const FilesSharingRemoteAcceptShareResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingRemoteAcceptShareResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingRemoteAcceptShareResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$filesSharingRemoteAcceptShareResponse200ApplicationJsonSerializer; @@ -1340,12 +1473,19 @@ abstract class FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs factory FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs([ final void Function(FilesSharingRemoteDeclineShareResponse200ApplicationJson_OcsBuilder)? b, ]) = _$FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -1359,12 +1499,19 @@ abstract class FilesSharingRemoteDeclineShareResponse200ApplicationJson factory FilesSharingRemoteDeclineShareResponse200ApplicationJson([ final void Function(FilesSharingRemoteDeclineShareResponse200ApplicationJsonBuilder)? b, ]) = _$FilesSharingRemoteDeclineShareResponse200ApplicationJson; + + // coverage:ignore-start const FilesSharingRemoteDeclineShareResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingRemoteDeclineShareResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingRemoteDeclineShareResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$filesSharingRemoteDeclineShareResponse200ApplicationJsonSerializer; @@ -1377,12 +1524,19 @@ abstract class FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs factory FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs([ final void Function(FilesSharingRemoteGetShareResponse200ApplicationJson_OcsBuilder)? b, ]) = _$FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingOCSMeta get meta; FilesSharingRemoteShare get data; static Serializer get serializer => @@ -1396,12 +1550,19 @@ abstract class FilesSharingRemoteGetShareResponse200ApplicationJson factory FilesSharingRemoteGetShareResponse200ApplicationJson([ final void Function(FilesSharingRemoteGetShareResponse200ApplicationJsonBuilder)? b, ]) = _$FilesSharingRemoteGetShareResponse200ApplicationJson; + + // coverage:ignore-start const FilesSharingRemoteGetShareResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingRemoteGetShareResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingRemoteGetShareResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$filesSharingRemoteGetShareResponse200ApplicationJsonSerializer; @@ -1414,12 +1575,19 @@ abstract class FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs factory FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs([ final void Function(FilesSharingRemoteUnshareResponse200ApplicationJson_OcsBuilder)? b, ]) = _$FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -1433,12 +1601,19 @@ abstract class FilesSharingRemoteUnshareResponse200ApplicationJson factory FilesSharingRemoteUnshareResponse200ApplicationJson([ final void Function(FilesSharingRemoteUnshareResponse200ApplicationJsonBuilder)? b, ]) = _$FilesSharingRemoteUnshareResponse200ApplicationJson; + + // coverage:ignore-start const FilesSharingRemoteUnshareResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingRemoteUnshareResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingRemoteUnshareResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$filesSharingRemoteUnshareResponse200ApplicationJsonSerializer; @@ -1446,15 +1621,20 @@ abstract class FilesSharingRemoteUnshareResponse200ApplicationJson abstract class FilesSharingShareInfo_Size implements Built { + // coverage:ignore-end + factory FilesSharingShareInfo_Size([final void Function(FilesSharingShareInfo_SizeBuilder)? b]) = _$FilesSharingShareInfo_Size; + // coverage:ignore-start const FilesSharingShareInfo_Size._(); JsonObject get data; int? get $int; num? get $num; static FilesSharingShareInfo_Size fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareInfo_SizeSerializer(); } @@ -1494,12 +1674,19 @@ class _$FilesSharingShareInfo_SizeSerializer implements PrimitiveSerializer { factory FilesSharingShareInfo([final void Function(FilesSharingShareInfoBuilder)? b]) = _$FilesSharingShareInfo; + + // coverage:ignore-start const FilesSharingShareInfo._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareInfo.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end int get id; int get parentId; int get mtime; @@ -1515,15 +1702,20 @@ abstract class FilesSharingShareInfo implements Built { + // coverage:ignore-end + factory FilesSharingShare_ItemSize([final void Function(FilesSharingShare_ItemSizeBuilder)? b]) = _$FilesSharingShare_ItemSize; + // coverage:ignore-start const FilesSharingShare_ItemSize._(); JsonObject get data; num? get $num; int? get $int; static FilesSharingShare_ItemSize fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShare_ItemSizeSerializer(); } @@ -1568,7 +1760,9 @@ class FilesSharingShare_ItemType extends EnumClass { static const FilesSharingShare_ItemType folder = _$filesSharingShareItemTypeFolder; + // coverage:ignore-start static BuiltSet get values => _$filesSharingShareItemTypeValues; + // coverage:ignore-end static FilesSharingShare_ItemType valueOf(final String name) => _$valueOfFilesSharingShare_ItemType(name); static Serializer get serializer => _$filesSharingShareItemTypeSerializer; } @@ -1576,12 +1770,19 @@ class FilesSharingShare_ItemType extends EnumClass { abstract class FilesSharingShare_Status implements Built { factory FilesSharingShare_Status([final void Function(FilesSharingShare_StatusBuilder)? b]) = _$FilesSharingShare_Status; + + // coverage:ignore-start const FilesSharingShare_Status._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShare_Status.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end int? get clearAt; String? get icon; String? get message; @@ -1591,12 +1792,19 @@ abstract class FilesSharingShare_Status implements Built { factory FilesSharingShare([final void Function(FilesSharingShareBuilder)? b]) = _$FilesSharingShare; + + // coverage:ignore-start const FilesSharingShare._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShare.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String? get attributes; @BuiltValueField(wireName: 'can_delete') bool get canDelete; @@ -1674,12 +1882,19 @@ abstract class FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs factory FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs([ final void Function(FilesSharingShareapiGetSharesResponse200ApplicationJson_OcsBuilder)? b, ]) = _$FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingOCSMeta get meta; BuiltList get data; static Serializer get serializer => @@ -1693,12 +1908,19 @@ abstract class FilesSharingShareapiGetSharesResponse200ApplicationJson factory FilesSharingShareapiGetSharesResponse200ApplicationJson([ final void Function(FilesSharingShareapiGetSharesResponse200ApplicationJsonBuilder)? b, ]) = _$FilesSharingShareapiGetSharesResponse200ApplicationJson; + + // coverage:ignore-start const FilesSharingShareapiGetSharesResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareapiGetSharesResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingShareapiGetSharesResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$filesSharingShareapiGetSharesResponse200ApplicationJsonSerializer; @@ -1711,12 +1933,19 @@ abstract class FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs factory FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs([ final void Function(FilesSharingShareapiCreateShareResponse200ApplicationJson_OcsBuilder)? b, ]) = _$FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingOCSMeta get meta; FilesSharingShare get data; static Serializer get serializer => @@ -1730,12 +1959,19 @@ abstract class FilesSharingShareapiCreateShareResponse200ApplicationJson factory FilesSharingShareapiCreateShareResponse200ApplicationJson([ final void Function(FilesSharingShareapiCreateShareResponse200ApplicationJsonBuilder)? b, ]) = _$FilesSharingShareapiCreateShareResponse200ApplicationJson; + + // coverage:ignore-start const FilesSharingShareapiCreateShareResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareapiCreateShareResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingShareapiCreateShareResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$filesSharingShareapiCreateShareResponse200ApplicationJsonSerializer; @@ -1748,14 +1984,21 @@ abstract class FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_ factory FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs([ final void Function(FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_OcsBuilder)? b, ]) = _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingOCSMeta get meta; BuiltList get data; static Serializer get serializer => @@ -1769,12 +2012,19 @@ abstract class FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson factory FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson([ final void Function(FilesSharingShareapiGetInheritedSharesResponse200ApplicationJsonBuilder)? b, ]) = _$FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson; + + // coverage:ignore-start const FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingShareapiGetInheritedSharesResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$filesSharingShareapiGetInheritedSharesResponse200ApplicationJsonSerializer; @@ -1787,12 +2037,19 @@ abstract class FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs factory FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs([ final void Function(FilesSharingShareapiPendingSharesResponse200ApplicationJson_OcsBuilder)? b, ]) = _$FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingOCSMeta get meta; BuiltList get data; static Serializer get serializer => @@ -1806,12 +2063,19 @@ abstract class FilesSharingShareapiPendingSharesResponse200ApplicationJson factory FilesSharingShareapiPendingSharesResponse200ApplicationJson([ final void Function(FilesSharingShareapiPendingSharesResponse200ApplicationJsonBuilder)? b, ]) = _$FilesSharingShareapiPendingSharesResponse200ApplicationJson; + + // coverage:ignore-start const FilesSharingShareapiPendingSharesResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareapiPendingSharesResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingShareapiPendingSharesResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$filesSharingShareapiPendingSharesResponse200ApplicationJsonSerializer; @@ -1824,12 +2088,19 @@ abstract class FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs factory FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs([ final void Function(FilesSharingShareapiGetShareResponse200ApplicationJson_OcsBuilder)? b, ]) = _$FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingOCSMeta get meta; FilesSharingShare get data; static Serializer get serializer => @@ -1843,12 +2114,19 @@ abstract class FilesSharingShareapiGetShareResponse200ApplicationJson factory FilesSharingShareapiGetShareResponse200ApplicationJson([ final void Function(FilesSharingShareapiGetShareResponse200ApplicationJsonBuilder)? b, ]) = _$FilesSharingShareapiGetShareResponse200ApplicationJson; + + // coverage:ignore-start const FilesSharingShareapiGetShareResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareapiGetShareResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingShareapiGetShareResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$filesSharingShareapiGetShareResponse200ApplicationJsonSerializer; @@ -1861,12 +2139,19 @@ abstract class FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs factory FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs([ final void Function(FilesSharingShareapiUpdateShareResponse200ApplicationJson_OcsBuilder)? b, ]) = _$FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingOCSMeta get meta; FilesSharingShare get data; static Serializer get serializer => @@ -1880,12 +2165,19 @@ abstract class FilesSharingShareapiUpdateShareResponse200ApplicationJson factory FilesSharingShareapiUpdateShareResponse200ApplicationJson([ final void Function(FilesSharingShareapiUpdateShareResponse200ApplicationJsonBuilder)? b, ]) = _$FilesSharingShareapiUpdateShareResponse200ApplicationJson; + + // coverage:ignore-start const FilesSharingShareapiUpdateShareResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareapiUpdateShareResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingShareapiUpdateShareResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$filesSharingShareapiUpdateShareResponse200ApplicationJsonSerializer; @@ -1898,12 +2190,19 @@ abstract class FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs factory FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs([ final void Function(FilesSharingShareapiDeleteShareResponse200ApplicationJson_OcsBuilder)? b, ]) = _$FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -1917,12 +2216,19 @@ abstract class FilesSharingShareapiDeleteShareResponse200ApplicationJson factory FilesSharingShareapiDeleteShareResponse200ApplicationJson([ final void Function(FilesSharingShareapiDeleteShareResponse200ApplicationJsonBuilder)? b, ]) = _$FilesSharingShareapiDeleteShareResponse200ApplicationJson; + + // coverage:ignore-start const FilesSharingShareapiDeleteShareResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareapiDeleteShareResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingShareapiDeleteShareResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$filesSharingShareapiDeleteShareResponse200ApplicationJsonSerializer; @@ -1935,12 +2241,19 @@ abstract class FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs factory FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs([ final void Function(FilesSharingShareapiAcceptShareResponse200ApplicationJson_OcsBuilder)? b, ]) = _$FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -1954,12 +2267,19 @@ abstract class FilesSharingShareapiAcceptShareResponse200ApplicationJson factory FilesSharingShareapiAcceptShareResponse200ApplicationJson([ final void Function(FilesSharingShareapiAcceptShareResponse200ApplicationJsonBuilder)? b, ]) = _$FilesSharingShareapiAcceptShareResponse200ApplicationJson; + + // coverage:ignore-start const FilesSharingShareapiAcceptShareResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareapiAcceptShareResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingShareapiAcceptShareResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$filesSharingShareapiAcceptShareResponse200ApplicationJsonSerializer; @@ -1967,9 +2287,12 @@ abstract class FilesSharingShareapiAcceptShareResponse200ApplicationJson abstract class FilesSharingShareesapiSearchShareType implements Built { + // coverage:ignore-end + factory FilesSharingShareesapiSearchShareType([ final void Function(FilesSharingShareesapiSearchShareTypeBuilder)? b, ]) = _$FilesSharingShareesapiSearchShareType; + // coverage:ignore-start const FilesSharingShareesapiSearchShareType._(); JsonObject get data; @@ -1977,7 +2300,9 @@ abstract class FilesSharingShareesapiSearchShareType BuiltList? get builtListInt; static FilesSharingShareesapiSearchShareType fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareesapiSearchShareTypeSerializer(); @@ -2030,12 +2355,19 @@ abstract class FilesSharingShareesapiShareesapiSearchHeaders factory FilesSharingShareesapiShareesapiSearchHeaders([ final void Function(FilesSharingShareesapiShareesapiSearchHeadersBuilder)? b, ]) = _$FilesSharingShareesapiShareesapiSearchHeaders; + + // coverage:ignore-start const FilesSharingShareesapiShareesapiSearchHeaders._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareesapiShareesapiSearchHeaders.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String? get link; @BuiltValueSerializer(custom: true) static Serializer get serializer => @@ -2088,12 +2420,19 @@ class _$FilesSharingShareesapiShareesapiSearchHeadersSerializer abstract class FilesSharingSharee implements Built { factory FilesSharingSharee([final void Function(FilesSharingShareeBuilder)? b]) = _$FilesSharingSharee; + + // coverage:ignore-start const FilesSharingSharee._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingSharee.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end int? get count; String get label; static Serializer get serializer => _$filesSharingShareeSerializer; @@ -2101,12 +2440,19 @@ abstract class FilesSharingSharee implements Built { factory FilesSharingShareeValue([final void Function(FilesSharingShareeValueBuilder)? b]) = _$FilesSharingShareeValue; + + // coverage:ignore-start const FilesSharingShareeValue._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareeValue.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end int get shareType; String get shareWith; static Serializer get serializer => _$filesSharingShareeValueSerializer; @@ -2116,20 +2462,30 @@ abstract class FilesSharingShareeCircle1_Value1 implements Built { factory FilesSharingShareeCircle1_Value1([final void Function(FilesSharingShareeCircle1_Value1Builder)? b]) = _$FilesSharingShareeCircle1_Value1; + + // coverage:ignore-start const FilesSharingShareeCircle1_Value1._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareeCircle1_Value1.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get circle; static Serializer get serializer => _$filesSharingShareeCircle1Value1Serializer; } abstract class FilesSharingShareeCircle1_Value implements Built { + // coverage:ignore-end + factory FilesSharingShareeCircle1_Value([final void Function(FilesSharingShareeCircle1_ValueBuilder)? b]) = _$FilesSharingShareeCircle1_Value; + // coverage:ignore-start const FilesSharingShareeCircle1_Value._(); JsonObject get data; @@ -2137,7 +2493,9 @@ abstract class FilesSharingShareeCircle1_Value FilesSharingShareeCircle1_Value1 get shareeCircle1Value1; static FilesSharingShareeCircle1_Value fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareeCircle1_ValueSerializer(); } @@ -2183,27 +2541,39 @@ class _$FilesSharingShareeCircle1_ValueSerializer implements PrimitiveSerializer abstract class FilesSharingShareeCircle1 implements Built { factory FilesSharingShareeCircle1([final void Function(FilesSharingShareeCircle1Builder)? b]) = _$FilesSharingShareeCircle1; + + // coverage:ignore-start const FilesSharingShareeCircle1._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareeCircle1.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get shareWithDescription; FilesSharingShareeCircle1_Value get value; static Serializer get serializer => _$filesSharingShareeCircle1Serializer; } abstract class FilesSharingShareeCircle implements Built { + // coverage:ignore-end + factory FilesSharingShareeCircle([final void Function(FilesSharingShareeCircleBuilder)? b]) = _$FilesSharingShareeCircle; + // coverage:ignore-start const FilesSharingShareeCircle._(); JsonObject get data; FilesSharingSharee get sharee; FilesSharingShareeCircle1 get shareeCircle1; static FilesSharingShareeCircle fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareeCircleSerializer(); } @@ -2246,12 +2616,19 @@ class _$FilesSharingShareeCircleSerializer implements PrimitiveSerializer { factory FilesSharingShareeEmail1([final void Function(FilesSharingShareeEmail1Builder)? b]) = _$FilesSharingShareeEmail1; + + // coverage:ignore-start const FilesSharingShareeEmail1._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareeEmail1.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get uuid; String get name; String get type; @@ -2261,14 +2638,19 @@ abstract class FilesSharingShareeEmail1 implements Built { + // coverage:ignore-end + factory FilesSharingShareeEmail([final void Function(FilesSharingShareeEmailBuilder)? b]) = _$FilesSharingShareeEmail; + // coverage:ignore-start const FilesSharingShareeEmail._(); JsonObject get data; FilesSharingSharee get sharee; FilesSharingShareeEmail1 get shareeEmail1; static FilesSharingShareeEmail fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareeEmailSerializer(); } @@ -2313,12 +2695,19 @@ abstract class FilesSharingShareeRemoteGroup1_Value1 factory FilesSharingShareeRemoteGroup1_Value1([ final void Function(FilesSharingShareeRemoteGroup1_Value1Builder)? b, ]) = _$FilesSharingShareeRemoteGroup1_Value1; + + // coverage:ignore-start const FilesSharingShareeRemoteGroup1_Value1._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareeRemoteGroup1_Value1.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get server; static Serializer get serializer => _$filesSharingShareeRemoteGroup1Value1Serializer; @@ -2326,8 +2715,11 @@ abstract class FilesSharingShareeRemoteGroup1_Value1 abstract class FilesSharingShareeRemoteGroup1_Value implements Built { + // coverage:ignore-end + factory FilesSharingShareeRemoteGroup1_Value([final void Function(FilesSharingShareeRemoteGroup1_ValueBuilder)? b]) = _$FilesSharingShareeRemoteGroup1_Value; + // coverage:ignore-start const FilesSharingShareeRemoteGroup1_Value._(); JsonObject get data; @@ -2335,7 +2727,9 @@ abstract class FilesSharingShareeRemoteGroup1_Value FilesSharingShareeRemoteGroup1_Value1 get shareeRemoteGroup1Value1; static FilesSharingShareeRemoteGroup1_Value fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareeRemoteGroup1_ValueSerializer(); @@ -2382,12 +2776,19 @@ abstract class FilesSharingShareeRemoteGroup1 implements Built { factory FilesSharingShareeRemoteGroup1([final void Function(FilesSharingShareeRemoteGroup1Builder)? b]) = _$FilesSharingShareeRemoteGroup1; + + // coverage:ignore-start const FilesSharingShareeRemoteGroup1._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareeRemoteGroup1.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get guid; String get name; FilesSharingShareeRemoteGroup1_Value get value; @@ -2396,8 +2797,11 @@ abstract class FilesSharingShareeRemoteGroup1 abstract class FilesSharingShareeRemoteGroup implements Built { + // coverage:ignore-end + factory FilesSharingShareeRemoteGroup([final void Function(FilesSharingShareeRemoteGroupBuilder)? b]) = _$FilesSharingShareeRemoteGroup; + // coverage:ignore-start const FilesSharingShareeRemoteGroup._(); JsonObject get data; @@ -2405,7 +2809,9 @@ abstract class FilesSharingShareeRemoteGroup FilesSharingShareeRemoteGroup1 get shareeRemoteGroup1; static FilesSharingShareeRemoteGroup fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareeRemoteGroupSerializer(); } @@ -2449,20 +2855,30 @@ abstract class FilesSharingShareeRemote1_Value1 implements Built { factory FilesSharingShareeRemote1_Value1([final void Function(FilesSharingShareeRemote1_Value1Builder)? b]) = _$FilesSharingShareeRemote1_Value1; + + // coverage:ignore-start const FilesSharingShareeRemote1_Value1._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareeRemote1_Value1.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get server; static Serializer get serializer => _$filesSharingShareeRemote1Value1Serializer; } abstract class FilesSharingShareeRemote1_Value implements Built { + // coverage:ignore-end + factory FilesSharingShareeRemote1_Value([final void Function(FilesSharingShareeRemote1_ValueBuilder)? b]) = _$FilesSharingShareeRemote1_Value; + // coverage:ignore-start const FilesSharingShareeRemote1_Value._(); JsonObject get data; @@ -2470,7 +2886,9 @@ abstract class FilesSharingShareeRemote1_Value FilesSharingShareeRemote1_Value1 get shareeRemote1Value1; static FilesSharingShareeRemote1_Value fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareeRemote1_ValueSerializer(); } @@ -2516,12 +2934,19 @@ class _$FilesSharingShareeRemote1_ValueSerializer implements PrimitiveSerializer abstract class FilesSharingShareeRemote1 implements Built { factory FilesSharingShareeRemote1([final void Function(FilesSharingShareeRemote1Builder)? b]) = _$FilesSharingShareeRemote1; + + // coverage:ignore-start const FilesSharingShareeRemote1._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareeRemote1.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get uuid; String get name; String get type; @@ -2530,15 +2955,20 @@ abstract class FilesSharingShareeRemote1 implements Built { + // coverage:ignore-end + factory FilesSharingShareeRemote([final void Function(FilesSharingShareeRemoteBuilder)? b]) = _$FilesSharingShareeRemote; + // coverage:ignore-start const FilesSharingShareeRemote._(); JsonObject get data; FilesSharingSharee get sharee; FilesSharingShareeRemote1 get shareeRemote1; static FilesSharingShareeRemote fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareeRemoteSerializer(); } @@ -2582,12 +3012,19 @@ abstract class FilesSharingShareeUser1_Status implements Built { factory FilesSharingShareeUser1_Status([final void Function(FilesSharingShareeUser1_StatusBuilder)? b]) = _$FilesSharingShareeUser1_Status; + + // coverage:ignore-start const FilesSharingShareeUser1_Status._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareeUser1_Status.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get status; String get message; String get icon; @@ -2597,12 +3034,19 @@ abstract class FilesSharingShareeUser1_Status abstract class FilesSharingShareeUser1 implements Built { factory FilesSharingShareeUser1([final void Function(FilesSharingShareeUser1Builder)? b]) = _$FilesSharingShareeUser1; + + // coverage:ignore-start const FilesSharingShareeUser1._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareeUser1.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get subline; String get icon; String get shareWithDisplayNameUnique; @@ -2612,14 +3056,19 @@ abstract class FilesSharingShareeUser1 implements Built { + // coverage:ignore-end + factory FilesSharingShareeUser([final void Function(FilesSharingShareeUserBuilder)? b]) = _$FilesSharingShareeUser; + // coverage:ignore-start const FilesSharingShareeUser._(); JsonObject get data; FilesSharingSharee get sharee; FilesSharingShareeUser1 get shareeUser1; static FilesSharingShareeUser fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareeUserSerializer(); } @@ -2664,12 +3113,19 @@ abstract class FilesSharingShareesSearchResult_Exact factory FilesSharingShareesSearchResult_Exact([ final void Function(FilesSharingShareesSearchResult_ExactBuilder)? b, ]) = _$FilesSharingShareesSearchResult_Exact; + + // coverage:ignore-start const FilesSharingShareesSearchResult_Exact._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareesSearchResult_Exact.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltList get circles; BuiltList get emails; BuiltList get groups; @@ -2684,12 +3140,19 @@ abstract class FilesSharingShareesSearchResult_Exact abstract class FilesSharingLookup implements Built { factory FilesSharingLookup([final void Function(FilesSharingLookupBuilder)? b]) = _$FilesSharingLookup; + + // coverage:ignore-start const FilesSharingLookup._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingLookup.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get value; int get verified; static Serializer get serializer => _$filesSharingLookupSerializer; @@ -2699,12 +3162,19 @@ abstract class FilesSharingShareeLookup1_Extra implements Built { factory FilesSharingShareeLookup1_Extra([final void Function(FilesSharingShareeLookup1_ExtraBuilder)? b]) = _$FilesSharingShareeLookup1_Extra; + + // coverage:ignore-start const FilesSharingShareeLookup1_Extra._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareeLookup1_Extra.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get federationId; FilesSharingLookup? get name; FilesSharingLookup? get email; @@ -2724,20 +3194,30 @@ abstract class FilesSharingShareeLookup1_Value1 implements Built { factory FilesSharingShareeLookup1_Value1([final void Function(FilesSharingShareeLookup1_Value1Builder)? b]) = _$FilesSharingShareeLookup1_Value1; + + // coverage:ignore-start const FilesSharingShareeLookup1_Value1._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareeLookup1_Value1.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get globalScale; static Serializer get serializer => _$filesSharingShareeLookup1Value1Serializer; } abstract class FilesSharingShareeLookup1_Value implements Built { + // coverage:ignore-end + factory FilesSharingShareeLookup1_Value([final void Function(FilesSharingShareeLookup1_ValueBuilder)? b]) = _$FilesSharingShareeLookup1_Value; + // coverage:ignore-start const FilesSharingShareeLookup1_Value._(); JsonObject get data; @@ -2745,7 +3225,9 @@ abstract class FilesSharingShareeLookup1_Value FilesSharingShareeLookup1_Value1 get shareeLookup1Value1; static FilesSharingShareeLookup1_Value fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareeLookup1_ValueSerializer(); } @@ -2791,27 +3273,39 @@ class _$FilesSharingShareeLookup1_ValueSerializer implements PrimitiveSerializer abstract class FilesSharingShareeLookup1 implements Built { factory FilesSharingShareeLookup1([final void Function(FilesSharingShareeLookup1Builder)? b]) = _$FilesSharingShareeLookup1; + + // coverage:ignore-start const FilesSharingShareeLookup1._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareeLookup1.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingShareeLookup1_Extra get extra; FilesSharingShareeLookup1_Value get value; static Serializer get serializer => _$filesSharingShareeLookup1Serializer; } abstract class FilesSharingShareeLookup implements Built { + // coverage:ignore-end + factory FilesSharingShareeLookup([final void Function(FilesSharingShareeLookupBuilder)? b]) = _$FilesSharingShareeLookup; + // coverage:ignore-start const FilesSharingShareeLookup._(); JsonObject get data; FilesSharingSharee get sharee; FilesSharingShareeLookup1 get shareeLookup1; static FilesSharingShareeLookup fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareeLookupSerializer(); } @@ -2855,12 +3349,19 @@ abstract class FilesSharingShareesSearchResult implements Built { factory FilesSharingShareesSearchResult([final void Function(FilesSharingShareesSearchResultBuilder)? b]) = _$FilesSharingShareesSearchResult; + + // coverage:ignore-start const FilesSharingShareesSearchResult._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareesSearchResult.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingShareesSearchResult_Exact get exact; BuiltList get circles; BuiltList get emails; @@ -2882,12 +3383,19 @@ abstract class FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs factory FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs([ final void Function(FilesSharingShareesapiSearchResponse200ApplicationJson_OcsBuilder)? b, ]) = _$FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingOCSMeta get meta; FilesSharingShareesSearchResult get data; static Serializer get serializer => @@ -2901,12 +3409,19 @@ abstract class FilesSharingShareesapiSearchResponse200ApplicationJson factory FilesSharingShareesapiSearchResponse200ApplicationJson([ final void Function(FilesSharingShareesapiSearchResponse200ApplicationJsonBuilder)? b, ]) = _$FilesSharingShareesapiSearchResponse200ApplicationJson; + + // coverage:ignore-start const FilesSharingShareesapiSearchResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareesapiSearchResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingShareesapiSearchResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$filesSharingShareesapiSearchResponse200ApplicationJsonSerializer; @@ -2915,9 +3430,12 @@ abstract class FilesSharingShareesapiSearchResponse200ApplicationJson abstract class FilesSharingShareesapiFindRecommendedShareType implements Built { + // coverage:ignore-end + factory FilesSharingShareesapiFindRecommendedShareType([ final void Function(FilesSharingShareesapiFindRecommendedShareTypeBuilder)? b, ]) = _$FilesSharingShareesapiFindRecommendedShareType; + // coverage:ignore-start const FilesSharingShareesapiFindRecommendedShareType._(); JsonObject get data; @@ -2925,7 +3443,9 @@ abstract class FilesSharingShareesapiFindRecommendedShareType BuiltList? get builtListInt; static FilesSharingShareesapiFindRecommendedShareType fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$FilesSharingShareesapiFindRecommendedShareTypeSerializer(); @@ -2980,12 +3500,19 @@ abstract class FilesSharingShareesRecommendedResult_Exact factory FilesSharingShareesRecommendedResult_Exact([ final void Function(FilesSharingShareesRecommendedResult_ExactBuilder)? b, ]) = _$FilesSharingShareesRecommendedResult_Exact; + + // coverage:ignore-start const FilesSharingShareesRecommendedResult_Exact._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareesRecommendedResult_Exact.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltList get emails; BuiltList get groups; @BuiltValueField(wireName: 'remote_groups') @@ -3000,12 +3527,19 @@ abstract class FilesSharingShareesRecommendedResult implements Built { factory FilesSharingShareesRecommendedResult([final void Function(FilesSharingShareesRecommendedResultBuilder)? b]) = _$FilesSharingShareesRecommendedResult; + + // coverage:ignore-start const FilesSharingShareesRecommendedResult._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareesRecommendedResult.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingShareesRecommendedResult_Exact get exact; BuiltList get emails; BuiltList get groups; @@ -3024,14 +3558,21 @@ abstract class FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_O factory FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs([ final void Function(FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_OcsBuilder)? b, ]) = _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingOCSMeta get meta; FilesSharingShareesRecommendedResult get data; static Serializer get serializer => @@ -3045,12 +3586,19 @@ abstract class FilesSharingShareesapiFindRecommendedResponse200ApplicationJson factory FilesSharingShareesapiFindRecommendedResponse200ApplicationJson([ final void Function(FilesSharingShareesapiFindRecommendedResponse200ApplicationJsonBuilder)? b, ]) = _$FilesSharingShareesapiFindRecommendedResponse200ApplicationJson; + + // coverage:ignore-start const FilesSharingShareesapiFindRecommendedResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingShareesapiFindRecommendedResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end FilesSharingShareesapiFindRecommendedResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$filesSharingShareesapiFindRecommendedResponse200ApplicationJsonSerializer; @@ -3063,12 +3611,19 @@ abstract class FilesSharingCapabilities_FilesSharing_Public_Password factory FilesSharingCapabilities_FilesSharing_Public_Password([ final void Function(FilesSharingCapabilities_FilesSharing_Public_PasswordBuilder)? b, ]) = _$FilesSharingCapabilities_FilesSharing_Public_Password; + + // coverage:ignore-start const FilesSharingCapabilities_FilesSharing_Public_Password._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingCapabilities_FilesSharing_Public_Password.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enforced; bool get askForOptionalPassword; static Serializer get serializer => @@ -3082,12 +3637,19 @@ abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDate factory FilesSharingCapabilities_FilesSharing_Public_ExpireDate([ final void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateBuilder)? b, ]) = _$FilesSharingCapabilities_FilesSharing_Public_ExpireDate; + + // coverage:ignore-start const FilesSharingCapabilities_FilesSharing_Public_ExpireDate._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingCapabilities_FilesSharing_Public_ExpireDate.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enabled; int? get days; bool? get enforced; @@ -3102,12 +3664,19 @@ abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal([ final void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternalBuilder)? b, ]) = _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal; + + // coverage:ignore-start const FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateInternal.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enabled; int? get days; bool? get enforced; @@ -3122,12 +3691,19 @@ abstract class FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote([ final void Function(FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? b, ]) = _$FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote; + + // coverage:ignore-start const FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingCapabilities_FilesSharing_Public_ExpireDateRemote.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enabled; int? get days; bool? get enforced; @@ -3141,12 +3717,19 @@ abstract class FilesSharingCapabilities_FilesSharing_Public factory FilesSharingCapabilities_FilesSharing_Public([ final void Function(FilesSharingCapabilities_FilesSharing_PublicBuilder)? b, ]) = _$FilesSharingCapabilities_FilesSharing_Public; + + // coverage:ignore-start const FilesSharingCapabilities_FilesSharing_Public._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingCapabilities_FilesSharing_Public.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enabled; FilesSharingCapabilities_FilesSharing_Public_Password? get password; @BuiltValueField(wireName: 'multiple_links') @@ -3173,12 +3756,19 @@ abstract class FilesSharingCapabilities_FilesSharing_User_ExpireDate factory FilesSharingCapabilities_FilesSharing_User_ExpireDate([ final void Function(FilesSharingCapabilities_FilesSharing_User_ExpireDateBuilder)? b, ]) = _$FilesSharingCapabilities_FilesSharing_User_ExpireDate; + + // coverage:ignore-start const FilesSharingCapabilities_FilesSharing_User_ExpireDate._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingCapabilities_FilesSharing_User_ExpireDate.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enabled; static Serializer get serializer => _$filesSharingCapabilitiesFilesSharingUserExpireDateSerializer; @@ -3189,12 +3779,19 @@ abstract class FilesSharingCapabilities_FilesSharing_User factory FilesSharingCapabilities_FilesSharing_User([ final void Function(FilesSharingCapabilities_FilesSharing_UserBuilder)? b, ]) = _$FilesSharingCapabilities_FilesSharing_User; + + // coverage:ignore-start const FilesSharingCapabilities_FilesSharing_User._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingCapabilities_FilesSharing_User.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueField(wireName: 'send_mail') bool get sendMail; @BuiltValueField(wireName: 'expire_date') @@ -3210,12 +3807,19 @@ abstract class FilesSharingCapabilities_FilesSharing_Group_ExpireDate factory FilesSharingCapabilities_FilesSharing_Group_ExpireDate([ final void Function(FilesSharingCapabilities_FilesSharing_Group_ExpireDateBuilder)? b, ]) = _$FilesSharingCapabilities_FilesSharing_Group_ExpireDate; + + // coverage:ignore-start const FilesSharingCapabilities_FilesSharing_Group_ExpireDate._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingCapabilities_FilesSharing_Group_ExpireDate.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enabled; static Serializer get serializer => _$filesSharingCapabilitiesFilesSharingGroupExpireDateSerializer; @@ -3226,12 +3830,19 @@ abstract class FilesSharingCapabilities_FilesSharing_Group factory FilesSharingCapabilities_FilesSharing_Group([ final void Function(FilesSharingCapabilities_FilesSharing_GroupBuilder)? b, ]) = _$FilesSharingCapabilities_FilesSharing_Group; + + // coverage:ignore-start const FilesSharingCapabilities_FilesSharing_Group._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingCapabilities_FilesSharing_Group.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enabled; @BuiltValueField(wireName: 'expire_date') FilesSharingCapabilities_FilesSharing_Group_ExpireDate? get expireDate; @@ -3246,12 +3857,19 @@ abstract class FilesSharingCapabilities_FilesSharing_Federation_ExpireDate factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDate([ final void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateBuilder)? b, ]) = _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDate; + + // coverage:ignore-start const FilesSharingCapabilities_FilesSharing_Federation_ExpireDate._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDate.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enabled; static Serializer get serializer => _$filesSharingCapabilitiesFilesSharingFederationExpireDateSerializer; @@ -3264,14 +3882,21 @@ abstract class FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSuppor factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported([ final void Function(FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? b, ]) = _$FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported; + + // coverage:ignore-start const FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingCapabilities_FilesSharing_Federation_ExpireDateSupported.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enabled; static Serializer get serializer => _$filesSharingCapabilitiesFilesSharingFederationExpireDateSupportedSerializer; @@ -3284,12 +3909,19 @@ abstract class FilesSharingCapabilities_FilesSharing_Federation factory FilesSharingCapabilities_FilesSharing_Federation([ final void Function(FilesSharingCapabilities_FilesSharing_FederationBuilder)? b, ]) = _$FilesSharingCapabilities_FilesSharing_Federation; + + // coverage:ignore-start const FilesSharingCapabilities_FilesSharing_Federation._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingCapabilities_FilesSharing_Federation.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get outgoing; bool get incoming; @BuiltValueField(wireName: 'expire_date') @@ -3306,12 +3938,19 @@ abstract class FilesSharingCapabilities_FilesSharing_Sharee factory FilesSharingCapabilities_FilesSharing_Sharee([ final void Function(FilesSharingCapabilities_FilesSharing_ShareeBuilder)? b, ]) = _$FilesSharingCapabilities_FilesSharing_Sharee; + + // coverage:ignore-start const FilesSharingCapabilities_FilesSharing_Sharee._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingCapabilities_FilesSharing_Sharee.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueField(wireName: 'query_lookup_default') bool get queryLookupDefault; @BuiltValueField(wireName: 'always_show_unique') @@ -3325,12 +3964,19 @@ abstract class FilesSharingCapabilities_FilesSharing factory FilesSharingCapabilities_FilesSharing([ final void Function(FilesSharingCapabilities_FilesSharingBuilder)? b, ]) = _$FilesSharingCapabilities_FilesSharing; + + // coverage:ignore-start const FilesSharingCapabilities_FilesSharing._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingCapabilities_FilesSharing.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueField(wireName: 'api_enabled') bool get apiEnabled; FilesSharingCapabilities_FilesSharing_Public get public; @@ -3350,17 +3996,25 @@ abstract class FilesSharingCapabilities_FilesSharing abstract class FilesSharingCapabilities implements Built { factory FilesSharingCapabilities([final void Function(FilesSharingCapabilitiesBuilder)? b]) = _$FilesSharingCapabilities; + + // coverage:ignore-start const FilesSharingCapabilities._(); + // coverage:ignore-end + // coverage:ignore-start factory FilesSharingCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueField(wireName: 'files_sharing') FilesSharingCapabilities_FilesSharing get filesSharing; static Serializer get serializer => _$filesSharingCapabilitiesSerializer; } +// coverage:ignore-start final Serializers _serializers = (Serializers().toBuilder() ..addBuilderFactory( const FullType(FilesSharingDeletedShareapiListResponse200ApplicationJson), @@ -3785,7 +4439,6 @@ final Serializers _jsonSerializers = (_serializers.toBuilder() ..addPlugin(const ContentStringPlugin())) .build(); -// coverage:ignore-start T deserializeFilesSharing(final Object data) => _serializers.deserialize(data, specifiedType: FullType(T))! as T; Object? serializeFilesSharing(final T data) => _serializers.serialize(data, specifiedType: FullType(T)); diff --git a/packages/nextcloud/lib/src/api/news.openapi.dart b/packages/nextcloud/lib/src/api/news.openapi.dart index ec914efb..187200b5 100644 --- a/packages/nextcloud/lib/src/api/news.openapi.dart +++ b/packages/nextcloud/lib/src/api/news.openapi.dart @@ -80,11 +80,13 @@ class NewsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end final response = await doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), @@ -107,11 +109,13 @@ class NewsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end final response = await doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), @@ -132,11 +136,13 @@ class NewsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end queryParameters['name'] = name; final response = await doRequest( 'post', @@ -159,11 +165,13 @@ class NewsClient extends DynamiteClient { final queryParameters = {}; final headers = {}; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{folderId}', Uri.encodeQueryComponent(folderId.toString())); queryParameters['name'] = name; final response = await doRequest( @@ -183,11 +191,13 @@ class NewsClient extends DynamiteClient { final queryParameters = {}; final headers = {}; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{folderId}', Uri.encodeQueryComponent(folderId.toString())); final response = await doRequest( 'delete', @@ -209,11 +219,13 @@ class NewsClient extends DynamiteClient { final queryParameters = {}; final headers = {}; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{folderId}', Uri.encodeQueryComponent(folderId.toString())); queryParameters['newestItemId'] = newestItemId.toString(); final response = await doRequest( @@ -235,11 +247,13 @@ class NewsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end final response = await doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), @@ -263,11 +277,13 @@ class NewsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end queryParameters['url'] = url; if (folderId != null) { queryParameters['folderId'] = folderId.toString(); @@ -290,11 +306,13 @@ class NewsClient extends DynamiteClient { final queryParameters = {}; final headers = {}; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{feedId}', Uri.encodeQueryComponent(feedId.toString())); final response = await doRequest( 'delete', @@ -316,11 +334,13 @@ class NewsClient extends DynamiteClient { final queryParameters = {}; final headers = {}; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{feedId}', Uri.encodeQueryComponent(feedId.toString())); if (folderId != null) { queryParameters['folderId'] = folderId.toString(); @@ -345,11 +365,13 @@ class NewsClient extends DynamiteClient { final queryParameters = {}; final headers = {}; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{feedId}', Uri.encodeQueryComponent(feedId.toString())); queryParameters['feedTitle'] = feedTitle; final response = await doRequest( @@ -372,11 +394,13 @@ class NewsClient extends DynamiteClient { final queryParameters = {}; final headers = {}; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{feedId}', Uri.encodeQueryComponent(feedId.toString())); queryParameters['newestItemId'] = newestItemId.toString(); final response = await doRequest( @@ -405,11 +429,13 @@ class NewsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end if (type != 3) { queryParameters['type'] = type.toString(); } @@ -452,11 +478,13 @@ class NewsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end if (type != 3) { queryParameters['type'] = type.toString(); } @@ -484,11 +512,13 @@ class NewsClient extends DynamiteClient { final queryParameters = {}; final headers = {}; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{itemId}', Uri.encodeQueryComponent(itemId.toString())); final response = await doRequest( 'post', @@ -507,11 +537,13 @@ class NewsClient extends DynamiteClient { final queryParameters = {}; final headers = {}; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{itemId}', Uri.encodeQueryComponent(itemId.toString())); final response = await doRequest( 'post', @@ -530,11 +562,13 @@ class NewsClient extends DynamiteClient { final queryParameters = {}; final headers = {}; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{itemId}', Uri.encodeQueryComponent(itemId.toString())); final response = await doRequest( 'post', @@ -553,11 +587,13 @@ class NewsClient extends DynamiteClient { final queryParameters = {}; final headers = {}; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{itemId}', Uri.encodeQueryComponent(itemId.toString())); final response = await doRequest( 'post', @@ -575,23 +611,37 @@ class NewsClient extends DynamiteClient { abstract class NewsSupportedAPIVersions implements Built { factory NewsSupportedAPIVersions([final void Function(NewsSupportedAPIVersionsBuilder)? b]) = _$NewsSupportedAPIVersions; + + // coverage:ignore-start const NewsSupportedAPIVersions._(); + // coverage:ignore-end + // coverage:ignore-start factory NewsSupportedAPIVersions.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltList? get apiLevels; static Serializer get serializer => _$newsSupportedAPIVersionsSerializer; } abstract class NewsArticle implements Built { factory NewsArticle([final void Function(NewsArticleBuilder)? b]) = _$NewsArticle; + + // coverage:ignore-start const NewsArticle._(); + // coverage:ignore-end + // coverage:ignore-start factory NewsArticle.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end int get id; String get guid; String get guidHash; @@ -617,11 +667,18 @@ abstract class NewsArticle implements Built { abstract class NewsFeed implements Built { factory NewsFeed([final void Function(NewsFeedBuilder)? b]) = _$NewsFeed; + + // coverage:ignore-start const NewsFeed._(); + // coverage:ignore-end + // coverage:ignore-start factory NewsFeed.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end int get id; String get url; String get title; @@ -640,11 +697,18 @@ abstract class NewsFeed implements Built { abstract class NewsFolder implements Built { factory NewsFolder([final void Function(NewsFolderBuilder)? b]) = _$NewsFolder; + + // coverage:ignore-start const NewsFolder._(); + // coverage:ignore-end + // coverage:ignore-start factory NewsFolder.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end int get id; String get name; bool get opened; @@ -656,24 +720,38 @@ abstract class NewsFolder implements Built { abstract class NewsListFolders implements Built { factory NewsListFolders([final void Function(NewsListFoldersBuilder)? b]) = _$NewsListFolders; + + // coverage:ignore-start const NewsListFolders._(); + // coverage:ignore-end + // coverage:ignore-start factory NewsListFolders.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltList get folders; static Serializer get serializer => _$newsListFoldersSerializer; } abstract class NewsListFeeds implements Built { factory NewsListFeeds([final void Function(NewsListFeedsBuilder)? b]) = _$NewsListFeeds; + + // coverage:ignore-start const NewsListFeeds._(); + // coverage:ignore-end + // coverage:ignore-start factory NewsListFeeds.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end int? get starredCount; int? get newestItemId; BuiltList get feeds; @@ -682,23 +760,37 @@ abstract class NewsListFeeds implements Built { factory NewsListArticles([final void Function(NewsListArticlesBuilder)? b]) = _$NewsListArticles; + + // coverage:ignore-start const NewsListArticles._(); + // coverage:ignore-end + // coverage:ignore-start factory NewsListArticles.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltList get items; static Serializer get serializer => _$newsListArticlesSerializer; } abstract class NewsOCSMeta implements Built { factory NewsOCSMeta([final void Function(NewsOCSMetaBuilder)? b]) = _$NewsOCSMeta; + + // coverage:ignore-start const NewsOCSMeta._(); + // coverage:ignore-end + // coverage:ignore-start factory NewsOCSMeta.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get status; int get statuscode; String? get message; @@ -709,12 +801,19 @@ abstract class NewsOCSMeta implements Built { abstract class NewsEmptyOCS_Ocs implements Built { factory NewsEmptyOCS_Ocs([final void Function(NewsEmptyOCS_OcsBuilder)? b]) = _$NewsEmptyOCS_Ocs; + + // coverage:ignore-start const NewsEmptyOCS_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory NewsEmptyOCS_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end NewsOCSMeta get meta; BuiltList get data; static Serializer get serializer => _$newsEmptyOCSOcsSerializer; @@ -722,15 +821,23 @@ abstract class NewsEmptyOCS_Ocs implements Built { factory NewsEmptyOCS([final void Function(NewsEmptyOCSBuilder)? b]) = _$NewsEmptyOCS; + + // coverage:ignore-start const NewsEmptyOCS._(); + // coverage:ignore-end + // coverage:ignore-start factory NewsEmptyOCS.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end NewsEmptyOCS_Ocs get ocs; static Serializer get serializer => _$newsEmptyOCSSerializer; } +// coverage:ignore-start final Serializers _serializers = (Serializers().toBuilder() ..addBuilderFactory(const FullType(NewsSupportedAPIVersions), NewsSupportedAPIVersions.new) ..add(NewsSupportedAPIVersions.serializer) @@ -766,7 +873,6 @@ final Serializers _jsonSerializers = (_serializers.toBuilder() ..addPlugin(const ContentStringPlugin())) .build(); -// coverage:ignore-start T deserializeNews(final Object data) => _serializers.deserialize(data, specifiedType: FullType(T))! as T; Object? serializeNews(final T data) => _serializers.serialize(data, specifiedType: FullType(T)); diff --git a/packages/nextcloud/lib/src/api/notes.openapi.dart b/packages/nextcloud/lib/src/api/notes.openapi.dart index d359558e..2945461a 100644 --- a/packages/nextcloud/lib/src/api/notes.openapi.dart +++ b/packages/nextcloud/lib/src/api/notes.openapi.dart @@ -87,11 +87,13 @@ class NotesClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end if (category != null) { queryParameters['category'] = category; } @@ -138,11 +140,13 @@ class NotesClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end if (category != '') { queryParameters['category'] = category; } @@ -182,11 +186,13 @@ class NotesClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); if (exclude != '') { queryParameters['exclude'] = exclude; @@ -222,11 +228,13 @@ class NotesClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); if (content != null) { queryParameters['content'] = content; @@ -266,11 +274,13 @@ class NotesClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); final response = await doRequest( 'delete', @@ -291,11 +301,13 @@ class NotesClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end final response = await doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), @@ -316,11 +328,13 @@ class NotesClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end headers['Content-Type'] = 'application/json'; body = Uint8List.fromList( utf8.encode(json.encode(_jsonSerializers.serialize(settings, specifiedType: const FullType(NotesSettings)))), @@ -341,11 +355,18 @@ class NotesClient extends DynamiteClient { abstract class NotesNote implements Built { factory NotesNote([final void Function(NotesNoteBuilder)? b]) = _$NotesNote; + + // coverage:ignore-start const NotesNote._(); + // coverage:ignore-end + // coverage:ignore-start factory NotesNote.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end int get id; String get etag; bool get readonly; @@ -368,19 +389,28 @@ class NotesSettings_NoteMode extends EnumClass { static const NotesSettings_NoteMode rich = _$notesSettingsNoteModeRich; + // coverage:ignore-start static BuiltSet get values => _$notesSettingsNoteModeValues; + // coverage:ignore-end static NotesSettings_NoteMode valueOf(final String name) => _$valueOfNotesSettings_NoteMode(name); static Serializer get serializer => _$notesSettingsNoteModeSerializer; } abstract class NotesSettings implements Built { factory NotesSettings([final void Function(NotesSettingsBuilder)? b]) = _$NotesSettings; + + // coverage:ignore-start const NotesSettings._(); + // coverage:ignore-end + // coverage:ignore-start factory NotesSettings.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get notesPath; String get fileSuffix; NotesSettings_NoteMode get noteMode; @@ -389,12 +419,19 @@ abstract class NotesSettings implements Built { factory NotesCapabilities_Notes([final void Function(NotesCapabilities_NotesBuilder)? b]) = _$NotesCapabilities_Notes; + + // coverage:ignore-start const NotesCapabilities_Notes._(); + // coverage:ignore-end + // coverage:ignore-start factory NotesCapabilities_Notes.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueField(wireName: 'api_version') BuiltList? get apiVersion; String? get version; @@ -403,23 +440,37 @@ abstract class NotesCapabilities_Notes implements Built { factory NotesCapabilities([final void Function(NotesCapabilitiesBuilder)? b]) = _$NotesCapabilities; + + // coverage:ignore-start const NotesCapabilities._(); + // coverage:ignore-end + // coverage:ignore-start factory NotesCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end NotesCapabilities_Notes get notes; static Serializer get serializer => _$notesCapabilitiesSerializer; } abstract class NotesOCSMeta implements Built { factory NotesOCSMeta([final void Function(NotesOCSMetaBuilder)? b]) = _$NotesOCSMeta; + + // coverage:ignore-start const NotesOCSMeta._(); + // coverage:ignore-end + // coverage:ignore-start factory NotesOCSMeta.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get status; int get statuscode; String? get message; @@ -430,12 +481,19 @@ abstract class NotesOCSMeta implements Built abstract class NotesEmptyOCS_Ocs implements Built { factory NotesEmptyOCS_Ocs([final void Function(NotesEmptyOCS_OcsBuilder)? b]) = _$NotesEmptyOCS_Ocs; + + // coverage:ignore-start const NotesEmptyOCS_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory NotesEmptyOCS_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end NotesOCSMeta get meta; BuiltList get data; static Serializer get serializer => _$notesEmptyOCSOcsSerializer; @@ -443,16 +501,24 @@ abstract class NotesEmptyOCS_Ocs implements Built { factory NotesEmptyOCS([final void Function(NotesEmptyOCSBuilder)? b]) = _$NotesEmptyOCS; + + // coverage:ignore-start const NotesEmptyOCS._(); + // coverage:ignore-end + // coverage:ignore-start factory NotesEmptyOCS.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end NotesEmptyOCS_Ocs get ocs; static Serializer get serializer => _$notesEmptyOCSSerializer; } +// coverage:ignore-start final Serializers _serializers = (Serializers().toBuilder() ..addBuilderFactory(const FullType(NotesNote), NotesNote.new) ..add(NotesNote.serializer) @@ -481,7 +547,6 @@ final Serializers _jsonSerializers = (_serializers.toBuilder() ..addPlugin(const ContentStringPlugin())) .build(); -// coverage:ignore-start T deserializeNotes(final Object data) => _serializers.deserialize(data, specifiedType: FullType(T))! as T; Object? serializeNotes(final T data) => _serializers.serialize(data, specifiedType: FullType(T)); diff --git a/packages/nextcloud/lib/src/api/notifications.openapi.dart b/packages/nextcloud/lib/src/api/notifications.openapi.dart index 6908ae9e..371ab584 100644 --- a/packages/nextcloud/lib/src/api/notifications.openapi.dart +++ b/packages/nextcloud/lib/src/api/notifications.openapi.dart @@ -80,13 +80,15 @@ class NotificationsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers); } else if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer or basic_auth'); } + // coverage:ignore-end final response = await doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), @@ -109,11 +111,13 @@ class NotificationsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers); } else { - throw Exception('Missing authentication for bearer'); // coverage:ignore-line + throw Exception('Missing authentication for bearer'); } + // coverage:ignore-end final response = await doRequest( 'delete', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), @@ -133,13 +137,15 @@ class NotificationsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers); } else if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); final response = await doRequest( 'get', @@ -163,11 +169,13 @@ class NotificationsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers); } else { - throw Exception('Missing authentication for bearer'); // coverage:ignore-line + throw Exception('Missing authentication for bearer'); } + // coverage:ignore-end path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); final response = await doRequest( 'delete', @@ -195,11 +203,13 @@ class NotificationsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers); } else { - throw Exception('Missing authentication for bearer'); // coverage:ignore-line + throw Exception('Missing authentication for bearer'); } + // coverage:ignore-end queryParameters['pushTokenHash'] = pushTokenHash; queryParameters['devicePublicKey'] = devicePublicKey; queryParameters['proxyServer'] = proxyServer; @@ -225,11 +235,13 @@ class NotificationsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers); } else { - throw Exception('Missing authentication for bearer'); // coverage:ignore-line + throw Exception('Missing authentication for bearer'); } + // coverage:ignore-end final response = await doRequest( 'delete', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), @@ -253,11 +265,13 @@ class NotificationsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers); } else { - throw Exception('Missing authentication for bearer'); // coverage:ignore-line + throw Exception('Missing authentication for bearer'); } + // coverage:ignore-end path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); queryParameters['shortMessage'] = shortMessage; if (longMessage != '') { @@ -281,12 +295,19 @@ class NotificationsClient extends DynamiteClient { abstract class NotificationsOCSMeta implements Built { factory NotificationsOCSMeta([final void Function(NotificationsOCSMetaBuilder)? b]) = _$NotificationsOCSMeta; + + // coverage:ignore-start const NotificationsOCSMeta._(); + // coverage:ignore-end + // coverage:ignore-start factory NotificationsOCSMeta.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get status; int get statuscode; String? get message; @@ -299,12 +320,19 @@ abstract class NotificationsNotificationAction implements Built { factory NotificationsNotificationAction([final void Function(NotificationsNotificationActionBuilder)? b]) = _$NotificationsNotificationAction; + + // coverage:ignore-start const NotificationsNotificationAction._(); + // coverage:ignore-end + // coverage:ignore-start factory NotificationsNotificationAction.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get label; String get link; String get type; @@ -315,12 +343,19 @@ abstract class NotificationsNotificationAction abstract class NotificationsNotification implements Built { factory NotificationsNotification([final void Function(NotificationsNotificationBuilder)? b]) = _$NotificationsNotification; + + // coverage:ignore-start const NotificationsNotification._(); + // coverage:ignore-end + // coverage:ignore-start factory NotificationsNotification.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueField(wireName: 'notification_id') int get notificationId; String get app; @@ -347,12 +382,19 @@ abstract class NotificationsListNotifications_Ocs implements Built { factory NotificationsListNotifications_Ocs([final void Function(NotificationsListNotifications_OcsBuilder)? b]) = _$NotificationsListNotifications_Ocs; + + // coverage:ignore-start const NotificationsListNotifications_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory NotificationsListNotifications_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end NotificationsOCSMeta get meta; BuiltList get data; static Serializer get serializer => _$notificationsListNotificationsOcsSerializer; @@ -362,12 +404,19 @@ abstract class NotificationsListNotifications implements Built { factory NotificationsListNotifications([final void Function(NotificationsListNotificationsBuilder)? b]) = _$NotificationsListNotifications; + + // coverage:ignore-start const NotificationsListNotifications._(); + // coverage:ignore-end + // coverage:ignore-start factory NotificationsListNotifications.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end NotificationsListNotifications_Ocs get ocs; static Serializer get serializer => _$notificationsListNotificationsSerializer; } @@ -376,12 +425,19 @@ abstract class NotificationsGetNotification_Ocs implements Built { factory NotificationsGetNotification_Ocs([final void Function(NotificationsGetNotification_OcsBuilder)? b]) = _$NotificationsGetNotification_Ocs; + + // coverage:ignore-start const NotificationsGetNotification_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory NotificationsGetNotification_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end NotificationsOCSMeta get meta; NotificationsNotification get data; static Serializer get serializer => _$notificationsGetNotificationOcsSerializer; @@ -391,12 +447,19 @@ abstract class NotificationsGetNotification implements Built { factory NotificationsGetNotification([final void Function(NotificationsGetNotificationBuilder)? b]) = _$NotificationsGetNotification; + + // coverage:ignore-start const NotificationsGetNotification._(); + // coverage:ignore-end + // coverage:ignore-start factory NotificationsGetNotification.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end NotificationsGetNotification_Ocs get ocs; static Serializer get serializer => _$notificationsGetNotificationSerializer; } @@ -404,12 +467,19 @@ abstract class NotificationsGetNotification abstract class NotificationsEmptyOCS_Ocs implements Built { factory NotificationsEmptyOCS_Ocs([final void Function(NotificationsEmptyOCS_OcsBuilder)? b]) = _$NotificationsEmptyOCS_Ocs; + + // coverage:ignore-start const NotificationsEmptyOCS_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory NotificationsEmptyOCS_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end NotificationsOCSMeta get meta; BuiltList get data; static Serializer get serializer => _$notificationsEmptyOCSOcsSerializer; @@ -417,12 +487,19 @@ abstract class NotificationsEmptyOCS_Ocs implements Built { factory NotificationsEmptyOCS([final void Function(NotificationsEmptyOCSBuilder)? b]) = _$NotificationsEmptyOCS; + + // coverage:ignore-start const NotificationsEmptyOCS._(); + // coverage:ignore-end + // coverage:ignore-start factory NotificationsEmptyOCS.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end NotificationsEmptyOCS_Ocs get ocs; static Serializer get serializer => _$notificationsEmptyOCSSerializer; } @@ -431,12 +508,19 @@ abstract class NotificationsPushServerSubscription implements Built { factory NotificationsPushServerSubscription([final void Function(NotificationsPushServerSubscriptionBuilder)? b]) = _$NotificationsPushServerSubscription; + + // coverage:ignore-start const NotificationsPushServerSubscription._(); + // coverage:ignore-end + // coverage:ignore-start factory NotificationsPushServerSubscription.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get publicKey; String get deviceIdentifier; String get signature; @@ -450,12 +534,19 @@ abstract class NotificationsPushServerRegistration_Ocs factory NotificationsPushServerRegistration_Ocs([ final void Function(NotificationsPushServerRegistration_OcsBuilder)? b, ]) = _$NotificationsPushServerRegistration_Ocs; + + // coverage:ignore-start const NotificationsPushServerRegistration_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory NotificationsPushServerRegistration_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end NotificationsOCSMeta get meta; NotificationsPushServerSubscription get data; static Serializer get serializer => @@ -466,12 +557,19 @@ abstract class NotificationsPushServerRegistration implements Built { factory NotificationsPushServerRegistration([final void Function(NotificationsPushServerRegistrationBuilder)? b]) = _$NotificationsPushServerRegistration; + + // coverage:ignore-start const NotificationsPushServerRegistration._(); + // coverage:ignore-end + // coverage:ignore-start factory NotificationsPushServerRegistration.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end NotificationsPushServerRegistration_Ocs get ocs; static Serializer get serializer => _$notificationsPushServerRegistrationSerializer; @@ -482,12 +580,19 @@ abstract class NotificationsCapabilities_Notifications factory NotificationsCapabilities_Notifications([ final void Function(NotificationsCapabilities_NotificationsBuilder)? b, ]) = _$NotificationsCapabilities_Notifications; + + // coverage:ignore-start const NotificationsCapabilities_Notifications._(); + // coverage:ignore-end + // coverage:ignore-start factory NotificationsCapabilities_Notifications.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueField(wireName: 'ocs-endpoints') BuiltList? get ocsEndpoints; BuiltList? get push; @@ -500,12 +605,19 @@ abstract class NotificationsCapabilities_Notifications abstract class NotificationsCapabilities implements Built { factory NotificationsCapabilities([final void Function(NotificationsCapabilitiesBuilder)? b]) = _$NotificationsCapabilities; + + // coverage:ignore-start const NotificationsCapabilities._(); + // coverage:ignore-end + // coverage:ignore-start factory NotificationsCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end NotificationsCapabilities_Notifications get notifications; static Serializer get serializer => _$notificationsCapabilitiesSerializer; } @@ -515,12 +627,19 @@ abstract class NotificationsNotificationDecryptedSubject factory NotificationsNotificationDecryptedSubject([ final void Function(NotificationsNotificationDecryptedSubjectBuilder)? b, ]) = _$NotificationsNotificationDecryptedSubject; + + // coverage:ignore-start const NotificationsNotificationDecryptedSubject._(); + // coverage:ignore-end + // coverage:ignore-start factory NotificationsNotificationDecryptedSubject.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end int? get nid; String? get app; String? get subject; @@ -533,6 +652,7 @@ abstract class NotificationsNotificationDecryptedSubject _$notificationsNotificationDecryptedSubjectSerializer; } +// coverage:ignore-start final Serializers _serializers = (Serializers().toBuilder() ..addBuilderFactory(const FullType(NotificationsListNotifications), NotificationsListNotifications.new) ..add(NotificationsListNotifications.serializer) @@ -592,7 +712,6 @@ final Serializers _jsonSerializers = (_serializers.toBuilder() ..addPlugin(const ContentStringPlugin())) .build(); -// coverage:ignore-start T deserializeNotifications(final Object data) => _serializers.deserialize(data, specifiedType: FullType(T))! as T; Object? serializeNotifications(final T data) => _serializers.serialize(data, specifiedType: FullType(T)); diff --git a/packages/nextcloud/lib/src/api/provisioning_api.openapi.dart b/packages/nextcloud/lib/src/api/provisioning_api.openapi.dart index 5d49f132..42adecb4 100644 --- a/packages/nextcloud/lib/src/api/provisioning_api.openapi.dart +++ b/packages/nextcloud/lib/src/api/provisioning_api.openapi.dart @@ -97,6 +97,7 @@ class ProvisioningApiAppConfigClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -105,8 +106,9 @@ class ProvisioningApiAppConfigClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( 'get', @@ -136,6 +138,7 @@ class ProvisioningApiAppConfigClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -144,8 +147,9 @@ class ProvisioningApiAppConfigClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -178,6 +182,7 @@ class ProvisioningApiAppConfigClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -186,8 +191,9 @@ class ProvisioningApiAppConfigClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); path = path.replaceAll('{key}', Uri.encodeQueryComponent(key)); if (defaultValue != '') { @@ -222,6 +228,7 @@ class ProvisioningApiAppConfigClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -230,8 +237,9 @@ class ProvisioningApiAppConfigClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['value'] = value; path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); path = path.replaceAll('{key}', Uri.encodeQueryComponent(key)); @@ -265,6 +273,7 @@ class ProvisioningApiAppConfigClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -273,8 +282,9 @@ class ProvisioningApiAppConfigClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); path = path.replaceAll('{key}', Uri.encodeQueryComponent(key)); headers['OCS-APIRequest'] = oCSAPIRequest; @@ -312,6 +322,7 @@ class ProvisioningApiAppsClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -320,8 +331,9 @@ class ProvisioningApiAppsClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end if (filter != null) { queryParameters['filter'] = filter; } @@ -354,6 +366,7 @@ class ProvisioningApiAppsClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -362,8 +375,9 @@ class ProvisioningApiAppsClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -394,6 +408,7 @@ class ProvisioningApiAppsClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -402,8 +417,9 @@ class ProvisioningApiAppsClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -434,6 +450,7 @@ class ProvisioningApiAppsClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -442,8 +459,9 @@ class ProvisioningApiAppsClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -480,6 +498,7 @@ class ProvisioningApiGroupsClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -488,8 +507,9 @@ class ProvisioningApiGroupsClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end if (search != '') { queryParameters['search'] = search; } @@ -529,6 +549,7 @@ class ProvisioningApiGroupsClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -537,8 +558,9 @@ class ProvisioningApiGroupsClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['groupid'] = groupid; if (displayname != '') { queryParameters['displayname'] = displayname; @@ -572,6 +594,7 @@ class ProvisioningApiGroupsClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -580,8 +603,9 @@ class ProvisioningApiGroupsClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end if (search != '') { queryParameters['search'] = search; } @@ -618,6 +642,7 @@ class ProvisioningApiGroupsClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -626,8 +651,9 @@ class ProvisioningApiGroupsClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end if (!RegExp(r'^.+$').hasMatch(groupId)) { throw Exception( 'Invalid value "$groupId" for parameter "groupId" with pattern "${r'^.+$'}"', @@ -664,6 +690,7 @@ class ProvisioningApiGroupsClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -672,8 +699,9 @@ class ProvisioningApiGroupsClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end if (!RegExp(r'^.+$').hasMatch(groupId)) { throw Exception( 'Invalid value "$groupId" for parameter "groupId" with pattern "${r'^.+$'}"', @@ -718,6 +746,7 @@ class ProvisioningApiGroupsClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -726,8 +755,9 @@ class ProvisioningApiGroupsClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end if (!RegExp(r'^.+$').hasMatch(groupId)) { throw Exception( 'Invalid value "$groupId" for parameter "groupId" with pattern "${r'^.+$'}"', @@ -762,6 +792,7 @@ class ProvisioningApiGroupsClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -770,8 +801,9 @@ class ProvisioningApiGroupsClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end if (!RegExp(r'^.+$').hasMatch(groupId)) { throw Exception( 'Invalid value "$groupId" for parameter "groupId" with pattern "${r'^.+$'}"', @@ -809,6 +841,7 @@ class ProvisioningApiGroupsClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -817,8 +850,9 @@ class ProvisioningApiGroupsClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['key'] = key; queryParameters['value'] = value; if (!RegExp(r'^.+$').hasMatch(groupId)) { @@ -856,6 +890,7 @@ class ProvisioningApiGroupsClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -864,8 +899,9 @@ class ProvisioningApiGroupsClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end if (!RegExp(r'^.+$').hasMatch(groupId)) { throw Exception( 'Invalid value "$groupId" for parameter "groupId" with pattern "${r'^.+$'}"', @@ -907,6 +943,7 @@ class ProvisioningApiPreferencesClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -915,8 +952,9 @@ class ProvisioningApiPreferencesClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['configValue'] = configValue; path = path.replaceAll('{appId}', Uri.encodeQueryComponent(appId)); path = path.replaceAll('{configKey}', Uri.encodeQueryComponent(configKey)); @@ -948,6 +986,7 @@ class ProvisioningApiPreferencesClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -956,8 +995,9 @@ class ProvisioningApiPreferencesClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{appId}', Uri.encodeQueryComponent(appId)); path = path.replaceAll('{configKey}', Uri.encodeQueryComponent(configKey)); headers['OCS-APIRequest'] = oCSAPIRequest; @@ -988,6 +1028,7 @@ class ProvisioningApiPreferencesClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -996,8 +1037,9 @@ class ProvisioningApiPreferencesClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['configs'] = _jsonSerializers.serialize( configs, specifiedType: const FullType(ContentString, [ @@ -1033,6 +1075,7 @@ class ProvisioningApiPreferencesClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1041,8 +1084,9 @@ class ProvisioningApiPreferencesClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['configKeys[]'] = configKeys.map((final e) => e); path = path.replaceAll('{appId}', Uri.encodeQueryComponent(appId)); headers['OCS-APIRequest'] = oCSAPIRequest; @@ -1080,6 +1124,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1088,8 +1133,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end if (search != '') { queryParameters['search'] = search; } @@ -1134,6 +1180,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1142,8 +1189,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['userid'] = userid; if (password != '') { queryParameters['password'] = password; @@ -1198,6 +1246,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1206,8 +1255,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end if (search != '') { queryParameters['search'] = search; } @@ -1245,6 +1295,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1253,8 +1304,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['location'] = location; queryParameters['search'] = _jsonSerializers.serialize( search, @@ -1292,6 +1344,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1300,8 +1353,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -1332,6 +1386,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1340,8 +1395,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['key'] = key; queryParameters['value'] = value; path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); @@ -1372,6 +1428,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1380,8 +1437,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -1409,6 +1467,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1417,8 +1476,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( 'get', @@ -1445,6 +1505,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1453,8 +1514,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( 'get', @@ -1482,6 +1544,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1490,8 +1553,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -1523,6 +1587,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1531,8 +1596,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['key'] = key; queryParameters['value'] = value; path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); @@ -1569,6 +1635,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1577,8 +1644,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -1607,6 +1675,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1615,8 +1684,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -1645,6 +1715,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1653,8 +1724,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -1683,6 +1755,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1691,8 +1764,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -1722,6 +1796,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1730,8 +1805,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); if (groupid != '') { queryParameters['groupid'] = groupid; @@ -1764,6 +1840,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1772,8 +1849,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['groupid'] = groupid; path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); headers['OCS-APIRequest'] = oCSAPIRequest; @@ -1805,6 +1883,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1813,8 +1892,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -1846,6 +1926,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1854,8 +1935,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['groupid'] = groupid; path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); headers['OCS-APIRequest'] = oCSAPIRequest; @@ -1888,6 +1970,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1896,8 +1979,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['groupid'] = groupid; path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); headers['OCS-APIRequest'] = oCSAPIRequest; @@ -1927,6 +2011,7 @@ class ProvisioningApiUsersClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -1935,8 +2020,9 @@ class ProvisioningApiUsersClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -1957,12 +2043,19 @@ class ProvisioningApiUsersClient { abstract class ProvisioningApiOCSMeta implements Built { factory ProvisioningApiOCSMeta([final void Function(ProvisioningApiOCSMetaBuilder)? b]) = _$ProvisioningApiOCSMeta; + + // coverage:ignore-start const ProvisioningApiOCSMeta._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiOCSMeta.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get status; int get statuscode; String? get message; @@ -1978,14 +2071,21 @@ abstract class ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Dat factory ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data([ final void Function(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltList get data; static Serializer get serializer => _$provisioningApiAppConfigGetAppsResponse200ApplicationJsonOcsDataSerializer; @@ -1998,12 +2098,19 @@ abstract class ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs factory ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -2017,12 +2124,19 @@ abstract class ProvisioningApiAppConfigGetAppsResponse200ApplicationJson factory ProvisioningApiAppConfigGetAppsResponse200ApplicationJson([ final void Function(ProvisioningApiAppConfigGetAppsResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiAppConfigGetAppsResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppConfigGetAppsResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiAppConfigGetAppsResponse200ApplicationJsonSerializer; @@ -2035,14 +2149,21 @@ abstract class ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Dat factory ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data([ final void Function(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltList get data; static Serializer get serializer => _$provisioningApiAppConfigGetKeysResponse200ApplicationJsonOcsDataSerializer; @@ -2055,12 +2176,19 @@ abstract class ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs factory ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -2074,12 +2202,19 @@ abstract class ProvisioningApiAppConfigGetKeysResponse200ApplicationJson factory ProvisioningApiAppConfigGetKeysResponse200ApplicationJson([ final void Function(ProvisioningApiAppConfigGetKeysResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiAppConfigGetKeysResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppConfigGetKeysResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiAppConfigGetKeysResponse200ApplicationJsonSerializer; @@ -2092,14 +2227,21 @@ abstract class ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Da factory ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data([ final void Function(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get data; static Serializer get serializer => _$provisioningApiAppConfigGetValueResponse200ApplicationJsonOcsDataSerializer; @@ -2112,12 +2254,19 @@ abstract class ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs factory ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -2131,12 +2280,19 @@ abstract class ProvisioningApiAppConfigGetValueResponse200ApplicationJson factory ProvisioningApiAppConfigGetValueResponse200ApplicationJson([ final void Function(ProvisioningApiAppConfigGetValueResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiAppConfigGetValueResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppConfigGetValueResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiAppConfigGetValueResponse200ApplicationJsonSerializer; @@ -2149,12 +2305,19 @@ abstract class ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs factory ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiAppConfigSetValueResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -2168,12 +2331,19 @@ abstract class ProvisioningApiAppConfigSetValueResponse200ApplicationJson factory ProvisioningApiAppConfigSetValueResponse200ApplicationJson([ final void Function(ProvisioningApiAppConfigSetValueResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiAppConfigSetValueResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppConfigSetValueResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiAppConfigSetValueResponse200ApplicationJsonSerializer; @@ -2186,12 +2356,19 @@ abstract class ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs factory ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -2205,12 +2382,19 @@ abstract class ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson factory ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson([ final void Function(ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiAppConfigDeleteKeyResponse200ApplicationJsonSerializer; @@ -2223,12 +2407,19 @@ abstract class ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data factory ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data([ final void Function(ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltList get apps; static Serializer get serializer => _$provisioningApiAppsGetAppsResponse200ApplicationJsonOcsDataSerializer; @@ -2241,12 +2432,19 @@ abstract class ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs factory ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiAppsGetAppsResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -2260,12 +2458,19 @@ abstract class ProvisioningApiAppsGetAppsResponse200ApplicationJson factory ProvisioningApiAppsGetAppsResponse200ApplicationJson([ final void Function(ProvisioningApiAppsGetAppsResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiAppsGetAppsResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiAppsGetAppsResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppsGetAppsResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiAppsGetAppsResponse200ApplicationJsonSerializer; @@ -2273,12 +2478,19 @@ abstract class ProvisioningApiAppsGetAppsResponse200ApplicationJson abstract class ProvisioningApiAppInfo implements Built { factory ProvisioningApiAppInfo([final void Function(ProvisioningApiAppInfoBuilder)? b]) = _$ProvisioningApiAppInfo; + + // coverage:ignore-start const ProvisioningApiAppInfo._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppInfo.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool? get active; JsonObject? get activity; JsonObject? get author; @@ -2332,12 +2544,19 @@ abstract class ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs factory ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; ProvisioningApiAppInfo get data; static Serializer get serializer => @@ -2351,12 +2570,19 @@ abstract class ProvisioningApiAppsGetAppInfoResponse200ApplicationJson factory ProvisioningApiAppsGetAppInfoResponse200ApplicationJson([ final void Function(ProvisioningApiAppsGetAppInfoResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiAppsGetAppInfoResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppsGetAppInfoResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiAppsGetAppInfoResponse200ApplicationJsonSerializer; @@ -2369,12 +2595,19 @@ abstract class ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs factory ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiAppsEnableResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -2388,12 +2621,19 @@ abstract class ProvisioningApiAppsEnableResponse200ApplicationJson factory ProvisioningApiAppsEnableResponse200ApplicationJson([ final void Function(ProvisioningApiAppsEnableResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiAppsEnableResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiAppsEnableResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppsEnableResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiAppsEnableResponse200ApplicationJsonSerializer; @@ -2406,12 +2646,19 @@ abstract class ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs factory ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiAppsDisableResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -2425,12 +2672,19 @@ abstract class ProvisioningApiAppsDisableResponse200ApplicationJson factory ProvisioningApiAppsDisableResponse200ApplicationJson([ final void Function(ProvisioningApiAppsDisableResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiAppsDisableResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiAppsDisableResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiAppsDisableResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiAppsDisableResponse200ApplicationJsonSerializer; @@ -2443,12 +2697,19 @@ abstract class ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data factory ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data([ final void Function(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltList get groups; static Serializer get serializer => _$provisioningApiGroupsGetGroupsResponse200ApplicationJsonOcsDataSerializer; @@ -2461,12 +2722,19 @@ abstract class ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs factory ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -2480,12 +2748,19 @@ abstract class ProvisioningApiGroupsGetGroupsResponse200ApplicationJson factory ProvisioningApiGroupsGetGroupsResponse200ApplicationJson([ final void Function(ProvisioningApiGroupsGetGroupsResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiGroupsGetGroupsResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsGetGroupsResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiGroupsGetGroupsResponse200ApplicationJsonSerializer; @@ -2498,12 +2773,19 @@ abstract class ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs factory ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiGroupsAddGroupResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -2517,12 +2799,19 @@ abstract class ProvisioningApiGroupsAddGroupResponse200ApplicationJson factory ProvisioningApiGroupsAddGroupResponse200ApplicationJson([ final void Function(ProvisioningApiGroupsAddGroupResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiGroupsAddGroupResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsAddGroupResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiGroupsAddGroupResponse200ApplicationJsonSerializer; @@ -2530,9 +2819,12 @@ abstract class ProvisioningApiGroupsAddGroupResponse200ApplicationJson abstract class ProvisioningApiGroupDetails_Usercount implements Built { + // coverage:ignore-end + factory ProvisioningApiGroupDetails_Usercount([ final void Function(ProvisioningApiGroupDetails_UsercountBuilder)? b, ]) = _$ProvisioningApiGroupDetails_Usercount; + // coverage:ignore-start const ProvisioningApiGroupDetails_Usercount._(); JsonObject get data; @@ -2540,7 +2832,9 @@ abstract class ProvisioningApiGroupDetails_Usercount int? get $int; static ProvisioningApiGroupDetails_Usercount fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$ProvisioningApiGroupDetails_UsercountSerializer(); @@ -2582,8 +2876,11 @@ class _$ProvisioningApiGroupDetails_UsercountSerializer abstract class ProvisioningApiGroupDetails_Disabled implements Built { + // coverage:ignore-end + factory ProvisioningApiGroupDetails_Disabled([final void Function(ProvisioningApiGroupDetails_DisabledBuilder)? b]) = _$ProvisioningApiGroupDetails_Disabled; + // coverage:ignore-start const ProvisioningApiGroupDetails_Disabled._(); JsonObject get data; @@ -2591,7 +2888,9 @@ abstract class ProvisioningApiGroupDetails_Disabled int? get $int; static ProvisioningApiGroupDetails_Disabled fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$ProvisioningApiGroupDetails_DisabledSerializer(); @@ -2635,12 +2934,19 @@ abstract class ProvisioningApiGroupDetails implements Built { factory ProvisioningApiGroupDetails([final void Function(ProvisioningApiGroupDetailsBuilder)? b]) = _$ProvisioningApiGroupDetails; + + // coverage:ignore-start const ProvisioningApiGroupDetails._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupDetails.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get id; String get displayname; ProvisioningApiGroupDetails_Usercount get usercount; @@ -2657,14 +2963,21 @@ abstract class ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_O factory ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data([ final void Function(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltList get groups; static Serializer get serializer => _$provisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonOcsDataSerializer; @@ -2677,14 +2990,21 @@ abstract class ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_O factory ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -2698,12 +3018,19 @@ abstract class ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson factory ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson([ final void Function(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonSerializer; @@ -2716,14 +3043,21 @@ abstract class ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_ factory ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data([ final void Function(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltList get users; static Serializer get serializer => _$provisioningApiGroupsGetGroupUsersResponse200ApplicationJsonOcsDataSerializer; @@ -2736,12 +3070,19 @@ abstract class ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs factory ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -2755,12 +3096,19 @@ abstract class ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson factory ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson([ final void Function(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiGroupsGetGroupUsersResponse200ApplicationJsonSerializer; @@ -2772,12 +3120,19 @@ abstract class ProvisioningApiUserDetails_BackendCapabilities factory ProvisioningApiUserDetails_BackendCapabilities([ final void Function(ProvisioningApiUserDetails_BackendCapabilitiesBuilder)? b, ]) = _$ProvisioningApiUserDetails_BackendCapabilities; + + // coverage:ignore-start const ProvisioningApiUserDetails_BackendCapabilities._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUserDetails_BackendCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get setDisplayName; bool get setPassword; static Serializer get serializer => @@ -2786,9 +3141,12 @@ abstract class ProvisioningApiUserDetails_BackendCapabilities abstract class ProvisioningApiUserDetailsQuota_Quota implements Built { + // coverage:ignore-end + factory ProvisioningApiUserDetailsQuota_Quota([ final void Function(ProvisioningApiUserDetailsQuota_QuotaBuilder)? b, ]) = _$ProvisioningApiUserDetailsQuota_Quota; + // coverage:ignore-start const ProvisioningApiUserDetailsQuota_Quota._(); JsonObject get data; @@ -2796,7 +3154,9 @@ abstract class ProvisioningApiUserDetailsQuota_Quota String? get string; static ProvisioningApiUserDetailsQuota_Quota fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$ProvisioningApiUserDetailsQuota_QuotaSerializer(); @@ -2840,12 +3200,19 @@ abstract class ProvisioningApiUserDetailsQuota implements Built { factory ProvisioningApiUserDetailsQuota([final void Function(ProvisioningApiUserDetailsQuotaBuilder)? b]) = _$ProvisioningApiUserDetailsQuota; + + // coverage:ignore-start const ProvisioningApiUserDetailsQuota._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUserDetailsQuota.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end num? get free; ProvisioningApiUserDetailsQuota_Quota? get quota; num? get relative; @@ -2858,12 +3225,19 @@ abstract class ProvisioningApiUserDetails implements Built { factory ProvisioningApiUserDetails([final void Function(ProvisioningApiUserDetailsBuilder)? b]) = _$ProvisioningApiUserDetails; + + // coverage:ignore-start const ProvisioningApiUserDetails._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUserDetails.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueField(wireName: 'additional_mail') BuiltList get additionalMail; @BuiltValueField(wireName: 'additional_mailScope') @@ -2921,14 +3295,21 @@ abstract class ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJs factory ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1([ final void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder)? b, ]) = _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1; + + // coverage:ignore-start const ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get id; static Serializer get serializer => _$provisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1Serializer; @@ -2938,9 +3319,12 @@ abstract class ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJs implements Built { + // coverage:ignore-end + factory ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users([ final void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder)? b, ]) = _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users; + // coverage:ignore-start const ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users._(); JsonObject get data; @@ -2951,7 +3335,9 @@ abstract class ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJs final Object json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => @@ -3018,14 +3404,21 @@ abstract class ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJs factory ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data([ final void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltMap get users; static Serializer get serializer => _$provisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataSerializer; @@ -3038,14 +3431,21 @@ abstract class ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJs factory ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -3059,14 +3459,21 @@ abstract class ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJs factory ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson([ final void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonSerializer; @@ -3079,14 +3486,21 @@ abstract class ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJso factory ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; BuiltList get data; static Serializer get serializer => @@ -3100,14 +3514,21 @@ abstract class ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJso factory ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson([ final void Function(ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJsonSerializer; @@ -3120,12 +3541,19 @@ abstract class ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data factory ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data([ final void Function(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltList get users; static Serializer get serializer => _$provisioningApiGroupsGetGroupResponse200ApplicationJsonOcsDataSerializer; @@ -3138,12 +3566,19 @@ abstract class ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs factory ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -3157,12 +3592,19 @@ abstract class ProvisioningApiGroupsGetGroupResponse200ApplicationJson factory ProvisioningApiGroupsGetGroupResponse200ApplicationJson([ final void Function(ProvisioningApiGroupsGetGroupResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiGroupsGetGroupResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsGetGroupResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiGroupsGetGroupResponse200ApplicationJsonSerializer; @@ -3175,12 +3617,19 @@ abstract class ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs factory ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -3194,12 +3643,19 @@ abstract class ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson factory ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson([ final void Function(ProvisioningApiGroupsUpdateGroupResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiGroupsUpdateGroupResponse200ApplicationJsonSerializer; @@ -3212,12 +3668,19 @@ abstract class ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs factory ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -3231,12 +3694,19 @@ abstract class ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson factory ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson([ final void Function(ProvisioningApiGroupsDeleteGroupResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiGroupsDeleteGroupResponse200ApplicationJsonSerializer; @@ -3249,14 +3719,21 @@ abstract class ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson factory ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -3270,12 +3747,19 @@ abstract class ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson factory ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson([ final void Function(ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiPreferencesSetPreferenceResponse200ApplicationJsonSerializer; @@ -3288,14 +3772,21 @@ abstract class ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJ factory ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -3309,14 +3800,21 @@ abstract class ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJ factory ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson([ final void Function(ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiPreferencesDeletePreferenceResponse200ApplicationJsonSerializer; @@ -3329,14 +3827,21 @@ abstract class ProvisioningApiPreferencesSetMultiplePreferencesResponse200Applic factory ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -3350,14 +3855,21 @@ abstract class ProvisioningApiPreferencesSetMultiplePreferencesResponse200Applic factory ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson([ final void Function(ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJsonSerializer; @@ -3370,14 +3882,21 @@ abstract class ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200Appl factory ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -3391,14 +3910,21 @@ abstract class ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200Appl factory ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson([ final void Function(ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJsonSerializer; @@ -3411,12 +3937,19 @@ abstract class ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data factory ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data([ final void Function(ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltList get users; static Serializer get serializer => _$provisioningApiUsersGetUsersResponse200ApplicationJsonOcsDataSerializer; @@ -3429,12 +3962,19 @@ abstract class ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs factory ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersGetUsersResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -3448,12 +3988,19 @@ abstract class ProvisioningApiUsersGetUsersResponse200ApplicationJson factory ProvisioningApiUsersGetUsersResponse200ApplicationJson([ final void Function(ProvisioningApiUsersGetUsersResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersGetUsersResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersGetUsersResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersGetUsersResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersGetUsersResponse200ApplicationJsonSerializer; @@ -3466,12 +4013,19 @@ abstract class ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data factory ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data([ final void Function(ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get id; static Serializer get serializer => _$provisioningApiUsersAddUserResponse200ApplicationJsonOcsDataSerializer; @@ -3484,12 +4038,19 @@ abstract class ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs factory ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersAddUserResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -3503,12 +4064,19 @@ abstract class ProvisioningApiUsersAddUserResponse200ApplicationJson factory ProvisioningApiUsersAddUserResponse200ApplicationJson([ final void Function(ProvisioningApiUsersAddUserResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersAddUserResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersAddUserResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersAddUserResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersAddUserResponse200ApplicationJsonSerializer; @@ -3521,14 +4089,21 @@ abstract class ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs factory ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1([ final void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder)? b, ]) = _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1; + + // coverage:ignore-start const ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get id; static Serializer get serializer => _$provisioningApiUsersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1Serializer; @@ -3538,9 +4113,12 @@ abstract class ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs implements Built { + // coverage:ignore-end + factory ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users([ final void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder)? b, ]) = _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users; + // coverage:ignore-start const ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users._(); JsonObject get data; @@ -3549,7 +4127,9 @@ abstract class ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs get usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1; static ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersSerializer(); @@ -3613,14 +4193,21 @@ abstract class ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs factory ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data([ final void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltMap get users; static Serializer get serializer => _$provisioningApiUsersGetUsersDetailsResponse200ApplicationJsonOcsDataSerializer; @@ -3633,12 +4220,19 @@ abstract class ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs factory ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -3652,12 +4246,19 @@ abstract class ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson factory ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson([ final void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersGetUsersDetailsResponse200ApplicationJsonSerializer; @@ -3670,14 +4271,21 @@ abstract class ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJso factory ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; BuiltMap get data; static Serializer get serializer => @@ -3691,14 +4299,21 @@ abstract class ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJso factory ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson([ final void Function(ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJsonSerializer; @@ -3711,12 +4326,19 @@ abstract class ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs factory ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersGetUserResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; ProvisioningApiUserDetails get data; static Serializer get serializer => @@ -3730,12 +4352,19 @@ abstract class ProvisioningApiUsersGetUserResponse200ApplicationJson factory ProvisioningApiUsersGetUserResponse200ApplicationJson([ final void Function(ProvisioningApiUsersGetUserResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersGetUserResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersGetUserResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersGetUserResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersGetUserResponse200ApplicationJsonSerializer; @@ -3748,12 +4377,19 @@ abstract class ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs factory ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersEditUserResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -3767,12 +4403,19 @@ abstract class ProvisioningApiUsersEditUserResponse200ApplicationJson factory ProvisioningApiUsersEditUserResponse200ApplicationJson([ final void Function(ProvisioningApiUsersEditUserResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersEditUserResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersEditUserResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersEditUserResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersEditUserResponse200ApplicationJsonSerializer; @@ -3785,12 +4428,19 @@ abstract class ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs factory ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersDeleteUserResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -3804,12 +4454,19 @@ abstract class ProvisioningApiUsersDeleteUserResponse200ApplicationJson factory ProvisioningApiUsersDeleteUserResponse200ApplicationJson([ final void Function(ProvisioningApiUsersDeleteUserResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersDeleteUserResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersDeleteUserResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersDeleteUserResponse200ApplicationJsonSerializer; @@ -3822,12 +4479,19 @@ abstract class ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs factory ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; ProvisioningApiUserDetails get data; static Serializer get serializer => @@ -3841,12 +4505,19 @@ abstract class ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson factory ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson([ final void Function(ProvisioningApiUsersGetCurrentUserResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersGetCurrentUserResponse200ApplicationJsonSerializer; @@ -3859,14 +4530,21 @@ abstract class ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_O factory ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; BuiltList get data; static Serializer get serializer => @@ -3880,12 +4558,19 @@ abstract class ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson factory ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson([ final void Function(ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersGetEditableFieldsResponse200ApplicationJsonSerializer; @@ -3898,14 +4583,21 @@ abstract class ProvisioningApiUsersGetEditableFieldsForUserResponse200Applicatio factory ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; BuiltList get data; static Serializer get serializer => @@ -3919,14 +4611,21 @@ abstract class ProvisioningApiUsersGetEditableFieldsForUserResponse200Applicatio factory ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson([ final void Function(ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJsonSerializer; @@ -3939,14 +4638,21 @@ abstract class ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_ factory ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -3960,12 +4666,19 @@ abstract class ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson factory ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson([ final void Function(ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersEditUserMultiValueResponse200ApplicationJsonSerializer; @@ -3978,12 +4691,19 @@ abstract class ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs factory ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -3997,12 +4717,19 @@ abstract class ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson factory ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson([ final void Function(ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersWipeUserDevicesResponse200ApplicationJsonSerializer; @@ -4015,12 +4742,19 @@ abstract class ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs factory ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersEnableUserResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -4034,12 +4768,19 @@ abstract class ProvisioningApiUsersEnableUserResponse200ApplicationJson factory ProvisioningApiUsersEnableUserResponse200ApplicationJson([ final void Function(ProvisioningApiUsersEnableUserResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersEnableUserResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersEnableUserResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersEnableUserResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersEnableUserResponse200ApplicationJsonSerializer; @@ -4052,12 +4793,19 @@ abstract class ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs factory ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersDisableUserResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -4071,12 +4819,19 @@ abstract class ProvisioningApiUsersDisableUserResponse200ApplicationJson factory ProvisioningApiUsersDisableUserResponse200ApplicationJson([ final void Function(ProvisioningApiUsersDisableUserResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersDisableUserResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersDisableUserResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersDisableUserResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersDisableUserResponse200ApplicationJsonSerializer; @@ -4089,14 +4844,21 @@ abstract class ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_ factory ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data([ final void Function(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data; + + // coverage:ignore-start const ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltList get groups; static Serializer get serializer => _$provisioningApiUsersGetUsersGroupsResponse200ApplicationJsonOcsDataSerializer; @@ -4109,12 +4871,19 @@ abstract class ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs factory ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -4128,12 +4897,19 @@ abstract class ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson factory ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson([ final void Function(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersGetUsersGroupsResponse200ApplicationJsonSerializer; @@ -4146,12 +4922,19 @@ abstract class ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs factory ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersAddToGroupResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -4165,12 +4948,19 @@ abstract class ProvisioningApiUsersAddToGroupResponse200ApplicationJson factory ProvisioningApiUsersAddToGroupResponse200ApplicationJson([ final void Function(ProvisioningApiUsersAddToGroupResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersAddToGroupResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersAddToGroupResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersAddToGroupResponse200ApplicationJsonSerializer; @@ -4183,12 +4973,19 @@ abstract class ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs factory ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -4202,12 +4999,19 @@ abstract class ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson factory ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson([ final void Function(ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersRemoveFromGroupResponse200ApplicationJsonSerializer; @@ -4220,14 +5024,21 @@ abstract class ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJs factory ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; BuiltList get data; static Serializer get serializer => @@ -4241,14 +5052,21 @@ abstract class ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJs factory ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson([ final void Function(ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJsonSerializer; @@ -4261,12 +5079,19 @@ abstract class ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs factory ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -4280,12 +5105,19 @@ abstract class ProvisioningApiUsersAddSubAdminResponse200ApplicationJson factory ProvisioningApiUsersAddSubAdminResponse200ApplicationJson([ final void Function(ProvisioningApiUsersAddSubAdminResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersAddSubAdminResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersAddSubAdminResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersAddSubAdminResponse200ApplicationJsonSerializer; @@ -4298,12 +5130,19 @@ abstract class ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs factory ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -4317,12 +5156,19 @@ abstract class ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson factory ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson([ final void Function(ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersRemoveSubAdminResponse200ApplicationJsonSerializer; @@ -4335,14 +5181,21 @@ abstract class ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJso factory ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs([ final void Function(ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -4356,14 +5209,21 @@ abstract class ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJso factory ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson([ final void Function(ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJsonBuilder)? b, ]) = _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson; + + // coverage:ignore-start const ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$provisioningApiUsersResendWelcomeMessageResponse200ApplicationJsonSerializer; @@ -4374,12 +5234,19 @@ abstract class ProvisioningApiCapabilities_ProvisioningApi factory ProvisioningApiCapabilities_ProvisioningApi([ final void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder)? b, ]) = _$ProvisioningApiCapabilities_ProvisioningApi; + + // coverage:ignore-start const ProvisioningApiCapabilities_ProvisioningApi._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiCapabilities_ProvisioningApi.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get version; @BuiltValueField(wireName: 'AccountPropertyScopesVersion') int get accountPropertyScopesVersion; @@ -4395,17 +5262,25 @@ abstract class ProvisioningApiCapabilities implements Built { factory ProvisioningApiCapabilities([final void Function(ProvisioningApiCapabilitiesBuilder)? b]) = _$ProvisioningApiCapabilities; + + // coverage:ignore-start const ProvisioningApiCapabilities._(); + // coverage:ignore-end + // coverage:ignore-start factory ProvisioningApiCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueField(wireName: 'provisioning_api') ProvisioningApiCapabilities_ProvisioningApi get provisioningApi; static Serializer get serializer => _$provisioningApiCapabilitiesSerializer; } +// coverage:ignore-start final Serializers _serializers = (Serializers().toBuilder() ..addBuilderFactory( const FullType(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson), @@ -5014,7 +5889,6 @@ final Serializers _jsonSerializers = (_serializers.toBuilder() ..addPlugin(const ContentStringPlugin())) .build(); -// coverage:ignore-start T deserializeProvisioningApi(final Object data) => _serializers.deserialize(data, specifiedType: FullType(T))! as T; Object? serializeProvisioningApi(final T data) => _serializers.serialize(data, specifiedType: FullType(T)); diff --git a/packages/nextcloud/lib/src/api/settings.openapi.dart b/packages/nextcloud/lib/src/api/settings.openapi.dart index 9c3aa2cc..e03bb395 100644 --- a/packages/nextcloud/lib/src/api/settings.openapi.dart +++ b/packages/nextcloud/lib/src/api/settings.openapi.dart @@ -89,6 +89,7 @@ class SettingsLogSettingsClient { 'Accept': 'application/octet-stream', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -97,8 +98,9 @@ class SettingsLogSettingsClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end final response = await rootClient.doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), @@ -124,12 +126,19 @@ abstract class SettingsLogSettingsLogSettingsDownloadHeaders factory SettingsLogSettingsLogSettingsDownloadHeaders([ final void Function(SettingsLogSettingsLogSettingsDownloadHeadersBuilder)? b, ]) = _$SettingsLogSettingsLogSettingsDownloadHeaders; + + // coverage:ignore-start const SettingsLogSettingsLogSettingsDownloadHeaders._(); + // coverage:ignore-end + // coverage:ignore-start factory SettingsLogSettingsLogSettingsDownloadHeaders.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueField(wireName: 'content-disposition') String? get contentDisposition; @BuiltValueSerializer(custom: true) @@ -181,6 +190,7 @@ class _$SettingsLogSettingsLogSettingsDownloadHeadersSerializer } } +// coverage:ignore-start final Serializers _serializers = (Serializers().toBuilder() ..addBuilderFactory( const FullType(SettingsLogSettingsLogSettingsDownloadHeaders), @@ -196,7 +206,6 @@ final Serializers _jsonSerializers = (_serializers.toBuilder() ..addPlugin(const ContentStringPlugin())) .build(); -// coverage:ignore-start T deserializeSettings(final Object data) => _serializers.deserialize(data, specifiedType: FullType(T))! as T; Object? serializeSettings(final T data) => _serializers.serialize(data, specifiedType: FullType(T)); diff --git a/packages/nextcloud/lib/src/api/theming.openapi.dart b/packages/nextcloud/lib/src/api/theming.openapi.dart index dba1d21a..5b91b3ee 100644 --- a/packages/nextcloud/lib/src/api/theming.openapi.dart +++ b/packages/nextcloud/lib/src/api/theming.openapi.dart @@ -91,6 +91,7 @@ class ThemingIconClient { 'Accept': 'image/x-icon', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -99,6 +100,7 @@ class ThemingIconClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); final response = await rootClient.doRequest( 'get', @@ -120,6 +122,7 @@ class ThemingIconClient { 'Accept': 'image/png', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -128,6 +131,7 @@ class ThemingIconClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); final response = await rootClient.doRequest( 'get', @@ -152,6 +156,7 @@ class ThemingIconClient { 'Accept': 'image/svg+xml', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -160,6 +165,7 @@ class ThemingIconClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); if (!RegExp(r'^.+$').hasMatch(image)) { throw Exception('Invalid value "$image" for parameter "image" with pattern "${r'^.+$'}"'); // coverage:ignore-line @@ -197,6 +203,7 @@ class ThemingThemingClient { 'Accept': 'text/css', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -205,6 +212,7 @@ class ThemingThemingClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end path = path.replaceAll('{themeId}', Uri.encodeQueryComponent(themeId)); if (plain != 0) { queryParameters['plain'] = plain.toString(); @@ -235,6 +243,7 @@ class ThemingThemingClient { 'Accept': '*/*', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -243,6 +252,7 @@ class ThemingThemingClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end path = path.replaceAll('{key}', Uri.encodeQueryComponent(key)); if (useSvg != 1) { queryParameters['useSvg'] = useSvg.toString(); @@ -267,6 +277,7 @@ class ThemingThemingClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -275,6 +286,7 @@ class ThemingThemingClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } + // coverage:ignore-end path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); final response = await rootClient.doRequest( 'get', @@ -305,6 +317,7 @@ class ThemingUserThemeClient { 'Accept': '*/*', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -313,8 +326,9 @@ class ThemingUserThemeClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( 'get', @@ -341,6 +355,7 @@ class ThemingUserThemeClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -349,8 +364,9 @@ class ThemingUserThemeClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{type}', Uri.encodeQueryComponent(type)); if (value != '') { queryParameters['value'] = value; @@ -380,6 +396,7 @@ class ThemingUserThemeClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -388,8 +405,9 @@ class ThemingUserThemeClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( 'delete', @@ -415,6 +433,7 @@ class ThemingUserThemeClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -423,8 +442,9 @@ class ThemingUserThemeClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{themeId}', Uri.encodeQueryComponent(themeId)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -453,6 +473,7 @@ class ThemingUserThemeClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -461,8 +482,9 @@ class ThemingUserThemeClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{themeId}', Uri.encodeQueryComponent(themeId)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -488,12 +510,19 @@ abstract class ThemingThemingGetManifestResponse200ApplicationJson_Icons factory ThemingThemingGetManifestResponse200ApplicationJson_Icons([ final void Function(ThemingThemingGetManifestResponse200ApplicationJson_IconsBuilder)? b, ]) = _$ThemingThemingGetManifestResponse200ApplicationJson_Icons; + + // coverage:ignore-start const ThemingThemingGetManifestResponse200ApplicationJson_Icons._(); + // coverage:ignore-end + // coverage:ignore-start factory ThemingThemingGetManifestResponse200ApplicationJson_Icons.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get src; String get type; String get sizes; @@ -508,12 +537,19 @@ abstract class ThemingThemingGetManifestResponse200ApplicationJson factory ThemingThemingGetManifestResponse200ApplicationJson([ final void Function(ThemingThemingGetManifestResponse200ApplicationJsonBuilder)? b, ]) = _$ThemingThemingGetManifestResponse200ApplicationJson; + + // coverage:ignore-start const ThemingThemingGetManifestResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ThemingThemingGetManifestResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get name; @BuiltValueField(wireName: 'short_name') String get shortName; @@ -532,12 +568,19 @@ abstract class ThemingThemingGetManifestResponse200ApplicationJson abstract class ThemingBackground implements Built { factory ThemingBackground([final void Function(ThemingBackgroundBuilder)? b]) = _$ThemingBackground; + + // coverage:ignore-start const ThemingBackground._(); + // coverage:ignore-end + // coverage:ignore-start factory ThemingBackground.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String? get backgroundImage; String get backgroundColor; int get version; @@ -546,12 +589,19 @@ abstract class ThemingBackground implements Built { factory ThemingOCSMeta([final void Function(ThemingOCSMetaBuilder)? b]) = _$ThemingOCSMeta; + + // coverage:ignore-start const ThemingOCSMeta._(); + // coverage:ignore-end + // coverage:ignore-start factory ThemingOCSMeta.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get status; int get statuscode; String? get message; @@ -567,12 +617,19 @@ abstract class ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs factory ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs([ final void Function(ThemingUserThemeEnableThemeResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ThemingOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -586,12 +643,19 @@ abstract class ThemingUserThemeEnableThemeResponse200ApplicationJson factory ThemingUserThemeEnableThemeResponse200ApplicationJson([ final void Function(ThemingUserThemeEnableThemeResponse200ApplicationJsonBuilder)? b, ]) = _$ThemingUserThemeEnableThemeResponse200ApplicationJson; + + // coverage:ignore-start const ThemingUserThemeEnableThemeResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ThemingUserThemeEnableThemeResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$themingUserThemeEnableThemeResponse200ApplicationJsonSerializer; @@ -604,12 +668,19 @@ abstract class ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs factory ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs([ final void Function(ThemingUserThemeDisableThemeResponse200ApplicationJson_OcsBuilder)? b, ]) = _$ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ThemingOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -623,12 +694,19 @@ abstract class ThemingUserThemeDisableThemeResponse200ApplicationJson factory ThemingUserThemeDisableThemeResponse200ApplicationJson([ final void Function(ThemingUserThemeDisableThemeResponse200ApplicationJsonBuilder)? b, ]) = _$ThemingUserThemeDisableThemeResponse200ApplicationJson; + + // coverage:ignore-start const ThemingUserThemeDisableThemeResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory ThemingUserThemeDisableThemeResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$themingUserThemeDisableThemeResponse200ApplicationJsonSerializer; @@ -638,12 +716,19 @@ abstract class ThemingPublicCapabilities_Theming implements Built { factory ThemingPublicCapabilities_Theming([final void Function(ThemingPublicCapabilities_ThemingBuilder)? b]) = _$ThemingPublicCapabilities_Theming; + + // coverage:ignore-start const ThemingPublicCapabilities_Theming._(); + // coverage:ignore-end + // coverage:ignore-start factory ThemingPublicCapabilities_Theming.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get name; String get url; String get slogan; @@ -670,16 +755,24 @@ abstract class ThemingPublicCapabilities_Theming abstract class ThemingPublicCapabilities implements Built { factory ThemingPublicCapabilities([final void Function(ThemingPublicCapabilitiesBuilder)? b]) = _$ThemingPublicCapabilities; + + // coverage:ignore-start const ThemingPublicCapabilities._(); + // coverage:ignore-end + // coverage:ignore-start factory ThemingPublicCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end ThemingPublicCapabilities_Theming get theming; static Serializer get serializer => _$themingPublicCapabilitiesSerializer; } +// coverage:ignore-start final Serializers _serializers = (Serializers().toBuilder() ..addBuilderFactory( const FullType(ThemingThemingGetManifestResponse200ApplicationJson), @@ -732,7 +825,6 @@ final Serializers _jsonSerializers = (_serializers.toBuilder() ..addPlugin(const ContentStringPlugin())) .build(); -// coverage:ignore-start T deserializeTheming(final Object data) => _serializers.deserialize(data, specifiedType: FullType(T))! as T; Object? serializeTheming(final T data) => _serializers.serialize(data, specifiedType: FullType(T)); diff --git a/packages/nextcloud/lib/src/api/uppush.openapi.dart b/packages/nextcloud/lib/src/api/uppush.openapi.dart index 15d3eb70..94e15074 100644 --- a/packages/nextcloud/lib/src/api/uppush.openapi.dart +++ b/packages/nextcloud/lib/src/api/uppush.openapi.dart @@ -80,11 +80,13 @@ class UppushClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end final response = await doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), @@ -110,11 +112,13 @@ class UppushClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end queryParameters['keepalive'] = keepalive.toString(); final response = await doRequest( 'put', @@ -139,11 +143,13 @@ class UppushClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end queryParameters['deviceName'] = deviceName; final response = await doRequest( 'put', @@ -170,11 +176,13 @@ class UppushClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{deviceId}', Uri.encodeQueryComponent(deviceId)); final response = await doRequest( 'get', @@ -199,11 +207,13 @@ class UppushClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{deviceId}', Uri.encodeQueryComponent(deviceId)); final response = await doRequest( 'delete', @@ -231,11 +241,13 @@ class UppushClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end queryParameters['deviceId'] = deviceId; queryParameters['appName'] = appName; final response = await doRequest( @@ -261,11 +273,13 @@ class UppushClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); final response = await doRequest( 'delete', @@ -292,11 +306,13 @@ class UppushClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); final response = await doRequest( 'get', @@ -321,11 +337,13 @@ class UppushClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{token}', Uri.encodeQueryComponent(token)); final response = await doRequest( 'post', @@ -350,11 +368,13 @@ class UppushClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end final response = await doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), @@ -378,11 +398,13 @@ class UppushClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for basic_auth'); } + // coverage:ignore-end final response = await doRequest( 'post', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), @@ -404,12 +426,19 @@ abstract class UppushCheckResponse200ApplicationJson factory UppushCheckResponse200ApplicationJson([ final void Function(UppushCheckResponse200ApplicationJsonBuilder)? b, ]) = _$UppushCheckResponse200ApplicationJson; + + // coverage:ignore-start const UppushCheckResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UppushCheckResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get success; static Serializer get serializer => _$uppushCheckResponse200ApplicationJsonSerializer; @@ -421,12 +450,19 @@ abstract class UppushSetKeepaliveResponse200ApplicationJson factory UppushSetKeepaliveResponse200ApplicationJson([ final void Function(UppushSetKeepaliveResponse200ApplicationJsonBuilder)? b, ]) = _$UppushSetKeepaliveResponse200ApplicationJson; + + // coverage:ignore-start const UppushSetKeepaliveResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UppushSetKeepaliveResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get success; static Serializer get serializer => _$uppushSetKeepaliveResponse200ApplicationJsonSerializer; @@ -438,12 +474,19 @@ abstract class UppushCreateDeviceResponse200ApplicationJson factory UppushCreateDeviceResponse200ApplicationJson([ final void Function(UppushCreateDeviceResponse200ApplicationJsonBuilder)? b, ]) = _$UppushCreateDeviceResponse200ApplicationJson; + + // coverage:ignore-start const UppushCreateDeviceResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UppushCreateDeviceResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get success; String get deviceId; static Serializer get serializer => @@ -455,12 +498,19 @@ abstract class UppushSyncDeviceResponse401ApplicationJson factory UppushSyncDeviceResponse401ApplicationJson([ final void Function(UppushSyncDeviceResponse401ApplicationJsonBuilder)? b, ]) = _$UppushSyncDeviceResponse401ApplicationJson; + + // coverage:ignore-start const UppushSyncDeviceResponse401ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UppushSyncDeviceResponse401ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get success; static Serializer get serializer => _$uppushSyncDeviceResponse401ApplicationJsonSerializer; @@ -472,12 +522,19 @@ abstract class UppushDeleteDeviceResponse200ApplicationJson factory UppushDeleteDeviceResponse200ApplicationJson([ final void Function(UppushDeleteDeviceResponse200ApplicationJsonBuilder)? b, ]) = _$UppushDeleteDeviceResponse200ApplicationJson; + + // coverage:ignore-start const UppushDeleteDeviceResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UppushDeleteDeviceResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get success; static Serializer get serializer => _$uppushDeleteDeviceResponse200ApplicationJsonSerializer; @@ -488,12 +545,19 @@ abstract class UppushCreateAppResponse200ApplicationJson factory UppushCreateAppResponse200ApplicationJson([ final void Function(UppushCreateAppResponse200ApplicationJsonBuilder)? b, ]) = _$UppushCreateAppResponse200ApplicationJson; + + // coverage:ignore-start const UppushCreateAppResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UppushCreateAppResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get success; String get token; static Serializer get serializer => @@ -505,12 +569,19 @@ abstract class UppushDeleteAppResponse200ApplicationJson factory UppushDeleteAppResponse200ApplicationJson([ final void Function(UppushDeleteAppResponse200ApplicationJsonBuilder)? b, ]) = _$UppushDeleteAppResponse200ApplicationJson; + + // coverage:ignore-start const UppushDeleteAppResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UppushDeleteAppResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get success; static Serializer get serializer => _$uppushDeleteAppResponse200ApplicationJsonSerializer; @@ -523,12 +594,19 @@ abstract class UppushUnifiedpushDiscoveryResponse200ApplicationJson_Unifiedpush factory UppushUnifiedpushDiscoveryResponse200ApplicationJson_Unifiedpush([ final void Function(UppushUnifiedpushDiscoveryResponse200ApplicationJson_UnifiedpushBuilder)? b, ]) = _$UppushUnifiedpushDiscoveryResponse200ApplicationJson_Unifiedpush; + + // coverage:ignore-start const UppushUnifiedpushDiscoveryResponse200ApplicationJson_Unifiedpush._(); + // coverage:ignore-end + // coverage:ignore-start factory UppushUnifiedpushDiscoveryResponse200ApplicationJson_Unifiedpush.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end int get version; static Serializer get serializer => _$uppushUnifiedpushDiscoveryResponse200ApplicationJsonUnifiedpushSerializer; @@ -541,12 +619,19 @@ abstract class UppushUnifiedpushDiscoveryResponse200ApplicationJson factory UppushUnifiedpushDiscoveryResponse200ApplicationJson([ final void Function(UppushUnifiedpushDiscoveryResponse200ApplicationJsonBuilder)? b, ]) = _$UppushUnifiedpushDiscoveryResponse200ApplicationJson; + + // coverage:ignore-start const UppushUnifiedpushDiscoveryResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UppushUnifiedpushDiscoveryResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UppushUnifiedpushDiscoveryResponse200ApplicationJson_Unifiedpush get unifiedpush; static Serializer get serializer => _$uppushUnifiedpushDiscoveryResponse200ApplicationJsonSerializer; @@ -556,12 +641,19 @@ abstract class UppushPushResponse201ApplicationJson implements Built { factory UppushPushResponse201ApplicationJson([final void Function(UppushPushResponse201ApplicationJsonBuilder)? b]) = _$UppushPushResponse201ApplicationJson; + + // coverage:ignore-start const UppushPushResponse201ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UppushPushResponse201ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get success; static Serializer get serializer => _$uppushPushResponse201ApplicationJsonSerializer; @@ -574,14 +666,21 @@ abstract class UppushGatewayMatrixDiscoveryResponse200ApplicationJson_Unifiedpus factory UppushGatewayMatrixDiscoveryResponse200ApplicationJson_Unifiedpush([ final void Function(UppushGatewayMatrixDiscoveryResponse200ApplicationJson_UnifiedpushBuilder)? b, ]) = _$UppushGatewayMatrixDiscoveryResponse200ApplicationJson_Unifiedpush; + + // coverage:ignore-start const UppushGatewayMatrixDiscoveryResponse200ApplicationJson_Unifiedpush._(); + // coverage:ignore-end + // coverage:ignore-start factory UppushGatewayMatrixDiscoveryResponse200ApplicationJson_Unifiedpush.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get gateway; static Serializer get serializer => _$uppushGatewayMatrixDiscoveryResponse200ApplicationJsonUnifiedpushSerializer; @@ -594,12 +693,19 @@ abstract class UppushGatewayMatrixDiscoveryResponse200ApplicationJson factory UppushGatewayMatrixDiscoveryResponse200ApplicationJson([ final void Function(UppushGatewayMatrixDiscoveryResponse200ApplicationJsonBuilder)? b, ]) = _$UppushGatewayMatrixDiscoveryResponse200ApplicationJson; + + // coverage:ignore-start const UppushGatewayMatrixDiscoveryResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UppushGatewayMatrixDiscoveryResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UppushGatewayMatrixDiscoveryResponse200ApplicationJson_Unifiedpush get unifiedpush; static Serializer get serializer => _$uppushGatewayMatrixDiscoveryResponse200ApplicationJsonSerializer; @@ -611,17 +717,25 @@ abstract class UppushGatewayMatrixResponse200ApplicationJson factory UppushGatewayMatrixResponse200ApplicationJson([ final void Function(UppushGatewayMatrixResponse200ApplicationJsonBuilder)? b, ]) = _$UppushGatewayMatrixResponse200ApplicationJson; + + // coverage:ignore-start const UppushGatewayMatrixResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UppushGatewayMatrixResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end BuiltList get rejected; static Serializer get serializer => _$uppushGatewayMatrixResponse200ApplicationJsonSerializer; } +// coverage:ignore-start final Serializers _serializers = (Serializers().toBuilder() ..addBuilderFactory( const FullType(UppushCheckResponse200ApplicationJson), @@ -698,7 +812,6 @@ final Serializers _jsonSerializers = (_serializers.toBuilder() ..addPlugin(const ContentStringPlugin())) .build(); -// coverage:ignore-start T deserializeUppush(final Object data) => _serializers.deserialize(data, specifiedType: FullType(T))! as T; Object? serializeUppush(final T data) => _serializers.serialize(data, specifiedType: FullType(T)); diff --git a/packages/nextcloud/lib/src/api/user_status.openapi.dart b/packages/nextcloud/lib/src/api/user_status.openapi.dart index 6e732449..ec34ddb9 100644 --- a/packages/nextcloud/lib/src/api/user_status.openapi.dart +++ b/packages/nextcloud/lib/src/api/user_status.openapi.dart @@ -95,6 +95,7 @@ class UserStatusHeartbeatClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -103,8 +104,9 @@ class UserStatusHeartbeatClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['status'] = status; headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -138,6 +140,7 @@ class UserStatusPredefinedStatusClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -146,8 +149,9 @@ class UserStatusPredefinedStatusClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( 'get', @@ -182,6 +186,7 @@ class UserStatusStatusesClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -190,8 +195,9 @@ class UserStatusStatusesClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end if (limit != null) { queryParameters['limit'] = limit.toString(); } @@ -225,6 +231,7 @@ class UserStatusStatusesClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -233,8 +240,9 @@ class UserStatusStatusesClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -268,6 +276,7 @@ class UserStatusUserStatusClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -276,8 +285,9 @@ class UserStatusUserStatusClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( 'get', @@ -305,6 +315,7 @@ class UserStatusUserStatusClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -313,8 +324,9 @@ class UserStatusUserStatusClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['statusType'] = statusType; headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -344,6 +356,7 @@ class UserStatusUserStatusClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -352,8 +365,9 @@ class UserStatusUserStatusClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end queryParameters['messageId'] = messageId; if (clearAt != null) { queryParameters['clearAt'] = clearAt.toString(); @@ -387,6 +401,7 @@ class UserStatusUserStatusClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -395,8 +410,9 @@ class UserStatusUserStatusClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end if (statusIcon != null) { queryParameters['statusIcon'] = statusIcon; } @@ -432,6 +448,7 @@ class UserStatusUserStatusClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -440,8 +457,9 @@ class UserStatusUserStatusClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( 'delete', @@ -469,6 +487,7 @@ class UserStatusUserStatusClient { 'Accept': 'application/json', }; Uint8List? body; + // coverage:ignore-start if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { headers.addAll( rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, @@ -477,8 +496,9 @@ class UserStatusUserStatusClient { headers .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); } + // coverage:ignore-end path = path.replaceAll('{messageId}', Uri.encodeQueryComponent(messageId)); headers['OCS-APIRequest'] = oCSAPIRequest; final response = await rootClient.doRequest( @@ -499,12 +519,19 @@ class UserStatusUserStatusClient { abstract class UserStatusOCSMeta implements Built { factory UserStatusOCSMeta([final void Function(UserStatusOCSMetaBuilder)? b]) = _$UserStatusOCSMeta; + + // coverage:ignore-start const UserStatusOCSMeta._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusOCSMeta.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get status; int get statuscode; String? get message; @@ -515,12 +542,19 @@ abstract class UserStatusOCSMeta implements Built { factory UserStatusPublic([final void Function(UserStatusPublicBuilder)? b]) = _$UserStatusPublic; + + // coverage:ignore-start const UserStatusPublic._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusPublic.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get userId; String? get message; String? get icon; @@ -531,12 +565,19 @@ abstract class UserStatusPublic implements Built { factory UserStatusPrivate1([final void Function(UserStatusPrivate1Builder)? b]) = _$UserStatusPrivate1; + + // coverage:ignore-start const UserStatusPrivate1._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusPrivate1.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String? get messageId; bool get messageIsPredefined; bool get statusIsUserDefined; @@ -544,14 +585,19 @@ abstract class UserStatusPrivate1 implements Built { + // coverage:ignore-end + factory UserStatusPrivate([final void Function(UserStatusPrivateBuilder)? b]) = _$UserStatusPrivate; + // coverage:ignore-start const UserStatusPrivate._(); JsonObject get data; UserStatusPublic get public; UserStatusPrivate1 get private1; static UserStatusPrivate fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$UserStatusPrivateSerializer(); } @@ -595,12 +641,19 @@ abstract class UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs factory UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs([ final void Function(UserStatusHeartbeatHeartbeatResponse200ApplicationJson_OcsBuilder)? b, ]) = _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusOCSMeta get meta; UserStatusPrivate get data; static Serializer get serializer => @@ -614,12 +667,19 @@ abstract class UserStatusHeartbeatHeartbeatResponse200ApplicationJson factory UserStatusHeartbeatHeartbeatResponse200ApplicationJson([ final void Function(UserStatusHeartbeatHeartbeatResponse200ApplicationJsonBuilder)? b, ]) = _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson; + + // coverage:ignore-start const UserStatusHeartbeatHeartbeatResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusHeartbeatHeartbeatResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$userStatusHeartbeatHeartbeatResponse200ApplicationJsonSerializer; @@ -633,7 +693,9 @@ class UserStatusClearAt_Type extends EnumClass { @BuiltValueEnumConst(wireName: 'end-of') static const UserStatusClearAt_Type endOf = _$userStatusClearAtTypeEndOf; + // coverage:ignore-start static BuiltSet get values => _$userStatusClearAtTypeValues; + // coverage:ignore-end static UserStatusClearAt_Type valueOf(final String name) => _$valueOfUserStatusClearAt_Type(name); static Serializer get serializer => _$userStatusClearAtTypeSerializer; } @@ -645,20 +707,27 @@ class UserStatusClearAtTimeType extends EnumClass { static const UserStatusClearAtTimeType week = _$userStatusClearAtTimeTypeWeek; + // coverage:ignore-start static BuiltSet get values => _$userStatusClearAtTimeTypeValues; + // coverage:ignore-end static UserStatusClearAtTimeType valueOf(final String name) => _$valueOfUserStatusClearAtTimeType(name); static Serializer get serializer => _$userStatusClearAtTimeTypeSerializer; } abstract class UserStatusClearAt_Time implements Built { + // coverage:ignore-end + factory UserStatusClearAt_Time([final void Function(UserStatusClearAt_TimeBuilder)? b]) = _$UserStatusClearAt_Time; + // coverage:ignore-start const UserStatusClearAt_Time._(); JsonObject get data; int? get $int; UserStatusClearAtTimeType? get clearAtTimeType; static UserStatusClearAt_Time fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$UserStatusClearAt_TimeSerializer(); } @@ -704,12 +773,19 @@ class _$UserStatusClearAt_TimeSerializer implements PrimitiveSerializer { factory UserStatusClearAt([final void Function(UserStatusClearAtBuilder)? b]) = _$UserStatusClearAt; + + // coverage:ignore-start const UserStatusClearAt._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusClearAt.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusClearAt_Type get type; UserStatusClearAt_Time get time; static Serializer get serializer => _$userStatusClearAtSerializer; @@ -717,12 +793,19 @@ abstract class UserStatusClearAt implements Built { factory UserStatusPredefined([final void Function(UserStatusPredefinedBuilder)? b]) = _$UserStatusPredefined; + + // coverage:ignore-start const UserStatusPredefined._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusPredefined.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end String get id; String get icon; String get message; @@ -738,12 +821,19 @@ abstract class UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs factory UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs([ final void Function(UserStatusPredefinedStatusFindAllResponse200ApplicationJson_OcsBuilder)? b, ]) = _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusOCSMeta get meta; BuiltList get data; static Serializer get serializer => @@ -757,12 +847,19 @@ abstract class UserStatusPredefinedStatusFindAllResponse200ApplicationJson factory UserStatusPredefinedStatusFindAllResponse200ApplicationJson([ final void Function(UserStatusPredefinedStatusFindAllResponse200ApplicationJsonBuilder)? b, ]) = _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson; + + // coverage:ignore-start const UserStatusPredefinedStatusFindAllResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusPredefinedStatusFindAllResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$userStatusPredefinedStatusFindAllResponse200ApplicationJsonSerializer; @@ -775,12 +872,19 @@ abstract class UserStatusStatusesFindAllResponse200ApplicationJson_Ocs factory UserStatusStatusesFindAllResponse200ApplicationJson_Ocs([ final void Function(UserStatusStatusesFindAllResponse200ApplicationJson_OcsBuilder)? b, ]) = _$UserStatusStatusesFindAllResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const UserStatusStatusesFindAllResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusStatusesFindAllResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusOCSMeta get meta; BuiltList get data; static Serializer get serializer => @@ -794,12 +898,19 @@ abstract class UserStatusStatusesFindAllResponse200ApplicationJson factory UserStatusStatusesFindAllResponse200ApplicationJson([ final void Function(UserStatusStatusesFindAllResponse200ApplicationJsonBuilder)? b, ]) = _$UserStatusStatusesFindAllResponse200ApplicationJson; + + // coverage:ignore-start const UserStatusStatusesFindAllResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusStatusesFindAllResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusStatusesFindAllResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$userStatusStatusesFindAllResponse200ApplicationJsonSerializer; @@ -812,12 +923,19 @@ abstract class UserStatusStatusesFindResponse200ApplicationJson_Ocs factory UserStatusStatusesFindResponse200ApplicationJson_Ocs([ final void Function(UserStatusStatusesFindResponse200ApplicationJson_OcsBuilder)? b, ]) = _$UserStatusStatusesFindResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const UserStatusStatusesFindResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusStatusesFindResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusOCSMeta get meta; UserStatusPublic get data; static Serializer get serializer => @@ -831,12 +949,19 @@ abstract class UserStatusStatusesFindResponse200ApplicationJson factory UserStatusStatusesFindResponse200ApplicationJson([ final void Function(UserStatusStatusesFindResponse200ApplicationJsonBuilder)? b, ]) = _$UserStatusStatusesFindResponse200ApplicationJson; + + // coverage:ignore-start const UserStatusStatusesFindResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusStatusesFindResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusStatusesFindResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$userStatusStatusesFindResponse200ApplicationJsonSerializer; @@ -849,12 +974,19 @@ abstract class UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs factory UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs([ final void Function(UserStatusUserStatusGetStatusResponse200ApplicationJson_OcsBuilder)? b, ]) = _$UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusOCSMeta get meta; UserStatusPrivate get data; static Serializer get serializer => @@ -868,12 +1000,19 @@ abstract class UserStatusUserStatusGetStatusResponse200ApplicationJson factory UserStatusUserStatusGetStatusResponse200ApplicationJson([ final void Function(UserStatusUserStatusGetStatusResponse200ApplicationJsonBuilder)? b, ]) = _$UserStatusUserStatusGetStatusResponse200ApplicationJson; + + // coverage:ignore-start const UserStatusUserStatusGetStatusResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusUserStatusGetStatusResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$userStatusUserStatusGetStatusResponse200ApplicationJsonSerializer; @@ -886,12 +1025,19 @@ abstract class UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs factory UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs([ final void Function(UserStatusUserStatusSetStatusResponse200ApplicationJson_OcsBuilder)? b, ]) = _$UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusOCSMeta get meta; UserStatusPrivate get data; static Serializer get serializer => @@ -905,12 +1051,19 @@ abstract class UserStatusUserStatusSetStatusResponse200ApplicationJson factory UserStatusUserStatusSetStatusResponse200ApplicationJson([ final void Function(UserStatusUserStatusSetStatusResponse200ApplicationJsonBuilder)? b, ]) = _$UserStatusUserStatusSetStatusResponse200ApplicationJson; + + // coverage:ignore-start const UserStatusUserStatusSetStatusResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusUserStatusSetStatusResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$userStatusUserStatusSetStatusResponse200ApplicationJsonSerializer; @@ -923,14 +1076,21 @@ abstract class UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJso factory UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs([ final void Function(UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_OcsBuilder)? b, ]) = _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusOCSMeta get meta; UserStatusPrivate get data; static Serializer get serializer => @@ -944,14 +1104,21 @@ abstract class UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJso factory UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson([ final void Function(UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJsonBuilder)? b, ]) = _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson; + + // coverage:ignore-start const UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$userStatusUserStatusSetPredefinedMessageResponse200ApplicationJsonSerializer; @@ -964,14 +1131,21 @@ abstract class UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Oc factory UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs([ final void Function(UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_OcsBuilder)? b, ]) = _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusOCSMeta get meta; UserStatusPrivate get data; static Serializer get serializer => @@ -985,12 +1159,19 @@ abstract class UserStatusUserStatusSetCustomMessageResponse200ApplicationJson factory UserStatusUserStatusSetCustomMessageResponse200ApplicationJson([ final void Function(UserStatusUserStatusSetCustomMessageResponse200ApplicationJsonBuilder)? b, ]) = _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson; + + // coverage:ignore-start const UserStatusUserStatusSetCustomMessageResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusUserStatusSetCustomMessageResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$userStatusUserStatusSetCustomMessageResponse200ApplicationJsonSerializer; @@ -1003,12 +1184,19 @@ abstract class UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs factory UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs([ final void Function(UserStatusUserStatusClearMessageResponse200ApplicationJson_OcsBuilder)? b, ]) = _$UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusOCSMeta get meta; JsonObject get data; static Serializer get serializer => @@ -1022,12 +1210,19 @@ abstract class UserStatusUserStatusClearMessageResponse200ApplicationJson factory UserStatusUserStatusClearMessageResponse200ApplicationJson([ final void Function(UserStatusUserStatusClearMessageResponse200ApplicationJsonBuilder)? b, ]) = _$UserStatusUserStatusClearMessageResponse200ApplicationJson; + + // coverage:ignore-start const UserStatusUserStatusClearMessageResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusUserStatusClearMessageResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$userStatusUserStatusClearMessageResponse200ApplicationJsonSerializer; @@ -1037,9 +1232,12 @@ abstract class UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Da implements Built { + // coverage:ignore-end + factory UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data([ final void Function(UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataBuilder)? b, ]) = _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data; + // coverage:ignore-start const UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data._(); JsonObject get data; @@ -1047,7 +1245,9 @@ abstract class UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Da JsonObject? get jsonObject; static UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueSerializer(custom: true) static Serializer get serializer => _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataSerializer(); @@ -1103,12 +1303,19 @@ abstract class UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs factory UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs([ final void Function(UserStatusUserStatusRevertStatusResponse200ApplicationJson_OcsBuilder)? b, ]) = _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs; + + // coverage:ignore-start const UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusOCSMeta get meta; UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data get data; static Serializer get serializer => @@ -1122,12 +1329,19 @@ abstract class UserStatusUserStatusRevertStatusResponse200ApplicationJson factory UserStatusUserStatusRevertStatusResponse200ApplicationJson([ final void Function(UserStatusUserStatusRevertStatusResponse200ApplicationJsonBuilder)? b, ]) = _$UserStatusUserStatusRevertStatusResponse200ApplicationJson; + + // coverage:ignore-start const UserStatusUserStatusRevertStatusResponse200ApplicationJson._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusUserStatusRevertStatusResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs get ocs; static Serializer get serializer => _$userStatusUserStatusRevertStatusResponse200ApplicationJsonSerializer; @@ -1137,12 +1351,19 @@ abstract class UserStatusCapabilities_UserStatus implements Built { factory UserStatusCapabilities_UserStatus([final void Function(UserStatusCapabilities_UserStatusBuilder)? b]) = _$UserStatusCapabilities_UserStatus; + + // coverage:ignore-start const UserStatusCapabilities_UserStatus._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusCapabilities_UserStatus.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end bool get enabled; bool get restore; @BuiltValueField(wireName: 'supports_emoji') @@ -1152,17 +1373,25 @@ abstract class UserStatusCapabilities_UserStatus abstract class UserStatusCapabilities implements Built { factory UserStatusCapabilities([final void Function(UserStatusCapabilitiesBuilder)? b]) = _$UserStatusCapabilities; + + // coverage:ignore-start const UserStatusCapabilities._(); + // coverage:ignore-end + // coverage:ignore-start factory UserStatusCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + // coverage:ignore-end + // coverage:ignore-start Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + // coverage:ignore-end @BuiltValueField(wireName: 'user_status') UserStatusCapabilities_UserStatus get userStatus; static Serializer get serializer => _$userStatusCapabilitiesSerializer; } +// coverage:ignore-start final Serializers _serializers = (Serializers().toBuilder() ..addBuilderFactory( const FullType(UserStatusHeartbeatHeartbeatResponse200ApplicationJson), @@ -1303,7 +1532,6 @@ final Serializers _jsonSerializers = (_serializers.toBuilder() ..addPlugin(const ContentStringPlugin())) .build(); -// coverage:ignore-start T deserializeUserStatus(final Object data) => _serializers.deserialize(data, specifiedType: FullType(T))! as T; Object? serializeUserStatus(final T data) => _serializers.serialize(data, specifiedType: FullType(T)); diff --git a/packages/nextcloud/lib/src/client.dart b/packages/nextcloud/lib/src/client.dart index bfd3e2f6..278c47be 100644 --- a/packages/nextcloud/lib/src/client.dart +++ b/packages/nextcloud/lib/src/client.dart @@ -96,6 +96,8 @@ class NextcloudClient extends DynamiteClient { UserStatusClient get userStatus => _userStatus ??= UserStatusClient.fromClient(this); } +// coverage:ignore-start + // ignore: public_member_api_docs final serializers = Serializers.merge([ coreSerializers, @@ -118,3 +120,5 @@ T deserializeNextcloud(final Object data) => serializers.deserialize(data, sp // ignore: public_member_api_docs Object? serializeNextcloud(final T data) => serializers.serialize(data, specifiedType: FullType(T)); + +// coverage:ignore-end diff --git a/packages/nextcloud/lib/src/helpers/notifications.dart b/packages/nextcloud/lib/src/helpers/notifications.dart index 302cd171..821b68a2 100644 --- a/packages/nextcloud/lib/src/helpers/notifications.dart +++ b/packages/nextcloud/lib/src/helpers/notifications.dart @@ -1,3 +1,5 @@ +// coverage:ignore-file + import 'dart:convert'; import 'package:crypto/crypto.dart'; diff --git a/tool/coverage.sh b/tool/coverage.sh index 7744e4b4..8fa24560 100755 --- a/tool/coverage.sh +++ b/tool/coverage.sh @@ -8,7 +8,7 @@ mkdir -p /tmp/nextcloud-neon ( cd packages/nextcloud rm coverage -rf - fvm dart run coverage:test_with_coverage --function-coverage --branch-coverage -- --timeout 60s "$@" + fvm dart run coverage:test_with_coverage -- --concurrency="$(nproc --all)" "$@" lcov --remove coverage/lcov.info "$(pwd)/lib/src/**.g.dart" -o coverage/filtered.info genhtml coverage/filtered.info -o coverage/html )