| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -8,81 +8,53 @@ import 'package:built_value/built_value.dart'; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import 'package:built_value/json_object.dart'; | 
					 | 
					 | 
					 | 
					import 'package:built_value/json_object.dart'; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import 'package:built_value/serializer.dart'; | 
					 | 
					 | 
					 | 
					import 'package:built_value/serializer.dart'; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import 'package:built_value/standard_json_plugin.dart'; | 
					 | 
					 | 
					 | 
					import 'package:built_value/standard_json_plugin.dart'; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import 'package:cookie_jar/cookie_jar.dart'; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import 'package:dynamite_runtime/content_string.dart'; | 
					 | 
					 | 
					 | 
					import 'package:dynamite_runtime/content_string.dart'; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					import 'package:dynamite_runtime/http_client.dart'; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import 'package:universal_io/io.dart'; | 
					 | 
					 | 
					 | 
					import 'package:universal_io/io.dart'; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					export 'package:cookie_jar/cookie_jar.dart'; | 
					 | 
					 | 
					 | 
					export 'package:dynamite_runtime/http_client.dart'; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					part 'nextcloud.openapi.g.dart'; | 
					 | 
					 | 
					 | 
					part 'nextcloud.openapi.g.dart'; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					extension NextcloudHttpClientResponseBody on HttpClientResponse { | 
					 | 
					 | 
					 | 
					class NextcloudResponse<T, U> extends DynamiteResponse<T, U> { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<Uint8List> get bodyBytes async { | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    final chunks = await toList(); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (chunks.isEmpty) { | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return Uint8List(0); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    return Uint8List.fromList(chunks.reduce((final value, final element) => [...value, ...element])); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<String> get body async => utf8.decode(await bodyBytes); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					class NextcloudResponse<T, U> { | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  NextcloudResponse( | 
					 | 
					 | 
					 | 
					  NextcloudResponse( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    this.data, | 
					 | 
					 | 
					 | 
					    super.data, | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    this.headers, | 
					 | 
					 | 
					 | 
					    super.headers, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  ); | 
					 | 
					 | 
					 | 
					  ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  final T data; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  final U headers; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  @override | 
					 | 
					 | 
					 | 
					  @override | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  String toString() => 'NextcloudResponse(data: $data, headers: $headers)'; | 
					 | 
					 | 
					 | 
					  String toString() => 'NextcloudResponse(data: $data, headers: $headers)'; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					class RawResponse { | 
					 | 
					 | 
					 | 
					class NextcloudApiException extends DynamiteApiException { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  RawResponse( | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    this.statusCode, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    this.headers, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    this.body, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  ); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  final int statusCode; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  final Map<String, String> headers; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  final Uint8List body; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  @override | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  String toString() => 'RawResponse(statusCode: $statusCode, headers: $headers, body: ${utf8.decode(body)})'; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					class NextcloudApiException extends RawResponse implements Exception { | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  NextcloudApiException( | 
					 | 
					 | 
					 | 
					  NextcloudApiException( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    super.statusCode, | 
					 | 
					 | 
					 | 
					    super.statusCode, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    super.headers, | 
					 | 
					 | 
					 | 
					    super.headers, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    super.body, | 
					 | 
					 | 
					 | 
					    super.body, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  ); | 
					 | 
					 | 
					 | 
					  ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  factory NextcloudApiException.fromResponse(final RawResponse response) => NextcloudApiException( | 
					 | 
					 | 
					 | 
					  static Future<NextcloudApiException> fromResponse(final HttpClientResponse response) async { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        response.statusCode, | 
					 | 
					 | 
					 | 
					    final data = await response.bodyBytes; | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        response.headers, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        response.body, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      ); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  @override | 
					 | 
					 | 
					 | 
					    String body; | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  String toString() => | 
					 | 
					 | 
					 | 
					    try { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      'NextcloudApiException(statusCode: ${super.statusCode}, headers: ${super.headers}, body: ${utf8.decode(super.body)})'; | 
					 | 
					 | 
					 | 
					      body = utf8.decode(data); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					    } on FormatException { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      body = 'binary'; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					abstract class NextcloudAuthentication { | 
					 | 
					 | 
					 | 
					    return NextcloudApiException( | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  String get id; | 
					 | 
					 | 
					 | 
					      response.statusCode, | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Map<String, String> get headers; | 
					 | 
					 | 
					 | 
					      response.responseHeaders, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      body, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					  @override | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					  String toString() => 'NextcloudApiException(statusCode: $statusCode, headers: $headers, body: $body)'; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					class NextcloudHttpBasicAuthentication extends NextcloudAuthentication { | 
					 | 
					 | 
					 | 
					class NextcloudHttpBasicAuthentication extends DynamiteAuthentication { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  NextcloudHttpBasicAuthentication({ | 
					 | 
					 | 
					 | 
					  NextcloudHttpBasicAuthentication({ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    required this.username, | 
					 | 
					 | 
					 | 
					    required this.username, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    required this.password, | 
					 | 
					 | 
					 | 
					    required this.password, | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -100,63 +72,15 @@ class NextcloudHttpBasicAuthentication extends NextcloudAuthentication { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      }; | 
					 | 
					 | 
					 | 
					      }; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					class NextcloudClient { | 
					 | 
					 | 
					 | 
					class NextcloudClient extends DynamiteClient { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  NextcloudClient( | 
					 | 
					 | 
					 | 
					  NextcloudClient( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    this.baseURL, { | 
					 | 
					 | 
					 | 
					    super.baseURL, { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    final Map<String, String>? baseHeaders, | 
					 | 
					 | 
					 | 
					    super.baseHeaders, | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    final String? userAgent, | 
					 | 
					 | 
					 | 
					    super.userAgent, | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    final HttpClient? httpClient, | 
					 | 
					 | 
					 | 
					    super.httpClient, | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    this.cookieJar, | 
					 | 
					 | 
					 | 
					    super.cookieJar, | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    this.authentications = const [], | 
					 | 
					 | 
					 | 
					    super.authentications, | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  }) { | 
					 | 
					 | 
					 | 
					  }); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    this.baseHeaders = { | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      ...?baseHeaders, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    }; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    this.httpClient = (httpClient ?? HttpClient())..userAgent = userAgent; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  final String baseURL; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  late final Map<String, String> baseHeaders; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  late final HttpClient httpClient; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  final CookieJar? cookieJar; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  final List<NextcloudAuthentication> authentications; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<RawResponse> doRequest( | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    final String method, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    final String path, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    final Map<String, String> headers, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    final Uint8List? body, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  ) async { | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    final uri = Uri.parse('$baseURL$path'); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    final request = await httpClient.openUrl(method, uri); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    for (final header in {...baseHeaders, ...headers}.entries) { | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      request.headers.add(header.key, header.value); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (body != null) { | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      request.add(body.toList()); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (cookieJar != null) { | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      request.cookies.addAll(await cookieJar!.loadForRequest(uri)); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    final response = await request.close(); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (cookieJar != null) { | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      await cookieJar!.saveFromResponse(uri, response.cookies); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    final responseHeaders = <String, String>{}; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    response.headers.forEach((final name, final values) { | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      responseHeaders[name] = values.last; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    }); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    return RawResponse( | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      response.statusCode, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      responseHeaders, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      await response.bodyBytes, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  NextcloudCoreClient get core => NextcloudCoreClient(this); | 
					 | 
					 | 
					 | 
					  NextcloudCoreClient get core => NextcloudCoreClient(this); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  NextcloudNewsClient get news => NextcloudNewsClient(this); | 
					 | 
					 | 
					 | 
					  NextcloudNewsClient get news => NextcloudNewsClient(this); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -187,11 +111,11 @@ class NextcloudCoreClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudCoreServerStatus), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudCoreServerStatus), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudCoreServerStatus; | 
					 | 
					 | 
					 | 
					      )! as NextcloudCoreServerStatus; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudCoreServerCapabilities> getCapabilities() async { | 
					 | 
					 | 
					 | 
					  Future<NextcloudCoreServerCapabilities> getCapabilities() async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -214,11 +138,11 @@ class NextcloudCoreClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudCoreServerCapabilities), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudCoreServerCapabilities), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudCoreServerCapabilities; | 
					 | 
					 | 
					 | 
					      )! as NextcloudCoreServerCapabilities; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudCoreNavigationApps> getNavigationApps() async { | 
					 | 
					 | 
					 | 
					  Future<NextcloudCoreNavigationApps> getNavigationApps() async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -241,11 +165,11 @@ class NextcloudCoreClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudCoreNavigationApps), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudCoreNavigationApps), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudCoreNavigationApps; | 
					 | 
					 | 
					 | 
					      )! as NextcloudCoreNavigationApps; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudCoreLoginFlowInit> initLoginFlow() async { | 
					 | 
					 | 
					 | 
					  Future<NextcloudCoreLoginFlowInit> initLoginFlow() async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -263,11 +187,11 @@ class NextcloudCoreClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudCoreLoginFlowInit), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudCoreLoginFlowInit), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudCoreLoginFlowInit; | 
					 | 
					 | 
					 | 
					      )! as NextcloudCoreLoginFlowInit; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudCoreLoginFlowResult> getLoginFlowResult({required final String token}) async { | 
					 | 
					 | 
					 | 
					  Future<NextcloudCoreLoginFlowResult> getLoginFlowResult({required final String token}) async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -286,11 +210,11 @@ class NextcloudCoreClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudCoreLoginFlowResult), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudCoreLoginFlowResult), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudCoreLoginFlowResult; | 
					 | 
					 | 
					 | 
					      )! as NextcloudCoreLoginFlowResult; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<Uint8List> getPreview({ | 
					 | 
					 | 
					 | 
					  Future<Uint8List> getPreview({ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -337,9 +261,9 @@ class NextcloudCoreClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      body, | 
					 | 
					 | 
					 | 
					      body, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return response.body; | 
					 | 
					 | 
					 | 
					      return response.bodyBytes; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<Uint8List> getDarkAvatar({ | 
					 | 
					 | 
					 | 
					  Future<Uint8List> getDarkAvatar({ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -366,9 +290,9 @@ class NextcloudCoreClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      body, | 
					 | 
					 | 
					 | 
					      body, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return response.body; | 
					 | 
					 | 
					 | 
					      return response.bodyBytes; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<Uint8List> getAvatar({ | 
					 | 
					 | 
					 | 
					  Future<Uint8List> getAvatar({ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -395,9 +319,9 @@ class NextcloudCoreClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      body, | 
					 | 
					 | 
					 | 
					      body, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return response.body; | 
					 | 
					 | 
					 | 
					      return response.bodyBytes; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudCoreAutocompleteResult> autocomplete({ | 
					 | 
					 | 
					 | 
					  Future<NextcloudCoreAutocompleteResult> autocomplete({ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -437,11 +361,11 @@ class NextcloudCoreClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudCoreAutocompleteResult), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudCoreAutocompleteResult), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudCoreAutocompleteResult; | 
					 | 
					 | 
					 | 
					      )! as NextcloudCoreAutocompleteResult; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<JsonObject> deleteAppPassword() async { | 
					 | 
					 | 
					 | 
					  Future<JsonObject> deleteAppPassword() async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -463,9 +387,9 @@ class NextcloudCoreClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      body, | 
					 | 
					 | 
					 | 
					      body, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return JsonObject(utf8.decode(response.body)); | 
					 | 
					 | 
					 | 
					      return JsonObject(await response.body); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -494,11 +418,11 @@ class NextcloudNewsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNewsSupportedAPIVersions), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNewsSupportedAPIVersions), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudNewsSupportedAPIVersions; | 
					 | 
					 | 
					 | 
					      )! as NextcloudNewsSupportedAPIVersions; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudNewsListFolders> listFolders() async { | 
					 | 
					 | 
					 | 
					  Future<NextcloudNewsListFolders> listFolders() async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -521,11 +445,11 @@ class NextcloudNewsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNewsListFolders), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNewsListFolders), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudNewsListFolders; | 
					 | 
					 | 
					 | 
					      )! as NextcloudNewsListFolders; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudNewsListFolders> createFolder({required final String name}) async { | 
					 | 
					 | 
					 | 
					  Future<NextcloudNewsListFolders> createFolder({required final String name}) async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -549,11 +473,11 @@ class NextcloudNewsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNewsListFolders), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNewsListFolders), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudNewsListFolders; | 
					 | 
					 | 
					 | 
					      )! as NextcloudNewsListFolders; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future renameFolder({ | 
					 | 
					 | 
					 | 
					  Future renameFolder({ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -580,7 +504,7 @@ class NextcloudNewsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return; | 
					 | 
					 | 
					 | 
					      return; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future deleteFolder({required final int folderId}) async { | 
					 | 
					 | 
					 | 
					  Future deleteFolder({required final int folderId}) async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -603,7 +527,7 @@ class NextcloudNewsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return; | 
					 | 
					 | 
					 | 
					      return; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future markFolderAsRead({ | 
					 | 
					 | 
					 | 
					  Future markFolderAsRead({ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -630,7 +554,7 @@ class NextcloudNewsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return; | 
					 | 
					 | 
					 | 
					      return; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudNewsListFeeds> listFeeds() async { | 
					 | 
					 | 
					 | 
					  Future<NextcloudNewsListFeeds> listFeeds() async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -653,11 +577,11 @@ class NextcloudNewsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNewsListFeeds), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNewsListFeeds), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudNewsListFeeds; | 
					 | 
					 | 
					 | 
					      )! as NextcloudNewsListFeeds; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudNewsListFeeds> addFeed({ | 
					 | 
					 | 
					 | 
					  Future<NextcloudNewsListFeeds> addFeed({ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -687,11 +611,11 @@ class NextcloudNewsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNewsListFeeds), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNewsListFeeds), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudNewsListFeeds; | 
					 | 
					 | 
					 | 
					      )! as NextcloudNewsListFeeds; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future deleteFeed({required final int feedId}) async { | 
					 | 
					 | 
					 | 
					  Future deleteFeed({required final int feedId}) async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -714,7 +638,7 @@ class NextcloudNewsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return; | 
					 | 
					 | 
					 | 
					      return; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future moveFeed({ | 
					 | 
					 | 
					 | 
					  Future moveFeed({ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -743,7 +667,7 @@ class NextcloudNewsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return; | 
					 | 
					 | 
					 | 
					      return; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future renameFeed({ | 
					 | 
					 | 
					 | 
					  Future renameFeed({ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -770,7 +694,7 @@ class NextcloudNewsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return; | 
					 | 
					 | 
					 | 
					      return; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future markFeedAsRead({ | 
					 | 
					 | 
					 | 
					  Future markFeedAsRead({ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -797,7 +721,7 @@ class NextcloudNewsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return; | 
					 | 
					 | 
					 | 
					      return; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudNewsListArticles> listArticles({ | 
					 | 
					 | 
					 | 
					  Future<NextcloudNewsListArticles> listArticles({ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -845,11 +769,11 @@ class NextcloudNewsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNewsListArticles), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNewsListArticles), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudNewsListArticles; | 
					 | 
					 | 
					 | 
					      )! as NextcloudNewsListArticles; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudNewsListArticles> listUpdatedArticles({ | 
					 | 
					 | 
					 | 
					  Future<NextcloudNewsListArticles> listUpdatedArticles({ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -885,11 +809,11 @@ class NextcloudNewsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNewsListArticles), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNewsListArticles), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudNewsListArticles; | 
					 | 
					 | 
					 | 
					      )! as NextcloudNewsListArticles; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future markArticleAsRead({required final int itemId}) async { | 
					 | 
					 | 
					 | 
					  Future markArticleAsRead({required final int itemId}) async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -912,7 +836,7 @@ class NextcloudNewsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return; | 
					 | 
					 | 
					 | 
					      return; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future markArticleAsUnread({required final int itemId}) async { | 
					 | 
					 | 
					 | 
					  Future markArticleAsUnread({required final int itemId}) async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -935,7 +859,7 @@ class NextcloudNewsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return; | 
					 | 
					 | 
					 | 
					      return; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future starArticle({required final int itemId}) async { | 
					 | 
					 | 
					 | 
					  Future starArticle({required final int itemId}) async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -958,7 +882,7 @@ class NextcloudNewsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return; | 
					 | 
					 | 
					 | 
					      return; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future unstarArticle({required final int itemId}) async { | 
					 | 
					 | 
					 | 
					  Future unstarArticle({required final int itemId}) async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -981,7 +905,7 @@ class NextcloudNewsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return; | 
					 | 
					 | 
					 | 
					      return; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1035,11 +959,11 @@ class NextcloudNotesClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(BuiltList, [FullType(NextcloudNotesNote)]), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(BuiltList, [FullType(NextcloudNotesNote)]), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as BuiltList<NextcloudNotesNote>; | 
					 | 
					 | 
					 | 
					      )! as BuiltList<NextcloudNotesNote>; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudNotesNote> createNote({ | 
					 | 
					 | 
					 | 
					  Future<NextcloudNotesNote> createNote({ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1082,12 +1006,10 @@ class NextcloudNotesClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      body, | 
					 | 
					 | 
					 | 
					      body, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize(await response.jsonBody, specifiedType: const FullType(NextcloudNotesNote))! | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					          as NextcloudNotesNote; | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNotesNote), | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudNotesNote; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudNotesNote> getNote({ | 
					 | 
					 | 
					 | 
					  Future<NextcloudNotesNote> getNote({ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1120,12 +1042,10 @@ class NextcloudNotesClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      body, | 
					 | 
					 | 
					 | 
					      body, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize(await response.jsonBody, specifiedType: const FullType(NextcloudNotesNote))! | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					          as NextcloudNotesNote; | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNotesNote), | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudNotesNote; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudNotesNote> updateNote({ | 
					 | 
					 | 
					 | 
					  Future<NextcloudNotesNote> updateNote({ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1174,12 +1094,10 @@ class NextcloudNotesClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      body, | 
					 | 
					 | 
					 | 
					      body, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize(await response.jsonBody, specifiedType: const FullType(NextcloudNotesNote))! | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					          as NextcloudNotesNote; | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNotesNote), | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudNotesNote; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<String> deleteNote({required final int id}) async { | 
					 | 
					 | 
					 | 
					  Future<String> deleteNote({required final int id}) async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -1202,9 +1120,9 @@ class NextcloudNotesClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      body, | 
					 | 
					 | 
					 | 
					      body, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return utf8.decode(response.body); | 
					 | 
					 | 
					 | 
					      return response.body; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudNotesSettings> getSettings() async { | 
					 | 
					 | 
					 | 
					  Future<NextcloudNotesSettings> getSettings() async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -1227,11 +1145,11 @@ class NextcloudNotesClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNotesSettings), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNotesSettings), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudNotesSettings; | 
					 | 
					 | 
					 | 
					      )! as NextcloudNotesSettings; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudNotesSettings> updateSettings({required final NextcloudNotesSettings notesSettings}) async { | 
					 | 
					 | 
					 | 
					  Future<NextcloudNotesSettings> updateSettings({required final NextcloudNotesSettings notesSettings}) async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1260,11 +1178,11 @@ class NextcloudNotesClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNotesSettings), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNotesSettings), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudNotesSettings; | 
					 | 
					 | 
					 | 
					      )! as NextcloudNotesSettings; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1293,11 +1211,11 @@ class NextcloudNotificationsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNotificationsListNotifications), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNotificationsListNotifications), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudNotificationsListNotifications; | 
					 | 
					 | 
					 | 
					      )! as NextcloudNotificationsListNotifications; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<String> deleteAllNotifications() async { | 
					 | 
					 | 
					 | 
					  Future<String> deleteAllNotifications() async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -1319,9 +1237,9 @@ class NextcloudNotificationsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      body, | 
					 | 
					 | 
					 | 
					      body, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return utf8.decode(response.body); | 
					 | 
					 | 
					 | 
					      return response.body; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudNotificationsGetNotification> getNotification({required final int id}) async { | 
					 | 
					 | 
					 | 
					  Future<NextcloudNotificationsGetNotification> getNotification({required final int id}) async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -1345,11 +1263,11 @@ class NextcloudNotificationsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNotificationsGetNotification), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNotificationsGetNotification), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudNotificationsGetNotification; | 
					 | 
					 | 
					 | 
					      )! as NextcloudNotificationsGetNotification; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudEmptyOCS> deleteNotification({required final int id}) async { | 
					 | 
					 | 
					 | 
					  Future<NextcloudEmptyOCS> deleteNotification({required final int id}) async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -1372,12 +1290,10 @@ class NextcloudNotificationsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      body, | 
					 | 
					 | 
					 | 
					      body, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize(await response.jsonBody, specifiedType: const FullType(NextcloudEmptyOCS))! | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					          as NextcloudEmptyOCS; | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudEmptyOCS), | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudEmptyOCS; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudNotificationsPushServerRegistration> registerDevice({ | 
					 | 
					 | 
					 | 
					  Future<NextcloudNotificationsPushServerRegistration> registerDevice({ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1407,11 +1323,11 @@ class NextcloudNotificationsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 201) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 201) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNotificationsPushServerRegistration), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudNotificationsPushServerRegistration), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudNotificationsPushServerRegistration; | 
					 | 
					 | 
					 | 
					      )! as NextcloudNotificationsPushServerRegistration; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<String> removeDevice() async { | 
					 | 
					 | 
					 | 
					  Future<String> removeDevice() async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -1433,9 +1349,9 @@ class NextcloudNotificationsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      body, | 
					 | 
					 | 
					 | 
					      body, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 202) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 202) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return utf8.decode(response.body); | 
					 | 
					 | 
					 | 
					      return response.body; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudEmptyOCS> sendAdminNotification({ | 
					 | 
					 | 
					 | 
					  Future<NextcloudEmptyOCS> sendAdminNotification({ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1466,12 +1382,10 @@ class NextcloudNotificationsClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      body, | 
					 | 
					 | 
					 | 
					      body, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize(await response.jsonBody, specifiedType: const FullType(NextcloudEmptyOCS))! | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					          as NextcloudEmptyOCS; | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudEmptyOCS), | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudEmptyOCS; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1500,11 +1414,11 @@ class NextcloudProvisioningApiClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudProvisioningApiUser), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudProvisioningApiUser), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudProvisioningApiUser; | 
					 | 
					 | 
					 | 
					      )! as NextcloudProvisioningApiUser; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudProvisioningApiUser> getUser({required final String userId}) async { | 
					 | 
					 | 
					 | 
					  Future<NextcloudProvisioningApiUser> getUser({required final String userId}) async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -1528,11 +1442,11 @@ class NextcloudProvisioningApiClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudProvisioningApiUser), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudProvisioningApiUser), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudProvisioningApiUser; | 
					 | 
					 | 
					 | 
					      )! as NextcloudProvisioningApiUser; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1562,11 +1476,11 @@ class NextcloudUnifiedPushProviderClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderCheckResponse200ApplicationJson), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderCheckResponse200ApplicationJson), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderCheckResponse200ApplicationJson; | 
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderCheckResponse200ApplicationJson; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  /// Set keepalive interval | 
					 | 
					 | 
					 | 
					  /// Set keepalive interval | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1595,11 +1509,11 @@ class NextcloudUnifiedPushProviderClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderSetKeepaliveResponse200ApplicationJson), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderSetKeepaliveResponse200ApplicationJson), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderSetKeepaliveResponse200ApplicationJson; | 
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderSetKeepaliveResponse200ApplicationJson; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  /// Request to create a new deviceId | 
					 | 
					 | 
					 | 
					  /// Request to create a new deviceId | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1626,11 +1540,11 @@ class NextcloudUnifiedPushProviderClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderCreateDeviceResponse200ApplicationJson), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderCreateDeviceResponse200ApplicationJson), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderCreateDeviceResponse200ApplicationJson; | 
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderCreateDeviceResponse200ApplicationJson; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  /// Request to get push messages | 
					 | 
					 | 
					 | 
					  /// Request to get push messages | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1659,11 +1573,11 @@ class NextcloudUnifiedPushProviderClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 401) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 401) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderSyncDeviceResponse401ApplicationJson), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderSyncDeviceResponse401ApplicationJson), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderSyncDeviceResponse401ApplicationJson; | 
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderSyncDeviceResponse401ApplicationJson; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  /// Delete a device | 
					 | 
					 | 
					 | 
					  /// Delete a device | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1690,11 +1604,11 @@ class NextcloudUnifiedPushProviderClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderDeleteDeviceResponse200ApplicationJson), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderDeleteDeviceResponse200ApplicationJson), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderDeleteDeviceResponse200ApplicationJson; | 
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderDeleteDeviceResponse200ApplicationJson; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  /// Create an authorization token for a new 3rd party service | 
					 | 
					 | 
					 | 
					  /// Create an authorization token for a new 3rd party service | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1723,11 +1637,11 @@ class NextcloudUnifiedPushProviderClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderCreateAppResponse200ApplicationJson), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderCreateAppResponse200ApplicationJson), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderCreateAppResponse200ApplicationJson; | 
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderCreateAppResponse200ApplicationJson; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  /// Delete an authorization token | 
					 | 
					 | 
					 | 
					  /// Delete an authorization token | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1754,11 +1668,11 @@ class NextcloudUnifiedPushProviderClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderDeleteAppResponse200ApplicationJson), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderDeleteAppResponse200ApplicationJson), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderDeleteAppResponse200ApplicationJson; | 
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderDeleteAppResponse200ApplicationJson; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  /// Unifiedpush discovery Following specifications | 
					 | 
					 | 
					 | 
					  /// Unifiedpush discovery Following specifications | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1785,11 +1699,11 @@ class NextcloudUnifiedPushProviderClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderUnifiedpushDiscoveryResponse200ApplicationJson), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderUnifiedpushDiscoveryResponse200ApplicationJson), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderUnifiedpushDiscoveryResponse200ApplicationJson; | 
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderUnifiedpushDiscoveryResponse200ApplicationJson; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  /// Receive notifications from 3rd parties | 
					 | 
					 | 
					 | 
					  /// Receive notifications from 3rd parties | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -1814,11 +1728,11 @@ class NextcloudUnifiedPushProviderClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 201) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 201) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderPushResponse201ApplicationJson), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderPushResponse201ApplicationJson), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderPushResponse201ApplicationJson; | 
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderPushResponse201ApplicationJson; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  /// Matrix Gateway discovery | 
					 | 
					 | 
					 | 
					  /// Matrix Gateway discovery | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -1842,11 +1756,11 @@ class NextcloudUnifiedPushProviderClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderGatewayMatrixDiscoveryResponse200ApplicationJson), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderGatewayMatrixDiscoveryResponse200ApplicationJson), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderGatewayMatrixDiscoveryResponse200ApplicationJson; | 
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderGatewayMatrixDiscoveryResponse200ApplicationJson; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  /// Matrix Gateway | 
					 | 
					 | 
					 | 
					  /// Matrix Gateway | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -1870,11 +1784,11 @@ class NextcloudUnifiedPushProviderClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderGatewayMatrixResponse200ApplicationJson), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUnifiedPushProviderGatewayMatrixResponse200ApplicationJson), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderGatewayMatrixResponse200ApplicationJson; | 
					 | 
					 | 
					 | 
					      )! as NextcloudUnifiedPushProviderGatewayMatrixResponse200ApplicationJson; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1903,11 +1817,11 @@ class NextcloudUserStatusClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUserStatusGetPublicStatuses), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUserStatusGetPublicStatuses), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudUserStatusGetPublicStatuses; | 
					 | 
					 | 
					 | 
					      )! as NextcloudUserStatusGetPublicStatuses; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudUserStatusGetPublicStatus> getPublicStatus({required final String userId}) async { | 
					 | 
					 | 
					 | 
					  Future<NextcloudUserStatusGetPublicStatus> getPublicStatus({required final String userId}) async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -1931,11 +1845,11 @@ class NextcloudUserStatusClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUserStatusGetPublicStatus), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUserStatusGetPublicStatus), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudUserStatusGetPublicStatus; | 
					 | 
					 | 
					 | 
					      )! as NextcloudUserStatusGetPublicStatus; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudUserStatusGetStatus> getStatus() async { | 
					 | 
					 | 
					 | 
					  Future<NextcloudUserStatusGetStatus> getStatus() async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -1958,11 +1872,11 @@ class NextcloudUserStatusClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUserStatusGetStatus), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUserStatusGetStatus), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudUserStatusGetStatus; | 
					 | 
					 | 
					 | 
					      )! as NextcloudUserStatusGetStatus; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudUserStatusGetStatus> setStatus({required final NextcloudUserStatusType statusType}) async { | 
					 | 
					 | 
					 | 
					  Future<NextcloudUserStatusGetStatus> setStatus({required final NextcloudUserStatusType statusType}) async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -1986,11 +1900,11 @@ class NextcloudUserStatusClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUserStatusGetStatus), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUserStatusGetStatus), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudUserStatusGetStatus; | 
					 | 
					 | 
					 | 
					      )! as NextcloudUserStatusGetStatus; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudUserStatusGetStatus> setPredefinedMessage({ | 
					 | 
					 | 
					 | 
					  Future<NextcloudUserStatusGetStatus> setPredefinedMessage({ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -2020,11 +1934,11 @@ class NextcloudUserStatusClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUserStatusGetStatus), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUserStatusGetStatus), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudUserStatusGetStatus; | 
					 | 
					 | 
					 | 
					      )! as NextcloudUserStatusGetStatus; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudUserStatusGetStatus> setCustomMessage({ | 
					 | 
					 | 
					 | 
					  Future<NextcloudUserStatusGetStatus> setCustomMessage({ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -2060,11 +1974,11 @@ class NextcloudUserStatusClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUserStatusGetStatus), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUserStatusGetStatus), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudUserStatusGetStatus; | 
					 | 
					 | 
					 | 
					      )! as NextcloudUserStatusGetStatus; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future clearMessage() async { | 
					 | 
					 | 
					 | 
					  Future clearMessage() async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -2086,7 +2000,7 @@ class NextcloudUserStatusClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return; | 
					 | 
					 | 
					 | 
					      return; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudUserStatusPredefinedStatuses> getPredefinedStatuses() async { | 
					 | 
					 | 
					 | 
					  Future<NextcloudUserStatusPredefinedStatuses> getPredefinedStatuses() async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -2109,11 +2023,11 @@ class NextcloudUserStatusClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUserStatusPredefinedStatuses), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUserStatusPredefinedStatuses), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudUserStatusPredefinedStatuses; | 
					 | 
					 | 
					 | 
					      )! as NextcloudUserStatusPredefinedStatuses; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  Future<NextcloudUserStatusHeartbeat> heartbeat({required final NextcloudUserStatusType status}) async { | 
					 | 
					 | 
					 | 
					  Future<NextcloudUserStatusHeartbeat> heartbeat({required final NextcloudUserStatusType status}) async { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -2137,11 +2051,11 @@ class NextcloudUserStatusClient { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					    ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
					 | 
					 | 
					 | 
					    if (response.statusCode == 200) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
					 | 
					 | 
					 | 
					      return jsonSerializers.deserialize( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        json.decode(utf8.decode(response.body)), | 
					 | 
					 | 
					 | 
					        await response.jsonBody, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUserStatusHeartbeat), | 
					 | 
					 | 
					 | 
					        specifiedType: const FullType(NextcloudUserStatusHeartbeat), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )! as NextcloudUserStatusHeartbeat; | 
					 | 
					 | 
					 | 
					      )! as NextcloudUserStatusHeartbeat; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    throw NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
					 | 
					 | 
					 | 
					    throw await NextcloudApiException.fromResponse(response); // coverage:ignore-line | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  } | 
					 | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |