diff --git a/packages/nextcloud/lib/nextcloud.dart b/packages/nextcloud/lib/nextcloud.dart index 73d63e5d..56e91d55 100644 --- a/packages/nextcloud/lib/nextcloud.dart +++ b/packages/nextcloud/lib/nextcloud.dart @@ -9,7 +9,9 @@ export 'src/api/uppush.openapi.dart'; export 'src/api/user_status.openapi.dart'; export 'src/app_type.dart'; export 'src/client.dart'; -export 'src/helpers.dart'; +export 'src/helpers/core.dart'; +export 'src/helpers/news.dart'; +export 'src/helpers/notifications.dart'; export 'src/version_supported.dart'; export 'src/webdav/client.dart'; export 'src/webdav/file.dart'; diff --git a/packages/nextcloud/lib/src/api/core.openapi.dart b/packages/nextcloud/lib/src/api/core.openapi.dart index 66a74aa0..07f056c2 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.dart +++ b/packages/nextcloud/lib/src/api/core.openapi.dart @@ -73,7 +73,25 @@ class CoreClient extends DynamiteClient { authentications: client.authentications, ); - Future getStatus() async { + CoreAppPasswordClient get appPassword => CoreAppPasswordClient(this); + CoreAutoCompleteClient get autoComplete => CoreAutoCompleteClient(this); + CoreAvatarClient get avatar => CoreAvatarClient(this); + CoreClientFlowLoginV2Client get clientFlowLoginV2 => CoreClientFlowLoginV2Client(this); + CoreCollaborationResourcesClient get collaborationResources => CoreCollaborationResourcesClient(this); + CoreGuestAvatarClient get guestAvatar => CoreGuestAvatarClient(this); + CoreHoverCardClient get hoverCard => CoreHoverCardClient(this); + CoreNavigationClient get navigation => CoreNavigationClient(this); + CoreOcsClient get ocs => CoreOcsClient(this); + CorePreviewClient get preview => CorePreviewClient(this); + CoreProfileApiClient get profileApi => CoreProfileApiClient(this); + CoreReferenceClient get reference => CoreReferenceClient(this); + CoreReferenceApiClient get referenceApi => CoreReferenceApiClient(this); + CoreTextProcessingApiClient get textProcessingApi => CoreTextProcessingApiClient(this); + CoreTranslationApiClient get translationApi => CoreTranslationApiClient(this); + CoreUnifiedSearchClient get unifiedSearch => CoreUnifiedSearchClient(this); + CoreWhatsNewClient get whatsNew => CoreWhatsNewClient(this); + CoreWipeClient get wipe => CoreWipeClient(this); + Future getStatus() async { const path = '/status.php'; final queryParameters = {}; final headers = { @@ -87,25 +105,40 @@ class CoreClient extends DynamiteClient { body, ); if (response.statusCode == 200) { - return _jsonSerializers.deserialize(await response.jsonBody, specifiedType: const FullType(CoreServerStatus))! - as CoreServerStatus; + return _jsonSerializers.deserialize(await response.jsonBody, specifiedType: const FullType(CoreStatus))! + as CoreStatus; } throw await CoreApiException.fromResponse(response); // coverage:ignore-line } +} - Future getCapabilities() async { - const path = '/ocs/v2.php/cloud/capabilities'; +class CoreAppPasswordClient { + CoreAppPasswordClient(this.rootClient); + + final CoreClient rootClient; + + /// Create app password + Future getAppPassword({ + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/core/getapppassword'; final queryParameters = {}; final headers = { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line } - final response = await doRequest( + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), headers, @@ -114,215 +147,368 @@ class CoreClient extends DynamiteClient { if (response.statusCode == 200) { return _jsonSerializers.deserialize( await response.jsonBody, - specifiedType: const FullType(CoreServerCapabilities), - )! as CoreServerCapabilities; + specifiedType: const FullType(CoreAppPasswordGetAppPasswordResponse200ApplicationJson), + )! as CoreAppPasswordGetAppPasswordResponse200ApplicationJson; } throw await CoreApiException.fromResponse(response); // coverage:ignore-line } - Future getNavigationApps() async { - const path = '/ocs/v2.php/core/navigation/apps'; + /// Rotate app password + Future rotateAppPassword({ + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/core/apppassword/rotate'; final queryParameters = {}; final headers = { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line - } - final response = await doRequest( - 'get', - Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), - headers, - body, - ); - if (response.statusCode == 200) { - return _jsonSerializers.deserialize(await response.jsonBody, specifiedType: const FullType(CoreNavigationApps))! - as CoreNavigationApps; + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line } - throw await CoreApiException.fromResponse(response); // coverage:ignore-line - } - - Future initLoginFlow() async { - const path = '/index.php/login/v2'; - final queryParameters = {}; - final headers = { - 'Accept': 'application/json', - }; - Uint8List? body; - final response = await doRequest( + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( 'post', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), headers, body, ); if (response.statusCode == 200) { - return _jsonSerializers.deserialize(await response.jsonBody, specifiedType: const FullType(CoreLoginFlowInit))! - as CoreLoginFlowInit; + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson), + )! as CoreAppPasswordRotateAppPasswordResponse200ApplicationJson; } throw await CoreApiException.fromResponse(response); // coverage:ignore-line } - Future getLoginFlowResult({required final String token}) async { - const path = '/index.php/login/v2/poll'; + /// Delete app password + Future deleteAppPassword({ + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/core/apppassword'; final queryParameters = {}; final headers = { 'Accept': 'application/json', }; Uint8List? body; - queryParameters['token'] = token; - final response = await doRequest( - 'post', + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'delete', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), headers, body, ); if (response.statusCode == 200) { - return _jsonSerializers.deserialize(await response.jsonBody, specifiedType: const FullType(CoreLoginFlowResult))! - as CoreLoginFlowResult; + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson), + )! as CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson; } throw await CoreApiException.fromResponse(response); // coverage:ignore-line } +} - Future getPreview({ - final String file = '', - final int x = 32, - final int y = 32, - final int a = 0, - final int forceIcon = 1, - final String mode = 'fill', +class CoreAutoCompleteClient { + CoreAutoCompleteClient(this.rootClient); + + final CoreClient rootClient; + + /// Autocomplete a query + Future $get({ + required final String search, + final String? itemType, + final String? itemId, + final String? sorter, + final List? shareTypes, + final int limit = 10, + final String oCSAPIRequest = 'true', }) async { - const path = '/index.php/core/preview.png'; + const path = '/ocs/v2.php/core/autocomplete/get'; final queryParameters = {}; final headers = { - 'Accept': 'image/png', + 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line - } - if (file != '') { - queryParameters['file'] = file; + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line } - if (x != 32) { - queryParameters['x'] = x.toString(); + queryParameters['search'] = search; + if (itemType != null) { + queryParameters['itemType'] = itemType; } - if (y != 32) { - queryParameters['y'] = y.toString(); + if (itemId != null) { + queryParameters['itemId'] = itemId; } - if (a != 0) { - queryParameters['a'] = a.toString(); + if (sorter != null) { + queryParameters['sorter'] = sorter; } - if (forceIcon != 1) { - queryParameters['forceIcon'] = forceIcon.toString(); + if (shareTypes != null) { + queryParameters['shareTypes[]'] = shareTypes.map((final e) => e.toString()); } - if (mode != 'fill') { - queryParameters['mode'] = mode; + if (limit != 10) { + queryParameters['limit'] = limit.toString(); } - final response = await doRequest( + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), headers, body, ); if (response.statusCode == 200) { - return response.bodyBytes; + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreAutoCompleteGetResponse200ApplicationJson), + )! as CoreAutoCompleteGetResponse200ApplicationJson; } throw await CoreApiException.fromResponse(response); // coverage:ignore-line } +} + +/// Class AvatarController +class CoreAvatarClient { + CoreAvatarClient(this.rootClient); + + final CoreClient rootClient; - Future getDarkAvatar({ + /// Get the dark avatar + Future> getAvatarDark({ required final String userId, required final int size, }) async { var path = '/index.php/avatar/{userId}/{size}/dark'; final queryParameters = {}; final headers = { - 'Accept': 'image/png', + 'Accept': '*/*', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); - } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); path = path.replaceAll('{size}', Uri.encodeQueryComponent(size.toString())); - final response = await doRequest( + final response = await rootClient.doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), headers, body, ); if (response.statusCode == 200) { - return response.bodyBytes; + return CoreResponse( + await response.bodyBytes, + _jsonSerializers.deserialize( + response.responseHeaders, + specifiedType: const FullType(CoreAvatarAvatarGetAvatarDarkHeaders), + )! as CoreAvatarAvatarGetAvatarDarkHeaders, + ); } throw await CoreApiException.fromResponse(response); // coverage:ignore-line } - Future getAvatar({ + /// Get the avatar + Future> getAvatar({ required final String userId, required final int size, }) async { var path = '/index.php/avatar/{userId}/{size}'; final queryParameters = {}; final headers = { - 'Accept': 'image/png', + 'Accept': '*/*', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); - } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); path = path.replaceAll('{size}', Uri.encodeQueryComponent(size.toString())); - final response = await doRequest( + final response = await rootClient.doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), headers, body, ); if (response.statusCode == 200) { - return response.bodyBytes; + return CoreResponse( + await response.bodyBytes, + _jsonSerializers.deserialize( + response.responseHeaders, + specifiedType: const FullType(CoreAvatarAvatarGetAvatarHeaders), + )! as CoreAvatarAvatarGetAvatarHeaders, + ); + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } +} + +class CoreClientFlowLoginV2Client { + CoreClientFlowLoginV2Client(this.rootClient); + + final CoreClient rootClient; + + /// Poll the login flow credentials + Future poll({required final String token}) async { + const path = '/index.php/login/v2/poll'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + queryParameters['token'] = token; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreLoginFlowV2Credentials), + )! as CoreLoginFlowV2Credentials; } throw await CoreApiException.fromResponse(response); // coverage:ignore-line } - Future autocomplete({ - required final String search, - required final String itemType, - required final String itemId, - required final List shareTypes, - final String? sorter, - final int limit = 10, + /// Init a login flow + Future init() async { + const path = '/index.php/login/v2'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize(await response.jsonBody, specifiedType: const FullType(CoreLoginFlowV2))! + as CoreLoginFlowV2; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } +} + +class CoreCollaborationResourcesClient { + CoreCollaborationResourcesClient(this.rootClient); + + final CoreClient rootClient; + + /// Search for collections + Future searchCollections({ + required final String filter, + final String oCSAPIRequest = 'true', }) async { - const path = '/ocs/v2.php/core/autocomplete/get'; + var path = '/ocs/v2.php/collaboration/resources/collections/search/{filter}'; final queryParameters = {}; final headers = { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line } - queryParameters['search'] = search; - queryParameters['itemType'] = itemType; - queryParameters['itemId'] = itemId; - queryParameters['shareTypes[]'] = shareTypes.map((final e) => e.toString()); - if (sorter != null) { - queryParameters['sorter'] = sorter; + path = path.replaceAll('{filter}', Uri.encodeQueryComponent(filter)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson), + )! as CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson; } - if (limit != 10) { - queryParameters['limit'] = limit.toString(); + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get a collection + Future listCollection({ + required final int collectionId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/collaboration/resources/collections/{collectionId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line } - final response = await doRequest( + path = path.replaceAll('{collectionId}', Uri.encodeQueryComponent(collectionId.toString())); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), headers, @@ -331,54 +517,81 @@ class CoreClient extends DynamiteClient { if (response.statusCode == 200) { return _jsonSerializers.deserialize( await response.jsonBody, - specifiedType: const FullType(CoreAutocompleteResult), - )! as CoreAutocompleteResult; + specifiedType: const FullType(CoreCollaborationResourcesListCollectionResponse200ApplicationJson), + )! as CoreCollaborationResourcesListCollectionResponse200ApplicationJson; } throw await CoreApiException.fromResponse(response); // coverage:ignore-line } - Future deleteAppPassword() async { - const path = '/ocs/v2.php/core/apppassword'; + /// Rename a collection + Future renameCollection({ + required final String collectionName, + required final int collectionId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/collaboration/resources/collections/{collectionId}'; final queryParameters = {}; final headers = { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line } - final response = await doRequest( - 'delete', + queryParameters['collectionName'] = collectionName; + path = path.replaceAll('{collectionId}', Uri.encodeQueryComponent(collectionId.toString())); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'put', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), headers, body, ); if (response.statusCode == 200) { - return JsonObject(await response.body); + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson), + )! as CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson; } throw await CoreApiException.fromResponse(response); // coverage:ignore-line } - /// Get the providers for unified search - Future unifiedSearchProviders({final String from = ''}) async { - const path = '/ocs/v2.php/search/providers'; + /// Add a resource to a collection + Future addResource({ + required final String resourceType, + required final String resourceId, + required final int collectionId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/collaboration/resources/collections/{collectionId}'; final queryParameters = {}; final headers = { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line - } - if (from != '') { - queryParameters['from'] = from; + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line } - final response = await doRequest( - 'get', + queryParameters['resourceType'] = resourceType; + queryParameters['resourceId'] = resourceId; + path = path.replaceAll('{collectionId}', Uri.encodeQueryComponent(collectionId.toString())); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), headers, body, @@ -386,53 +599,123 @@ class CoreClient extends DynamiteClient { if (response.statusCode == 200) { return _jsonSerializers.deserialize( await response.jsonBody, - specifiedType: const FullType(CoreUnifiedSearchProvidersResponse200ApplicationJson), - )! as CoreUnifiedSearchProvidersResponse200ApplicationJson; + specifiedType: const FullType(CoreCollaborationResourcesAddResourceResponse200ApplicationJson), + )! as CoreCollaborationResourcesAddResourceResponse200ApplicationJson; } throw await CoreApiException.fromResponse(response); // coverage:ignore-line } - /// Search - Future unifiedSearch({ - required final String providerId, - final String term = '', - final int? sortOrder, - final int? limit, - final ContentString? cursor, - final String from = '', + /// Remove a resource from a collection + Future removeResource({ + required final String resourceType, + required final String resourceId, + required final int collectionId, + final String oCSAPIRequest = 'true', }) async { - var path = '/ocs/v2.php/search/providers/{providerId}/search'; + var path = '/ocs/v2.php/collaboration/resources/collections/{collectionId}'; final queryParameters = {}; final headers = { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line } - path = path.replaceAll('{providerId}', Uri.encodeQueryComponent(providerId)); - if (term != '') { - queryParameters['term'] = term; + queryParameters['resourceType'] = resourceType; + queryParameters['resourceId'] = resourceId; + path = path.replaceAll('{collectionId}', Uri.encodeQueryComponent(collectionId.toString())); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'delete', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson), + )! as CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson; } - if (sortOrder != null) { - queryParameters['sortOrder'] = sortOrder.toString(); + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get collections by resource + Future getCollectionsByResource({ + required final String resourceType, + required final String resourceId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/collaboration/resources/{resourceType}/{resourceId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line } - if (limit != null) { - queryParameters['limit'] = limit.toString(); + path = path.replaceAll('{resourceType}', Uri.encodeQueryComponent(resourceType)); + path = path.replaceAll('{resourceId}', Uri.encodeQueryComponent(resourceId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson), + )! as CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson; } - if (cursor != null) { - queryParameters['cursor'] = _jsonSerializers.serialize( - cursor, - specifiedType: const FullType(ContentString, [FullType(CoreUnifiedSearchCursor)]), + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } + + /// Create a collection for a resource + Future createCollectionOnResource({ + required final String name, + required final String baseResourceType, + required final String baseResourceId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/collaboration/resources/{baseResourceType}/{baseResourceId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line } - if (from != '') { - queryParameters['from'] = from; - } - final response = await doRequest( - 'get', + queryParameters['name'] = name; + path = path.replaceAll('{baseResourceType}', Uri.encodeQueryComponent(baseResourceType)); + path = path.replaceAll('{baseResourceId}', Uri.encodeQueryComponent(baseResourceId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), headers, body, @@ -440,1360 +723,3092 @@ class CoreClient extends DynamiteClient { if (response.statusCode == 200) { return _jsonSerializers.deserialize( await response.jsonBody, - specifiedType: const FullType(CoreUnifiedSearchResponse200ApplicationJson), - )! as CoreUnifiedSearchResponse200ApplicationJson; + specifiedType: const FullType(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson), + )! as CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson; } throw await CoreApiException.fromResponse(response); // coverage:ignore-line } } -abstract class CoreServerStatus implements Built { - factory CoreServerStatus([final void Function(CoreServerStatusBuilder)? b]) = _$CoreServerStatus; - const CoreServerStatus._(); +/// This controller handles guest avatar requests. +class CoreGuestAvatarClient { + CoreGuestAvatarClient(this.rootClient); - factory CoreServerStatus.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + final CoreClient rootClient; - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool get installed; - bool get maintenance; - bool get needsDbUpgrade; - String get version; - String get versionstring; + /// Returns a dark guest avatar image response + Future getAvatarDark({ + required final String guestName, + required final String size, + }) async { + var path = '/index.php/avatar/guest/{guestName}/{size}/dark'; + final queryParameters = {}; + final headers = { + 'Accept': '*/*', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + path = path.replaceAll('{guestName}', Uri.encodeQueryComponent(guestName)); + path = path.replaceAll('{size}', Uri.encodeQueryComponent(size)); + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return response.bodyBytes; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } + + /// Returns a guest avatar image response + Future getAvatar({ + required final String guestName, + required final String size, + final int? darkTheme = 0, + }) async { + var path = '/index.php/avatar/guest/{guestName}/{size}'; + final queryParameters = {}; + final headers = { + 'Accept': '*/*', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + path = path.replaceAll('{guestName}', Uri.encodeQueryComponent(guestName)); + path = path.replaceAll('{size}', Uri.encodeQueryComponent(size)); + if (darkTheme != null) { + if (darkTheme != 0) { + queryParameters['darkTheme'] = darkTheme.toString(); + } + } + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return response.bodyBytes; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } +} + +class CoreHoverCardClient { + CoreHoverCardClient(this.rootClient); + + final CoreClient rootClient; + + /// Get the user details for a hovercard + Future getUser({ + required final String userId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/hovercard/v1/{userId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreHoverCardGetUserResponse200ApplicationJson), + )! as CoreHoverCardGetUserResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } +} + +class CoreNavigationClient { + CoreNavigationClient(this.rootClient); + + final CoreClient rootClient; + + /// Get the apps navigation + Future getAppsNavigation({ + final int absolute = 0, + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/core/navigation/apps'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + if (absolute != 0) { + queryParameters['absolute'] = absolute.toString(); + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreNavigationGetAppsNavigationResponse200ApplicationJson), + )! as CoreNavigationGetAppsNavigationResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get the settings navigation + Future getSettingsNavigation({ + final int absolute = 0, + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/core/navigation/settings'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + if (absolute != 0) { + queryParameters['absolute'] = absolute.toString(); + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreNavigationGetSettingsNavigationResponse200ApplicationJson), + )! as CoreNavigationGetSettingsNavigationResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } +} + +class CoreOcsClient { + CoreOcsClient(this.rootClient); + + final CoreClient rootClient; + + /// Get the capabilities + Future getCapabilities({ + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/cloud/capabilities'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson), + )! as CoreOcsGetCapabilitiesResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } +} + +class CorePreviewClient { + CorePreviewClient(this.rootClient); + + final CoreClient rootClient; + + /// Get a preview by file ID + Future getPreviewByFileId({ + final int fileId = -1, + final int x = 32, + final int y = 32, + final int a = 0, + final int forceIcon = 1, + final String mode = 'fill', + }) async { + const path = '/index.php/core/preview'; + final queryParameters = {}; + final headers = { + 'Accept': '*/*', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + if (fileId != -1) { + queryParameters['fileId'] = fileId.toString(); + } + if (x != 32) { + queryParameters['x'] = x.toString(); + } + if (y != 32) { + queryParameters['y'] = y.toString(); + } + if (a != 0) { + queryParameters['a'] = a.toString(); + } + if (forceIcon != 1) { + queryParameters['forceIcon'] = forceIcon.toString(); + } + if (mode != 'fill') { + queryParameters['mode'] = mode; + } + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return response.bodyBytes; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get a preview by file path + Future getPreview({ + final String file = '', + final int x = 32, + final int y = 32, + final int a = 0, + final int forceIcon = 1, + final String mode = 'fill', + }) async { + const path = '/index.php/core/preview.png'; + final queryParameters = {}; + final headers = { + 'Accept': '*/*', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + if (file != '') { + queryParameters['file'] = file; + } + if (x != 32) { + queryParameters['x'] = x.toString(); + } + if (y != 32) { + queryParameters['y'] = y.toString(); + } + if (a != 0) { + queryParameters['a'] = a.toString(); + } + if (forceIcon != 1) { + queryParameters['forceIcon'] = forceIcon.toString(); + } + if (mode != 'fill') { + queryParameters['mode'] = mode; + } + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return response.bodyBytes; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } +} + +class CoreProfileApiClient { + CoreProfileApiClient(this.rootClient); + + final CoreClient rootClient; + + /// Update the visiblity of a parameter + Future setVisibility({ + required final String paramId, + required final String visibility, + required final String targetUserId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/profile/{targetUserId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['paramId'] = paramId; + queryParameters['visibility'] = visibility; + path = path.replaceAll('{targetUserId}', Uri.encodeQueryComponent(targetUserId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'put', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreProfileApiSetVisibilityResponse200ApplicationJson), + )! as CoreProfileApiSetVisibilityResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } +} + +class CoreReferenceClient { + CoreReferenceClient(this.rootClient); + + final CoreClient rootClient; + + /// Get a preview for a reference + Future preview({required final String referenceId}) async { + var path = '/index.php/core/references/preview/{referenceId}'; + final queryParameters = {}; + final headers = { + 'Accept': '*/*', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + path = path.replaceAll('{referenceId}', Uri.encodeQueryComponent(referenceId)); + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return response.bodyBytes; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } +} + +class CoreReferenceApiClient { + CoreReferenceApiClient(this.rootClient); + + final CoreClient rootClient; + + /// Resolve a reference + Future resolveOne({ + required final String reference, + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/references/resolve'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['reference'] = reference; + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreReferenceApiResolveOneResponse200ApplicationJson), + )! as CoreReferenceApiResolveOneResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } + + /// Resolve multiple references + Future resolve({ + required final List references, + final int limit = 1, + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/references/resolve'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['references[]'] = references.map((final e) => e); + if (limit != 1) { + queryParameters['limit'] = limit.toString(); + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreReferenceApiResolveResponse200ApplicationJson), + )! as CoreReferenceApiResolveResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } + + /// Extract references from a text + Future extract({ + required final String text, + final int resolve = 0, + final int limit = 1, + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/references/extract'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['text'] = text; + if (resolve != 0) { + queryParameters['resolve'] = resolve.toString(); + } + if (limit != 1) { + queryParameters['limit'] = limit.toString(); + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreReferenceApiExtractResponse200ApplicationJson), + )! as CoreReferenceApiExtractResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get the providers + Future getProvidersInfo({ + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/references/providers'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson), + )! as CoreReferenceApiGetProvidersInfoResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } + + /// Touch a provider + Future touchProvider({ + required final String providerId, + final int? timestamp, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/references/provider/{providerId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{providerId}', Uri.encodeQueryComponent(providerId)); + if (timestamp != null) { + queryParameters['timestamp'] = timestamp.toString(); + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'put', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreReferenceApiTouchProviderResponse200ApplicationJson), + )! as CoreReferenceApiTouchProviderResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } +} + +class CoreTextProcessingApiClient { + CoreTextProcessingApiClient(this.rootClient); + + final CoreClient rootClient; + + /// This endpoint returns all available LanguageModel task types + Future taskTypes({ + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/textprocessing/tasktypes'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson), + )! as CoreTextProcessingApiTaskTypesResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } + + /// This endpoint allows scheduling a language model task + Future schedule({ + required final String input, + required final String type, + required final String appId, + final String identifier = '', + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/textprocessing/schedule'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + queryParameters['input'] = input; + queryParameters['type'] = type; + queryParameters['appId'] = appId; + if (identifier != '') { + queryParameters['identifier'] = identifier; + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreTextProcessingApiScheduleResponse200ApplicationJson), + )! as CoreTextProcessingApiScheduleResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } + + /// This endpoint allows checking the status and results of a task. Tasks are removed 1 week after receiving their last update. + Future getTask({ + required final int id, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/textprocessing/task/{id}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreTextProcessingApiGetTaskResponse200ApplicationJson), + )! as CoreTextProcessingApiGetTaskResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } +} + +class CoreTranslationApiClient { + CoreTranslationApiClient(this.rootClient); + + final CoreClient rootClient; + + /// Get the list of supported languages + Future languages({final String oCSAPIRequest = 'true'}) async { + const path = '/ocs/v2.php/translation/languages'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson), + )! as CoreTranslationApiLanguagesResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } + + /// Translate a text + Future translate({ + required final String text, + required final String toLanguage, + final String? fromLanguage, + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/translation/translate'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + queryParameters['text'] = text; + queryParameters['toLanguage'] = toLanguage; + if (fromLanguage != null) { + queryParameters['fromLanguage'] = fromLanguage; + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson), + )! as CoreTranslationApiTranslateResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } +} + +class CoreUnifiedSearchClient { + CoreUnifiedSearchClient(this.rootClient); + + final CoreClient rootClient; + + /// Get the providers for unified search + Future getProviders({ + final String from = '', + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/search/providers'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + if (from != '') { + queryParameters['from'] = from; + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreUnifiedSearchGetProvidersResponse200ApplicationJson), + )! as CoreUnifiedSearchGetProvidersResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } + + /// Search + Future search({ + required final String providerId, + final String term = '', + final int? sortOrder, + final int? limit, + final ContentString? cursor, + final String from = '', + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/search/providers/{providerId}/search'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{providerId}', Uri.encodeQueryComponent(providerId)); + if (term != '') { + queryParameters['term'] = term; + } + if (sortOrder != null) { + queryParameters['sortOrder'] = sortOrder.toString(); + } + if (limit != null) { + queryParameters['limit'] = limit.toString(); + } + if (cursor != null) { + queryParameters['cursor'] = _jsonSerializers.serialize( + cursor, + specifiedType: const FullType(ContentString, [FullType(CoreUnifiedSearchSearchCursor)]), + ); + } + if (from != '') { + queryParameters['from'] = from; + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreUnifiedSearchSearchResponse200ApplicationJson), + )! as CoreUnifiedSearchSearchResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } +} + +class CoreWhatsNewClient { + CoreWhatsNewClient(this.rootClient); + + final CoreClient rootClient; + + /// Get the changes + Future $get({final String oCSAPIRequest = 'true'}) async { + const path = '/ocs/v2.php/core/whatsnew'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson), + )! as CoreWhatsNewGetResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } + + /// Dismiss the changes + Future dismiss({ + required final String version, + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/core/whatsnew'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['version'] = version; + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreWhatsNewDismissResponse200ApplicationJson), + )! as CoreWhatsNewDismissResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } +} + +class CoreWipeClient { + CoreWipeClient(this.rootClient); + + final CoreClient rootClient; + + /// Check if the device should be wiped + Future checkWipe({required final String token}) async { + const path = '/index.php/core/wipe/check'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + queryParameters['token'] = token; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(CoreWipeCheckWipeResponse200ApplicationJson), + )! as CoreWipeCheckWipeResponse200ApplicationJson; + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } + + /// Finish the wipe + Future wipeDone({required final String token}) async { + const path = '/index.php/core/wipe/success'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + queryParameters['token'] = token; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return JsonObject(await response.body); + } + throw await CoreApiException.fromResponse(response); // coverage:ignore-line + } +} + +abstract class CoreStatus implements Built { + factory CoreStatus([final void Function(CoreStatusBuilder)? b]) = _$CoreStatus; + const CoreStatus._(); + + factory CoreStatus.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get installed; + bool get maintenance; + bool get needsDbUpgrade; + String get version; + String get versionstring; String get edition; String get productname; bool get extendedSupport; - static Serializer get serializer => _$coreServerStatusSerializer; + static Serializer get serializer => _$coreStatusSerializer; +} + +abstract class CoreOCSMeta implements Built { + factory CoreOCSMeta([final void Function(CoreOCSMetaBuilder)? b]) = _$CoreOCSMeta; + const CoreOCSMeta._(); + + factory CoreOCSMeta.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get status; + int get statuscode; + String? get message; + String? get totalitems; + String? get itemsperpage; + static Serializer get serializer => _$coreOCSMetaSerializer; +} + +abstract class CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data + implements + Built { + factory CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data([ + final void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data; + const CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data._(); + + factory CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get apppassword; + static Serializer get serializer => + _$coreAppPasswordGetAppPasswordResponse200ApplicationJsonOcsDataSerializer; +} + +abstract class CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs + implements + Built { + factory CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs([ + final void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs; + const CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs._(); + + factory CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreOCSMeta get meta; + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$coreAppPasswordGetAppPasswordResponse200ApplicationJsonOcsSerializer; +} + +abstract class CoreAppPasswordGetAppPasswordResponse200ApplicationJson + implements + Built { + factory CoreAppPasswordGetAppPasswordResponse200ApplicationJson([ + final void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson; + const CoreAppPasswordGetAppPasswordResponse200ApplicationJson._(); + + factory CoreAppPasswordGetAppPasswordResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreAppPasswordGetAppPasswordResponse200ApplicationJsonSerializer; +} + +abstract class CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data + implements + Built { + factory CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data([ + final void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data; + const CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data._(); + + factory CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get apppassword; + static Serializer get serializer => + _$coreAppPasswordRotateAppPasswordResponse200ApplicationJsonOcsDataSerializer; } -abstract class CoreOCSMeta implements Built { - factory CoreOCSMeta([final void Function(CoreOCSMetaBuilder)? b]) = _$CoreOCSMeta; - const CoreOCSMeta._(); +abstract class CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs + implements + Built { + factory CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs([ + final void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs; + const CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs._(); + + factory CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; - factory CoreOCSMeta.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreOCSMeta get meta; + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$coreAppPasswordRotateAppPasswordResponse200ApplicationJsonOcsSerializer; +} + +abstract class CoreAppPasswordRotateAppPasswordResponse200ApplicationJson + implements + Built { + factory CoreAppPasswordRotateAppPasswordResponse200ApplicationJson([ + final void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson; + const CoreAppPasswordRotateAppPasswordResponse200ApplicationJson._(); + + factory CoreAppPasswordRotateAppPasswordResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreAppPasswordRotateAppPasswordResponse200ApplicationJsonSerializer; +} + +abstract class CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs + implements + Built { + factory CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs([ + final void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs; + const CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs._(); + + factory CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$coreAppPasswordDeleteAppPasswordResponse200ApplicationJsonOcsSerializer; +} + +abstract class CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson + implements + Built { + factory CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson([ + final void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson; + const CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson._(); + + factory CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreAppPasswordDeleteAppPasswordResponse200ApplicationJsonSerializer; +} + +abstract class CoreAutocompleteResult implements Built { + factory CoreAutocompleteResult([final void Function(CoreAutocompleteResultBuilder)? b]) = _$CoreAutocompleteResult; + const CoreAutocompleteResult._(); + + factory CoreAutocompleteResult.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get id; + String get label; + String get icon; + String get source; String get status; - int get statuscode; - String? get message; - String? get totalitems; - String? get itemsperpage; - static Serializer get serializer => _$coreOCSMetaSerializer; + String get subline; + String get shareWithDisplayNameUnique; + static Serializer get serializer => _$coreAutocompleteResultSerializer; +} + +abstract class CoreAutoCompleteGetResponse200ApplicationJson_Ocs + implements + Built { + factory CoreAutoCompleteGetResponse200ApplicationJson_Ocs([ + final void Function(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs; + const CoreAutoCompleteGetResponse200ApplicationJson_Ocs._(); + + factory CoreAutoCompleteGetResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreOCSMeta get meta; + BuiltList get data; + static Serializer get serializer => + _$coreAutoCompleteGetResponse200ApplicationJsonOcsSerializer; +} + +abstract class CoreAutoCompleteGetResponse200ApplicationJson + implements + Built { + factory CoreAutoCompleteGetResponse200ApplicationJson([ + final void Function(CoreAutoCompleteGetResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreAutoCompleteGetResponse200ApplicationJson; + const CoreAutoCompleteGetResponse200ApplicationJson._(); + + factory CoreAutoCompleteGetResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreAutoCompleteGetResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreAutoCompleteGetResponse200ApplicationJsonSerializer; +} + +abstract class CoreAvatarAvatarGetAvatarDarkHeaders + implements Built { + factory CoreAvatarAvatarGetAvatarDarkHeaders([final void Function(CoreAvatarAvatarGetAvatarDarkHeadersBuilder)? b]) = + _$CoreAvatarAvatarGetAvatarDarkHeaders; + const CoreAvatarAvatarGetAvatarDarkHeaders._(); + + factory CoreAvatarAvatarGetAvatarDarkHeaders.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueField(wireName: 'x-nc-iscustomavatar') + int? get xNcIscustomavatar; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + _$CoreAvatarAvatarGetAvatarDarkHeadersSerializer(); +} + +class _$CoreAvatarAvatarGetAvatarDarkHeadersSerializer + implements StructuredSerializer { + @override + final Iterable types = const [CoreAvatarAvatarGetAvatarDarkHeaders, _$CoreAvatarAvatarGetAvatarDarkHeaders]; + + @override + final String wireName = 'CoreAvatarAvatarGetAvatarDarkHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final CoreAvatarAvatarGetAvatarDarkHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + CoreAvatarAvatarGetAvatarDarkHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = CoreAvatarAvatarGetAvatarDarkHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'x-nc-iscustomavatar': + result.xNcIscustomavatar = int.parse(value); + break; + } + } + + return result.build(); + } +} + +abstract class CoreAvatarAvatarGetAvatarHeaders + implements Built { + factory CoreAvatarAvatarGetAvatarHeaders([final void Function(CoreAvatarAvatarGetAvatarHeadersBuilder)? b]) = + _$CoreAvatarAvatarGetAvatarHeaders; + const CoreAvatarAvatarGetAvatarHeaders._(); + + factory CoreAvatarAvatarGetAvatarHeaders.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueField(wireName: 'x-nc-iscustomavatar') + int? get xNcIscustomavatar; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$CoreAvatarAvatarGetAvatarHeadersSerializer(); +} + +class _$CoreAvatarAvatarGetAvatarHeadersSerializer implements StructuredSerializer { + @override + final Iterable types = const [CoreAvatarAvatarGetAvatarHeaders, _$CoreAvatarAvatarGetAvatarHeaders]; + + @override + final String wireName = 'CoreAvatarAvatarGetAvatarHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final CoreAvatarAvatarGetAvatarHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + CoreAvatarAvatarGetAvatarHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = CoreAvatarAvatarGetAvatarHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'x-nc-iscustomavatar': + result.xNcIscustomavatar = int.parse(value); + break; + } + } + + return result.build(); + } +} + +abstract class CoreLoginFlowV2Credentials + implements Built { + factory CoreLoginFlowV2Credentials([final void Function(CoreLoginFlowV2CredentialsBuilder)? b]) = + _$CoreLoginFlowV2Credentials; + const CoreLoginFlowV2Credentials._(); + + factory CoreLoginFlowV2Credentials.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get server; + String get loginName; + String get appPassword; + static Serializer get serializer => _$coreLoginFlowV2CredentialsSerializer; +} + +abstract class CoreLoginFlowV2_Poll implements Built { + factory CoreLoginFlowV2_Poll([final void Function(CoreLoginFlowV2_PollBuilder)? b]) = _$CoreLoginFlowV2_Poll; + const CoreLoginFlowV2_Poll._(); + + factory CoreLoginFlowV2_Poll.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get token; + String get endpoint; + static Serializer get serializer => _$coreLoginFlowV2PollSerializer; +} + +abstract class CoreLoginFlowV2 implements Built { + factory CoreLoginFlowV2([final void Function(CoreLoginFlowV2Builder)? b]) = _$CoreLoginFlowV2; + const CoreLoginFlowV2._(); + + factory CoreLoginFlowV2.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreLoginFlowV2_Poll get poll; + String get login; + static Serializer get serializer => _$coreLoginFlowV2Serializer; +} + +abstract class CoreOpenGraphObject_OpenGraphObject + implements Built { + factory CoreOpenGraphObject_OpenGraphObject([final void Function(CoreOpenGraphObject_OpenGraphObjectBuilder)? b]) = + _$CoreOpenGraphObject_OpenGraphObject; + const CoreOpenGraphObject_OpenGraphObject._(); + + factory CoreOpenGraphObject_OpenGraphObject.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get id; + String get name; + String? get description; + String? get thumb; + String get link; + static Serializer get serializer => + _$coreOpenGraphObjectOpenGraphObjectSerializer; +} + +abstract class CoreOpenGraphObject implements Built { + factory CoreOpenGraphObject([final void Function(CoreOpenGraphObjectBuilder)? b]) = _$CoreOpenGraphObject; + const CoreOpenGraphObject._(); + + factory CoreOpenGraphObject.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get richObjectType; + BuiltMap get richObject; + CoreOpenGraphObject_OpenGraphObject get openGraphObject; + bool get accessible; + static Serializer get serializer => _$coreOpenGraphObjectSerializer; +} + +abstract class CoreCollection implements Built { + factory CoreCollection([final void Function(CoreCollectionBuilder)? b]) = _$CoreCollection; + const CoreCollection._(); + + factory CoreCollection.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + int get id; + String get name; + BuiltList get resources; + static Serializer get serializer => _$coreCollectionSerializer; +} + +abstract class CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs + implements + Built { + factory CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs([ + final void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs; + const CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs._(); + + factory CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreOCSMeta get meta; + BuiltList get data; + static Serializer get serializer => + _$coreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonOcsSerializer; +} + +abstract class CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson + implements + Built { + factory CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson([ + final void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson; + const CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson._(); + + factory CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonSerializer; +} + +abstract class CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs + implements + Built { + factory CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs([ + final void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs; + const CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs._(); + + factory CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreOCSMeta get meta; + CoreCollection get data; + static Serializer get serializer => + _$coreCollaborationResourcesListCollectionResponse200ApplicationJsonOcsSerializer; +} + +abstract class CoreCollaborationResourcesListCollectionResponse200ApplicationJson + implements + Built { + factory CoreCollaborationResourcesListCollectionResponse200ApplicationJson([ + final void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson; + const CoreCollaborationResourcesListCollectionResponse200ApplicationJson._(); + + factory CoreCollaborationResourcesListCollectionResponse200ApplicationJson.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreCollaborationResourcesListCollectionResponse200ApplicationJsonSerializer; +} + +abstract class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs + implements + Built { + factory CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs([ + final void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs; + const CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs._(); + + factory CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreOCSMeta get meta; + CoreCollection get data; + static Serializer get serializer => + _$coreCollaborationResourcesRenameCollectionResponse200ApplicationJsonOcsSerializer; +} + +abstract class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson + implements + Built { + factory CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson([ + final void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson; + const CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson._(); + + factory CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreCollaborationResourcesRenameCollectionResponse200ApplicationJsonSerializer; +} + +abstract class CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs + implements + Built { + factory CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs([ + final void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs; + const CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs._(); + + factory CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreOCSMeta get meta; + CoreCollection get data; + static Serializer get serializer => + _$coreCollaborationResourcesAddResourceResponse200ApplicationJsonOcsSerializer; +} + +abstract class CoreCollaborationResourcesAddResourceResponse200ApplicationJson + implements + Built { + factory CoreCollaborationResourcesAddResourceResponse200ApplicationJson([ + final void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson; + const CoreCollaborationResourcesAddResourceResponse200ApplicationJson._(); + + factory CoreCollaborationResourcesAddResourceResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreCollaborationResourcesAddResourceResponse200ApplicationJsonSerializer; +} + +abstract class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs + implements + Built { + factory CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs([ + final void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs; + const CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs._(); + + factory CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreOCSMeta get meta; + CoreCollection get data; + static Serializer get serializer => + _$coreCollaborationResourcesRemoveResourceResponse200ApplicationJsonOcsSerializer; +} + +abstract class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson + implements + Built { + factory CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson([ + final void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson; + const CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson._(); + + factory CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreCollaborationResourcesRemoveResourceResponse200ApplicationJsonSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Version - implements Built { - factory CoreServerCapabilities_Ocs_Data_Version([ - final void Function(CoreServerCapabilities_Ocs_Data_VersionBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Version; - const CoreServerCapabilities_Ocs_Data_Version._(); +abstract class CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs + implements + Built { + factory CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs([ + final void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs; + const CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs._(); + + factory CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreOCSMeta get meta; + BuiltList get data; + static Serializer get serializer => + _$coreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonOcsSerializer; +} - factory CoreServerCapabilities_Ocs_Data_Version.fromJson(final Map json) => +abstract class CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson + implements + Built { + factory CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson([ + final void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson; + const CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson._(); + + factory CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - int? get major; - int? get minor; - int? get micro; - String? get string; - String? get edition; - bool? get extendedSupport; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataVersionSerializer; + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Core +abstract class CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Core([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_CoreBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Core; - const CoreServerCapabilities_Ocs_Data_Capabilities_Core._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_Core.fromJson(final Map json) => + Built { + factory CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs([ + final void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs; + const CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs._(); + + factory CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - int? get pollinterval; - @BuiltValueField(wireName: 'webdav-root') - String? get webdavRoot; - @BuiltValueField(wireName: 'reference-api') - bool? get referenceApi; - @BuiltValueField(wireName: 'reference-regex') - String? get referenceRegex; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesCoreSerializer; + CoreOCSMeta get meta; + CoreCollection get data; + static Serializer + get serializer => _$coreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonOcsSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce +abstract class CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce; - const CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce.fromJson(final Map json) => + Built { + factory CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson([ + final void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson; + const CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson._(); + + factory CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - int? get delay; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesBruteforceSerializer; + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable - implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable; - const CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable._(); +abstract class CoreContactsAction implements Built { + factory CoreContactsAction([final void Function(CoreContactsActionBuilder)? b]) = _$CoreContactsAction; + const CoreContactsAction._(); - factory CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable.fromJson(final Map json) => + factory CoreContactsAction.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - BuiltList? get size; - BuiltList? get gps; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesMetadataAvailableSerializer; + String get title; + String get icon; + String get hyperlink; + String get appId; + static Serializer get serializer => _$coreContactsActionSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing +abstract class CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing; - const CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing.fromJson(final Map json) => + Built { + factory CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data([ + final void Function(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data; + const CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data._(); + + factory CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - String? get url; - String? get etag; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesFilesDirectEditingSerializer; + String get userId; + String get displayName; + BuiltList get actions; + static Serializer get serializer => + _$coreHoverCardGetUserResponse200ApplicationJsonOcsDataSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Files +abstract class CoreHoverCardGetUserResponse200ApplicationJson_Ocs implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Files([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Files; - const CoreServerCapabilities_Ocs_Data_Capabilities_Files._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_Files.fromJson(final Map json) => + Built { + factory CoreHoverCardGetUserResponse200ApplicationJson_Ocs([ + final void Function(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs; + const CoreHoverCardGetUserResponse200ApplicationJson_Ocs._(); + + factory CoreHoverCardGetUserResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get bigfilechunking; - @BuiltValueField(wireName: 'blacklisted_files') - BuiltList? get blacklistedFiles; - CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing? get directEditing; - bool? get comments; - bool? get undelete; - bool? get versioning; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSerializer; + CoreOCSMeta get meta; + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$coreHoverCardGetUserResponse200ApplicationJsonOcsSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Activity +abstract class CoreHoverCardGetUserResponse200ApplicationJson implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Activity([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_ActivityBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Activity; - const CoreServerCapabilities_Ocs_Data_Capabilities_Activity._(); + Built { + factory CoreHoverCardGetUserResponse200ApplicationJson([ + final void Function(CoreHoverCardGetUserResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreHoverCardGetUserResponse200ApplicationJson; + const CoreHoverCardGetUserResponse200ApplicationJson._(); - factory CoreServerCapabilities_Ocs_Data_Capabilities_Activity.fromJson(final Map json) => + factory CoreHoverCardGetUserResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - BuiltList? get apiv2; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesActivitySerializer; + CoreHoverCardGetUserResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreHoverCardGetUserResponse200ApplicationJsonSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status - implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status; - const CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; +abstract class CoreNavigationEntry_Order implements Built { + factory CoreNavigationEntry_Order([final void Function(CoreNavigationEntry_OrderBuilder)? b]) = + _$CoreNavigationEntry_Order; + const CoreNavigationEntry_Order._(); + JsonObject get data; + int? get $int; + String? get string; + static CoreNavigationEntry_Order fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get globalScale; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesCirclesStatusSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$CoreNavigationEntry_OrderSerializer(); } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings - implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings; - const CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings._(); +class _$CoreNavigationEntry_OrderSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [CoreNavigationEntry_Order, _$CoreNavigationEntry_Order]; - factory CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + @override + final String wireName = 'CoreNavigationEntry_Order'; - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get frontendEnabled; - int? get allowedCircles; - int? get allowedUserTypes; - int? get membersLimit; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesCirclesSettingsSerializer; + @override + Object serialize( + final Serializers serializers, + final CoreNavigationEntry_Order object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + CoreNavigationEntry_Order deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = CoreNavigationEntry_OrderBuilder()..data = JsonObject(data); + try { + result._$int = data as int?; + } catch (_) {} + try { + result._string = data as String?; + } catch (_) {} + assert([result._$int, result._string].where((final x) => x != null).isNotEmpty, 'Need oneOf for ${result._data}'); + return result.build(); + } } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source - implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source; - const CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source._(); +abstract class CoreNavigationEntry implements Built { + factory CoreNavigationEntry([final void Function(CoreNavigationEntryBuilder)? b]) = _$CoreNavigationEntry; + const CoreNavigationEntry._(); - factory CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source.fromJson( - final Map json, - ) => + factory CoreNavigationEntry.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - JsonObject? get core; - JsonObject? get extra; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesCirclesCircleConstantsSourceSerializer; + String get id; + CoreNavigationEntry_Order get order; + String get href; + String get icon; + String get type; + String get name; + bool get active; + String get classes; + int get unread; + static Serializer get serializer => _$coreNavigationEntrySerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants +abstract class CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants; - const CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants.fromJson( - final Map json, - ) => + Built { + factory CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs([ + final void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs; + const CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs._(); + + factory CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - JsonObject? get flags; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source? get source; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesCirclesCircleConstantsSerializer; + CoreOCSMeta get meta; + BuiltList get data; + static Serializer get serializer => + _$coreNavigationGetAppsNavigationResponse200ApplicationJsonOcsSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config +abstract class CoreNavigationGetAppsNavigationResponse200ApplicationJson implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config; - const CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config.fromJson( - final Map json, - ) => + Built { + factory CoreNavigationGetAppsNavigationResponse200ApplicationJson([ + final void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreNavigationGetAppsNavigationResponse200ApplicationJson; + const CoreNavigationGetAppsNavigationResponse200ApplicationJson._(); + + factory CoreNavigationGetAppsNavigationResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - BuiltList? get coreFlags; - BuiltList? get systemFlags; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesCirclesCircleConfigSerializer; + CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreNavigationGetAppsNavigationResponse200ApplicationJsonSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle +abstract class CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle; - const CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle.fromJson(final Map json) => + Built { + factory CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs([ + final void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs; + const CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs._(); + + factory CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants? get constants; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config? get config; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesCirclesCircleSerializer; + CoreOCSMeta get meta; + BuiltList get data; + static Serializer get serializer => + _$coreNavigationGetSettingsNavigationResponse200ApplicationJsonOcsSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants +abstract class CoreNavigationGetSettingsNavigationResponse200ApplicationJson implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants; - const CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants.fromJson( - final Map json, - ) => + Built { + factory CoreNavigationGetSettingsNavigationResponse200ApplicationJson([ + final void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson; + const CoreNavigationGetSettingsNavigationResponse200ApplicationJson._(); + + factory CoreNavigationGetSettingsNavigationResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - JsonObject? get level; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesCirclesMemberConstantsSerializer; + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreNavigationGetSettingsNavigationResponse200ApplicationJsonSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member; - const CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member.fromJson(final Map json) => + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version([ + final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder)? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants? get constants; - JsonObject? get type; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesCirclesMemberSerializer; + int get major; + int get minor; + int get micro; + String get string; + String get edition; + bool get extendedSupport; + static Serializer get serializer => + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataVersionSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Circles +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Circles([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_CirclesBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles; - const CoreServerCapabilities_Ocs_Data_Capabilities_Circles._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_Circles.fromJson(final Map json) => + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes([ + final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder)? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueField(wireName: 'api_version') + BuiltList? get apiVersion; String? get version; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status? get status; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings? get settings; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle? get circle; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member? get member; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesCirclesSerializer; + static Serializer get serializer => + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesNotesSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols; - const CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols.fromJson( + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications([ + final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder)? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - String? get webdav; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesOcmResourceTypesProtocolsSerializer; + @BuiltValueField(wireName: 'ocs-endpoints') + BuiltList? get ocsEndpoints; + BuiltList? get push; + @BuiltValueField(wireName: 'admin-notifications') + BuiltList? get adminNotifications; + static Serializer + get serializer => _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesNotificationsSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes; - const CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes._(); + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi([ + final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder)? + b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi._(); - factory CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes.fromJson(final Map json) => + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - String? get name; - BuiltList? get shareTypes; - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols? get protocols; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesOcmResourceTypesSerializer; + String get version; + @BuiltValueField(wireName: 'AccountPropertyScopesVersion') + int get accountPropertyScopesVersion; + @BuiltValueField(wireName: 'AccountPropertyScopesFederatedEnabled') + bool get accountPropertyScopesFederatedEnabled; + @BuiltValueField(wireName: 'AccountPropertyScopesPublishedEnabled') + bool get accountPropertyScopesPublishedEnabled; + static Serializer + get serializer => _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesProvisioningApiSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Ocm([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_OcmBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm; - const CoreServerCapabilities_Ocs_Data_Capabilities_Ocm._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_Ocm.fromJson(final Map json) => + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming([ + final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder)? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get enabled; - String? get apiVersion; - String? get endPoint; - BuiltList? get resourceTypes; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesOcmSerializer; + String get name; + String get url; + String get slogan; + String get color; + @BuiltValueField(wireName: 'color-text') + String get colorText; + @BuiltValueField(wireName: 'color-element') + String get colorElement; + @BuiltValueField(wireName: 'color-element-bright') + String get colorElementBright; + @BuiltValueField(wireName: 'color-element-dark') + String get colorElementDark; + String get logo; + String get background; + @BuiltValueField(wireName: 'background-plain') + bool get backgroundPlain; + @BuiltValueField(wireName: 'background-default') + bool get backgroundDefault; + String get logoheader; + String get favicon; + static Serializer get serializer => + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesThemingSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Dav +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Dav([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_DavBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Dav; - const CoreServerCapabilities_Ocs_Data_Capabilities_Dav._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_Dav.fromJson(final Map json) => + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus([ + final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder)? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - String? get bulkupload; - String? get chunking; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesDavSerializer; + bool get enabled; + bool get restore; + @BuiltValueField(wireName: 'supports_emoji') + bool get supportsEmoji; + static Serializer get serializer => + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesUserStatusSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password; - const CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password.fromJson( + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities([ + final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder)? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities.fromJson( final Map json, ) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get enforced; - bool? get askForOptionalPassword; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingPublicPasswordSerializer; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes? get notes; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications? get notifications; + @BuiltValueField(wireName: 'provisioning_api') + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi? get provisioningApi; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming? get theming; + @BuiltValueField(wireName: 'user_status') + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus? get userStatus; + static Serializer get serializer => + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate; - const CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate.fromJson( - final Map json, - ) => + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data([ + final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get enabled; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingPublicExpireDateSerializer; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version get version; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities get capabilities; + static Serializer get serializer => + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal; - const CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal.fromJson( - final Map json, - ) => + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs([ + final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs; + const CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get enabled; - static Serializer - get serializer => _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingPublicExpireDateInternalSerializer; + CoreOCSMeta get meta; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote +abstract class CoreOcsGetCapabilitiesResponse200ApplicationJson implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote; - const CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote.fromJson( - final Map json, - ) => + Built { + factory CoreOcsGetCapabilitiesResponse200ApplicationJson([ + final void Function(CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreOcsGetCapabilitiesResponse200ApplicationJson; + const CoreOcsGetCapabilitiesResponse200ApplicationJson._(); + + factory CoreOcsGetCapabilitiesResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get enabled; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingPublicExpireDateRemoteSerializer; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreOcsGetCapabilitiesResponse200ApplicationJsonSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public +abstract class CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public; - const CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public.fromJson(final Map json) => + Built { + factory CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs([ + final void Function(CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs; + const CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs._(); + + factory CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get enabled; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password? get password; - @BuiltValueField(wireName: 'expire_date') - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate? get expireDate; - @BuiltValueField(wireName: 'multiple_links') - bool? get multipleLinks; - @BuiltValueField(wireName: 'expire_date_internal') - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal? get expireDateInternal; - @BuiltValueField(wireName: 'expire_date_remote') - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote? get expireDateRemote; - @BuiltValueField(wireName: 'send_mail') - bool? get sendMail; - bool? get upload; - @BuiltValueField(wireName: 'upload_files_drop') - bool? get uploadFilesDrop; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingPublicSerializer; + CoreOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$coreProfileApiSetVisibilityResponse200ApplicationJsonOcsSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate +abstract class CoreProfileApiSetVisibilityResponse200ApplicationJson implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate; - const CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate.fromJson( - final Map json, - ) => + Built { + factory CoreProfileApiSetVisibilityResponse200ApplicationJson([ + final void Function(CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreProfileApiSetVisibilityResponse200ApplicationJson; + const CoreProfileApiSetVisibilityResponse200ApplicationJson._(); + + factory CoreProfileApiSetVisibilityResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get enabled; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingUserExpireDateSerializer; + CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreProfileApiSetVisibilityResponse200ApplicationJsonSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User - implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User; - const CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User._(); +abstract class CoreReference implements Built { + factory CoreReference([final void Function(CoreReferenceBuilder)? b]) = _$CoreReference; + const CoreReference._(); - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User.fromJson(final Map json) => + factory CoreReference.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - @BuiltValueField(wireName: 'send_mail') - bool? get sendMail; - @BuiltValueField(wireName: 'expire_date') - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate? get expireDate; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingUserSerializer; + String get richObjectType; + BuiltMap get richObject; + CoreOpenGraphObject get openGraphObject; + bool get accessible; + static Serializer get serializer => _$coreReferenceSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate +abstract class CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate; - const CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate.fromJson( - final Map json, - ) => + Built { + factory CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data([ + final void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data; + const CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data._(); + + factory CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get enabled; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingGroupExpireDateSerializer; + BuiltMap get references; + static Serializer get serializer => + _$coreReferenceApiResolveOneResponse200ApplicationJsonOcsDataSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group +abstract class CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group; - const CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group.fromJson(final Map json) => + Built { + factory CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs([ + final void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs; + const CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs._(); + + factory CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get enabled; - @BuiltValueField(wireName: 'expire_date') - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate? get expireDate; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingGroupSerializer; + CoreOCSMeta get meta; + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$coreReferenceApiResolveOneResponse200ApplicationJsonOcsSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate +abstract class CoreReferenceApiResolveOneResponse200ApplicationJson implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate; - const CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate.fromJson( - final Map json, - ) => + Built { + factory CoreReferenceApiResolveOneResponse200ApplicationJson([ + final void Function(CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreReferenceApiResolveOneResponse200ApplicationJson; + const CoreReferenceApiResolveOneResponse200ApplicationJson._(); + + factory CoreReferenceApiResolveOneResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get enabled; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingFederationExpireDateSerializer; + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreReferenceApiResolveOneResponse200ApplicationJsonSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported +abstract class CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported([ - final void Function( - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder, - )? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported; - const CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported._(); + Built { + factory CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References([ + final void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder)? b, + ]) = _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References; + const CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References._(); - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported.fromJson( - final Map json, - ) => + JsonObject get data; + CoreReference? get reference; + JsonObject? get jsonObject; + static CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get enabled; - static Serializer - get serializer => _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingFederationExpireDateSupportedSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesSerializer(); } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation - implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation; - const CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation._(); +class _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [ + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References, + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References + ]; - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation.fromJson( - final Map json, - ) => + @override + final String wireName = 'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References'; + + @override + Object serialize( + final Serializers serializers, + final CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder() + ..data = JsonObject(data); + try { + result._reference = + (_jsonSerializers.deserialize(data, specifiedType: const FullType(CoreReference))! as CoreReference) + .toBuilder(); + } catch (_) {} + try { + result._jsonObject = data as JsonObject?; + } catch (_) {} + assert( + [result._reference, result._jsonObject].where((final x) => x != null).isNotEmpty, + 'Need oneOf for ${result._data}', + ); + return result.build(); + } +} + +abstract class CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data + implements + Built { + factory CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data([ + final void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data; + const CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data._(); + + factory CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get outgoing; - bool? get incoming; - @BuiltValueField(wireName: 'expire_date') - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate? get expireDate; - @BuiltValueField(wireName: 'expire_date_supported') - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported? get expireDateSupported; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingFederationSerializer; + BuiltMap get references; + static Serializer get serializer => + _$coreReferenceApiResolveResponse200ApplicationJsonOcsDataSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee +abstract class CoreReferenceApiResolveResponse200ApplicationJson_Ocs implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee; - const CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee.fromJson(final Map json) => + Built { + factory CoreReferenceApiResolveResponse200ApplicationJson_Ocs([ + final void Function(CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs; + const CoreReferenceApiResolveResponse200ApplicationJson_Ocs._(); + + factory CoreReferenceApiResolveResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - @BuiltValueField(wireName: 'query_lookup_default') - bool? get queryLookupDefault; - @BuiltValueField(wireName: 'always_show_unique') - bool? get alwaysShowUnique; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingShareeSerializer; + CoreOCSMeta get meta; + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$coreReferenceApiResolveResponse200ApplicationJsonOcsSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop +abstract class CoreReferenceApiResolveResponse200ApplicationJson implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder)? - b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop; - const CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop.fromJson( - final Map json, - ) => + Built { + factory CoreReferenceApiResolveResponse200ApplicationJson([ + final void Function(CoreReferenceApiResolveResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreReferenceApiResolveResponse200ApplicationJson; + const CoreReferenceApiResolveResponse200ApplicationJson._(); + + factory CoreReferenceApiResolveResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get enabled; - static Serializer - get serializer => _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingSharebymailUploadFilesDropSerializer; + CoreReferenceApiResolveResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreReferenceApiResolveResponse200ApplicationJsonSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password +abstract class CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password; - const CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password._(); + Built { + factory CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References([ + final void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder)? b, + ]) = _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References; + const CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References._(); - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password.fromJson( - final Map json, - ) => + JsonObject get data; + CoreReference? get reference; + JsonObject? get jsonObject; + static CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get enabled; - bool? get enforced; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingSharebymailPasswordSerializer; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesSerializer(); } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate - implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate; - const CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate._(); +class _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [ + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References, + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References + ]; - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate.fromJson( - final Map json, - ) => + @override + final String wireName = 'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References'; + + @override + Object serialize( + final Serializers serializers, + final CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder() + ..data = JsonObject(data); + try { + result._reference = + (_jsonSerializers.deserialize(data, specifiedType: const FullType(CoreReference))! as CoreReference) + .toBuilder(); + } catch (_) {} + try { + result._jsonObject = data as JsonObject?; + } catch (_) {} + assert( + [result._reference, result._jsonObject].where((final x) => x != null).isNotEmpty, + 'Need oneOf for ${result._data}', + ); + return result.build(); + } +} + +abstract class CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data + implements + Built { + factory CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data([ + final void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data; + const CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data._(); + + factory CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get enabled; - bool? get enforced; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingSharebymailExpireDateSerializer; + BuiltMap get references; + static Serializer get serializer => + _$coreReferenceApiExtractResponse200ApplicationJsonOcsDataSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail +abstract class CoreReferenceApiExtractResponse200ApplicationJson_Ocs implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail; - const CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail.fromJson( - final Map json, - ) => + Built { + factory CoreReferenceApiExtractResponse200ApplicationJson_Ocs([ + final void Function(CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs; + const CoreReferenceApiExtractResponse200ApplicationJson_Ocs._(); + + factory CoreReferenceApiExtractResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get enabled; - @BuiltValueField(wireName: 'send_password_by_mail') - bool? get sendPasswordByMail; - @BuiltValueField(wireName: 'upload_files_drop') - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop? get uploadFilesDrop; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password? get password; - @BuiltValueField(wireName: 'expire_date') - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate? get expireDate; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingSharebymailSerializer; + CoreOCSMeta get meta; + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$coreReferenceApiExtractResponse200ApplicationJsonOcsSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing +abstract class CoreReferenceApiExtractResponse200ApplicationJson implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing; - const CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing.fromJson(final Map json) => + Built { + factory CoreReferenceApiExtractResponse200ApplicationJson([ + final void Function(CoreReferenceApiExtractResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreReferenceApiExtractResponse200ApplicationJson; + const CoreReferenceApiExtractResponse200ApplicationJson._(); + + factory CoreReferenceApiExtractResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - @BuiltValueField(wireName: 'api_enabled') - bool? get apiEnabled; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public? get public; - bool? get resharing; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User? get user; - @BuiltValueField(wireName: 'group_sharing') - bool? get groupSharing; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group? get group; - @BuiltValueField(wireName: 'default_permissions') - int? get defaultPermissions; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation? get federation; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee? get sharee; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail? get sharebymail; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingSerializer; + CoreReferenceApiExtractResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreReferenceApiExtractResponse200ApplicationJsonSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Notes - implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Notes([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_NotesBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Notes; - const CoreServerCapabilities_Ocs_Data_Capabilities_Notes._(); +abstract class CoreReferenceProvider implements Built { + factory CoreReferenceProvider([final void Function(CoreReferenceProviderBuilder)? b]) = _$CoreReferenceProvider; + const CoreReferenceProvider._(); - factory CoreServerCapabilities_Ocs_Data_Capabilities_Notes.fromJson(final Map json) => + factory CoreReferenceProvider.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - @BuiltValueField(wireName: 'api_version') - BuiltList? get apiVersion; - String? get version; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesNotesSerializer; + String get id; + String get title; + @BuiltValueField(wireName: 'icon_url') + String get iconUrl; + int get order; + @BuiltValueField(wireName: 'search_providers_ids') + BuiltList? get searchProvidersIds; + static Serializer get serializer => _$coreReferenceProviderSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Notifications +abstract class CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Notifications([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Notifications; - const CoreServerCapabilities_Ocs_Data_Capabilities_Notifications._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_Notifications.fromJson(final Map json) => + Built { + factory CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs([ + final void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs; + const CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs._(); + + factory CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - @BuiltValueField(wireName: 'ocs-endpoints') - BuiltList? get ocsEndpoints; - BuiltList? get push; - @BuiltValueField(wireName: 'admin-notifications') - BuiltList? get adminNotifications; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesNotificationsSerializer; + CoreOCSMeta get meta; + BuiltList get data; + static Serializer get serializer => + _$coreReferenceApiGetProvidersInfoResponse200ApplicationJsonOcsSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api +abstract class CoreReferenceApiGetProvidersInfoResponse200ApplicationJson implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api; - const CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api.fromJson(final Map json) => + Built { + factory CoreReferenceApiGetProvidersInfoResponse200ApplicationJson([ + final void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson; + const CoreReferenceApiGetProvidersInfoResponse200ApplicationJson._(); + + factory CoreReferenceApiGetProvidersInfoResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - String? get generate; - String? get validate; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesPasswordPolicyApiSerializer; + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreReferenceApiGetProvidersInfoResponse200ApplicationJsonSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy +abstract class CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy; - const CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy.fromJson(final Map json) => + Built { + factory CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data([ + final void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data; + const CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data._(); + + factory CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - int? get minLength; - bool? get enforceNonCommonPassword; - bool? get enforceNumericCharacters; - bool? get enforceSpecialCharacters; - bool? get enforceUpperLowerCase; - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api? get api; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesPasswordPolicySerializer; + bool get success; + static Serializer get serializer => + _$coreReferenceApiTouchProviderResponse200ApplicationJsonOcsDataSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi +abstract class CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi; - const CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi.fromJson(final Map json) => + Built { + factory CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs([ + final void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs; + const CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs._(); + + factory CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - String? get version; - @BuiltValueField(wireName: 'AccountPropertyScopesVersion') - int? get accountPropertyScopesVersion; - @BuiltValueField(wireName: 'AccountPropertyScopesFederatedEnabled') - bool? get accountPropertyScopesFederatedEnabled; - @BuiltValueField(wireName: 'AccountPropertyScopesPublishedEnabled') - bool? get accountPropertyScopesPublishedEnabled; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesProvisioningApiSerializer; + CoreOCSMeta get meta; + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$coreReferenceApiTouchProviderResponse200ApplicationJsonOcsSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_Theming +abstract class CoreReferenceApiTouchProviderResponse200ApplicationJson implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_Theming([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_ThemingBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_Theming; - const CoreServerCapabilities_Ocs_Data_Capabilities_Theming._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_Theming.fromJson(final Map json) => + Built { + factory CoreReferenceApiTouchProviderResponse200ApplicationJson([ + final void Function(CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreReferenceApiTouchProviderResponse200ApplicationJson; + const CoreReferenceApiTouchProviderResponse200ApplicationJson._(); + + factory CoreReferenceApiTouchProviderResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - String? get name; - String? get url; - String? get slogan; - String? get color; - @BuiltValueField(wireName: 'color-text') - String? get colorText; - @BuiltValueField(wireName: 'color-element') - String? get colorElement; - @BuiltValueField(wireName: 'color-element-bright') - String? get colorElementBright; - @BuiltValueField(wireName: 'color-element-dark') - String? get colorElementDark; - String? get logo; - String? get background; - @BuiltValueField(wireName: 'background-plain') - bool? get backgroundPlain; - @BuiltValueField(wireName: 'background-default') - bool? get backgroundDefault; - String? get logoheader; - String? get favicon; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesThemingSerializer; + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreReferenceApiTouchProviderResponse200ApplicationJsonSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus +abstract class CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus; - const CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus.fromJson(final Map json) => + Built { + factory CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types([ + final void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder)? b, + ]) = _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types; + const CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types._(); + + factory CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get restore; - bool? get enabled; - @BuiltValueField(wireName: 'supports_emoji') - bool? get supportsEmoji; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesUserStatusSerializer; + String get id; + String get name; + String get description; + static Serializer get serializer => + _$coreTextProcessingApiTaskTypesResponse200ApplicationJsonOcsDataTypesSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus +abstract class CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus([ - final void Function(CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatusBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus; - const CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus.fromJson(final Map json) => + Built { + factory CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data([ + final void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data; + const CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data._(); + + factory CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get enabled; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesWeatherStatusSerializer; + BuiltList get types; + static Serializer get serializer => + _$coreTextProcessingApiTaskTypesResponse200ApplicationJsonOcsDataSerializer; } -abstract class CoreServerCapabilities_Ocs_Data_Capabilities +abstract class CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs implements - Built { - factory CoreServerCapabilities_Ocs_Data_Capabilities([ - final void Function(CoreServerCapabilities_Ocs_Data_CapabilitiesBuilder)? b, - ]) = _$CoreServerCapabilities_Ocs_Data_Capabilities; - const CoreServerCapabilities_Ocs_Data_Capabilities._(); - - factory CoreServerCapabilities_Ocs_Data_Capabilities.fromJson(final Map json) => + Built { + factory CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs([ + final void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs; + const CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs._(); + + factory CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - CoreServerCapabilities_Ocs_Data_Capabilities_Core? get core; - CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce? get bruteforce; - CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable? get metadataAvailable; - CoreServerCapabilities_Ocs_Data_Capabilities_Files? get files; - CoreServerCapabilities_Ocs_Data_Capabilities_Activity? get activity; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles? get circles; - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm? get ocm; - CoreServerCapabilities_Ocs_Data_Capabilities_Dav? get dav; - @BuiltValueField(wireName: 'files_sharing') - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing? get filesSharing; - CoreServerCapabilities_Ocs_Data_Capabilities_Notes? get notes; - CoreServerCapabilities_Ocs_Data_Capabilities_Notifications? get notifications; - @BuiltValueField(wireName: 'password_policy') - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy? get passwordPolicy; - @BuiltValueField(wireName: 'provisioning_api') - CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi? get provisioningApi; - CoreServerCapabilities_Ocs_Data_Capabilities_Theming? get theming; - @BuiltValueField(wireName: 'user_status') - CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus? get userStatus; - @BuiltValueField(wireName: 'weather_status') - CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus? get weatherStatus; - static Serializer get serializer => - _$coreServerCapabilitiesOcsDataCapabilitiesSerializer; + CoreOCSMeta get meta; + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$coreTextProcessingApiTaskTypesResponse200ApplicationJsonOcsSerializer; } -abstract class CoreServerCapabilities_Ocs_Data - implements Built { - factory CoreServerCapabilities_Ocs_Data([final void Function(CoreServerCapabilities_Ocs_DataBuilder)? b]) = - _$CoreServerCapabilities_Ocs_Data; - const CoreServerCapabilities_Ocs_Data._(); - - factory CoreServerCapabilities_Ocs_Data.fromJson(final Map json) => +abstract class CoreTextProcessingApiTaskTypesResponse200ApplicationJson + implements + Built { + factory CoreTextProcessingApiTaskTypesResponse200ApplicationJson([ + final void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson; + const CoreTextProcessingApiTaskTypesResponse200ApplicationJson._(); + + factory CoreTextProcessingApiTaskTypesResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - CoreServerCapabilities_Ocs_Data_Version get version; - CoreServerCapabilities_Ocs_Data_Capabilities get capabilities; - static Serializer get serializer => _$coreServerCapabilitiesOcsDataSerializer; + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreTextProcessingApiTaskTypesResponse200ApplicationJsonSerializer; } -abstract class CoreServerCapabilities_Ocs - implements Built { - factory CoreServerCapabilities_Ocs([final void Function(CoreServerCapabilities_OcsBuilder)? b]) = - _$CoreServerCapabilities_Ocs; - const CoreServerCapabilities_Ocs._(); +abstract class CoreTextProcessingTask implements Built { + factory CoreTextProcessingTask([final void Function(CoreTextProcessingTaskBuilder)? b]) = _$CoreTextProcessingTask; + const CoreTextProcessingTask._(); - factory CoreServerCapabilities_Ocs.fromJson(final Map json) => + factory CoreTextProcessingTask.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - CoreOCSMeta get meta; - CoreServerCapabilities_Ocs_Data get data; - static Serializer get serializer => _$coreServerCapabilitiesOcsSerializer; + int? get id; + String get type; + int get status; + String? get userId; + String get appId; + String get input; + String? get output; + String get identifier; + static Serializer get serializer => _$coreTextProcessingTaskSerializer; } -abstract class CoreServerCapabilities implements Built { - factory CoreServerCapabilities([final void Function(CoreServerCapabilitiesBuilder)? b]) = _$CoreServerCapabilities; - const CoreServerCapabilities._(); - - factory CoreServerCapabilities.fromJson(final Map json) => +abstract class CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data + implements + Built { + factory CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data([ + final void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data; + const CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data._(); + + factory CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - CoreServerCapabilities_Ocs get ocs; - static Serializer get serializer => _$coreServerCapabilitiesSerializer; + CoreTextProcessingTask get task; + static Serializer get serializer => + _$coreTextProcessingApiScheduleResponse200ApplicationJsonOcsDataSerializer; } -abstract class CoreNavigationApps_Ocs_Data_Order - implements Built { - factory CoreNavigationApps_Ocs_Data_Order([final void Function(CoreNavigationApps_Ocs_Data_OrderBuilder)? b]) = - _$CoreNavigationApps_Ocs_Data_Order; - const CoreNavigationApps_Ocs_Data_Order._(); - - JsonObject get data; - int? get $int; - String? get string; - static CoreNavigationApps_Ocs_Data_Order fromJson(final Object json) => +abstract class CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs + implements + Built { + factory CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs([ + final void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs; + const CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs._(); + + factory CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - @BuiltValueSerializer(custom: true) - static Serializer get serializer => - _$CoreNavigationApps_Ocs_Data_OrderSerializer(); + CoreOCSMeta get meta; + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$coreTextProcessingApiScheduleResponse200ApplicationJsonOcsSerializer; } -class _$CoreNavigationApps_Ocs_Data_OrderSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [CoreNavigationApps_Ocs_Data_Order, _$CoreNavigationApps_Ocs_Data_Order]; - - @override - final String wireName = 'CoreNavigationApps_Ocs_Data_Order'; - - @override - Object serialize( - final Serializers serializers, - final CoreNavigationApps_Ocs_Data_Order object, { - final FullType specifiedType = FullType.unspecified, - }) => - object.data.value; +abstract class CoreTextProcessingApiScheduleResponse200ApplicationJson + implements + Built { + factory CoreTextProcessingApiScheduleResponse200ApplicationJson([ + final void Function(CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreTextProcessingApiScheduleResponse200ApplicationJson; + const CoreTextProcessingApiScheduleResponse200ApplicationJson._(); + + factory CoreTextProcessingApiScheduleResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; - @override - CoreNavigationApps_Ocs_Data_Order deserialize( - final Serializers serializers, - final Object data, { - final FullType specifiedType = FullType.unspecified, - }) { - final result = CoreNavigationApps_Ocs_Data_OrderBuilder()..data = JsonObject(data); - try { - result._$int = data as int?; - } catch (_) {} - try { - result._string = data as String?; - } catch (_) {} - assert([result._$int, result._string].where((final x) => x != null).isNotEmpty, 'Need oneOf for ${result._data}'); - return result.build(); - } + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreTextProcessingApiScheduleResponse200ApplicationJsonSerializer; } -abstract class CoreNavigationApps_Ocs_Data - implements Built { - factory CoreNavigationApps_Ocs_Data([final void Function(CoreNavigationApps_Ocs_DataBuilder)? b]) = - _$CoreNavigationApps_Ocs_Data; - const CoreNavigationApps_Ocs_Data._(); - - factory CoreNavigationApps_Ocs_Data.fromJson(final Map json) => +abstract class CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data + implements + Built { + factory CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data([ + final void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data; + const CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data._(); + + factory CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - String get id; - - /// Should always be an integer, but there is a bug. See https://github.com/nextcloud/server/issues/32828 - CoreNavigationApps_Ocs_Data_Order get order; - String get href; - String get icon; - String get type; - String get name; - bool get active; - String get classes; - int get unread; - static Serializer get serializer => _$coreNavigationAppsOcsDataSerializer; + CoreTextProcessingTask get task; + static Serializer get serializer => + _$coreTextProcessingApiGetTaskResponse200ApplicationJsonOcsDataSerializer; } -abstract class CoreNavigationApps_Ocs implements Built { - factory CoreNavigationApps_Ocs([final void Function(CoreNavigationApps_OcsBuilder)? b]) = _$CoreNavigationApps_Ocs; - const CoreNavigationApps_Ocs._(); - - factory CoreNavigationApps_Ocs.fromJson(final Map json) => +abstract class CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs + implements + Built { + factory CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs([ + final void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs; + const CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs._(); + + factory CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; CoreOCSMeta get meta; - BuiltList get data; - static Serializer get serializer => _$coreNavigationAppsOcsSerializer; + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$coreTextProcessingApiGetTaskResponse200ApplicationJsonOcsSerializer; } -abstract class CoreNavigationApps implements Built { - factory CoreNavigationApps([final void Function(CoreNavigationAppsBuilder)? b]) = _$CoreNavigationApps; - const CoreNavigationApps._(); - - factory CoreNavigationApps.fromJson(final Map json) => +abstract class CoreTextProcessingApiGetTaskResponse200ApplicationJson + implements + Built { + factory CoreTextProcessingApiGetTaskResponse200ApplicationJson([ + final void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreTextProcessingApiGetTaskResponse200ApplicationJson; + const CoreTextProcessingApiGetTaskResponse200ApplicationJson._(); + + factory CoreTextProcessingApiGetTaskResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - CoreNavigationApps_Ocs get ocs; - static Serializer get serializer => _$coreNavigationAppsSerializer; + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreTextProcessingApiGetTaskResponse200ApplicationJsonSerializer; } -abstract class CoreLoginFlowInit_Poll implements Built { - factory CoreLoginFlowInit_Poll([final void Function(CoreLoginFlowInit_PollBuilder)? b]) = _$CoreLoginFlowInit_Poll; - const CoreLoginFlowInit_Poll._(); - - factory CoreLoginFlowInit_Poll.fromJson(final Map json) => +abstract class CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages + implements + Built { + factory CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages([ + final void Function(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesBuilder)? b, + ]) = _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages; + const CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages._(); + + factory CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - String get token; - String get endpoint; - static Serializer get serializer => _$coreLoginFlowInitPollSerializer; + String get from; + String get fromLabel; + String get to; + String get toLabel; + static Serializer get serializer => + _$coreTranslationApiLanguagesResponse200ApplicationJsonOcsDataLanguagesSerializer; } -abstract class CoreLoginFlowInit implements Built { - factory CoreLoginFlowInit([final void Function(CoreLoginFlowInitBuilder)? b]) = _$CoreLoginFlowInit; - const CoreLoginFlowInit._(); - - factory CoreLoginFlowInit.fromJson(final Map json) => +abstract class CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data + implements + Built { + factory CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data([ + final void Function(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data; + const CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data._(); + + factory CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - CoreLoginFlowInit_Poll get poll; - String get login; - static Serializer get serializer => _$coreLoginFlowInitSerializer; + BuiltList get languages; + bool get languageDetection; + static Serializer get serializer => + _$coreTranslationApiLanguagesResponse200ApplicationJsonOcsDataSerializer; } -abstract class CoreLoginFlowResult implements Built { - factory CoreLoginFlowResult([final void Function(CoreLoginFlowResultBuilder)? b]) = _$CoreLoginFlowResult; - const CoreLoginFlowResult._(); - - factory CoreLoginFlowResult.fromJson(final Map json) => +abstract class CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs + implements + Built { + factory CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs([ + final void Function(CoreTranslationApiLanguagesResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs; + const CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs._(); + + factory CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - String get server; - String get loginName; - String get appPassword; - static Serializer get serializer => _$coreLoginFlowResultSerializer; + CoreOCSMeta get meta; + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$coreTranslationApiLanguagesResponse200ApplicationJsonOcsSerializer; } -abstract class CoreAutocompleteResult_Ocs_Data_Status - implements Built { - factory CoreAutocompleteResult_Ocs_Data_Status([ - final void Function(CoreAutocompleteResult_Ocs_Data_StatusBuilder)? b, - ]) = _$CoreAutocompleteResult_Ocs_Data_Status; - const CoreAutocompleteResult_Ocs_Data_Status._(); - - JsonObject get data; - BuiltList? get builtListJsonObject; - String? get string; - static CoreAutocompleteResult_Ocs_Data_Status fromJson(final Object json) => +abstract class CoreTranslationApiLanguagesResponse200ApplicationJson + implements + Built { + factory CoreTranslationApiLanguagesResponse200ApplicationJson([ + final void Function(CoreTranslationApiLanguagesResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreTranslationApiLanguagesResponse200ApplicationJson; + const CoreTranslationApiLanguagesResponse200ApplicationJson._(); + + factory CoreTranslationApiLanguagesResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - @BuiltValueSerializer(custom: true) - static Serializer get serializer => - _$CoreAutocompleteResult_Ocs_Data_StatusSerializer(); -} - -class _$CoreAutocompleteResult_Ocs_Data_StatusSerializer - implements PrimitiveSerializer { - @override - final Iterable types = const [CoreAutocompleteResult_Ocs_Data_Status, _$CoreAutocompleteResult_Ocs_Data_Status]; - - @override - final String wireName = 'CoreAutocompleteResult_Ocs_Data_Status'; - @override - Object serialize( - final Serializers serializers, - final CoreAutocompleteResult_Ocs_Data_Status object, { - final FullType specifiedType = FullType.unspecified, - }) => - object.data.value; - - @override - CoreAutocompleteResult_Ocs_Data_Status deserialize( - final Serializers serializers, - final Object data, { - final FullType specifiedType = FullType.unspecified, - }) { - final result = CoreAutocompleteResult_Ocs_Data_StatusBuilder()..data = JsonObject(data); - try { - result._builtListJsonObject = (_jsonSerializers.deserialize( - data, - specifiedType: const FullType(BuiltList, [FullType(JsonObject)]), - )! as BuiltList) - .toBuilder(); - } catch (_) {} - try { - result._string = data as String?; - } catch (_) {} - assert( - [result._builtListJsonObject, result._string].where((final x) => x != null).isNotEmpty, - 'Need oneOf for ${result._data}', - ); - return result.build(); - } + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreTranslationApiLanguagesResponse200ApplicationJsonSerializer; } -abstract class CoreAutocompleteResult_Ocs_Data - implements Built { - factory CoreAutocompleteResult_Ocs_Data([final void Function(CoreAutocompleteResult_Ocs_DataBuilder)? b]) = - _$CoreAutocompleteResult_Ocs_Data; - const CoreAutocompleteResult_Ocs_Data._(); - - factory CoreAutocompleteResult_Ocs_Data.fromJson(final Map json) => +abstract class CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data + implements + Built { + factory CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data([ + final void Function(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data; + const CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data._(); + + factory CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - String get id; - String get label; - String get icon; - String get source; - CoreAutocompleteResult_Ocs_Data_Status get status; - String get subline; - String get shareWithDisplayNameUnique; - static Serializer get serializer => _$coreAutocompleteResultOcsDataSerializer; + String get text; + String? get from; + static Serializer get serializer => + _$coreTranslationApiTranslateResponse200ApplicationJsonOcsDataSerializer; } -abstract class CoreAutocompleteResult_Ocs - implements Built { - factory CoreAutocompleteResult_Ocs([final void Function(CoreAutocompleteResult_OcsBuilder)? b]) = - _$CoreAutocompleteResult_Ocs; - const CoreAutocompleteResult_Ocs._(); - - factory CoreAutocompleteResult_Ocs.fromJson(final Map json) => +abstract class CoreTranslationApiTranslateResponse200ApplicationJson_Ocs + implements + Built { + factory CoreTranslationApiTranslateResponse200ApplicationJson_Ocs([ + final void Function(CoreTranslationApiTranslateResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs; + const CoreTranslationApiTranslateResponse200ApplicationJson_Ocs._(); + + factory CoreTranslationApiTranslateResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; CoreOCSMeta get meta; - BuiltList get data; - static Serializer get serializer => _$coreAutocompleteResultOcsSerializer; + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$coreTranslationApiTranslateResponse200ApplicationJsonOcsSerializer; } -abstract class CoreAutocompleteResult implements Built { - factory CoreAutocompleteResult([final void Function(CoreAutocompleteResultBuilder)? b]) = _$CoreAutocompleteResult; - const CoreAutocompleteResult._(); - - factory CoreAutocompleteResult.fromJson(final Map json) => +abstract class CoreTranslationApiTranslateResponse200ApplicationJson + implements + Built { + factory CoreTranslationApiTranslateResponse200ApplicationJson([ + final void Function(CoreTranslationApiTranslateResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreTranslationApiTranslateResponse200ApplicationJson; + const CoreTranslationApiTranslateResponse200ApplicationJson._(); + + factory CoreTranslationApiTranslateResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - CoreAutocompleteResult_Ocs get ocs; - static Serializer get serializer => _$coreAutocompleteResultSerializer; + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreTranslationApiTranslateResponse200ApplicationJsonSerializer; } abstract class CoreUnifiedSearchProvider implements Built { @@ -1811,78 +3826,81 @@ abstract class CoreUnifiedSearchProvider implements Built get serializer => _$coreUnifiedSearchProviderSerializer; } -abstract class CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs +abstract class CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs implements - Built { - factory CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs([ - final void Function(CoreUnifiedSearchProvidersResponse200ApplicationJson_OcsBuilder)? b, - ]) = _$CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs; - const CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs._(); - - factory CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs.fromJson(final Map json) => + Built { + factory CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs([ + final void Function(CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs; + const CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs._(); + + factory CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; CoreOCSMeta get meta; BuiltList get data; - static Serializer get serializer => - _$coreUnifiedSearchProvidersResponse200ApplicationJsonOcsSerializer; + static Serializer get serializer => + _$coreUnifiedSearchGetProvidersResponse200ApplicationJsonOcsSerializer; } -abstract class CoreUnifiedSearchProvidersResponse200ApplicationJson +abstract class CoreUnifiedSearchGetProvidersResponse200ApplicationJson implements - Built { - factory CoreUnifiedSearchProvidersResponse200ApplicationJson([ - final void Function(CoreUnifiedSearchProvidersResponse200ApplicationJsonBuilder)? b, - ]) = _$CoreUnifiedSearchProvidersResponse200ApplicationJson; - const CoreUnifiedSearchProvidersResponse200ApplicationJson._(); - - factory CoreUnifiedSearchProvidersResponse200ApplicationJson.fromJson(final Map json) => + Built { + factory CoreUnifiedSearchGetProvidersResponse200ApplicationJson([ + final void Function(CoreUnifiedSearchGetProvidersResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson; + const CoreUnifiedSearchGetProvidersResponse200ApplicationJson._(); + + factory CoreUnifiedSearchGetProvidersResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs get ocs; - static Serializer get serializer => - _$coreUnifiedSearchProvidersResponse200ApplicationJsonSerializer; + CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreUnifiedSearchGetProvidersResponse200ApplicationJsonSerializer; } -abstract class CoreUnifiedSearchCursor implements Built { - factory CoreUnifiedSearchCursor([final void Function(CoreUnifiedSearchCursorBuilder)? b]) = _$CoreUnifiedSearchCursor; - const CoreUnifiedSearchCursor._(); +abstract class CoreUnifiedSearchSearchCursor + implements Built { + factory CoreUnifiedSearchSearchCursor([final void Function(CoreUnifiedSearchSearchCursorBuilder)? b]) = + _$CoreUnifiedSearchSearchCursor; + const CoreUnifiedSearchSearchCursor._(); JsonObject get data; int? get $int; String? get string; - static CoreUnifiedSearchCursor fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + static CoreUnifiedSearchSearchCursor fromJson(final Object json) => + _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; @BuiltValueSerializer(custom: true) - static Serializer get serializer => _$CoreUnifiedSearchCursorSerializer(); + static Serializer get serializer => _$CoreUnifiedSearchSearchCursorSerializer(); } -class _$CoreUnifiedSearchCursorSerializer implements PrimitiveSerializer { +class _$CoreUnifiedSearchSearchCursorSerializer implements PrimitiveSerializer { @override - final Iterable types = const [CoreUnifiedSearchCursor, _$CoreUnifiedSearchCursor]; + final Iterable types = const [CoreUnifiedSearchSearchCursor, _$CoreUnifiedSearchSearchCursor]; @override - final String wireName = 'CoreUnifiedSearchCursor'; + final String wireName = 'CoreUnifiedSearchSearchCursor'; @override Object serialize( final Serializers serializers, - final CoreUnifiedSearchCursor object, { + final CoreUnifiedSearchSearchCursor object, { final FullType specifiedType = FullType.unspecified, }) => object.data.value; @override - CoreUnifiedSearchCursor deserialize( + CoreUnifiedSearchSearchCursor deserialize( final Serializers serializers, final Object data, { final FullType specifiedType = FullType.unspecified, }) { - final result = CoreUnifiedSearchCursorBuilder()..data = JsonObject(data); + final result = CoreUnifiedSearchSearchCursorBuilder()..data = JsonObject(data); try { result._$int = data as int?; } catch (_) {} @@ -1978,383 +3996,673 @@ abstract class CoreUnifiedSearchResult implements Built get serializer => _$coreUnifiedSearchResultSerializer; } -abstract class CoreUnifiedSearchResponse200ApplicationJson_Ocs +abstract class CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs implements - Built { - factory CoreUnifiedSearchResponse200ApplicationJson_Ocs([ - final void Function(CoreUnifiedSearchResponse200ApplicationJson_OcsBuilder)? b, - ]) = _$CoreUnifiedSearchResponse200ApplicationJson_Ocs; - const CoreUnifiedSearchResponse200ApplicationJson_Ocs._(); - - factory CoreUnifiedSearchResponse200ApplicationJson_Ocs.fromJson(final Map json) => + Built { + factory CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs([ + final void Function(CoreUnifiedSearchSearchResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs; + const CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs._(); + + factory CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; CoreOCSMeta get meta; CoreUnifiedSearchResult get data; - static Serializer get serializer => - _$coreUnifiedSearchResponse200ApplicationJsonOcsSerializer; + static Serializer get serializer => + _$coreUnifiedSearchSearchResponse200ApplicationJsonOcsSerializer; +} + +abstract class CoreUnifiedSearchSearchResponse200ApplicationJson + implements + Built { + factory CoreUnifiedSearchSearchResponse200ApplicationJson([ + final void Function(CoreUnifiedSearchSearchResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreUnifiedSearchSearchResponse200ApplicationJson; + const CoreUnifiedSearchSearchResponse200ApplicationJson._(); + + factory CoreUnifiedSearchSearchResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreUnifiedSearchSearchResponse200ApplicationJsonSerializer; +} + +abstract class CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew + implements + Built { + factory CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew([ + final void Function(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewBuilder)? b, + ]) = _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew; + const CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew._(); + + factory CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + BuiltList get regular; + BuiltList get admin; + static Serializer get serializer => + _$coreWhatsNewGetResponse200ApplicationJsonOcsDataWhatsNewSerializer; } -abstract class CoreUnifiedSearchResponse200ApplicationJson - implements Built { - factory CoreUnifiedSearchResponse200ApplicationJson([ - final void Function(CoreUnifiedSearchResponse200ApplicationJsonBuilder)? b, - ]) = _$CoreUnifiedSearchResponse200ApplicationJson; - const CoreUnifiedSearchResponse200ApplicationJson._(); +abstract class CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data + implements + Built { + factory CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data([ + final void Function(CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data; + const CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data._(); + + factory CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get changelogURL; + String get product; + String get version; + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew? get whatsNew; + static Serializer get serializer => + _$coreWhatsNewGetResponse200ApplicationJsonOcsDataSerializer; +} + +abstract class CoreWhatsNewGetResponse200ApplicationJson_Ocs + implements + Built { + factory CoreWhatsNewGetResponse200ApplicationJson_Ocs([ + final void Function(CoreWhatsNewGetResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreWhatsNewGetResponse200ApplicationJson_Ocs; + const CoreWhatsNewGetResponse200ApplicationJson_Ocs._(); - factory CoreUnifiedSearchResponse200ApplicationJson.fromJson(final Map json) => + factory CoreWhatsNewGetResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - CoreUnifiedSearchResponse200ApplicationJson_Ocs get ocs; - static Serializer get serializer => - _$coreUnifiedSearchResponse200ApplicationJsonSerializer; + CoreOCSMeta get meta; + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$coreWhatsNewGetResponse200ApplicationJsonOcsSerializer; } -abstract class CoreEmptyOCS_Ocs implements Built { - factory CoreEmptyOCS_Ocs([final void Function(CoreEmptyOCS_OcsBuilder)? b]) = _$CoreEmptyOCS_Ocs; - const CoreEmptyOCS_Ocs._(); +abstract class CoreWhatsNewGetResponse200ApplicationJson + implements Built { + factory CoreWhatsNewGetResponse200ApplicationJson([ + final void Function(CoreWhatsNewGetResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreWhatsNewGetResponse200ApplicationJson; + const CoreWhatsNewGetResponse200ApplicationJson._(); + + factory CoreWhatsNewGetResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreWhatsNewGetResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreWhatsNewGetResponse200ApplicationJsonSerializer; +} - factory CoreEmptyOCS_Ocs.fromJson(final Map json) => +abstract class CoreWhatsNewDismissResponse200ApplicationJson_Ocs + implements + Built { + factory CoreWhatsNewDismissResponse200ApplicationJson_Ocs([ + final void Function(CoreWhatsNewDismissResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$CoreWhatsNewDismissResponse200ApplicationJson_Ocs; + const CoreWhatsNewDismissResponse200ApplicationJson_Ocs._(); + + factory CoreWhatsNewDismissResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; CoreOCSMeta get meta; - BuiltList get data; - static Serializer get serializer => _$coreEmptyOCSOcsSerializer; + JsonObject get data; + static Serializer get serializer => + _$coreWhatsNewDismissResponse200ApplicationJsonOcsSerializer; } -abstract class CoreEmptyOCS implements Built { - factory CoreEmptyOCS([final void Function(CoreEmptyOCSBuilder)? b]) = _$CoreEmptyOCS; - const CoreEmptyOCS._(); +abstract class CoreWhatsNewDismissResponse200ApplicationJson + implements + Built { + factory CoreWhatsNewDismissResponse200ApplicationJson([ + final void Function(CoreWhatsNewDismissResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreWhatsNewDismissResponse200ApplicationJson; + const CoreWhatsNewDismissResponse200ApplicationJson._(); + + factory CoreWhatsNewDismissResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + CoreWhatsNewDismissResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$coreWhatsNewDismissResponse200ApplicationJsonSerializer; +} - factory CoreEmptyOCS.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; +abstract class CoreWipeCheckWipeResponse200ApplicationJson + implements Built { + factory CoreWipeCheckWipeResponse200ApplicationJson([ + final void Function(CoreWipeCheckWipeResponse200ApplicationJsonBuilder)? b, + ]) = _$CoreWipeCheckWipeResponse200ApplicationJson; + const CoreWipeCheckWipeResponse200ApplicationJson._(); + + factory CoreWipeCheckWipeResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - CoreEmptyOCS_Ocs get ocs; - static Serializer get serializer => _$coreEmptyOCSSerializer; + bool get wipe; + static Serializer get serializer => + _$coreWipeCheckWipeResponse200ApplicationJsonSerializer; } final Serializers _serializers = (Serializers().toBuilder() - ..addBuilderFactory(const FullType(CoreServerStatus), CoreServerStatus.new) - ..add(CoreServerStatus.serializer) - ..addBuilderFactory(const FullType(CoreServerCapabilities), CoreServerCapabilities.new) - ..add(CoreServerCapabilities.serializer) - ..addBuilderFactory(const FullType(CoreServerCapabilities_Ocs), CoreServerCapabilities_Ocs.new) - ..add(CoreServerCapabilities_Ocs.serializer) + ..addBuilderFactory(const FullType(CoreStatus), CoreStatus.new) + ..add(CoreStatus.serializer) + ..addBuilderFactory( + const FullType(CoreAppPasswordGetAppPasswordResponse200ApplicationJson), + CoreAppPasswordGetAppPasswordResponse200ApplicationJson.new, + ) + ..add(CoreAppPasswordGetAppPasswordResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs), + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs.new, + ) + ..add(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs.serializer) ..addBuilderFactory(const FullType(CoreOCSMeta), CoreOCSMeta.new) ..add(CoreOCSMeta.serializer) - ..addBuilderFactory(const FullType(CoreServerCapabilities_Ocs_Data), CoreServerCapabilities_Ocs_Data.new) - ..add(CoreServerCapabilities_Ocs_Data.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Version), - CoreServerCapabilities_Ocs_Data_Version.new, + const FullType(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data), + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Version.serializer) + ..add(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities), - CoreServerCapabilities_Ocs_Data_Capabilities.new, + const FullType(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson), + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities.serializer) + ..add(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Core), - CoreServerCapabilities_Ocs_Data_Capabilities_Core.new, + const FullType(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs), + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Core.serializer) + ..add(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce), - CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce.new, + const FullType(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data), + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce.serializer) + ..add(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable), - CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable.new, + const FullType(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson), + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable.serializer) - ..addBuilderFactory(const FullType(BuiltList, [FullType(String)]), ListBuilder.new) + ..add(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs), + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs.new, + ) + ..add(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(int)]), ListBuilder.new) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Files), - CoreServerCapabilities_Ocs_Data_Capabilities_Files.new, + const FullType(CoreAutoCompleteGetResponse200ApplicationJson), + CoreAutoCompleteGetResponse200ApplicationJson.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Files.serializer) + ..add(CoreAutoCompleteGetResponse200ApplicationJson.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing), - CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing.new, + const FullType(CoreAutoCompleteGetResponse200ApplicationJson_Ocs), + CoreAutoCompleteGetResponse200ApplicationJson_Ocs.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing.serializer) + ..add(CoreAutoCompleteGetResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(CoreAutocompleteResult), CoreAutocompleteResult.new) + ..add(CoreAutocompleteResult.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Activity), - CoreServerCapabilities_Ocs_Data_Capabilities_Activity.new, + const FullType(BuiltList, [FullType(CoreAutocompleteResult)]), + ListBuilder.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Activity.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles), - CoreServerCapabilities_Ocs_Data_Capabilities_Circles.new, + const FullType(CoreAvatarAvatarGetAvatarDarkHeaders), + CoreAvatarAvatarGetAvatarDarkHeaders.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Circles.serializer) + ..add(CoreAvatarAvatarGetAvatarDarkHeaders.serializer) + ..addBuilderFactory(const FullType(CoreAvatarAvatarGetAvatarHeaders), CoreAvatarAvatarGetAvatarHeaders.new) + ..add(CoreAvatarAvatarGetAvatarHeaders.serializer) + ..addBuilderFactory(const FullType(CoreLoginFlowV2Credentials), CoreLoginFlowV2Credentials.new) + ..add(CoreLoginFlowV2Credentials.serializer) + ..addBuilderFactory(const FullType(CoreLoginFlowV2), CoreLoginFlowV2.new) + ..add(CoreLoginFlowV2.serializer) + ..addBuilderFactory(const FullType(CoreLoginFlowV2_Poll), CoreLoginFlowV2_Poll.new) + ..add(CoreLoginFlowV2_Poll.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status), - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status.new, + const FullType(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson), + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status.serializer) + ..add(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings), - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings.new, + const FullType(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs), + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings.serializer) + ..add(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(CoreCollection), CoreCollection.new) + ..add(CoreCollection.serializer) + ..addBuilderFactory(const FullType(CoreOpenGraphObject), CoreOpenGraphObject.new) + ..add(CoreOpenGraphObject.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle), - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle.new, + const FullType(BuiltMap, [FullType(String), FullType(JsonObject)]), + MapBuilder.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle.serializer) + ..addBuilderFactory(const FullType(CoreOpenGraphObject_OpenGraphObject), CoreOpenGraphObject_OpenGraphObject.new) + ..add(CoreOpenGraphObject_OpenGraphObject.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants), - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants.new, + const FullType(BuiltList, [FullType(CoreOpenGraphObject)]), + ListBuilder.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(CoreCollection)]), ListBuilder.new) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source), - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source.new, + const FullType(CoreCollaborationResourcesListCollectionResponse200ApplicationJson), + CoreCollaborationResourcesListCollectionResponse200ApplicationJson.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source.serializer) + ..add(CoreCollaborationResourcesListCollectionResponse200ApplicationJson.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config), - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config.new, + const FullType(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs), + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config.serializer) - ..addBuilderFactory(const FullType(BuiltList, [FullType(int)]), ListBuilder.new) + ..add(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson), + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson.new, + ) + ..add(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member), - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member.new, + const FullType(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs), + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member.serializer) + ..add(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants), - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants.new, + const FullType(CoreCollaborationResourcesAddResourceResponse200ApplicationJson), + CoreCollaborationResourcesAddResourceResponse200ApplicationJson.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants.serializer) + ..add(CoreCollaborationResourcesAddResourceResponse200ApplicationJson.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm), - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm.new, + const FullType(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs), + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm.serializer) + ..add(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes), - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes.new, + const FullType(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson), + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes.serializer) + ..add(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols), - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols.new, + const FullType(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs), + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols.serializer) + ..add(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs.serializer) ..addBuilderFactory( - const FullType(BuiltList, [FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes)]), - ListBuilder.new, + const FullType(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson), + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson.new, ) + ..add(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Dav), - CoreServerCapabilities_Ocs_Data_Capabilities_Dav.new, + const FullType(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs), + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Dav.serializer) + ..add(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing), - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing.new, + const FullType(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson), + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing.serializer) + ..add(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public), - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public.new, + const FullType(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs), + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public.serializer) + ..add(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password), - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password.new, + const FullType(CoreHoverCardGetUserResponse200ApplicationJson), + CoreHoverCardGetUserResponse200ApplicationJson.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password.serializer) + ..add(CoreHoverCardGetUserResponse200ApplicationJson.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate), - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate.new, + const FullType(CoreHoverCardGetUserResponse200ApplicationJson_Ocs), + CoreHoverCardGetUserResponse200ApplicationJson_Ocs.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate.serializer) + ..add(CoreHoverCardGetUserResponse200ApplicationJson_Ocs.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal), - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal.new, + const FullType(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data), + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal.serializer) + ..add(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory(const FullType(CoreContactsAction), CoreContactsAction.new) + ..add(CoreContactsAction.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote), - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote.new, + const FullType(BuiltList, [FullType(CoreContactsAction)]), + ListBuilder.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User), - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User.new, + const FullType(CoreNavigationGetAppsNavigationResponse200ApplicationJson), + CoreNavigationGetAppsNavigationResponse200ApplicationJson.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User.serializer) + ..add(CoreNavigationGetAppsNavigationResponse200ApplicationJson.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate), - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate.new, + const FullType(CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs), + CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate.serializer) + ..add(CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(CoreNavigationEntry), CoreNavigationEntry.new) + ..add(CoreNavigationEntry.serializer) + ..addBuilderFactory(const FullType(CoreNavigationEntry_Order), CoreNavigationEntry_Order.new) + ..add(CoreNavigationEntry_Order.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group), - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group.new, + const FullType(BuiltList, [FullType(CoreNavigationEntry)]), + ListBuilder.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate), - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate.new, + const FullType(CoreNavigationGetSettingsNavigationResponse200ApplicationJson), + CoreNavigationGetSettingsNavigationResponse200ApplicationJson.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate.serializer) + ..add(CoreNavigationGetSettingsNavigationResponse200ApplicationJson.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation), - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation.new, + const FullType(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs), + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation.serializer) + ..add(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate), - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate.new, + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson), + CoreOcsGetCapabilitiesResponse200ApplicationJson.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate.serializer) + ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported), - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported.new, + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported.serializer) + ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee), - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee.new, + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee.serializer) + ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail), - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail.new, + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail.serializer) + ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop), - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop.new, + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop.serializer) + ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password), - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password.new, + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password.serializer) + ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(String)]), ListBuilder.new) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate), - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate.new, + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate.serializer) + ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Notes), - CoreServerCapabilities_Ocs_Data_Capabilities_Notes.new, + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Notes.serializer) + ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Notifications), - CoreServerCapabilities_Ocs_Data_Capabilities_Notifications.new, + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Notifications.serializer) + ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy), - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy.new, + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus), + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy.serializer) + ..add(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api), - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api.new, + const FullType(CoreProfileApiSetVisibilityResponse200ApplicationJson), + CoreProfileApiSetVisibilityResponse200ApplicationJson.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api.serializer) + ..add(CoreProfileApiSetVisibilityResponse200ApplicationJson.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi), - CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi.new, + const FullType(CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs), + CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi.serializer) + ..add(CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Theming), - CoreServerCapabilities_Ocs_Data_Capabilities_Theming.new, + const FullType(CoreReferenceApiResolveOneResponse200ApplicationJson), + CoreReferenceApiResolveOneResponse200ApplicationJson.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_Theming.serializer) + ..add(CoreReferenceApiResolveOneResponse200ApplicationJson.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus), - CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus.new, + const FullType(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs), + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus.serializer) + ..add(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs.serializer) ..addBuilderFactory( - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus), - CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus.new, + const FullType(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data), + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data.new, ) - ..add(CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus.serializer) - ..addBuilderFactory(const FullType(CoreNavigationApps), CoreNavigationApps.new) - ..add(CoreNavigationApps.serializer) - ..addBuilderFactory(const FullType(CoreNavigationApps_Ocs), CoreNavigationApps_Ocs.new) - ..add(CoreNavigationApps_Ocs.serializer) - ..addBuilderFactory(const FullType(CoreNavigationApps_Ocs_Data), CoreNavigationApps_Ocs_Data.new) - ..add(CoreNavigationApps_Ocs_Data.serializer) - ..addBuilderFactory(const FullType(CoreNavigationApps_Ocs_Data_Order), CoreNavigationApps_Ocs_Data_Order.new) - ..add(CoreNavigationApps_Ocs_Data_Order.serializer) + ..add(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory(const FullType(CoreReference), CoreReference.new) + ..add(CoreReference.serializer) ..addBuilderFactory( - const FullType(BuiltList, [FullType(CoreNavigationApps_Ocs_Data)]), - ListBuilder.new, + const FullType(BuiltMap, [FullType(String), FullType(CoreReference)]), + MapBuilder.new, ) - ..addBuilderFactory(const FullType(CoreLoginFlowInit), CoreLoginFlowInit.new) - ..add(CoreLoginFlowInit.serializer) - ..addBuilderFactory(const FullType(CoreLoginFlowInit_Poll), CoreLoginFlowInit_Poll.new) - ..add(CoreLoginFlowInit_Poll.serializer) - ..addBuilderFactory(const FullType(CoreLoginFlowResult), CoreLoginFlowResult.new) - ..add(CoreLoginFlowResult.serializer) - ..addBuilderFactory(const FullType(CoreAutocompleteResult), CoreAutocompleteResult.new) - ..add(CoreAutocompleteResult.serializer) - ..addBuilderFactory(const FullType(CoreAutocompleteResult_Ocs), CoreAutocompleteResult_Ocs.new) - ..add(CoreAutocompleteResult_Ocs.serializer) - ..addBuilderFactory(const FullType(CoreAutocompleteResult_Ocs_Data), CoreAutocompleteResult_Ocs_Data.new) - ..add(CoreAutocompleteResult_Ocs_Data.serializer) ..addBuilderFactory( - const FullType(CoreAutocompleteResult_Ocs_Data_Status), - CoreAutocompleteResult_Ocs_Data_Status.new, + const FullType(CoreReferenceApiResolveResponse200ApplicationJson), + CoreReferenceApiResolveResponse200ApplicationJson.new, + ) + ..add(CoreReferenceApiResolveResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CoreReferenceApiResolveResponse200ApplicationJson_Ocs), + CoreReferenceApiResolveResponse200ApplicationJson_Ocs.new, + ) + ..add(CoreReferenceApiResolveResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data), + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References), + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References.new, + ) + ..add(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References.serializer) + ..addBuilderFactory( + const FullType( + BuiltMap, + [FullType(String), FullType(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References)], + ), + MapBuilder.new, + ) + ..addBuilderFactory( + const FullType(CoreReferenceApiExtractResponse200ApplicationJson), + CoreReferenceApiExtractResponse200ApplicationJson.new, + ) + ..add(CoreReferenceApiExtractResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CoreReferenceApiExtractResponse200ApplicationJson_Ocs), + CoreReferenceApiExtractResponse200ApplicationJson_Ocs.new, + ) + ..add(CoreReferenceApiExtractResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data), + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References), + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References.new, ) - ..add(CoreAutocompleteResult_Ocs_Data_Status.serializer) - ..addBuilderFactory(const FullType(BuiltList, [FullType(JsonObject)]), ListBuilder.new) + ..add(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References.serializer) ..addBuilderFactory( - const FullType(BuiltList, [FullType(CoreAutocompleteResult_Ocs_Data)]), - ListBuilder.new, + const FullType( + BuiltMap, + [FullType(String), FullType(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References)], + ), + MapBuilder.new, ) ..addBuilderFactory( - const FullType(CoreUnifiedSearchProvidersResponse200ApplicationJson), - CoreUnifiedSearchProvidersResponse200ApplicationJson.new, + const FullType(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson), + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson.new, ) - ..add(CoreUnifiedSearchProvidersResponse200ApplicationJson.serializer) + ..add(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson.serializer) ..addBuilderFactory( - const FullType(CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs), - CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs.new, + const FullType(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs), + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs.new, ) - ..add(CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs.serializer) + ..add(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(CoreReferenceProvider), CoreReferenceProvider.new) + ..add(CoreReferenceProvider.serializer) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(CoreReferenceProvider)]), + ListBuilder.new, + ) + ..addBuilderFactory( + const FullType(CoreReferenceApiTouchProviderResponse200ApplicationJson), + CoreReferenceApiTouchProviderResponse200ApplicationJson.new, + ) + ..add(CoreReferenceApiTouchProviderResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs), + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs.new, + ) + ..add(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data), + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson), + CoreTextProcessingApiTaskTypesResponse200ApplicationJson.new, + ) + ..add(CoreTextProcessingApiTaskTypesResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs), + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs.new, + ) + ..add(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data), + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types), + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types.new, + ) + ..add(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types.serializer) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types)]), + ListBuilder.new, + ) + ..addBuilderFactory( + const FullType(CoreTextProcessingApiScheduleResponse200ApplicationJson), + CoreTextProcessingApiScheduleResponse200ApplicationJson.new, + ) + ..add(CoreTextProcessingApiScheduleResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs), + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs.new, + ) + ..add(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data), + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory(const FullType(CoreTextProcessingTask), CoreTextProcessingTask.new) + ..add(CoreTextProcessingTask.serializer) + ..addBuilderFactory( + const FullType(CoreTextProcessingApiGetTaskResponse200ApplicationJson), + CoreTextProcessingApiGetTaskResponse200ApplicationJson.new, + ) + ..add(CoreTextProcessingApiGetTaskResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs), + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs.new, + ) + ..add(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data), + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson), + CoreTranslationApiLanguagesResponse200ApplicationJson.new, + ) + ..add(CoreTranslationApiLanguagesResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs), + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs.new, + ) + ..add(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data), + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages), + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages.new, + ) + ..add(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages.serializer) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages)]), + ListBuilder.new, + ) + ..addBuilderFactory( + const FullType(CoreTranslationApiTranslateResponse200ApplicationJson), + CoreTranslationApiTranslateResponse200ApplicationJson.new, + ) + ..add(CoreTranslationApiTranslateResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs), + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs.new, + ) + ..add(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data), + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(CoreUnifiedSearchGetProvidersResponse200ApplicationJson), + CoreUnifiedSearchGetProvidersResponse200ApplicationJson.new, + ) + ..add(CoreUnifiedSearchGetProvidersResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs), + CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs.new, + ) + ..add(CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs.serializer) ..addBuilderFactory(const FullType(CoreUnifiedSearchProvider), CoreUnifiedSearchProvider.new) ..add(CoreUnifiedSearchProvider.serializer) ..addBuilderFactory( const FullType(BuiltList, [FullType(CoreUnifiedSearchProvider)]), ListBuilder.new, ) - ..addBuilderFactory(const FullType(CoreUnifiedSearchCursor), CoreUnifiedSearchCursor.new) - ..add(CoreUnifiedSearchCursor.serializer) + ..addBuilderFactory(const FullType(CoreUnifiedSearchSearchCursor), CoreUnifiedSearchSearchCursor.new) + ..add(CoreUnifiedSearchSearchCursor.serializer) ..addBuilderFactory( - const FullType(ContentString, [FullType(CoreUnifiedSearchCursor)]), - ContentString.new, + const FullType(ContentString, [FullType(CoreUnifiedSearchSearchCursor)]), + ContentString.new, ) ..add(ContentString.serializer) ..addBuilderFactory( - const FullType(CoreUnifiedSearchResponse200ApplicationJson), - CoreUnifiedSearchResponse200ApplicationJson.new, + const FullType(CoreUnifiedSearchSearchResponse200ApplicationJson), + CoreUnifiedSearchSearchResponse200ApplicationJson.new, ) - ..add(CoreUnifiedSearchResponse200ApplicationJson.serializer) + ..add(CoreUnifiedSearchSearchResponse200ApplicationJson.serializer) ..addBuilderFactory( - const FullType(CoreUnifiedSearchResponse200ApplicationJson_Ocs), - CoreUnifiedSearchResponse200ApplicationJson_Ocs.new, + const FullType(CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs), + CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs.new, ) - ..add(CoreUnifiedSearchResponse200ApplicationJson_Ocs.serializer) + ..add(CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs.serializer) ..addBuilderFactory(const FullType(CoreUnifiedSearchResult), CoreUnifiedSearchResult.new) ..add(CoreUnifiedSearchResult.serializer) ..addBuilderFactory(const FullType(CoreUnifiedSearchResultEntry), CoreUnifiedSearchResultEntry.new) @@ -2365,10 +4673,41 @@ final Serializers _serializers = (Serializers().toBuilder() ) ..addBuilderFactory(const FullType(CoreUnifiedSearchResult_Cursor), CoreUnifiedSearchResult_Cursor.new) ..add(CoreUnifiedSearchResult_Cursor.serializer) - ..addBuilderFactory(const FullType(CoreEmptyOCS), CoreEmptyOCS.new) - ..add(CoreEmptyOCS.serializer) - ..addBuilderFactory(const FullType(CoreEmptyOCS_Ocs), CoreEmptyOCS_Ocs.new) - ..add(CoreEmptyOCS_Ocs.serializer)) + ..addBuilderFactory( + const FullType(CoreWhatsNewGetResponse200ApplicationJson), + CoreWhatsNewGetResponse200ApplicationJson.new, + ) + ..add(CoreWhatsNewGetResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs), + CoreWhatsNewGetResponse200ApplicationJson_Ocs.new, + ) + ..add(CoreWhatsNewGetResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data), + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew), + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew.new, + ) + ..add(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew.serializer) + ..addBuilderFactory( + const FullType(CoreWhatsNewDismissResponse200ApplicationJson), + CoreWhatsNewDismissResponse200ApplicationJson.new, + ) + ..add(CoreWhatsNewDismissResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(CoreWhatsNewDismissResponse200ApplicationJson_Ocs), + CoreWhatsNewDismissResponse200ApplicationJson_Ocs.new, + ) + ..add(CoreWhatsNewDismissResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(CoreWipeCheckWipeResponse200ApplicationJson), + CoreWipeCheckWipeResponse200ApplicationJson.new, + ) + ..add(CoreWipeCheckWipeResponse200ApplicationJson.serializer)) .build(); Serializers get coreSerializers => _serializers; diff --git a/packages/nextcloud/lib/src/api/core.openapi.g.dart b/packages/nextcloud/lib/src/api/core.openapi.g.dart index 2e42071f..84abfc63 100644 --- a/packages/nextcloud/lib/src/api/core.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/core.openapi.g.dart @@ -6,185 +6,284 @@ part of 'core.openapi.dart'; // BuiltValueGenerator // ************************************************************************** -Serializer _$coreServerStatusSerializer = _$CoreServerStatusSerializer(); +Serializer _$coreStatusSerializer = _$CoreStatusSerializer(); Serializer _$coreOCSMetaSerializer = _$CoreOCSMetaSerializer(); -Serializer _$coreServerCapabilitiesOcsDataVersionSerializer = - _$CoreServerCapabilities_Ocs_Data_VersionSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesCoreSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_CoreSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesBruteforceSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesMetadataAvailableSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesFilesDirectEditingSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesActivitySerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_ActivitySerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesCirclesStatusSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesCirclesSettingsSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesCirclesCircleConstantsSourceSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesCirclesCircleConstantsSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesCirclesCircleConfigSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesCirclesCircleSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesCirclesMemberConstantsSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesCirclesMemberSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesCirclesSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_CirclesSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesOcmResourceTypesProtocolsSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesOcmResourceTypesSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesSerializer(); -Serializer _$coreServerCapabilitiesOcsDataCapabilitiesOcmSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_OcmSerializer(); -Serializer _$coreServerCapabilitiesOcsDataCapabilitiesDavSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_DavSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingPublicPasswordSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingPublicExpireDateSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingPublicExpireDateInternalSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingPublicExpireDateRemoteSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingPublicSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingUserExpireDateSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingUserSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingGroupExpireDateSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingGroupSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingFederationExpireDateSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingFederationExpireDateSupportedSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingFederationSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingShareeSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingSharebymailUploadFilesDropSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingSharebymailPasswordSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingSharebymailExpireDateSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingSharebymailSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesFilesSharingSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesNotesSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_NotesSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesNotificationsSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesPasswordPolicyApiSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesPasswordPolicySerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicySerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesProvisioningApiSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesThemingSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_ThemingSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesUserStatusSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusSerializer(); -Serializer - _$coreServerCapabilitiesOcsDataCapabilitiesWeatherStatusSerializer = - _$CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatusSerializer(); -Serializer _$coreServerCapabilitiesOcsDataCapabilitiesSerializer = - _$CoreServerCapabilities_Ocs_Data_CapabilitiesSerializer(); -Serializer _$coreServerCapabilitiesOcsDataSerializer = - _$CoreServerCapabilities_Ocs_DataSerializer(); -Serializer _$coreServerCapabilitiesOcsSerializer = _$CoreServerCapabilities_OcsSerializer(); -Serializer _$coreServerCapabilitiesSerializer = _$CoreServerCapabilitiesSerializer(); -Serializer _$coreNavigationAppsOcsDataSerializer = - _$CoreNavigationApps_Ocs_DataSerializer(); -Serializer _$coreNavigationAppsOcsSerializer = _$CoreNavigationApps_OcsSerializer(); -Serializer _$coreNavigationAppsSerializer = _$CoreNavigationAppsSerializer(); -Serializer _$coreLoginFlowInitPollSerializer = _$CoreLoginFlowInit_PollSerializer(); -Serializer _$coreLoginFlowInitSerializer = _$CoreLoginFlowInitSerializer(); -Serializer _$coreLoginFlowResultSerializer = _$CoreLoginFlowResultSerializer(); -Serializer _$coreAutocompleteResultOcsDataSerializer = - _$CoreAutocompleteResult_Ocs_DataSerializer(); -Serializer _$coreAutocompleteResultOcsSerializer = _$CoreAutocompleteResult_OcsSerializer(); +Serializer + _$coreAppPasswordGetAppPasswordResponse200ApplicationJsonOcsDataSerializer = + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$coreAppPasswordGetAppPasswordResponse200ApplicationJsonOcsSerializer = + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreAppPasswordGetAppPasswordResponse200ApplicationJsonSerializer = + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJsonSerializer(); +Serializer + _$coreAppPasswordRotateAppPasswordResponse200ApplicationJsonOcsDataSerializer = + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$coreAppPasswordRotateAppPasswordResponse200ApplicationJsonOcsSerializer = + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreAppPasswordRotateAppPasswordResponse200ApplicationJsonSerializer = + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonSerializer(); +Serializer + _$coreAppPasswordDeleteAppPasswordResponse200ApplicationJsonOcsSerializer = + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreAppPasswordDeleteAppPasswordResponse200ApplicationJsonSerializer = + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonSerializer(); Serializer _$coreAutocompleteResultSerializer = _$CoreAutocompleteResultSerializer(); +Serializer + _$coreAutoCompleteGetResponse200ApplicationJsonOcsSerializer = + _$CoreAutoCompleteGetResponse200ApplicationJson_OcsSerializer(); +Serializer _$coreAutoCompleteGetResponse200ApplicationJsonSerializer = + _$CoreAutoCompleteGetResponse200ApplicationJsonSerializer(); +Serializer _$coreLoginFlowV2CredentialsSerializer = + _$CoreLoginFlowV2CredentialsSerializer(); +Serializer _$coreLoginFlowV2PollSerializer = _$CoreLoginFlowV2_PollSerializer(); +Serializer _$coreLoginFlowV2Serializer = _$CoreLoginFlowV2Serializer(); +Serializer _$coreOpenGraphObjectOpenGraphObjectSerializer = + _$CoreOpenGraphObject_OpenGraphObjectSerializer(); +Serializer _$coreOpenGraphObjectSerializer = _$CoreOpenGraphObjectSerializer(); +Serializer _$coreCollectionSerializer = _$CoreCollectionSerializer(); +Serializer + _$coreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonOcsSerializer = + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonSerializer = + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonSerializer(); +Serializer + _$coreCollaborationResourcesListCollectionResponse200ApplicationJsonOcsSerializer = + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreCollaborationResourcesListCollectionResponse200ApplicationJsonSerializer = + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJsonSerializer(); +Serializer + _$coreCollaborationResourcesRenameCollectionResponse200ApplicationJsonOcsSerializer = + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreCollaborationResourcesRenameCollectionResponse200ApplicationJsonSerializer = + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonSerializer(); +Serializer + _$coreCollaborationResourcesAddResourceResponse200ApplicationJsonOcsSerializer = + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreCollaborationResourcesAddResourceResponse200ApplicationJsonSerializer = + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJsonSerializer(); +Serializer + _$coreCollaborationResourcesRemoveResourceResponse200ApplicationJsonOcsSerializer = + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreCollaborationResourcesRemoveResourceResponse200ApplicationJsonSerializer = + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonSerializer(); +Serializer + _$coreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonOcsSerializer = + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonSerializer = + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonSerializer(); +Serializer + _$coreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonOcsSerializer = + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonSerializer = + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonSerializer(); +Serializer _$coreContactsActionSerializer = _$CoreContactsActionSerializer(); +Serializer + _$coreHoverCardGetUserResponse200ApplicationJsonOcsDataSerializer = + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$coreHoverCardGetUserResponse200ApplicationJsonOcsSerializer = + _$CoreHoverCardGetUserResponse200ApplicationJson_OcsSerializer(); +Serializer _$coreHoverCardGetUserResponse200ApplicationJsonSerializer = + _$CoreHoverCardGetUserResponse200ApplicationJsonSerializer(); +Serializer _$coreNavigationEntrySerializer = _$CoreNavigationEntrySerializer(); +Serializer + _$coreNavigationGetAppsNavigationResponse200ApplicationJsonOcsSerializer = + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreNavigationGetAppsNavigationResponse200ApplicationJsonSerializer = + _$CoreNavigationGetAppsNavigationResponse200ApplicationJsonSerializer(); +Serializer + _$coreNavigationGetSettingsNavigationResponse200ApplicationJsonOcsSerializer = + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreNavigationGetSettingsNavigationResponse200ApplicationJsonSerializer = + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJsonSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataVersionSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesNotesSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesNotificationsSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesProvisioningApiSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesThemingSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesUserStatusSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataCapabilitiesSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsDataSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonOcsSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreOcsGetCapabilitiesResponse200ApplicationJsonSerializer = + _$CoreOcsGetCapabilitiesResponse200ApplicationJsonSerializer(); +Serializer + _$coreProfileApiSetVisibilityResponse200ApplicationJsonOcsSerializer = + _$CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreProfileApiSetVisibilityResponse200ApplicationJsonSerializer = + _$CoreProfileApiSetVisibilityResponse200ApplicationJsonSerializer(); +Serializer _$coreReferenceSerializer = _$CoreReferenceSerializer(); +Serializer + _$coreReferenceApiResolveOneResponse200ApplicationJsonOcsDataSerializer = + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$coreReferenceApiResolveOneResponse200ApplicationJsonOcsSerializer = + _$CoreReferenceApiResolveOneResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreReferenceApiResolveOneResponse200ApplicationJsonSerializer = + _$CoreReferenceApiResolveOneResponse200ApplicationJsonSerializer(); +Serializer + _$coreReferenceApiResolveResponse200ApplicationJsonOcsDataSerializer = + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$coreReferenceApiResolveResponse200ApplicationJsonOcsSerializer = + _$CoreReferenceApiResolveResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreReferenceApiResolveResponse200ApplicationJsonSerializer = + _$CoreReferenceApiResolveResponse200ApplicationJsonSerializer(); +Serializer + _$coreReferenceApiExtractResponse200ApplicationJsonOcsDataSerializer = + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$coreReferenceApiExtractResponse200ApplicationJsonOcsSerializer = + _$CoreReferenceApiExtractResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreReferenceApiExtractResponse200ApplicationJsonSerializer = + _$CoreReferenceApiExtractResponse200ApplicationJsonSerializer(); +Serializer _$coreReferenceProviderSerializer = _$CoreReferenceProviderSerializer(); +Serializer + _$coreReferenceApiGetProvidersInfoResponse200ApplicationJsonOcsSerializer = + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreReferenceApiGetProvidersInfoResponse200ApplicationJsonSerializer = + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonSerializer(); +Serializer + _$coreReferenceApiTouchProviderResponse200ApplicationJsonOcsDataSerializer = + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$coreReferenceApiTouchProviderResponse200ApplicationJsonOcsSerializer = + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreReferenceApiTouchProviderResponse200ApplicationJsonSerializer = + _$CoreReferenceApiTouchProviderResponse200ApplicationJsonSerializer(); +Serializer + _$coreTextProcessingApiTaskTypesResponse200ApplicationJsonOcsDataTypesSerializer = + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesSerializer(); +Serializer + _$coreTextProcessingApiTaskTypesResponse200ApplicationJsonOcsDataSerializer = + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$coreTextProcessingApiTaskTypesResponse200ApplicationJsonOcsSerializer = + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreTextProcessingApiTaskTypesResponse200ApplicationJsonSerializer = + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJsonSerializer(); +Serializer _$coreTextProcessingTaskSerializer = _$CoreTextProcessingTaskSerializer(); +Serializer + _$coreTextProcessingApiScheduleResponse200ApplicationJsonOcsDataSerializer = + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$coreTextProcessingApiScheduleResponse200ApplicationJsonOcsSerializer = + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreTextProcessingApiScheduleResponse200ApplicationJsonSerializer = + _$CoreTextProcessingApiScheduleResponse200ApplicationJsonSerializer(); +Serializer + _$coreTextProcessingApiGetTaskResponse200ApplicationJsonOcsDataSerializer = + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$coreTextProcessingApiGetTaskResponse200ApplicationJsonOcsSerializer = + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreTextProcessingApiGetTaskResponse200ApplicationJsonSerializer = + _$CoreTextProcessingApiGetTaskResponse200ApplicationJsonSerializer(); +Serializer + _$coreTranslationApiLanguagesResponse200ApplicationJsonOcsDataLanguagesSerializer = + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesSerializer(); +Serializer + _$coreTranslationApiLanguagesResponse200ApplicationJsonOcsDataSerializer = + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$coreTranslationApiLanguagesResponse200ApplicationJsonOcsSerializer = + _$CoreTranslationApiLanguagesResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreTranslationApiLanguagesResponse200ApplicationJsonSerializer = + _$CoreTranslationApiLanguagesResponse200ApplicationJsonSerializer(); +Serializer + _$coreTranslationApiTranslateResponse200ApplicationJsonOcsDataSerializer = + _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$coreTranslationApiTranslateResponse200ApplicationJsonOcsSerializer = + _$CoreTranslationApiTranslateResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreTranslationApiTranslateResponse200ApplicationJsonSerializer = + _$CoreTranslationApiTranslateResponse200ApplicationJsonSerializer(); Serializer _$coreUnifiedSearchProviderSerializer = _$CoreUnifiedSearchProviderSerializer(); -Serializer - _$coreUnifiedSearchProvidersResponse200ApplicationJsonOcsSerializer = - _$CoreUnifiedSearchProvidersResponse200ApplicationJson_OcsSerializer(); -Serializer - _$coreUnifiedSearchProvidersResponse200ApplicationJsonSerializer = - _$CoreUnifiedSearchProvidersResponse200ApplicationJsonSerializer(); +Serializer + _$coreUnifiedSearchGetProvidersResponse200ApplicationJsonOcsSerializer = + _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreUnifiedSearchGetProvidersResponse200ApplicationJsonSerializer = + _$CoreUnifiedSearchGetProvidersResponse200ApplicationJsonSerializer(); Serializer _$coreUnifiedSearchResultEntrySerializer = _$CoreUnifiedSearchResultEntrySerializer(); Serializer _$coreUnifiedSearchResultSerializer = _$CoreUnifiedSearchResultSerializer(); -Serializer _$coreUnifiedSearchResponse200ApplicationJsonOcsSerializer = - _$CoreUnifiedSearchResponse200ApplicationJson_OcsSerializer(); -Serializer _$coreUnifiedSearchResponse200ApplicationJsonSerializer = - _$CoreUnifiedSearchResponse200ApplicationJsonSerializer(); -Serializer _$coreEmptyOCSOcsSerializer = _$CoreEmptyOCS_OcsSerializer(); -Serializer _$coreEmptyOCSSerializer = _$CoreEmptyOCSSerializer(); - -class _$CoreServerStatusSerializer implements StructuredSerializer { - @override - final Iterable types = const [CoreServerStatus, _$CoreServerStatus]; - @override - final String wireName = 'CoreServerStatus'; - - @override - Iterable serialize(Serializers serializers, CoreServerStatus object, +Serializer + _$coreUnifiedSearchSearchResponse200ApplicationJsonOcsSerializer = + _$CoreUnifiedSearchSearchResponse200ApplicationJson_OcsSerializer(); +Serializer + _$coreUnifiedSearchSearchResponse200ApplicationJsonSerializer = + _$CoreUnifiedSearchSearchResponse200ApplicationJsonSerializer(); +Serializer + _$coreWhatsNewGetResponse200ApplicationJsonOcsDataWhatsNewSerializer = + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewSerializer(); +Serializer + _$coreWhatsNewGetResponse200ApplicationJsonOcsDataSerializer = + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer _$coreWhatsNewGetResponse200ApplicationJsonOcsSerializer = + _$CoreWhatsNewGetResponse200ApplicationJson_OcsSerializer(); +Serializer _$coreWhatsNewGetResponse200ApplicationJsonSerializer = + _$CoreWhatsNewGetResponse200ApplicationJsonSerializer(); +Serializer + _$coreWhatsNewDismissResponse200ApplicationJsonOcsSerializer = + _$CoreWhatsNewDismissResponse200ApplicationJson_OcsSerializer(); +Serializer _$coreWhatsNewDismissResponse200ApplicationJsonSerializer = + _$CoreWhatsNewDismissResponse200ApplicationJsonSerializer(); +Serializer _$coreWipeCheckWipeResponse200ApplicationJsonSerializer = + _$CoreWipeCheckWipeResponse200ApplicationJsonSerializer(); + +class _$CoreStatusSerializer implements StructuredSerializer { + @override + final Iterable types = const [CoreStatus, _$CoreStatus]; + @override + final String wireName = 'CoreStatus'; + + @override + Iterable serialize(Serializers serializers, CoreStatus object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'installed', @@ -209,9 +308,9 @@ class _$CoreServerStatusSerializer implements StructuredSerializer serialized, + CoreStatus deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerStatusBuilder(); + final result = CoreStatusBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -320,64 +419,33 @@ class _$CoreOCSMetaSerializer implements StructuredSerializer { } } -class _$CoreServerCapabilities_Ocs_Data_VersionSerializer - implements StructuredSerializer { +class _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Version, - _$CoreServerCapabilities_Ocs_Data_Version + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data, + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Version'; + final String wireName = 'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, CoreServerCapabilities_Ocs_Data_Version object, + Iterable serialize( + Serializers serializers, CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.major; - if (value != null) { - result - ..add('major') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } - value = object.minor; - if (value != null) { - result - ..add('minor') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } - value = object.micro; - if (value != null) { - result - ..add('micro') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } - value = object.string; - if (value != null) { - result - ..add('string') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.edition; - if (value != null) { - result - ..add('edition') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.extendedSupport; - if (value != null) { - result - ..add('extendedSupport') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + final result = [ + 'apppassword', + serializers.serialize(object.apppassword, specifiedType: const FullType(String)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Version deserialize(Serializers serializers, Iterable serialized, + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_VersionBuilder(); + final result = CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -385,23 +453,8 @@ class _$CoreServerCapabilities_Ocs_Data_VersionSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'major': - result.major = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; - break; - case 'minor': - result.minor = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; - break; - case 'micro': - result.micro = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; - break; - case 'string': - result.string = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - case 'edition': - result.edition = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - case 'extendedSupport': - result.extendedSupport = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'apppassword': + result.apppassword = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -410,52 +463,36 @@ class _$CoreServerCapabilities_Ocs_Data_VersionSerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_CoreSerializer - implements StructuredSerializer { +class _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Core, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Core + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs, + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Core'; + final String wireName = 'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Core object, + Iterable serialize( + Serializers serializers, CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.pollinterval; - if (value != null) { - result - ..add('pollinterval') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } - value = object.webdavRoot; - if (value != null) { - result - ..add('webdav-root') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.referenceApi; - if (value != null) { - result - ..add('reference-api') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.referenceRegex; - if (value != null) { - result - ..add('reference-regex') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Core deserialize(Serializers serializers, Iterable serialized, + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_CoreBuilder(); + final result = CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -463,17 +500,14 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_CoreSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'pollinterval': - result.pollinterval = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; - break; - case 'webdav-root': - result.webdavRoot = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - case 'reference-api': - result.referenceApi = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); break; - case 'reference-regex': - result.referenceRegex = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data))! + as CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data); break; } } @@ -482,35 +516,33 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_CoreSerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceSerializer - implements StructuredSerializer { +class _$CoreAppPasswordGetAppPasswordResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce + CoreAppPasswordGetAppPasswordResponse200ApplicationJson, + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce'; + final String wireName = 'CoreAppPasswordGetAppPasswordResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce object, + Iterable serialize(Serializers serializers, CoreAppPasswordGetAppPasswordResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.delay; - if (value != null) { - result - ..add('delay') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce deserialize( + CoreAppPasswordGetAppPasswordResponse200ApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceBuilder(); + final result = CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -518,8 +550,10 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'delay': - result.delay = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs))! + as CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs); break; } } @@ -528,42 +562,33 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceSerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableSerializer - implements StructuredSerializer { +class _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable, - _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data, + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable'; + final String wireName = 'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data'; @override Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable object, + Serializers serializers, CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.size; - if (value != null) { - result - ..add('size') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); - } - value = object.gps; - if (value != null) { - result - ..add('gps') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); - } + final result = [ + 'apppassword', + serializers.serialize(object.apppassword, specifiedType: const FullType(String)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable deserialize( + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableBuilder(); + final result = CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -571,13 +596,8 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'size': - result.size.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); - break; - case 'gps': - result.gps.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + case 'apppassword': + result.apppassword = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -586,42 +606,36 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableSerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingSerializer - implements StructuredSerializer { +class _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs, + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing'; + final String wireName = 'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs'; @override Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing object, + Serializers serializers, CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.url; - if (value != null) { - result - ..add('url') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.etag; - if (value != null) { - result - ..add('etag') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing deserialize( + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingBuilder(); + final result = CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -629,11 +643,14 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingSerializ iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'url': - result.url = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); break; - case 'etag': - result.etag = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data))! + as CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data); break; } } @@ -642,65 +659,34 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingSerializ } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSerializer - implements StructuredSerializer { +class _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Files, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Files + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson, + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Files'; + final String wireName = 'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Files object, + Iterable serialize( + Serializers serializers, CoreAppPasswordRotateAppPasswordResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.bigfilechunking; - if (value != null) { - result - ..add('bigfilechunking') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.blacklistedFiles; - if (value != null) { - result - ..add('blacklisted_files') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); - } - value = object.directEditing; - if (value != null) { - result - ..add('directEditing') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing))); - } - value = object.comments; - if (value != null) { - result - ..add('comments') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.undelete; - if (value != null) { - result - ..add('undelete') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.versioning; - if (value != null) { - result - ..add('versioning') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Files deserialize(Serializers serializers, Iterable serialized, + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_FilesBuilder(); + final result = CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -708,26 +694,10 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'bigfilechunking': - result.bigfilechunking = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'blacklisted_files': - result.blacklistedFiles.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); - break; - case 'directEditing': - result.directEditing.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing))! - as CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing); - break; - case 'comments': - result.comments = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'undelete': - result.undelete = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'versioning': - result.versioning = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs))! + as CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs); break; } } @@ -736,35 +706,35 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_ActivitySerializer - implements StructuredSerializer { +class _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Activity, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Activity + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs, + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Activity'; + final String wireName = 'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Activity object, + Iterable serialize( + Serializers serializers, CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.apiv2; - if (value != null) { - result - ..add('apiv2') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); - } + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Activity deserialize( + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_ActivityBuilder(); + final result = CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -772,9 +742,12 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_ActivitySerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'apiv2': - result.apiv2.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; break; } } @@ -783,36 +756,34 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_ActivitySerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusSerializer - implements StructuredSerializer { +class _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson, + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status'; + final String wireName = 'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson'; @override Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status object, + Serializers serializers, CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.globalScale; - if (value != null) { - result - ..add('globalScale') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status deserialize( + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusBuilder(); + final result = CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -820,8 +791,10 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'globalScale': - result.globalScale = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs))! + as CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs); break; } } @@ -830,54 +803,39 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusSerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsSerializer - implements StructuredSerializer { +class _$CoreAutocompleteResultSerializer implements StructuredSerializer { @override - final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings - ]; + final Iterable types = const [CoreAutocompleteResult, _$CoreAutocompleteResult]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings'; + final String wireName = 'CoreAutocompleteResult'; @override - Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings object, + Iterable serialize(Serializers serializers, CoreAutocompleteResult object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.frontendEnabled; - if (value != null) { - result - ..add('frontendEnabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.allowedCircles; - if (value != null) { - result - ..add('allowedCircles') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } - value = object.allowedUserTypes; - if (value != null) { - result - ..add('allowedUserTypes') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } - value = object.membersLimit; - if (value != null) { - result - ..add('membersLimit') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } + final result = [ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'label', + serializers.serialize(object.label, specifiedType: const FullType(String)), + 'icon', + serializers.serialize(object.icon, specifiedType: const FullType(String)), + 'source', + serializers.serialize(object.source, specifiedType: const FullType(String)), + 'status', + serializers.serialize(object.status, specifiedType: const FullType(String)), + 'subline', + serializers.serialize(object.subline, specifiedType: const FullType(String)), + 'shareWithDisplayNameUnique', + serializers.serialize(object.shareWithDisplayNameUnique, specifiedType: const FullType(String)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings deserialize( - Serializers serializers, Iterable serialized, + CoreAutocompleteResult deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsBuilder(); + final result = CoreAutocompleteResultBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -885,61 +843,62 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'frontendEnabled': - result.frontendEnabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'allowedCircles': - result.allowedCircles = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + case 'label': + result.label = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'allowedUserTypes': - result.allowedUserTypes = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + case 'icon': + result.icon = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'membersLimit': - result.membersLimit = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + case 'source': + result.source = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - } - } - - return result.build(); - } + case 'status': + result.status = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'subline': + result.subline = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'shareWithDisplayNameUnique': + result.shareWithDisplayNameUnique = + serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceSerializer - implements StructuredSerializer { +class _$CoreAutoCompleteGetResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source + CoreAutoCompleteGetResponse200ApplicationJson_Ocs, + _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source'; + final String wireName = 'CoreAutoCompleteGetResponse200ApplicationJson_Ocs'; @override - Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source object, + Iterable serialize(Serializers serializers, CoreAutoCompleteGetResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.core; - if (value != null) { - result - ..add('core') - ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); - } - value = object.extra; - if (value != null) { - result - ..add('extra') - ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); - } + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(CoreAutocompleteResult)])), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source deserialize( - Serializers serializers, Iterable serialized, + CoreAutoCompleteGetResponse200ApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceBuilder(); + final result = CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -947,11 +906,13 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_So iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'core': - result.core = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); break; - case 'extra': - result.extra = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(CoreAutocompleteResult)]))! as BuiltList); break; } } @@ -960,44 +921,32 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_So } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsSerializer - implements StructuredSerializer { +class _$CoreAutoCompleteGetResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants + CoreAutoCompleteGetResponse200ApplicationJson, + _$CoreAutoCompleteGetResponse200ApplicationJson ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants'; + final String wireName = 'CoreAutoCompleteGetResponse200ApplicationJson'; @override - Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants object, + Iterable serialize(Serializers serializers, CoreAutoCompleteGetResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.flags; - if (value != null) { - result - ..add('flags') - ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); - } - value = object.source; - if (value != null) { - result - ..add('source') - ..add(serializers.serialize(value, - specifiedType: - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source))); - } + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreAutoCompleteGetResponse200ApplicationJson_Ocs)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants deserialize( - Serializers serializers, Iterable serialized, + CoreAutoCompleteGetResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsBuilder(); + final result = CoreAutoCompleteGetResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1005,14 +954,10 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsSer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'flags': - result.flags = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; - break; - case 'source': - result.source.replace(serializers.deserialize(value, - specifiedType: - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source))! - as CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreAutoCompleteGetResponse200ApplicationJson_Ocs))! + as CoreAutoCompleteGetResponse200ApplicationJson_Ocs); break; } } @@ -1021,42 +966,31 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsSer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigSerializer - implements StructuredSerializer { +class _$CoreLoginFlowV2CredentialsSerializer implements StructuredSerializer { @override - final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config - ]; + final Iterable types = const [CoreLoginFlowV2Credentials, _$CoreLoginFlowV2Credentials]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config'; + final String wireName = 'CoreLoginFlowV2Credentials'; @override - Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config object, + Iterable serialize(Serializers serializers, CoreLoginFlowV2Credentials object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.coreFlags; - if (value != null) { - result - ..add('coreFlags') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(int)]))); - } - value = object.systemFlags; - if (value != null) { - result - ..add('systemFlags') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(int)]))); - } + final result = [ + 'server', + serializers.serialize(object.server, specifiedType: const FullType(String)), + 'loginName', + serializers.serialize(object.loginName, specifiedType: const FullType(String)), + 'appPassword', + serializers.serialize(object.appPassword, specifiedType: const FullType(String)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config deserialize( - Serializers serializers, Iterable serialized, + CoreLoginFlowV2Credentials deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigBuilder(); + final result = CoreLoginFlowV2CredentialsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1064,13 +998,14 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigSerial iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'coreFlags': - result.coreFlags.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(int)]))! as BuiltList); + case 'server': + result.server = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'loginName': + result.loginName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'systemFlags': - result.systemFlags.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(int)]))! as BuiltList); + case 'appPassword': + result.appPassword = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -1079,44 +1014,29 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigSerial } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleSerializer - implements StructuredSerializer { +class _$CoreLoginFlowV2_PollSerializer implements StructuredSerializer { @override - final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle - ]; + final Iterable types = const [CoreLoginFlowV2_Poll, _$CoreLoginFlowV2_Poll]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle'; + final String wireName = 'CoreLoginFlowV2_Poll'; @override - Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle object, + Iterable serialize(Serializers serializers, CoreLoginFlowV2_Poll object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.constants; - if (value != null) { - result - ..add('constants') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants))); - } - value = object.config; - if (value != null) { - result - ..add('config') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config))); - } + final result = [ + 'token', + serializers.serialize(object.token, specifiedType: const FullType(String)), + 'endpoint', + serializers.serialize(object.endpoint, specifiedType: const FullType(String)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle deserialize( - Serializers serializers, Iterable serialized, + CoreLoginFlowV2_Poll deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleBuilder(); + final result = CoreLoginFlowV2_PollBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1124,15 +1044,11 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'constants': - result.constants.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants))! - as CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants); + case 'token': + result.token = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'config': - result.config.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config))! - as CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config); + case 'endpoint': + result.endpoint = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -1141,36 +1057,29 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleSerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsSerializer - implements StructuredSerializer { +class _$CoreLoginFlowV2Serializer implements StructuredSerializer { @override - final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants - ]; + final Iterable types = const [CoreLoginFlowV2, _$CoreLoginFlowV2]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants'; + final String wireName = 'CoreLoginFlowV2'; @override - Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants object, + Iterable serialize(Serializers serializers, CoreLoginFlowV2 object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.level; - if (value != null) { - result - ..add('level') - ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); - } + final result = [ + 'poll', + serializers.serialize(object.poll, specifiedType: const FullType(CoreLoginFlowV2_Poll)), + 'login', + serializers.serialize(object.login, specifiedType: const FullType(String)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants deserialize( - Serializers serializers, Iterable serialized, + CoreLoginFlowV2 deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsBuilder(); + final result = CoreLoginFlowV2Builder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1178,8 +1087,12 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsSer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'level': - result.level = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + case 'poll': + result.poll.replace(serializers.deserialize(value, specifiedType: const FullType(CoreLoginFlowV2_Poll))! + as CoreLoginFlowV2_Poll); + break; + case 'login': + result.login = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -1188,43 +1101,44 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsSer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberSerializer - implements StructuredSerializer { +class _$CoreOpenGraphObject_OpenGraphObjectSerializer + implements StructuredSerializer { @override - final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member - ]; + final Iterable types = const [CoreOpenGraphObject_OpenGraphObject, _$CoreOpenGraphObject_OpenGraphObject]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member'; + final String wireName = 'CoreOpenGraphObject_OpenGraphObject'; @override - Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member object, + Iterable serialize(Serializers serializers, CoreOpenGraphObject_OpenGraphObject object, {FullType specifiedType = FullType.unspecified}) { - final result = []; + final result = [ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'link', + serializers.serialize(object.link, specifiedType: const FullType(String)), + ]; Object? value; - value = object.constants; + value = object.description; if (value != null) { result - ..add('constants') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants))); + ..add('description') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); } - value = object.type; + value = object.thumb; if (value != null) { result - ..add('type') - ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + ..add('thumb') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); } return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member deserialize( - Serializers serializers, Iterable serialized, + CoreOpenGraphObject_OpenGraphObject deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberBuilder(); + final result = CoreOpenGraphObject_OpenGraphObjectBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1232,13 +1146,20 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'constants': - result.constants.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants))! - as CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants); + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'type': - result.type = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'description': + result.description = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'thumb': + result.thumb = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'link': + result.link = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -1247,63 +1168,34 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberSerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_CirclesSerializer - implements StructuredSerializer { +class _$CoreOpenGraphObjectSerializer implements StructuredSerializer { @override - final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Circles, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles - ]; + final Iterable types = const [CoreOpenGraphObject, _$CoreOpenGraphObject]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Circles'; + final String wireName = 'CoreOpenGraphObject'; @override - Iterable serialize(Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Circles object, + Iterable serialize(Serializers serializers, CoreOpenGraphObject object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.version; - if (value != null) { - result - ..add('version') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.status; - if (value != null) { - result - ..add('status') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status))); - } - value = object.settings; - if (value != null) { - result - ..add('settings') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings))); - } - value = object.circle; - if (value != null) { - result - ..add('circle') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle))); - } - value = object.member; - if (value != null) { - result - ..add('member') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member))); - } + final result = [ + 'richObjectType', + serializers.serialize(object.richObjectType, specifiedType: const FullType(String)), + 'richObject', + serializers.serialize(object.richObject, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)])), + 'openGraphObject', + serializers.serialize(object.openGraphObject, specifiedType: const FullType(CoreOpenGraphObject_OpenGraphObject)), + 'accessible', + serializers.serialize(object.accessible, specifiedType: const FullType(bool)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles deserialize( - Serializers serializers, Iterable serialized, + CoreOpenGraphObject deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_CirclesBuilder(); + final result = CoreOpenGraphObjectBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1311,28 +1203,20 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_CirclesSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'version': - result.version = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'richObjectType': + result.richObjectType = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'status': - result.status.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status))! - as CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status); - break; - case 'settings': - result.settings.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings))! - as CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings); + case 'richObject': + result.richObject.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)]))!); break; - case 'circle': - result.circle.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle))! - as CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle); + case 'openGraphObject': + result.openGraphObject.replace( + serializers.deserialize(value, specifiedType: const FullType(CoreOpenGraphObject_OpenGraphObject))! + as CoreOpenGraphObject_OpenGraphObject); break; - case 'member': - result.member.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member))! - as CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member); + case 'accessible': + result.accessible = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -1341,36 +1225,32 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_CirclesSerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsSerializer - implements StructuredSerializer { +class _$CoreCollectionSerializer implements StructuredSerializer { @override - final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols - ]; + final Iterable types = const [CoreCollection, _$CoreCollection]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols'; + final String wireName = 'CoreCollection'; @override - Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols object, + Iterable serialize(Serializers serializers, CoreCollection object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.webdav; - if (value != null) { - result - ..add('webdav') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + final result = [ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(int)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'resources', + serializers.serialize(object.resources, + specifiedType: const FullType(BuiltList, [FullType(CoreOpenGraphObject)])), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols deserialize( - Serializers serializers, Iterable serialized, + CoreCollection deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsBuilder(); + final result = CoreCollectionBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1378,8 +1258,15 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'webdav': - result.webdav = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'resources': + result.resources.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(CoreOpenGraphObject)]))! as BuiltList); break; } } @@ -1388,49 +1275,35 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesSerializer - implements StructuredSerializer { +class _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs, + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes'; + final String wireName = 'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs'; @override Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes object, + Serializers serializers, CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.name; - if (value != null) { - result - ..add('name') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.shareTypes; - if (value != null) { - result - ..add('shareTypes') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); - } - value = object.protocols; - if (value != null) { - result - ..add('protocols') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols))); - } + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(CoreCollection)])), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes deserialize( + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesBuilder(); + final result = CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1438,18 +1311,13 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'name': - result.name = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - case 'shareTypes': - result.shareTypes.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); break; - case 'protocols': - result.protocols.replace(serializers.deserialize(value, - specifiedType: - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols))! - as CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols); + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(CoreCollection)]))! as BuiltList); break; } } @@ -1458,54 +1326,34 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesSerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_OcmSerializer - implements StructuredSerializer { +class _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson, + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Ocm'; + final String wireName = 'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Ocm object, + Iterable serialize( + Serializers serializers, CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.enabled; - if (value != null) { - result - ..add('enabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.apiVersion; - if (value != null) { - result - ..add('apiVersion') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.endPoint; - if (value != null) { - result - ..add('endPoint') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.resourceTypes; - if (value != null) { - result - ..add('resourceTypes') - ..add(serializers.serialize(value, - specifiedType: - const FullType(BuiltList, [FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes)]))); - } + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm deserialize(Serializers serializers, Iterable serialized, + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_OcmBuilder(); + final result = CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1513,20 +1361,11 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_OcmSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'apiVersion': - result.apiVersion = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - case 'endPoint': - result.endPoint = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - case 'resourceTypes': - result.resourceTypes.replace(serializers.deserialize(value, - specifiedType: const FullType( - BuiltList, [FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes)]))! - as BuiltList); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: + const FullType(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs))! + as CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs); break; } } @@ -1535,40 +1374,35 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_OcmSerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_DavSerializer - implements StructuredSerializer { +class _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Dav, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Dav + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs, + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Dav'; + final String wireName = 'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Dav object, + Iterable serialize( + Serializers serializers, CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.bulkupload; - if (value != null) { - result - ..add('bulkupload') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.chunking; - if (value != null) { - result - ..add('chunking') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(CoreCollection)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Dav deserialize(Serializers serializers, Iterable serialized, + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_DavBuilder(); + final result = CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1576,11 +1410,13 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_DavSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'bulkupload': - result.bulkupload = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); break; - case 'chunking': - result.chunking = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'data': + result.data.replace( + serializers.deserialize(value, specifiedType: const FullType(CoreCollection))! as CoreCollection); break; } } @@ -1589,42 +1425,34 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_DavSerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordSerializer - implements StructuredSerializer { +class _$CoreCollaborationResourcesListCollectionResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password, - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password + CoreCollaborationResourcesListCollectionResponse200ApplicationJson, + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password'; + final String wireName = 'CoreCollaborationResourcesListCollectionResponse200ApplicationJson'; @override Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password object, + Serializers serializers, CoreCollaborationResourcesListCollectionResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.enforced; - if (value != null) { - result - ..add('enforced') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.askForOptionalPassword; - if (value != null) { - result - ..add('askForOptionalPassword') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password deserialize( + CoreCollaborationResourcesListCollectionResponse200ApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder(); + final result = CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1632,11 +1460,11 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Passwor iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enforced': - result.enforced = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'askForOptionalPassword': - result.askForOptionalPassword = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: + const FullType(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs))! + as CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs); break; } } @@ -1645,36 +1473,35 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Passwor } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateSerializer - implements StructuredSerializer { +class _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate, - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs, + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate'; + final String wireName = 'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs'; @override Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate object, + Serializers serializers, CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.enabled; - if (value != null) { - result - ..add('enabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(CoreCollection)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate deserialize( + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder(); + final result = CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1682,8 +1509,13 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireD iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace( + serializers.deserialize(value, specifiedType: const FullType(CoreCollection))! as CoreCollection); break; } } @@ -1692,37 +1524,34 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireD } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalSerializer - implements - StructuredSerializer { +class _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal, - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson, + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal'; + final String wireName = 'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal object, + Iterable serialize( + Serializers serializers, CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.enabled; - if (value != null) { - result - ..add('enabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal deserialize( + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder(); + final result = CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1730,8 +1559,11 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireD iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: + const FullType(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs))! + as CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs); break; } } @@ -1740,36 +1572,35 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireD } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteSerializer - implements StructuredSerializer { +class _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote, - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs, + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote'; + final String wireName = 'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs'; @override Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote object, + Serializers serializers, CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.enabled; - if (value != null) { - result - ..add('enabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(CoreCollection)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote deserialize( + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); + final result = CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1777,8 +1608,13 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireD iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace( + serializers.deserialize(value, specifiedType: const FullType(CoreCollection))! as CoreCollection); break; } } @@ -1787,91 +1623,34 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireD } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicSerializer - implements StructuredSerializer { +class _$CoreCollaborationResourcesAddResourceResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public, - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public + CoreCollaborationResourcesAddResourceResponse200ApplicationJson, + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public'; + final String wireName = 'CoreCollaborationResourcesAddResourceResponse200ApplicationJson'; @override Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public object, + Serializers serializers, CoreCollaborationResourcesAddResourceResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.enabled; - if (value != null) { - result - ..add('enabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.password; - if (value != null) { - result - ..add('password') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password))); - } - value = object.expireDate; - if (value != null) { - result - ..add('expire_date') - ..add(serializers.serialize(value, - specifiedType: - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate))); - } - value = object.multipleLinks; - if (value != null) { - result - ..add('multiple_links') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.expireDateInternal; - if (value != null) { - result - ..add('expire_date_internal') - ..add(serializers.serialize(value, - specifiedType: - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal))); - } - value = object.expireDateRemote; - if (value != null) { - result - ..add('expire_date_remote') - ..add(serializers.serialize(value, - specifiedType: - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote))); - } - value = object.sendMail; - if (value != null) { - result - ..add('send_mail') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.upload; - if (value != null) { - result - ..add('upload') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.uploadFilesDrop; - if (value != null) { - result - ..add('upload_files_drop') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public deserialize( + CoreCollaborationResourcesAddResourceResponse200ApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicBuilder(); + final result = CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1879,44 +1658,10 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicSerializ iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'password': - result.password.replace(serializers.deserialize(value, - specifiedType: - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password))! - as CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password); - break; - case 'expire_date': - result.expireDate.replace(serializers.deserialize(value, - specifiedType: - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate))! - as CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate); - break; - case 'multiple_links': - result.multipleLinks = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'expire_date_internal': - result.expireDateInternal.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal))! - as CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal); - break; - case 'expire_date_remote': - result.expireDateRemote.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote))! - as CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote); - break; - case 'send_mail': - result.sendMail = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'upload': - result.upload = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'upload_files_drop': - result.uploadFilesDrop = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs))! + as CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs); break; } } @@ -1925,36 +1670,35 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicSerializ } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateSerializer - implements StructuredSerializer { +class _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate, - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs, + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate'; + final String wireName = 'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs'; @override Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate object, + Serializers serializers, CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.enabled; - if (value != null) { - result - ..add('enabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(CoreCollection)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate deserialize( + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder(); + final result = CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -1962,8 +1706,13 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDat iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace( + serializers.deserialize(value, specifiedType: const FullType(CoreCollection))! as CoreCollection); break; } } @@ -1972,43 +1721,34 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDat } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserSerializer - implements StructuredSerializer { +class _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User, - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson, + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User'; + final String wireName = 'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson'; @override Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User object, + Serializers serializers, CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.sendMail; - if (value != null) { - result - ..add('send_mail') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.expireDate; - if (value != null) { - result - ..add('expire_date') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate))); - } + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User deserialize( + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserBuilder(); + final result = CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2016,14 +1756,11 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'send_mail': - result.sendMail = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'expire_date': - result.expireDate.replace(serializers.deserialize(value, + case 'ocs': + result.ocs.replace(serializers.deserialize(value, specifiedType: - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate))! - as CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate); + const FullType(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs))! + as CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs); break; } } @@ -2032,36 +1769,35 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserSerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateSerializer - implements StructuredSerializer { +class _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate, - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs, + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate'; + final String wireName = 'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs'; @override Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate object, + Serializers serializers, CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.enabled; - if (value != null) { - result - ..add('enabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(CoreCollection)])), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate deserialize( + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder(); + final result = CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2069,8 +1805,13 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDa iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(CoreCollection)]))! as BuiltList); break; } } @@ -2079,43 +1820,35 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDa } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupSerializer - implements StructuredSerializer { +class _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group, - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson, + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group'; + final String wireName = 'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson'; @override Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group object, + Serializers serializers, CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.enabled; - if (value != null) { - result - ..add('enabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.expireDate; - if (value != null) { - result - ..add('expire_date') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate))); - } + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: + const FullType(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group deserialize( + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupBuilder(); + final result = CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2123,14 +1856,11 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupSerialize iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'expire_date': - result.expireDate.replace(serializers.deserialize(value, + case 'ocs': + result.ocs.replace(serializers.deserialize(value, specifiedType: - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate))! - as CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate); + const FullType(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs))! + as CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs); break; } } @@ -2139,36 +1869,36 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupSerialize } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSerializer - implements StructuredSerializer { +class _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate, - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs, + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate'; + final String wireName = 'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs'; @override - Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate object, + Iterable serialize(Serializers serializers, + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.enabled; - if (value != null) { - result - ..add('enabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(CoreCollection)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate deserialize( + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder(); + final result = CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2176,8 +1906,13 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_Exp iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace( + serializers.deserialize(value, specifiedType: const FullType(CoreCollection))! as CoreCollection); break; } } @@ -2186,37 +1921,35 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_Exp } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedSerializer - implements - StructuredSerializer { +class _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported, - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson, + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported'; + final String wireName = 'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported object, + Iterable serialize( + Serializers serializers, CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.enabled; - if (value != null) { - result - ..add('enabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: + const FullType(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported deserialize( + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); + final result = CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2224,8 +1957,11 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_Exp iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType( + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs))! + as CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs); break; } } @@ -2234,58 +1970,33 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_Exp } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationSerializer - implements StructuredSerializer { +class _$CoreContactsActionSerializer implements StructuredSerializer { @override - final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation, - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation - ]; + final Iterable types = const [CoreContactsAction, _$CoreContactsAction]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation'; + final String wireName = 'CoreContactsAction'; @override - Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation object, + Iterable serialize(Serializers serializers, CoreContactsAction object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.outgoing; - if (value != null) { - result - ..add('outgoing') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.incoming; - if (value != null) { - result - ..add('incoming') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.expireDate; - if (value != null) { - result - ..add('expire_date') - ..add(serializers.serialize(value, - specifiedType: - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate))); - } - value = object.expireDateSupported; - if (value != null) { - result - ..add('expire_date_supported') - ..add(serializers.serialize(value, - specifiedType: const FullType( - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported))); - } + final result = [ + 'title', + serializers.serialize(object.title, specifiedType: const FullType(String)), + 'icon', + serializers.serialize(object.icon, specifiedType: const FullType(String)), + 'hyperlink', + serializers.serialize(object.hyperlink, specifiedType: const FullType(String)), + 'appId', + serializers.serialize(object.appId, specifiedType: const FullType(String)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation deserialize( - Serializers serializers, Iterable serialized, + CoreContactsAction deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationBuilder(); + final result = CoreContactsActionBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2293,23 +2004,17 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationSeri iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'outgoing': - result.outgoing = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'title': + result.title = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'incoming': - result.incoming = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'icon': + result.icon = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'expire_date': - result.expireDate.replace(serializers.deserialize(value, - specifiedType: - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate))! - as CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate); + case 'hyperlink': + result.hyperlink = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'expire_date_supported': - result.expireDateSupported.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported))! - as CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported); + case 'appId': + result.appId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -2318,42 +2023,36 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationSeri } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeSerializer - implements StructuredSerializer { +class _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee, - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data, + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee'; + final String wireName = 'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data'; @override - Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee object, + Iterable serialize(Serializers serializers, CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.queryLookupDefault; - if (value != null) { - result - ..add('query_lookup_default') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.alwaysShowUnique; - if (value != null) { - result - ..add('always_show_unique') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + final result = [ + 'userId', + serializers.serialize(object.userId, specifiedType: const FullType(String)), + 'displayName', + serializers.serialize(object.displayName, specifiedType: const FullType(String)), + 'actions', + serializers.serialize(object.actions, specifiedType: const FullType(BuiltList, [FullType(CoreContactsAction)])), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee deserialize( + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder(); + final result = CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2361,11 +2060,15 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeSerializ iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'query_lookup_default': - result.queryLookupDefault = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'userId': + result.userId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'displayName': + result.displayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'always_show_unique': - result.alwaysShowUnique = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'actions': + result.actions.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(CoreContactsAction)]))! as BuiltList); break; } } @@ -2374,37 +2077,34 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeSerializ } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropSerializer - implements - StructuredSerializer { +class _$CoreHoverCardGetUserResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop, - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop + CoreHoverCardGetUserResponse200ApplicationJson_Ocs, + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop'; + final String wireName = 'CoreHoverCardGetUserResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop object, + Iterable serialize(Serializers serializers, CoreHoverCardGetUserResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.enabled; - if (value != null) { - result - ..add('enabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop deserialize( - Serializers serializers, Iterable serialized, + CoreHoverCardGetUserResponse200ApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder(); + final result = CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2412,8 +2112,14 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Up iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data))! + as CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data); break; } } @@ -2422,42 +2128,32 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Up } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordSerializer - implements StructuredSerializer { +class _$CoreHoverCardGetUserResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password, - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password + CoreHoverCardGetUserResponse200ApplicationJson, + _$CoreHoverCardGetUserResponse200ApplicationJson ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password'; + final String wireName = 'CoreHoverCardGetUserResponse200ApplicationJson'; @override - Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password object, + Iterable serialize(Serializers serializers, CoreHoverCardGetUserResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.enabled; - if (value != null) { - result - ..add('enabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.enforced; - if (value != null) { - result - ..add('enforced') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreHoverCardGetUserResponse200ApplicationJson_Ocs)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password deserialize( - Serializers serializers, Iterable serialized, + CoreHoverCardGetUserResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordBuilder(); + final result = CoreHoverCardGetUserResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2465,11 +2161,10 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Pa iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'enforced': - result.enforced = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreHoverCardGetUserResponse200ApplicationJson_Ocs))! + as CoreHoverCardGetUserResponse200ApplicationJson_Ocs); break; } } @@ -2478,42 +2173,43 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Pa } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateSerializer - implements StructuredSerializer { +class _$CoreNavigationEntrySerializer implements StructuredSerializer { @override - final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate, - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate - ]; + final Iterable types = const [CoreNavigationEntry, _$CoreNavigationEntry]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate'; + final String wireName = 'CoreNavigationEntry'; @override - Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate object, + Iterable serialize(Serializers serializers, CoreNavigationEntry object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.enabled; - if (value != null) { - result - ..add('enabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.enforced; - if (value != null) { - result - ..add('enforced') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + final result = [ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'order', + serializers.serialize(object.order, specifiedType: const FullType(CoreNavigationEntry_Order)), + 'href', + serializers.serialize(object.href, specifiedType: const FullType(String)), + 'icon', + serializers.serialize(object.icon, specifiedType: const FullType(String)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'active', + serializers.serialize(object.active, specifiedType: const FullType(bool)), + 'classes', + serializers.serialize(object.classes, specifiedType: const FullType(String)), + 'unread', + serializers.serialize(object.unread, specifiedType: const FullType(int)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate deserialize( - Serializers serializers, Iterable serialized, + CoreNavigationEntry deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder(); + final result = CoreNavigationEntryBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2521,11 +2217,33 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Ex iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'order': + result.order.replace(serializers.deserialize(value, specifiedType: const FullType(CoreNavigationEntry_Order))! + as CoreNavigationEntry_Order); + break; + case 'href': + result.href = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'icon': + result.icon = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; - case 'enforced': - result.enforced = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'active': + result.active = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'classes': + result.classes = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'unread': + result.unread = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; } } @@ -2534,66 +2252,35 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Ex } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailSerializer - implements StructuredSerializer { +class _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail, - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail + CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs, + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail'; + final String wireName = 'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs'; @override Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail object, + Serializers serializers, CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.enabled; - if (value != null) { - result - ..add('enabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.sendPasswordByMail; - if (value != null) { - result - ..add('send_password_by_mail') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.uploadFilesDrop; - if (value != null) { - result - ..add('upload_files_drop') - ..add(serializers.serialize(value, - specifiedType: - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop))); - } - value = object.password; - if (value != null) { - result - ..add('password') - ..add(serializers.serialize(value, - specifiedType: - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password))); - } - value = object.expireDate; - if (value != null) { - result - ..add('expire_date') - ..add(serializers.serialize(value, - specifiedType: - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate))); - } + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(CoreNavigationEntry)])), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail deserialize( + CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailBuilder(); + final result = CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2601,29 +2288,13 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailSer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'send_password_by_mail': - result.sendPasswordByMail = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'upload_files_drop': - result.uploadFilesDrop.replace(serializers.deserialize(value, - specifiedType: const FullType( - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop))! - as CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop); - break; - case 'password': - result.password.replace(serializers.deserialize(value, - specifiedType: - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password))! - as CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password); + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); break; - case 'expire_date': - result.expireDate.replace(serializers.deserialize(value, - specifiedType: - const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate))! - as CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate); + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(CoreNavigationEntry)]))! as BuiltList); break; } } @@ -2632,95 +2303,33 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailSer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingSerializer - implements StructuredSerializer { +class _$CoreNavigationGetAppsNavigationResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing, - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing + CoreNavigationGetAppsNavigationResponse200ApplicationJson, + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing'; + final String wireName = 'CoreNavigationGetAppsNavigationResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing object, + Iterable serialize(Serializers serializers, CoreNavigationGetAppsNavigationResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.apiEnabled; - if (value != null) { - result - ..add('api_enabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.public; - if (value != null) { - result - ..add('public') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public))); - } - value = object.resharing; - if (value != null) { - result - ..add('resharing') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.user; - if (value != null) { - result - ..add('user') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User))); - } - value = object.groupSharing; - if (value != null) { - result - ..add('group_sharing') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.group; - if (value != null) { - result - ..add('group') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group))); - } - value = object.defaultPermissions; - if (value != null) { - result - ..add('default_permissions') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } - value = object.federation; - if (value != null) { - result - ..add('federation') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation))); - } - value = object.sharee; - if (value != null) { - result - ..add('sharee') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee))); - } - value = object.sharebymail; - if (value != null) { - result - ..add('sharebymail') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail))); - } + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing deserialize( + CoreNavigationGetAppsNavigationResponse200ApplicationJson deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingBuilder(); + final result = CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2728,47 +2337,10 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'api_enabled': - result.apiEnabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'public': - result.public.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public))! - as CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public); - break; - case 'resharing': - result.resharing = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'user': - result.user.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User))! - as CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User); - break; - case 'group_sharing': - result.groupSharing = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'group': - result.group.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group))! - as CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group); - break; - case 'default_permissions': - result.defaultPermissions = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; - break; - case 'federation': - result.federation.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation))! - as CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation); - break; - case 'sharee': - result.sharee.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee))! - as CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee); - break; - case 'sharebymail': - result.sharebymail.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail))! - as CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs))! + as CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs); break; } } @@ -2777,40 +2349,35 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingSerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_NotesSerializer - implements StructuredSerializer { +class _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Notes, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Notes + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs, + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Notes'; + final String wireName = 'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Notes object, + Iterable serialize( + Serializers serializers, CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.apiVersion; - if (value != null) { - result - ..add('api_version') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); - } - value = object.version; - if (value != null) { - result - ..add('version') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(CoreNavigationEntry)])), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Notes deserialize(Serializers serializers, Iterable serialized, + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_NotesBuilder(); + final result = CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2818,12 +2385,13 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_NotesSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'api_version': - result.apiVersion.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); break; - case 'version': - result.version = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(CoreNavigationEntry)]))! as BuiltList); break; } } @@ -2832,48 +2400,90 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_NotesSerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsSerializer - implements StructuredSerializer { +class _$CoreNavigationGetSettingsNavigationResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Notifications, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Notifications + CoreNavigationGetSettingsNavigationResponse200ApplicationJson, + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Notifications'; + final String wireName = 'CoreNavigationGetSettingsNavigationResponse200ApplicationJson'; @override Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Notifications object, + Serializers serializers, CoreNavigationGetSettingsNavigationResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.ocsEndpoints; - if (value != null) { - result - ..add('ocs-endpoints') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); - } - value = object.push; - if (value != null) { - result - ..add('push') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); - } - value = object.adminNotifications; - if (value != null) { - result - ..add('admin-notifications') - ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CoreNavigationGetSettingsNavigationResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs))! + as CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs); + break; + } } + + return result.build(); + } +} + +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version + ]; + @override + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version'; + + @override + Iterable serialize( + Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'major', + serializers.serialize(object.major, specifiedType: const FullType(int)), + 'minor', + serializers.serialize(object.minor, specifiedType: const FullType(int)), + 'micro', + serializers.serialize(object.micro, specifiedType: const FullType(int)), + 'string', + serializers.serialize(object.string, specifiedType: const FullType(String)), + 'edition', + serializers.serialize(object.edition, specifiedType: const FullType(String)), + 'extendedSupport', + serializers.serialize(object.extendedSupport, specifiedType: const FullType(bool)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Notifications deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2881,17 +2491,23 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs-endpoints': - result.ocsEndpoints.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + case 'major': + result.major = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; - case 'push': - result.push.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + case 'minor': + result.minor = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; - case 'admin-notifications': - result.adminNotifications.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + case 'micro': + result.micro = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'string': + result.string = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'edition': + result.edition = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'extendedSupport': + result.extendedSupport = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -2900,42 +2516,42 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsSerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api, - _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes'; @override Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api object, + Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes object, {FullType specifiedType = FullType.unspecified}) { final result = []; Object? value; - value = object.generate; + value = object.apiVersion; if (value != null) { result - ..add('generate') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); + ..add('api_version') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); } - value = object.validate; + value = object.version; if (value != null) { result - ..add('validate') + ..add('version') ..add(serializers.serialize(value, specifiedType: const FullType(String))); } return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -2943,11 +2559,12 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiSerialize iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'generate': - result.generate = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'api_version': + result.apiVersion.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); break; - case 'validate': - result.validate = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + case 'version': + result.version = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; } } @@ -2956,67 +2573,49 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiSerialize } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicySerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy, - _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications'; @override - Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy object, + Iterable serialize(Serializers serializers, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications object, {FullType specifiedType = FullType.unspecified}) { final result = []; Object? value; - value = object.minLength; - if (value != null) { - result - ..add('minLength') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } - value = object.enforceNonCommonPassword; - if (value != null) { - result - ..add('enforceNonCommonPassword') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.enforceNumericCharacters; - if (value != null) { - result - ..add('enforceNumericCharacters') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.enforceSpecialCharacters; + value = object.ocsEndpoints; if (value != null) { result - ..add('enforceSpecialCharacters') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); + ..add('ocs-endpoints') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); } - value = object.enforceUpperLowerCase; + value = object.push; if (value != null) { result - ..add('enforceUpperLowerCase') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); + ..add('push') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); } - value = object.api; + value = object.adminNotifications; if (value != null) { result - ..add('api') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api))); + ..add('admin-notifications') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); } return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3024,28 +2623,17 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicySerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'minLength': - result.minLength = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; - break; - case 'enforceNonCommonPassword': - result.enforceNonCommonPassword = - serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'enforceNumericCharacters': - result.enforceNumericCharacters = - serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - case 'enforceSpecialCharacters': - result.enforceSpecialCharacters = - serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'ocs-endpoints': + result.ocsEndpoints.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); break; - case 'enforceUpperLowerCase': - result.enforceUpperLowerCase = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + case 'push': + result.push.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); break; - case 'api': - result.api.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api))! - as CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api); + case 'admin-notifications': + result.adminNotifications.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); break; } } @@ -3054,54 +2642,40 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicySerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiSerializer + implements + StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi, - _$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi'; @override - Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi object, + Iterable serialize(Serializers serializers, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.version; - if (value != null) { - result - ..add('version') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.accountPropertyScopesVersion; - if (value != null) { - result - ..add('AccountPropertyScopesVersion') - ..add(serializers.serialize(value, specifiedType: const FullType(int))); - } - value = object.accountPropertyScopesFederatedEnabled; - if (value != null) { - result - ..add('AccountPropertyScopesFederatedEnabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.accountPropertyScopesPublishedEnabled; - if (value != null) { - result - ..add('AccountPropertyScopesPublishedEnabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + final result = [ + 'version', + serializers.serialize(object.version, specifiedType: const FullType(String)), + 'AccountPropertyScopesVersion', + serializers.serialize(object.accountPropertyScopesVersion, specifiedType: const FullType(int)), + 'AccountPropertyScopesFederatedEnabled', + serializers.serialize(object.accountPropertyScopesFederatedEnabled, specifiedType: const FullType(bool)), + 'AccountPropertyScopesPublishedEnabled', + serializers.serialize(object.accountPropertyScopesPublishedEnabled, specifiedType: const FullType(bool)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3110,19 +2684,19 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiSerializer final Object? value = iterator.current; switch (key) { case 'version': - result.version = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.version = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'AccountPropertyScopesVersion': result.accountPropertyScopesVersion = - serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; case 'AccountPropertyScopesFederatedEnabled': result.accountPropertyScopesFederatedEnabled = - serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; case 'AccountPropertyScopesPublishedEnabled': result.accountPropertyScopesPublishedEnabled = - serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -3131,113 +2705,59 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiSerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_ThemingSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_Theming, - _$CoreServerCapabilities_Ocs_Data_Capabilities_Theming + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_Theming'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming'; @override - Iterable serialize(Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_Theming object, + Iterable serialize( + Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.name; - if (value != null) { - result - ..add('name') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.url; - if (value != null) { - result - ..add('url') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.slogan; - if (value != null) { - result - ..add('slogan') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.color; - if (value != null) { - result - ..add('color') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.colorText; - if (value != null) { - result - ..add('color-text') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.colorElement; - if (value != null) { - result - ..add('color-element') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.colorElementBright; - if (value != null) { - result - ..add('color-element-bright') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.colorElementDark; - if (value != null) { - result - ..add('color-element-dark') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.logo; - if (value != null) { - result - ..add('logo') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.background; - if (value != null) { - result - ..add('background') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.backgroundPlain; - if (value != null) { - result - ..add('background-plain') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.backgroundDefault; - if (value != null) { - result - ..add('background-default') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.logoheader; - if (value != null) { - result - ..add('logoheader') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.favicon; - if (value != null) { - result - ..add('favicon') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + final result = [ + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'url', + serializers.serialize(object.url, specifiedType: const FullType(String)), + 'slogan', + serializers.serialize(object.slogan, specifiedType: const FullType(String)), + 'color', + serializers.serialize(object.color, specifiedType: const FullType(String)), + 'color-text', + serializers.serialize(object.colorText, specifiedType: const FullType(String)), + 'color-element', + serializers.serialize(object.colorElement, specifiedType: const FullType(String)), + 'color-element-bright', + serializers.serialize(object.colorElementBright, specifiedType: const FullType(String)), + 'color-element-dark', + serializers.serialize(object.colorElementDark, specifiedType: const FullType(String)), + 'logo', + serializers.serialize(object.logo, specifiedType: const FullType(String)), + 'background', + serializers.serialize(object.background, specifiedType: const FullType(String)), + 'background-plain', + serializers.serialize(object.backgroundPlain, specifiedType: const FullType(bool)), + 'background-default', + serializers.serialize(object.backgroundDefault, specifiedType: const FullType(bool)), + 'logoheader', + serializers.serialize(object.logoheader, specifiedType: const FullType(String)), + 'favicon', + serializers.serialize(object.favicon, specifiedType: const FullType(String)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Theming deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_ThemingBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3246,46 +2766,46 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_ThemingSerializer final Object? value = iterator.current; switch (key) { case 'name': - result.name = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'url': - result.url = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.url = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'slogan': - result.slogan = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.slogan = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'color': - result.color = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.color = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'color-text': - result.colorText = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.colorText = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'color-element': - result.colorElement = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.colorElement = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'color-element-bright': - result.colorElementBright = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.colorElementBright = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'color-element-dark': - result.colorElementDark = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.colorElementDark = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'logo': - result.logo = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.logo = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'background': - result.background = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.background = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'background-plain': - result.backgroundPlain = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + result.backgroundPlain = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; case 'background-default': - result.backgroundDefault = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + result.backgroundDefault = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; case 'logoheader': - result.logoheader = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.logoheader = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'favicon': - result.favicon = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + result.favicon = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } @@ -3294,47 +2814,37 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_ThemingSerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus, - _$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus'; @override - Iterable serialize(Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus object, + Iterable serialize( + Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus object, {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.restore; - if (value != null) { - result - ..add('restore') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.enabled; - if (value != null) { - result - ..add('enabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.supportsEmoji; - if (value != null) { - result - ..add('supports_emoji') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } + final result = [ + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'restore', + serializers.serialize(object.restore, specifiedType: const FullType(bool)), + 'supports_emoji', + serializers.serialize(object.supportsEmoji, specifiedType: const FullType(bool)), + ]; + return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus deserialize( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3342,14 +2852,14 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'restore': - result.restore = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'restore': + result.restore = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; case 'supports_emoji': - result.supportsEmoji = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + result.supportsEmoji = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -3358,187 +2868,70 @@ class _$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusSerializer } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatusSerializer - implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus, - _$CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities'; @override Iterable serialize( - Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus object, - {FullType specifiedType = FullType.unspecified}) { - final result = []; - Object? value; - value = object.enabled; - if (value != null) { - result - ..add('enabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - return result; - } - - @override - CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus deserialize( - Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatusBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'enabled': - result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; - break; - } - } - - return result.build(); - } -} - -class _$CoreServerCapabilities_Ocs_Data_CapabilitiesSerializer - implements StructuredSerializer { - @override - final Iterable types = const [ - CoreServerCapabilities_Ocs_Data_Capabilities, - _$CoreServerCapabilities_Ocs_Data_Capabilities - ]; - @override - final String wireName = 'CoreServerCapabilities_Ocs_Data_Capabilities'; - - @override - Iterable serialize(Serializers serializers, CoreServerCapabilities_Ocs_Data_Capabilities object, + Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities object, {FullType specifiedType = FullType.unspecified}) { final result = []; Object? value; - value = object.core; - if (value != null) { - result - ..add('core') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Core))); - } - value = object.bruteforce; - if (value != null) { - result - ..add('bruteforce') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce))); - } - value = object.metadataAvailable; - if (value != null) { - result - ..add('metadataAvailable') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable))); - } - value = object.files; - if (value != null) { - result - ..add('files') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Files))); - } - value = object.activity; - if (value != null) { - result - ..add('activity') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Activity))); - } - value = object.circles; - if (value != null) { - result - ..add('circles') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles))); - } - value = object.ocm; - if (value != null) { - result - ..add('ocm') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm))); - } - value = object.dav; - if (value != null) { - result - ..add('dav') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Dav))); - } - value = object.filesSharing; - if (value != null) { - result - ..add('files_sharing') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing))); - } value = object.notes; if (value != null) { result ..add('notes') ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Notes))); + specifiedType: + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes))); } value = object.notifications; if (value != null) { result ..add('notifications') ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Notifications))); - } - value = object.passwordPolicy; - if (value != null) { - result - ..add('password_policy') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy))); + specifiedType: + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications))); } value = object.provisioningApi; if (value != null) { result ..add('provisioning_api') ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi))); + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi))); } value = object.theming; if (value != null) { result ..add('theming') ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Theming))); + specifiedType: + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming))); } value = object.userStatus; if (value != null) { result ..add('user_status') ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus))); - } - value = object.weatherStatus; - if (value != null) { - result - ..add('weather_status') - ..add(serializers.serialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus))); + specifiedType: + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus))); } return result; } @override - CoreServerCapabilities_Ocs_Data_Capabilities deserialize(Serializers serializers, Iterable serialized, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_Data_CapabilitiesBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3546,85 +2939,35 @@ class _$CoreServerCapabilities_Ocs_Data_CapabilitiesSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'core': - result.core.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Core))! - as CoreServerCapabilities_Ocs_Data_Capabilities_Core); - break; - case 'bruteforce': - result.bruteforce.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce))! - as CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce); - break; - case 'metadataAvailable': - result.metadataAvailable.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable))! - as CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable); - break; - case 'files': - result.files.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Files))! - as CoreServerCapabilities_Ocs_Data_Capabilities_Files); - break; - case 'activity': - result.activity.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Activity))! - as CoreServerCapabilities_Ocs_Data_Capabilities_Activity); - break; - case 'circles': - result.circles.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Circles))! - as CoreServerCapabilities_Ocs_Data_Capabilities_Circles); - break; - case 'ocm': - result.ocm.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm))! - as CoreServerCapabilities_Ocs_Data_Capabilities_Ocm); - break; - case 'dav': - result.dav.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Dav))! - as CoreServerCapabilities_Ocs_Data_Capabilities_Dav); - break; - case 'files_sharing': - result.filesSharing.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing))! - as CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing); - break; case 'notes': result.notes.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Notes))! - as CoreServerCapabilities_Ocs_Data_Capabilities_Notes); + specifiedType: + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes); break; case 'notifications': result.notifications.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Notifications))! - as CoreServerCapabilities_Ocs_Data_Capabilities_Notifications); - break; - case 'password_policy': - result.passwordPolicy.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy))! - as CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy); + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications); break; case 'provisioning_api': result.provisioningApi.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi))! - as CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi); + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi); break; case 'theming': result.theming.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_Theming))! - as CoreServerCapabilities_Ocs_Data_Capabilities_Theming); + specifiedType: + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming); break; case 'user_status': result.userStatus.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus))! - as CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus); - break; - case 'weather_status': - result.weatherStatus.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus))! - as CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus); + specifiedType: const FullType( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus); break; } } @@ -3633,30 +2976,36 @@ class _$CoreServerCapabilities_Ocs_Data_CapabilitiesSerializer } } -class _$CoreServerCapabilities_Ocs_DataSerializer implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreServerCapabilities_Ocs_Data, _$CoreServerCapabilities_Ocs_Data]; + final Iterable types = const [ + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data + ]; @override - final String wireName = 'CoreServerCapabilities_Ocs_Data'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, CoreServerCapabilities_Ocs_Data object, + Iterable serialize(Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'version', - serializers.serialize(object.version, specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Version)), + serializers.serialize(object.version, + specifiedType: const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version)), 'capabilities', serializers.serialize(object.capabilities, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities)), + specifiedType: const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities)), ]; return result; } @override - CoreServerCapabilities_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_Ocs_DataBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3665,14 +3014,15 @@ class _$CoreServerCapabilities_Ocs_DataSerializer implements StructuredSerialize final Object? value = iterator.current; switch (key) { case 'version': - result.version.replace( - serializers.deserialize(value, specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Version))! - as CoreServerCapabilities_Ocs_Data_Version); + result.version.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version); break; case 'capabilities': result.capabilities.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreServerCapabilities_Ocs_Data_Capabilities))! - as CoreServerCapabilities_Ocs_Data_Capabilities); + specifiedType: + const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities))! + as CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities); break; } } @@ -3681,29 +3031,35 @@ class _$CoreServerCapabilities_Ocs_DataSerializer implements StructuredSerialize } } -class _$CoreServerCapabilities_OcsSerializer implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreServerCapabilities_Ocs, _$CoreServerCapabilities_Ocs]; + final Iterable types = const [ + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs + ]; @override - final String wireName = 'CoreServerCapabilities_Ocs'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreServerCapabilities_Ocs object, + Iterable serialize(Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(CoreServerCapabilities_Ocs_Data)), + serializers.serialize(object.data, + specifiedType: const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data)), ]; return result; } @override - CoreServerCapabilities_Ocs deserialize(Serializers serializers, Iterable serialized, + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilities_OcsBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3717,7 +3073,8 @@ class _$CoreServerCapabilities_OcsSerializer implements StructuredSerializer { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreServerCapabilities, _$CoreServerCapabilities]; + final Iterable types = const [ + CoreOcsGetCapabilitiesResponse200ApplicationJson, + _$CoreOcsGetCapabilitiesResponse200ApplicationJson + ]; @override - final String wireName = 'CoreServerCapabilities'; + final String wireName = 'CoreOcsGetCapabilitiesResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreServerCapabilities object, + Iterable serialize(Serializers serializers, CoreOcsGetCapabilitiesResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(CoreServerCapabilities_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreServerCapabilities deserialize(Serializers serializers, Iterable serialized, + CoreOcsGetCapabilitiesResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreServerCapabilitiesBuilder(); + final result = CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3755,8 +3117,9 @@ class _$CoreServerCapabilitiesSerializer implements StructuredSerializer { +class _$CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreNavigationApps_Ocs_Data, _$CoreNavigationApps_Ocs_Data]; + final Iterable types = const [ + CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs, + _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs + ]; @override - final String wireName = 'CoreNavigationApps_Ocs_Data'; + final String wireName = 'CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreNavigationApps_Ocs_Data object, + Iterable serialize(Serializers serializers, CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), - 'order', - serializers.serialize(object.order, specifiedType: const FullType(CoreNavigationApps_Ocs_Data_Order)), - 'href', - serializers.serialize(object.href, specifiedType: const FullType(String)), - 'icon', - serializers.serialize(object.icon, specifiedType: const FullType(String)), - 'type', - serializers.serialize(object.type, specifiedType: const FullType(String)), - 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), - 'active', - serializers.serialize(object.active, specifiedType: const FullType(bool)), - 'classes', - serializers.serialize(object.classes, specifiedType: const FullType(String)), - 'unread', - serializers.serialize(object.unread, specifiedType: const FullType(int)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), ]; return result; } @override - CoreNavigationApps_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreNavigationApps_Ocs_DataBuilder(); + final result = CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3809,33 +3163,12 @@ class _$CoreNavigationApps_Ocs_DataSerializer implements StructuredSerializer { +class _$CoreProfileApiSetVisibilityResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreNavigationApps_Ocs, _$CoreNavigationApps_Ocs]; + final Iterable types = const [ + CoreProfileApiSetVisibilityResponse200ApplicationJson, + _$CoreProfileApiSetVisibilityResponse200ApplicationJson + ]; @override - final String wireName = 'CoreNavigationApps_Ocs'; + final String wireName = 'CoreProfileApiSetVisibilityResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreNavigationApps_Ocs object, + Iterable serialize(Serializers serializers, CoreProfileApiSetVisibilityResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), - 'data', - serializers.serialize(object.data, - specifiedType: const FullType(BuiltList, [FullType(CoreNavigationApps_Ocs_Data)])), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreNavigationApps_Ocs deserialize(Serializers serializers, Iterable serialized, + CoreProfileApiSetVisibilityResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreNavigationApps_OcsBuilder(); + final result = CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3875,14 +3211,10 @@ class _$CoreNavigationApps_OcsSerializer implements StructuredSerializer); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs))! + as CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs); break; } } @@ -3891,27 +3223,34 @@ class _$CoreNavigationApps_OcsSerializer implements StructuredSerializer { +class _$CoreReferenceSerializer implements StructuredSerializer { @override - final Iterable types = const [CoreNavigationApps, _$CoreNavigationApps]; + final Iterable types = const [CoreReference, _$CoreReference]; @override - final String wireName = 'CoreNavigationApps'; + final String wireName = 'CoreReference'; @override - Iterable serialize(Serializers serializers, CoreNavigationApps object, + Iterable serialize(Serializers serializers, CoreReference object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(CoreNavigationApps_Ocs)), + 'richObjectType', + serializers.serialize(object.richObjectType, specifiedType: const FullType(String)), + 'richObject', + serializers.serialize(object.richObject, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(JsonObject)])), + 'openGraphObject', + serializers.serialize(object.openGraphObject, specifiedType: const FullType(CoreOpenGraphObject)), + 'accessible', + serializers.serialize(object.accessible, specifiedType: const FullType(bool)), ]; return result; } @override - CoreNavigationApps deserialize(Serializers serializers, Iterable serialized, + CoreReference deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreNavigationAppsBuilder(); + final result = CoreReferenceBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3919,9 +3258,19 @@ class _$CoreNavigationAppsSerializer implements StructuredSerializer { +class _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreLoginFlowInit_Poll, _$CoreLoginFlowInit_Poll]; + final Iterable types = const [ + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data, + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data + ]; @override - final String wireName = 'CoreLoginFlowInit_Poll'; + final String wireName = 'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, CoreLoginFlowInit_Poll object, + Iterable serialize( + Serializers serializers, CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'token', - serializers.serialize(object.token, specifiedType: const FullType(String)), - 'endpoint', - serializers.serialize(object.endpoint, specifiedType: const FullType(String)), + 'references', + serializers.serialize(object.references, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(CoreReference)])), ]; return result; } @override - CoreLoginFlowInit_Poll deserialize(Serializers serializers, Iterable serialized, + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreLoginFlowInit_PollBuilder(); + final result = CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -3960,11 +3314,9 @@ class _$CoreLoginFlowInit_PollSerializer implements StructuredSerializer { +class _$CoreReferenceApiResolveOneResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreLoginFlowInit, _$CoreLoginFlowInit]; + final Iterable types = const [ + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs, + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs + ]; @override - final String wireName = 'CoreLoginFlowInit'; + final String wireName = 'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreLoginFlowInit object, + Iterable serialize(Serializers serializers, CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'poll', - serializers.serialize(object.poll, specifiedType: const FullType(CoreLoginFlowInit_Poll)), - 'login', - serializers.serialize(object.login, specifiedType: const FullType(String)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data)), ]; return result; } @override - CoreLoginFlowInit deserialize(Serializers serializers, Iterable serialized, + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreLoginFlowInitBuilder(); + final result = CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4003,12 +3361,14 @@ class _$CoreLoginFlowInitSerializer implements StructuredSerializer { +class _$CoreReferenceApiResolveOneResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreLoginFlowResult, _$CoreLoginFlowResult]; + final Iterable types = const [ + CoreReferenceApiResolveOneResponse200ApplicationJson, + _$CoreReferenceApiResolveOneResponse200ApplicationJson + ]; @override - final String wireName = 'CoreLoginFlowResult'; + final String wireName = 'CoreReferenceApiResolveOneResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreLoginFlowResult object, + Iterable serialize(Serializers serializers, CoreReferenceApiResolveOneResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'server', - serializers.serialize(object.server, specifiedType: const FullType(String)), - 'loginName', - serializers.serialize(object.loginName, specifiedType: const FullType(String)), - 'appPassword', - serializers.serialize(object.appPassword, specifiedType: const FullType(String)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreLoginFlowResult deserialize(Serializers serializers, Iterable serialized, + CoreReferenceApiResolveOneResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreLoginFlowResultBuilder(); + final result = CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4049,14 +3411,10 @@ class _$CoreLoginFlowResultSerializer implements StructuredSerializer { +class _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreAutocompleteResult_Ocs_Data, _$CoreAutocompleteResult_Ocs_Data]; + final Iterable types = const [ + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data, + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data + ]; @override - final String wireName = 'CoreAutocompleteResult_Ocs_Data'; + final String wireName = 'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, CoreAutocompleteResult_Ocs_Data object, + Iterable serialize( + Serializers serializers, CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), - 'label', - serializers.serialize(object.label, specifiedType: const FullType(String)), - 'icon', - serializers.serialize(object.icon, specifiedType: const FullType(String)), - 'source', - serializers.serialize(object.source, specifiedType: const FullType(String)), - 'status', - serializers.serialize(object.status, specifiedType: const FullType(CoreAutocompleteResult_Ocs_Data_Status)), - 'subline', - serializers.serialize(object.subline, specifiedType: const FullType(String)), - 'shareWithDisplayNameUnique', - serializers.serialize(object.shareWithDisplayNameUnique, specifiedType: const FullType(String)), + 'references', + serializers.serialize(object.references, + specifiedType: const FullType(BuiltMap, + [FullType(String), FullType(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References)])), ]; return result; } @override - CoreAutocompleteResult_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreAutocompleteResult_Ocs_DataBuilder(); + final result = CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4105,29 +3459,12 @@ class _$CoreAutocompleteResult_Ocs_DataSerializer implements StructuredSerialize iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'id': - result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'label': - result.label = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'icon': - result.icon = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'source': - result.source = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'status': - result.status.replace( - serializers.deserialize(value, specifiedType: const FullType(CoreAutocompleteResult_Ocs_Data_Status))! - as CoreAutocompleteResult_Ocs_Data_Status); - break; - case 'subline': - result.subline = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'shareWithDisplayNameUnique': - result.shareWithDisplayNameUnique = - serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'references': + result.references.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References) + ]))!); break; } } @@ -4136,30 +3473,35 @@ class _$CoreAutocompleteResult_Ocs_DataSerializer implements StructuredSerialize } } -class _$CoreAutocompleteResult_OcsSerializer implements StructuredSerializer { +class _$CoreReferenceApiResolveResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreAutocompleteResult_Ocs, _$CoreAutocompleteResult_Ocs]; + final Iterable types = const [ + CoreReferenceApiResolveResponse200ApplicationJson_Ocs, + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs + ]; @override - final String wireName = 'CoreAutocompleteResult_Ocs'; + final String wireName = 'CoreReferenceApiResolveResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreAutocompleteResult_Ocs object, + Iterable serialize(Serializers serializers, CoreReferenceApiResolveResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(BuiltList, [FullType(CoreAutocompleteResult_Ocs_Data)])), + specifiedType: const FullType(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data)), ]; return result; } @override - CoreAutocompleteResult_Ocs deserialize(Serializers serializers, Iterable serialized, + CoreReferenceApiResolveResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreAutocompleteResult_OcsBuilder(); + final result = CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4173,8 +3515,8 @@ class _$CoreAutocompleteResult_OcsSerializer implements StructuredSerializer); + specifiedType: const FullType(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data))! + as CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data); break; } } @@ -4183,27 +3525,32 @@ class _$CoreAutocompleteResult_OcsSerializer implements StructuredSerializer { +class _$CoreReferenceApiResolveResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreAutocompleteResult, _$CoreAutocompleteResult]; + final Iterable types = const [ + CoreReferenceApiResolveResponse200ApplicationJson, + _$CoreReferenceApiResolveResponse200ApplicationJson + ]; @override - final String wireName = 'CoreAutocompleteResult'; + final String wireName = 'CoreReferenceApiResolveResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreAutocompleteResult object, + Iterable serialize(Serializers serializers, CoreReferenceApiResolveResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(CoreAutocompleteResult_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreReferenceApiResolveResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreAutocompleteResult deserialize(Serializers serializers, Iterable serialized, + CoreReferenceApiResolveResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreAutocompleteResultBuilder(); + final result = CoreReferenceApiResolveResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4212,8 +3559,9 @@ class _$CoreAutocompleteResultSerializer implements StructuredSerializer { +class _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreUnifiedSearchProvider, _$CoreUnifiedSearchProvider]; + final Iterable types = const [ + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data, + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data + ]; @override - final String wireName = 'CoreUnifiedSearchProvider'; + final String wireName = 'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, CoreUnifiedSearchProvider object, + Iterable serialize( + Serializers serializers, CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), - 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), - 'order', - serializers.serialize(object.order, specifiedType: const FullType(int)), + 'references', + serializers.serialize(object.references, + specifiedType: const FullType(BuiltMap, + [FullType(String), FullType(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References)])), ]; return result; } @override - CoreUnifiedSearchProvider deserialize(Serializers serializers, Iterable serialized, + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchProviderBuilder(); + final result = CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4254,14 +3606,12 @@ class _$CoreUnifiedSearchProviderSerializer implements StructuredSerializer { +class _$CoreReferenceApiExtractResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs, - _$CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs + CoreReferenceApiExtractResponse200ApplicationJson_Ocs, + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreReferenceApiExtractResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs object, + Iterable serialize(Serializers serializers, CoreReferenceApiExtractResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), 'data', serializers.serialize(object.data, - specifiedType: const FullType(BuiltList, [FullType(CoreUnifiedSearchProvider)])), + specifiedType: const FullType(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data)), ]; return result; } @override - CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs deserialize( + CoreReferenceApiExtractResponse200ApplicationJson_Ocs deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchProvidersResponse200ApplicationJson_OcsBuilder(); + final result = CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4312,7 +3662,8 @@ class _$CoreUnifiedSearchProvidersResponse200ApplicationJson_OcsSerializer break; case 'data': result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(CoreUnifiedSearchProvider)]))! as BuiltList); + specifiedType: const FullType(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data))! + as CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data); break; } } @@ -4321,33 +3672,32 @@ class _$CoreUnifiedSearchProvidersResponse200ApplicationJson_OcsSerializer } } -class _$CoreUnifiedSearchProvidersResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreReferenceApiExtractResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreUnifiedSearchProvidersResponse200ApplicationJson, - _$CoreUnifiedSearchProvidersResponse200ApplicationJson + CoreReferenceApiExtractResponse200ApplicationJson, + _$CoreReferenceApiExtractResponse200ApplicationJson ]; @override - final String wireName = 'CoreUnifiedSearchProvidersResponse200ApplicationJson'; + final String wireName = 'CoreReferenceApiExtractResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreUnifiedSearchProvidersResponse200ApplicationJson object, + Iterable serialize(Serializers serializers, CoreReferenceApiExtractResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', serializers.serialize(object.ocs, - specifiedType: const FullType(CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs)), + specifiedType: const FullType(CoreReferenceApiExtractResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreUnifiedSearchProvidersResponse200ApplicationJson deserialize( - Serializers serializers, Iterable serialized, + CoreReferenceApiExtractResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchProvidersResponse200ApplicationJsonBuilder(); + final result = CoreReferenceApiExtractResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4357,8 +3707,8 @@ class _$CoreUnifiedSearchProvidersResponse200ApplicationJsonSerializer switch (key) { case 'ocs': result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs))! - as CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs); + specifiedType: const FullType(CoreReferenceApiExtractResponse200ApplicationJson_Ocs))! + as CoreReferenceApiExtractResponse200ApplicationJson_Ocs); break; } } @@ -4367,39 +3717,39 @@ class _$CoreUnifiedSearchProvidersResponse200ApplicationJsonSerializer } } -class _$CoreUnifiedSearchResultEntrySerializer implements StructuredSerializer { +class _$CoreReferenceProviderSerializer implements StructuredSerializer { @override - final Iterable types = const [CoreUnifiedSearchResultEntry, _$CoreUnifiedSearchResultEntry]; + final Iterable types = const [CoreReferenceProvider, _$CoreReferenceProvider]; @override - final String wireName = 'CoreUnifiedSearchResultEntry'; + final String wireName = 'CoreReferenceProvider'; @override - Iterable serialize(Serializers serializers, CoreUnifiedSearchResultEntry object, + Iterable serialize(Serializers serializers, CoreReferenceProvider object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'thumbnailUrl', - serializers.serialize(object.thumbnailUrl, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), 'title', serializers.serialize(object.title, specifiedType: const FullType(String)), - 'subline', - serializers.serialize(object.subline, specifiedType: const FullType(String)), - 'resourceUrl', - serializers.serialize(object.resourceUrl, specifiedType: const FullType(String)), - 'icon', - serializers.serialize(object.icon, specifiedType: const FullType(String)), - 'rounded', - serializers.serialize(object.rounded, specifiedType: const FullType(bool)), - 'attributes', - serializers.serialize(object.attributes, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'icon_url', + serializers.serialize(object.iconUrl, specifiedType: const FullType(String)), + 'order', + serializers.serialize(object.order, specifiedType: const FullType(int)), ]; - + Object? value; + value = object.searchProvidersIds; + if (value != null) { + result + ..add('search_providers_ids') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); + } return result; } @override - CoreUnifiedSearchResultEntry deserialize(Serializers serializers, Iterable serialized, + CoreReferenceProvider deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchResultEntryBuilder(); + final result = CoreReferenceProviderBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4407,26 +3757,20 @@ class _$CoreUnifiedSearchResultEntrySerializer implements StructuredSerializer); break; } @@ -4436,38 +3780,35 @@ class _$CoreUnifiedSearchResultEntrySerializer implements StructuredSerializer { +class _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreUnifiedSearchResult, _$CoreUnifiedSearchResult]; + final Iterable types = const [ + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs, + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs + ]; @override - final String wireName = 'CoreUnifiedSearchResult'; + final String wireName = 'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreUnifiedSearchResult object, + Iterable serialize( + Serializers serializers, CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'name', - serializers.serialize(object.name, specifiedType: const FullType(String)), - 'isPaginated', - serializers.serialize(object.isPaginated, specifiedType: const FullType(bool)), - 'entries', - serializers.serialize(object.entries, - specifiedType: const FullType(BuiltList, [FullType(CoreUnifiedSearchResultEntry)])), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(CoreReferenceProvider)])), ]; - Object? value; - value = object.cursor; - if (value != null) { - result - ..add('cursor') - ..add(serializers.serialize(value, specifiedType: const FullType(CoreUnifiedSearchResult_Cursor))); - } + return result; } @override - CoreUnifiedSearchResult deserialize(Serializers serializers, Iterable serialized, + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchResultBuilder(); + final result = CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4475,20 +3816,13 @@ class _$CoreUnifiedSearchResultSerializer implements StructuredSerializer); + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); break; - case 'cursor': - result.cursor.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreUnifiedSearchResult_Cursor))! as CoreUnifiedSearchResult_Cursor); + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(CoreReferenceProvider)]))! as BuiltList); break; } } @@ -4497,33 +3831,34 @@ class _$CoreUnifiedSearchResultSerializer implements StructuredSerializer { +class _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreUnifiedSearchResponse200ApplicationJson_Ocs, - _$CoreUnifiedSearchResponse200ApplicationJson_Ocs + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson, + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson ]; @override - final String wireName = 'CoreUnifiedSearchResponse200ApplicationJson_Ocs'; + final String wireName = 'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreUnifiedSearchResponse200ApplicationJson_Ocs object, + Iterable serialize( + Serializers serializers, CoreReferenceApiGetProvidersInfoResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(CoreUnifiedSearchResult)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreUnifiedSearchResponse200ApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchResponse200ApplicationJson_OcsBuilder(); + final result = CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4531,13 +3866,10 @@ class _$CoreUnifiedSearchResponse200ApplicationJson_OcsSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta - .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); - break; - case 'data': - result.data.replace(serializers.deserialize(value, specifiedType: const FullType(CoreUnifiedSearchResult))! - as CoreUnifiedSearchResult); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs))! + as CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs); break; } } @@ -4546,31 +3878,33 @@ class _$CoreUnifiedSearchResponse200ApplicationJson_OcsSerializer } } -class _$CoreUnifiedSearchResponse200ApplicationJsonSerializer - implements StructuredSerializer { +class _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override final Iterable types = const [ - CoreUnifiedSearchResponse200ApplicationJson, - _$CoreUnifiedSearchResponse200ApplicationJson + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data, + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data ]; @override - final String wireName = 'CoreUnifiedSearchResponse200ApplicationJson'; + final String wireName = 'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, CoreUnifiedSearchResponse200ApplicationJson object, + Iterable serialize( + Serializers serializers, CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(CoreUnifiedSearchResponse200ApplicationJson_Ocs)), + 'success', + serializers.serialize(object.success, specifiedType: const FullType(bool)), ]; return result; } @override - CoreUnifiedSearchResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreUnifiedSearchResponse200ApplicationJsonBuilder(); + final result = CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4578,10 +3912,8 @@ class _$CoreUnifiedSearchResponse200ApplicationJsonSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'ocs': - result.ocs.replace(serializers.deserialize(value, - specifiedType: const FullType(CoreUnifiedSearchResponse200ApplicationJson_Ocs))! - as CoreUnifiedSearchResponse200ApplicationJson_Ocs); + case 'success': + result.success = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -4590,29 +3922,36 @@ class _$CoreUnifiedSearchResponse200ApplicationJsonSerializer } } -class _$CoreEmptyOCS_OcsSerializer implements StructuredSerializer { +class _$CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreEmptyOCS_Ocs, _$CoreEmptyOCS_Ocs]; + final Iterable types = const [ + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs, + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs + ]; @override - final String wireName = 'CoreEmptyOCS_Ocs'; + final String wireName = 'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, CoreEmptyOCS_Ocs object, + Iterable serialize( + Serializers serializers, CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(JsonObject)])), + serializers.serialize(object.data, + specifiedType: const FullType(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data)), ]; return result; } @override - CoreEmptyOCS_Ocs deserialize(Serializers serializers, Iterable serialized, + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreEmptyOCS_OcsBuilder(); + final result = CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4626,7 +3965,8 @@ class _$CoreEmptyOCS_OcsSerializer implements StructuredSerializer); + specifiedType: const FullType(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data))! + as CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data); break; } } @@ -4635,27 +3975,33 @@ class _$CoreEmptyOCS_OcsSerializer implements StructuredSerializer { +class _$CoreReferenceApiTouchProviderResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [CoreEmptyOCS, _$CoreEmptyOCS]; + final Iterable types = const [ + CoreReferenceApiTouchProviderResponse200ApplicationJson, + _$CoreReferenceApiTouchProviderResponse200ApplicationJson + ]; @override - final String wireName = 'CoreEmptyOCS'; + final String wireName = 'CoreReferenceApiTouchProviderResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, CoreEmptyOCS object, + Iterable serialize(Serializers serializers, CoreReferenceApiTouchProviderResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(CoreEmptyOCS_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs)), ]; return result; } @override - CoreEmptyOCS deserialize(Serializers serializers, Iterable serialized, + CoreReferenceApiTouchProviderResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = CoreEmptyOCSBuilder(); + final result = CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -4664,8 +4010,9 @@ class _$CoreEmptyOCSSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'ocs': - result.ocs.replace( - serializers.deserialize(value, specifiedType: const FullType(CoreEmptyOCS_Ocs))! as CoreEmptyOCS_Ocs); + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs))! + as CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs); break; } } @@ -4674,59 +4021,1711 @@ class _$CoreEmptyOCSSerializer implements StructuredSerializer { } } -class _$CoreServerStatus extends CoreServerStatus { - @override - final bool installed; - @override - final bool maintenance; - @override - final bool needsDbUpgrade; - @override - final String version; +class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesSerializer + implements StructuredSerializer { @override - final String versionstring; + final Iterable types = const [ + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types, + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types + ]; @override - final String edition; + final String wireName = 'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types'; + @override - final String productname; + Iterable serialize( + Serializers serializers, CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'description', + serializers.serialize(object.description, specifiedType: const FullType(String)), + ]; + + return result; + } + @override - final bool extendedSupport; + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder(); - factory _$CoreServerStatus([void Function(CoreServerStatusBuilder)? updates]) => - (CoreServerStatusBuilder()..update(updates))._build(); + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'description': + result.description = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } - _$CoreServerStatus._( - {required this.installed, - required this.maintenance, - required this.needsDbUpgrade, - required this.version, - required this.versionstring, - required this.edition, - required this.productname, - required this.extendedSupport}) - : super._() { - BuiltValueNullFieldError.checkNotNull(installed, r'CoreServerStatus', 'installed'); - BuiltValueNullFieldError.checkNotNull(maintenance, r'CoreServerStatus', 'maintenance'); - BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'CoreServerStatus', 'needsDbUpgrade'); - BuiltValueNullFieldError.checkNotNull(version, r'CoreServerStatus', 'version'); - BuiltValueNullFieldError.checkNotNull(versionstring, r'CoreServerStatus', 'versionstring'); - BuiltValueNullFieldError.checkNotNull(edition, r'CoreServerStatus', 'edition'); - BuiltValueNullFieldError.checkNotNull(productname, r'CoreServerStatus', 'productname'); - BuiltValueNullFieldError.checkNotNull(extendedSupport, r'CoreServerStatus', 'extendedSupport'); + return result.build(); } +} +class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data, + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data + ]; @override - CoreServerStatus rebuild(void Function(CoreServerStatusBuilder) updates) => (toBuilder()..update(updates)).build(); + final String wireName = 'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data'; @override - CoreServerStatusBuilder toBuilder() => CoreServerStatusBuilder()..replace(this); + Iterable serialize( + Serializers serializers, CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'types', + serializers.serialize(object.types, + specifiedType: const FullType( + BuiltList, [FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types)])), + ]; + + return result; + } @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is CoreServerStatus && - installed == other.installed && - maintenance == other.maintenance && + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'types': + result.types.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, [FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types)]))! + as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs, + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data))! + as CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreTextProcessingApiTaskTypesResponse200ApplicationJson, + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson + ]; + @override + final String wireName = 'CoreTextProcessingApiTaskTypesResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CoreTextProcessingApiTaskTypesResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CoreTextProcessingApiTaskTypesResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs))! + as CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CoreTextProcessingTaskSerializer implements StructuredSerializer { + @override + final Iterable types = const [CoreTextProcessingTask, _$CoreTextProcessingTask]; + @override + final String wireName = 'CoreTextProcessingTask'; + + @override + Iterable serialize(Serializers serializers, CoreTextProcessingTask object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'status', + serializers.serialize(object.status, specifiedType: const FullType(int)), + 'appId', + serializers.serialize(object.appId, specifiedType: const FullType(String)), + 'input', + serializers.serialize(object.input, specifiedType: const FullType(String)), + 'identifier', + serializers.serialize(object.identifier, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.id; + if (value != null) { + result + ..add('id') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.userId; + if (value != null) { + result + ..add('userId') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.output; + if (value != null) { + result + ..add('output') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + CoreTextProcessingTask deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreTextProcessingTaskBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'status': + result.status = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'userId': + result.userId = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'appId': + result.appId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'input': + result.input = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'output': + result.output = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'identifier': + result.identifier = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data, + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data'; + + @override + Iterable serialize( + Serializers serializers, CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'task', + serializers.serialize(object.task, specifiedType: const FullType(CoreTextProcessingTask)), + ]; + + return result; + } + + @override + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'task': + result.task.replace(serializers.deserialize(value, specifiedType: const FullType(CoreTextProcessingTask))! + as CoreTextProcessingTask); + break; + } + } + + return result.build(); + } +} + +class _$CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs, + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data))! + as CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$CoreTextProcessingApiScheduleResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreTextProcessingApiScheduleResponse200ApplicationJson, + _$CoreTextProcessingApiScheduleResponse200ApplicationJson + ]; + @override + final String wireName = 'CoreTextProcessingApiScheduleResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CoreTextProcessingApiScheduleResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CoreTextProcessingApiScheduleResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs))! + as CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data, + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data'; + + @override + Iterable serialize( + Serializers serializers, CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'task', + serializers.serialize(object.task, specifiedType: const FullType(CoreTextProcessingTask)), + ]; + + return result; + } + + @override + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'task': + result.task.replace(serializers.deserialize(value, specifiedType: const FullType(CoreTextProcessingTask))! + as CoreTextProcessingTask); + break; + } + } + + return result.build(); + } +} + +class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs, + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data))! + as CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$CoreTextProcessingApiGetTaskResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreTextProcessingApiGetTaskResponse200ApplicationJson, + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson + ]; + @override + final String wireName = 'CoreTextProcessingApiGetTaskResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CoreTextProcessingApiGetTaskResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CoreTextProcessingApiGetTaskResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs))! + as CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages, + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages + ]; + @override + final String wireName = 'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages'; + + @override + Iterable serialize( + Serializers serializers, CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'from', + serializers.serialize(object.from, specifiedType: const FullType(String)), + 'fromLabel', + serializers.serialize(object.fromLabel, specifiedType: const FullType(String)), + 'to', + serializers.serialize(object.to, specifiedType: const FullType(String)), + 'toLabel', + serializers.serialize(object.toLabel, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'from': + result.from = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'fromLabel': + result.fromLabel = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'to': + result.to = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'toLabel': + result.toLabel = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data, + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data'; + + @override + Iterable serialize( + Serializers serializers, CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'languages', + serializers.serialize(object.languages, + specifiedType: const FullType( + BuiltList, [FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages)])), + 'languageDetection', + serializers.serialize(object.languageDetection, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'languages': + result.languages.replace(serializers.deserialize(value, + specifiedType: const FullType( + BuiltList, [FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages)]))! + as BuiltList); + break; + case 'languageDetection': + result.languageDetection = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$CoreTranslationApiLanguagesResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs, + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreTranslationApiLanguagesResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data))! + as CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$CoreTranslationApiLanguagesResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreTranslationApiLanguagesResponse200ApplicationJson, + _$CoreTranslationApiLanguagesResponse200ApplicationJson + ]; + @override + final String wireName = 'CoreTranslationApiLanguagesResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CoreTranslationApiLanguagesResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CoreTranslationApiLanguagesResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreTranslationApiLanguagesResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs))! + as CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data, + _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data'; + + @override + Iterable serialize( + Serializers serializers, CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'text', + serializers.serialize(object.text, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.from; + if (value != null) { + result + ..add('from') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'text': + result.text = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'from': + result.from = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$CoreTranslationApiTranslateResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs, + _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'CoreTranslationApiTranslateResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CoreTranslationApiTranslateResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreTranslationApiTranslateResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data))! + as CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$CoreTranslationApiTranslateResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreTranslationApiTranslateResponse200ApplicationJson, + _$CoreTranslationApiTranslateResponse200ApplicationJson + ]; + @override + final String wireName = 'CoreTranslationApiTranslateResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CoreTranslationApiTranslateResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CoreTranslationApiTranslateResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreTranslationApiTranslateResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs))! + as CoreTranslationApiTranslateResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CoreUnifiedSearchProviderSerializer implements StructuredSerializer { + @override + final Iterable types = const [CoreUnifiedSearchProvider, _$CoreUnifiedSearchProvider]; + @override + final String wireName = 'CoreUnifiedSearchProvider'; + + @override + Iterable serialize(Serializers serializers, CoreUnifiedSearchProvider object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'order', + serializers.serialize(object.order, specifiedType: const FullType(int)), + ]; + + return result; + } + + @override + CoreUnifiedSearchProvider deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreUnifiedSearchProviderBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'order': + result.order = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs, + _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(BuiltList, [FullType(CoreUnifiedSearchProvider)])), + ]; + + return result; + } + + @override + CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(CoreUnifiedSearchProvider)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$CoreUnifiedSearchGetProvidersResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreUnifiedSearchGetProvidersResponse200ApplicationJson, + _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson + ]; + @override + final String wireName = 'CoreUnifiedSearchGetProvidersResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CoreUnifiedSearchGetProvidersResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CoreUnifiedSearchGetProvidersResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreUnifiedSearchGetProvidersResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs))! + as CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CoreUnifiedSearchResultEntrySerializer implements StructuredSerializer { + @override + final Iterable types = const [CoreUnifiedSearchResultEntry, _$CoreUnifiedSearchResultEntry]; + @override + final String wireName = 'CoreUnifiedSearchResultEntry'; + + @override + Iterable serialize(Serializers serializers, CoreUnifiedSearchResultEntry object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'thumbnailUrl', + serializers.serialize(object.thumbnailUrl, specifiedType: const FullType(String)), + 'title', + serializers.serialize(object.title, specifiedType: const FullType(String)), + 'subline', + serializers.serialize(object.subline, specifiedType: const FullType(String)), + 'resourceUrl', + serializers.serialize(object.resourceUrl, specifiedType: const FullType(String)), + 'icon', + serializers.serialize(object.icon, specifiedType: const FullType(String)), + 'rounded', + serializers.serialize(object.rounded, specifiedType: const FullType(bool)), + 'attributes', + serializers.serialize(object.attributes, specifiedType: const FullType(BuiltList, [FullType(String)])), + ]; + + return result; + } + + @override + CoreUnifiedSearchResultEntry deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreUnifiedSearchResultEntryBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'thumbnailUrl': + result.thumbnailUrl = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'title': + result.title = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'subline': + result.subline = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'resourceUrl': + result.resourceUrl = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'icon': + result.icon = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'rounded': + result.rounded = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'attributes': + result.attributes.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$CoreUnifiedSearchResultSerializer implements StructuredSerializer { + @override + final Iterable types = const [CoreUnifiedSearchResult, _$CoreUnifiedSearchResult]; + @override + final String wireName = 'CoreUnifiedSearchResult'; + + @override + Iterable serialize(Serializers serializers, CoreUnifiedSearchResult object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'isPaginated', + serializers.serialize(object.isPaginated, specifiedType: const FullType(bool)), + 'entries', + serializers.serialize(object.entries, + specifiedType: const FullType(BuiltList, [FullType(CoreUnifiedSearchResultEntry)])), + ]; + Object? value; + value = object.cursor; + if (value != null) { + result + ..add('cursor') + ..add(serializers.serialize(value, specifiedType: const FullType(CoreUnifiedSearchResult_Cursor))); + } + return result; + } + + @override + CoreUnifiedSearchResult deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreUnifiedSearchResultBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'isPaginated': + result.isPaginated = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'entries': + result.entries.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(CoreUnifiedSearchResultEntry)]))! + as BuiltList); + break; + case 'cursor': + result.cursor.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreUnifiedSearchResult_Cursor))! as CoreUnifiedSearchResult_Cursor); + break; + } + } + + return result.build(); + } +} + +class _$CoreUnifiedSearchSearchResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs, + _$CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(CoreUnifiedSearchResult)), + ]; + + return result; + } + + @override + CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreUnifiedSearchSearchResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(CoreUnifiedSearchResult))! + as CoreUnifiedSearchResult); + break; + } + } + + return result.build(); + } +} + +class _$CoreUnifiedSearchSearchResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreUnifiedSearchSearchResponse200ApplicationJson, + _$CoreUnifiedSearchSearchResponse200ApplicationJson + ]; + @override + final String wireName = 'CoreUnifiedSearchSearchResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CoreUnifiedSearchSearchResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CoreUnifiedSearchSearchResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreUnifiedSearchSearchResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs))! + as CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew, + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew + ]; + @override + final String wireName = 'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew'; + + @override + Iterable serialize( + Serializers serializers, CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'regular', + serializers.serialize(object.regular, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'admin', + serializers.serialize(object.admin, specifiedType: const FullType(BuiltList, [FullType(String)])), + ]; + + return result; + } + + @override + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'regular': + result.regular.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'admin': + result.admin.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data, + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data'; + + @override + Iterable serialize(Serializers serializers, CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'changelogURL', + serializers.serialize(object.changelogURL, specifiedType: const FullType(String)), + 'product', + serializers.serialize(object.product, specifiedType: const FullType(String)), + 'version', + serializers.serialize(object.version, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.whatsNew; + if (value != null) { + result + ..add('whatsNew') + ..add(serializers.serialize(value, + specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew))); + } + return result; + } + + @override + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'changelogURL': + result.changelogURL = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'product': + result.product = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'version': + result.version = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'whatsNew': + result.whatsNew.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew))! + as CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew); + break; + } + } + + return result.build(); + } +} + +class _$CoreWhatsNewGetResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWhatsNewGetResponse200ApplicationJson_Ocs, + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'CoreWhatsNewGetResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CoreWhatsNewGetResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + CoreWhatsNewGetResponse200ApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWhatsNewGetResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data))! + as CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$CoreWhatsNewGetResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWhatsNewGetResponse200ApplicationJson, + _$CoreWhatsNewGetResponse200ApplicationJson + ]; + @override + final String wireName = 'CoreWhatsNewGetResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CoreWhatsNewGetResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CoreWhatsNewGetResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWhatsNewGetResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreWhatsNewGetResponse200ApplicationJson_Ocs))! + as CoreWhatsNewGetResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CoreWhatsNewDismissResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWhatsNewDismissResponse200ApplicationJson_Ocs, + _$CoreWhatsNewDismissResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'CoreWhatsNewDismissResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, CoreWhatsNewDismissResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(CoreOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + CoreWhatsNewDismissResponse200ApplicationJson_Ocs deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWhatsNewDismissResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta + .replace(serializers.deserialize(value, specifiedType: const FullType(CoreOCSMeta))! as CoreOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$CoreWhatsNewDismissResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWhatsNewDismissResponse200ApplicationJson, + _$CoreWhatsNewDismissResponse200ApplicationJson + ]; + @override + final String wireName = 'CoreWhatsNewDismissResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CoreWhatsNewDismissResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(CoreWhatsNewDismissResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + CoreWhatsNewDismissResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWhatsNewDismissResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(CoreWhatsNewDismissResponse200ApplicationJson_Ocs))! + as CoreWhatsNewDismissResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$CoreWipeCheckWipeResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + CoreWipeCheckWipeResponse200ApplicationJson, + _$CoreWipeCheckWipeResponse200ApplicationJson + ]; + @override + final String wireName = 'CoreWipeCheckWipeResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, CoreWipeCheckWipeResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'wipe', + serializers.serialize(object.wipe, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + CoreWipeCheckWipeResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = CoreWipeCheckWipeResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'wipe': + result.wipe = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$CoreStatus extends CoreStatus { + @override + final bool installed; + @override + final bool maintenance; + @override + final bool needsDbUpgrade; + @override + final String version; + @override + final String versionstring; + @override + final String edition; + @override + final String productname; + @override + final bool extendedSupport; + + factory _$CoreStatus([void Function(CoreStatusBuilder)? updates]) => (CoreStatusBuilder()..update(updates))._build(); + + _$CoreStatus._( + {required this.installed, + required this.maintenance, + required this.needsDbUpgrade, + required this.version, + required this.versionstring, + required this.edition, + required this.productname, + required this.extendedSupport}) + : super._() { + BuiltValueNullFieldError.checkNotNull(installed, r'CoreStatus', 'installed'); + BuiltValueNullFieldError.checkNotNull(maintenance, r'CoreStatus', 'maintenance'); + BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'CoreStatus', 'needsDbUpgrade'); + BuiltValueNullFieldError.checkNotNull(version, r'CoreStatus', 'version'); + BuiltValueNullFieldError.checkNotNull(versionstring, r'CoreStatus', 'versionstring'); + BuiltValueNullFieldError.checkNotNull(edition, r'CoreStatus', 'edition'); + BuiltValueNullFieldError.checkNotNull(productname, r'CoreStatus', 'productname'); + BuiltValueNullFieldError.checkNotNull(extendedSupport, r'CoreStatus', 'extendedSupport'); + } + + @override + CoreStatus rebuild(void Function(CoreStatusBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + CoreStatusBuilder toBuilder() => CoreStatusBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreStatus && + installed == other.installed && + maintenance == other.maintenance && needsDbUpgrade == other.needsDbUpgrade && version == other.version && versionstring == other.versionstring && @@ -4738,949 +5737,4722 @@ class _$CoreServerStatus extends CoreServerStatus { @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, installed.hashCode); - _$hash = $jc(_$hash, maintenance.hashCode); - _$hash = $jc(_$hash, needsDbUpgrade.hashCode); - _$hash = $jc(_$hash, version.hashCode); - _$hash = $jc(_$hash, versionstring.hashCode); - _$hash = $jc(_$hash, edition.hashCode); - _$hash = $jc(_$hash, productname.hashCode); - _$hash = $jc(_$hash, extendedSupport.hashCode); + _$hash = $jc(_$hash, installed.hashCode); + _$hash = $jc(_$hash, maintenance.hashCode); + _$hash = $jc(_$hash, needsDbUpgrade.hashCode); + _$hash = $jc(_$hash, version.hashCode); + _$hash = $jc(_$hash, versionstring.hashCode); + _$hash = $jc(_$hash, edition.hashCode); + _$hash = $jc(_$hash, productname.hashCode); + _$hash = $jc(_$hash, extendedSupport.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreStatus') + ..add('installed', installed) + ..add('maintenance', maintenance) + ..add('needsDbUpgrade', needsDbUpgrade) + ..add('version', version) + ..add('versionstring', versionstring) + ..add('edition', edition) + ..add('productname', productname) + ..add('extendedSupport', extendedSupport)) + .toString(); + } +} + +class CoreStatusBuilder implements Builder { + _$CoreStatus? _$v; + + bool? _installed; + bool? get installed => _$this._installed; + set installed(bool? installed) => _$this._installed = installed; + + bool? _maintenance; + bool? get maintenance => _$this._maintenance; + set maintenance(bool? maintenance) => _$this._maintenance = maintenance; + + bool? _needsDbUpgrade; + bool? get needsDbUpgrade => _$this._needsDbUpgrade; + set needsDbUpgrade(bool? needsDbUpgrade) => _$this._needsDbUpgrade = needsDbUpgrade; + + String? _version; + String? get version => _$this._version; + set version(String? version) => _$this._version = version; + + String? _versionstring; + String? get versionstring => _$this._versionstring; + set versionstring(String? versionstring) => _$this._versionstring = versionstring; + + String? _edition; + String? get edition => _$this._edition; + set edition(String? edition) => _$this._edition = edition; + + String? _productname; + String? get productname => _$this._productname; + set productname(String? productname) => _$this._productname = productname; + + bool? _extendedSupport; + bool? get extendedSupport => _$this._extendedSupport; + set extendedSupport(bool? extendedSupport) => _$this._extendedSupport = extendedSupport; + + CoreStatusBuilder(); + + CoreStatusBuilder get _$this { + final $v = _$v; + if ($v != null) { + _installed = $v.installed; + _maintenance = $v.maintenance; + _needsDbUpgrade = $v.needsDbUpgrade; + _version = $v.version; + _versionstring = $v.versionstring; + _edition = $v.edition; + _productname = $v.productname; + _extendedSupport = $v.extendedSupport; + _$v = null; + } + return this; + } + + @override + void replace(CoreStatus other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreStatus; + } + + @override + void update(void Function(CoreStatusBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreStatus build() => _build(); + + _$CoreStatus _build() { + final _$result = _$v ?? + _$CoreStatus._( + installed: BuiltValueNullFieldError.checkNotNull(installed, r'CoreStatus', 'installed'), + maintenance: BuiltValueNullFieldError.checkNotNull(maintenance, r'CoreStatus', 'maintenance'), + needsDbUpgrade: BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'CoreStatus', 'needsDbUpgrade'), + version: BuiltValueNullFieldError.checkNotNull(version, r'CoreStatus', 'version'), + versionstring: BuiltValueNullFieldError.checkNotNull(versionstring, r'CoreStatus', 'versionstring'), + edition: BuiltValueNullFieldError.checkNotNull(edition, r'CoreStatus', 'edition'), + productname: BuiltValueNullFieldError.checkNotNull(productname, r'CoreStatus', 'productname'), + extendedSupport: BuiltValueNullFieldError.checkNotNull(extendedSupport, r'CoreStatus', 'extendedSupport')); + replace(_$result); + return _$result; + } +} + +class _$CoreOCSMeta extends CoreOCSMeta { + @override + final String status; + @override + final int statuscode; + @override + final String? message; + @override + final String? totalitems; + @override + final String? itemsperpage; + + factory _$CoreOCSMeta([void Function(CoreOCSMetaBuilder)? updates]) => + (CoreOCSMetaBuilder()..update(updates))._build(); + + _$CoreOCSMeta._({required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) + : super._() { + BuiltValueNullFieldError.checkNotNull(status, r'CoreOCSMeta', 'status'); + BuiltValueNullFieldError.checkNotNull(statuscode, r'CoreOCSMeta', 'statuscode'); + } + + @override + CoreOCSMeta rebuild(void Function(CoreOCSMetaBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + CoreOCSMetaBuilder toBuilder() => CoreOCSMetaBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreOCSMeta && + status == other.status && + statuscode == other.statuscode && + message == other.message && + totalitems == other.totalitems && + itemsperpage == other.itemsperpage; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, statuscode.hashCode); + _$hash = $jc(_$hash, message.hashCode); + _$hash = $jc(_$hash, totalitems.hashCode); + _$hash = $jc(_$hash, itemsperpage.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreOCSMeta') + ..add('status', status) + ..add('statuscode', statuscode) + ..add('message', message) + ..add('totalitems', totalitems) + ..add('itemsperpage', itemsperpage)) + .toString(); + } +} + +class CoreOCSMetaBuilder implements Builder { + _$CoreOCSMeta? _$v; + + String? _status; + String? get status => _$this._status; + set status(String? status) => _$this._status = status; + + int? _statuscode; + int? get statuscode => _$this._statuscode; + set statuscode(int? statuscode) => _$this._statuscode = statuscode; + + String? _message; + String? get message => _$this._message; + set message(String? message) => _$this._message = message; + + String? _totalitems; + String? get totalitems => _$this._totalitems; + set totalitems(String? totalitems) => _$this._totalitems = totalitems; + + String? _itemsperpage; + String? get itemsperpage => _$this._itemsperpage; + set itemsperpage(String? itemsperpage) => _$this._itemsperpage = itemsperpage; + + CoreOCSMetaBuilder(); + + CoreOCSMetaBuilder get _$this { + final $v = _$v; + if ($v != null) { + _status = $v.status; + _statuscode = $v.statuscode; + _message = $v.message; + _totalitems = $v.totalitems; + _itemsperpage = $v.itemsperpage; + _$v = null; + } + return this; + } + + @override + void replace(CoreOCSMeta other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreOCSMeta; + } + + @override + void update(void Function(CoreOCSMetaBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreOCSMeta build() => _build(); + + _$CoreOCSMeta _build() { + final _$result = _$v ?? + _$CoreOCSMeta._( + status: BuiltValueNullFieldError.checkNotNull(status, r'CoreOCSMeta', 'status'), + statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'CoreOCSMeta', 'statuscode'), + message: message, + totalitems: totalitems, + itemsperpage: itemsperpage); + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data + extends CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data { + @override + final String apppassword; + + factory _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data( + [void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data._({required this.apppassword}) : super._() { + BuiltValueNullFieldError.checkNotNull( + apppassword, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data', 'apppassword'); + } + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data && + apppassword == other.apppassword; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, apppassword.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data') + ..add('apppassword', apppassword)) + .toString(); + } +} + +class CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data? _$v; + + String? _apppassword; + String? get apppassword => _$this._apppassword; + set apppassword(String? apppassword) => _$this._apppassword = apppassword; + + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); + + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _apppassword = $v.apppassword; + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data; + } + + @override + void update(void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data build() => _build(); + + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data._( + apppassword: BuiltValueNullFieldError.checkNotNull( + apppassword, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data', 'apppassword')); + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs + extends CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; + @override + final CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_Data data; + + factory _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs( + [void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs', 'data'); + } + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs rebuild( + void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs? _$v; + + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder(); + + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs build() => _build(); + + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs _build() { + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson + extends CoreAppPasswordGetAppPasswordResponse200ApplicationJson { + @override + final CoreAppPasswordGetAppPasswordResponse200ApplicationJson_Ocs ocs; + + factory _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson( + [void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder)? updates]) => + (CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson', 'ocs'); + } + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson rebuild( + void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder toBuilder() => + CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordGetAppPasswordResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson? _$v; + + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder? _ocs; + CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreAppPasswordGetAppPasswordResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder(); + + CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordGetAppPasswordResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson; + } + + @override + void update(void Function(CoreAppPasswordGetAppPasswordResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordGetAppPasswordResponse200ApplicationJson build() => _build(); + + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson _build() { + _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreAppPasswordGetAppPasswordResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAppPasswordGetAppPasswordResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data + extends CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data { + @override + final String apppassword; + + factory _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data( + [void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data._({required this.apppassword}) : super._() { + BuiltValueNullFieldError.checkNotNull( + apppassword, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data', 'apppassword'); + } + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data && + apppassword == other.apppassword; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, apppassword.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data') + ..add('apppassword', apppassword)) + .toString(); + } +} + +class CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data? _$v; + + String? _apppassword; + String? get apppassword => _$this._apppassword; + set apppassword(String? apppassword) => _$this._apppassword = apppassword; + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _apppassword = $v.apppassword; + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data; + } + + @override + void update(void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data build() => _build(); + + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data._( + apppassword: BuiltValueNullFieldError.checkNotNull( + apppassword, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data', 'apppassword')); + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs + extends CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; + @override + final CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_Data data; + + factory _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs( + [void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs', 'data'); + } + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs rebuild( + void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs? _$v; + + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder(); + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs build() => _build(); + + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs _build() { + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson + extends CoreAppPasswordRotateAppPasswordResponse200ApplicationJson { + @override + final CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_Ocs ocs; + + factory _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson( + [void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder)? updates]) => + (CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson', 'ocs'); + } + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson rebuild( + void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder toBuilder() => + CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordRotateAppPasswordResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson? _$v; + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder? _ocs; + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder(); + + CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordRotateAppPasswordResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson; + } + + @override + void update(void Function(CoreAppPasswordRotateAppPasswordResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordRotateAppPasswordResponse200ApplicationJson build() => _build(); + + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson _build() { + _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreAppPasswordRotateAppPasswordResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAppPasswordRotateAppPasswordResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs + extends CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; + @override + final JsonObject data; + + factory _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs( + [void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs', 'data'); + } + + @override + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs rebuild( + void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs? _$v; + + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder(); + + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs build() => _build(); + + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs _build() { + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson + extends CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson { + @override + final CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_Ocs ocs; + + factory _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson( + [void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder)? updates]) => + (CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson', 'ocs'); + } + + @override + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson rebuild( + void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder toBuilder() => + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson? _$v; + + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder? _ocs; + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder(); + + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson; + } + + @override + void update(void Function(CoreAppPasswordDeleteAppPasswordResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson build() => _build(); + + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson _build() { + _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAppPasswordDeleteAppPasswordResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAutocompleteResult extends CoreAutocompleteResult { + @override + final String id; + @override + final String label; + @override + final String icon; + @override + final String source; + @override + final String status; + @override + final String subline; + @override + final String shareWithDisplayNameUnique; + + factory _$CoreAutocompleteResult([void Function(CoreAutocompleteResultBuilder)? updates]) => + (CoreAutocompleteResultBuilder()..update(updates))._build(); + + _$CoreAutocompleteResult._( + {required this.id, + required this.label, + required this.icon, + required this.source, + required this.status, + required this.subline, + required this.shareWithDisplayNameUnique}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'CoreAutocompleteResult', 'id'); + BuiltValueNullFieldError.checkNotNull(label, r'CoreAutocompleteResult', 'label'); + BuiltValueNullFieldError.checkNotNull(icon, r'CoreAutocompleteResult', 'icon'); + BuiltValueNullFieldError.checkNotNull(source, r'CoreAutocompleteResult', 'source'); + BuiltValueNullFieldError.checkNotNull(status, r'CoreAutocompleteResult', 'status'); + BuiltValueNullFieldError.checkNotNull(subline, r'CoreAutocompleteResult', 'subline'); + BuiltValueNullFieldError.checkNotNull( + shareWithDisplayNameUnique, r'CoreAutocompleteResult', 'shareWithDisplayNameUnique'); + } + + @override + CoreAutocompleteResult rebuild(void Function(CoreAutocompleteResultBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAutocompleteResultBuilder toBuilder() => CoreAutocompleteResultBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAutocompleteResult && + id == other.id && + label == other.label && + icon == other.icon && + source == other.source && + status == other.status && + subline == other.subline && + shareWithDisplayNameUnique == other.shareWithDisplayNameUnique; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, label.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, source.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, subline.hashCode); + _$hash = $jc(_$hash, shareWithDisplayNameUnique.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAutocompleteResult') + ..add('id', id) + ..add('label', label) + ..add('icon', icon) + ..add('source', source) + ..add('status', status) + ..add('subline', subline) + ..add('shareWithDisplayNameUnique', shareWithDisplayNameUnique)) + .toString(); + } +} + +class CoreAutocompleteResultBuilder implements Builder { + _$CoreAutocompleteResult? _$v; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _label; + String? get label => _$this._label; + set label(String? label) => _$this._label = label; + + String? _icon; + String? get icon => _$this._icon; + set icon(String? icon) => _$this._icon = icon; + + String? _source; + String? get source => _$this._source; + set source(String? source) => _$this._source = source; + + String? _status; + String? get status => _$this._status; + set status(String? status) => _$this._status = status; + + String? _subline; + String? get subline => _$this._subline; + set subline(String? subline) => _$this._subline = subline; + + String? _shareWithDisplayNameUnique; + String? get shareWithDisplayNameUnique => _$this._shareWithDisplayNameUnique; + set shareWithDisplayNameUnique(String? shareWithDisplayNameUnique) => + _$this._shareWithDisplayNameUnique = shareWithDisplayNameUnique; + + CoreAutocompleteResultBuilder(); + + CoreAutocompleteResultBuilder get _$this { + final $v = _$v; + if ($v != null) { + _id = $v.id; + _label = $v.label; + _icon = $v.icon; + _source = $v.source; + _status = $v.status; + _subline = $v.subline; + _shareWithDisplayNameUnique = $v.shareWithDisplayNameUnique; + _$v = null; + } + return this; + } + + @override + void replace(CoreAutocompleteResult other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAutocompleteResult; + } + + @override + void update(void Function(CoreAutocompleteResultBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAutocompleteResult build() => _build(); + + _$CoreAutocompleteResult _build() { + final _$result = _$v ?? + _$CoreAutocompleteResult._( + id: BuiltValueNullFieldError.checkNotNull(id, r'CoreAutocompleteResult', 'id'), + label: BuiltValueNullFieldError.checkNotNull(label, r'CoreAutocompleteResult', 'label'), + icon: BuiltValueNullFieldError.checkNotNull(icon, r'CoreAutocompleteResult', 'icon'), + source: BuiltValueNullFieldError.checkNotNull(source, r'CoreAutocompleteResult', 'source'), + status: BuiltValueNullFieldError.checkNotNull(status, r'CoreAutocompleteResult', 'status'), + subline: BuiltValueNullFieldError.checkNotNull(subline, r'CoreAutocompleteResult', 'subline'), + shareWithDisplayNameUnique: BuiltValueNullFieldError.checkNotNull( + shareWithDisplayNameUnique, r'CoreAutocompleteResult', 'shareWithDisplayNameUnique')); + replace(_$result); + return _$result; + } +} + +class _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs extends CoreAutoCompleteGetResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; + @override + final BuiltList data; + + factory _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs( + [void Function(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreAutoCompleteGetResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreAutoCompleteGetResponse200ApplicationJson_Ocs', 'data'); + } + + @override + CoreAutoCompleteGetResponse200ApplicationJson_Ocs rebuild( + void Function(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAutoCompleteGetResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAutoCompleteGetResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs? _$v; + + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; + + CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder(); + + CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreAutoCompleteGetResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAutoCompleteGetResponse200ApplicationJson_Ocs build() => _build(); + + _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs _build() { + _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$CoreAutoCompleteGetResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreAutoCompleteGetResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAutoCompleteGetResponse200ApplicationJson extends CoreAutoCompleteGetResponse200ApplicationJson { + @override + final CoreAutoCompleteGetResponse200ApplicationJson_Ocs ocs; + + factory _$CoreAutoCompleteGetResponse200ApplicationJson( + [void Function(CoreAutoCompleteGetResponse200ApplicationJsonBuilder)? updates]) => + (CoreAutoCompleteGetResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$CoreAutoCompleteGetResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAutoCompleteGetResponse200ApplicationJson', 'ocs'); + } + + @override + CoreAutoCompleteGetResponse200ApplicationJson rebuild( + void Function(CoreAutoCompleteGetResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAutoCompleteGetResponse200ApplicationJsonBuilder toBuilder() => + CoreAutoCompleteGetResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAutoCompleteGetResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAutoCompleteGetResponse200ApplicationJson')..add('ocs', ocs)).toString(); + } +} + +class CoreAutoCompleteGetResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreAutoCompleteGetResponse200ApplicationJson? _$v; + + CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder? _ocs; + CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreAutoCompleteGetResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CoreAutoCompleteGetResponse200ApplicationJsonBuilder(); + + CoreAutoCompleteGetResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreAutoCompleteGetResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAutoCompleteGetResponse200ApplicationJson; + } + + @override + void update(void Function(CoreAutoCompleteGetResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAutoCompleteGetResponse200ApplicationJson build() => _build(); + + _$CoreAutoCompleteGetResponse200ApplicationJson _build() { + _$CoreAutoCompleteGetResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreAutoCompleteGetResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CoreAutoCompleteGetResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreAvatarAvatarGetAvatarDarkHeaders extends CoreAvatarAvatarGetAvatarDarkHeaders { + @override + final int? xNcIscustomavatar; + + factory _$CoreAvatarAvatarGetAvatarDarkHeaders( + [void Function(CoreAvatarAvatarGetAvatarDarkHeadersBuilder)? updates]) => + (CoreAvatarAvatarGetAvatarDarkHeadersBuilder()..update(updates))._build(); + + _$CoreAvatarAvatarGetAvatarDarkHeaders._({this.xNcIscustomavatar}) : super._(); + + @override + CoreAvatarAvatarGetAvatarDarkHeaders rebuild(void Function(CoreAvatarAvatarGetAvatarDarkHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAvatarAvatarGetAvatarDarkHeadersBuilder toBuilder() => + CoreAvatarAvatarGetAvatarDarkHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAvatarAvatarGetAvatarDarkHeaders && xNcIscustomavatar == other.xNcIscustomavatar; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, xNcIscustomavatar.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAvatarAvatarGetAvatarDarkHeaders') + ..add('xNcIscustomavatar', xNcIscustomavatar)) + .toString(); + } +} + +class CoreAvatarAvatarGetAvatarDarkHeadersBuilder + implements Builder { + _$CoreAvatarAvatarGetAvatarDarkHeaders? _$v; + + int? _xNcIscustomavatar; + int? get xNcIscustomavatar => _$this._xNcIscustomavatar; + set xNcIscustomavatar(int? xNcIscustomavatar) => _$this._xNcIscustomavatar = xNcIscustomavatar; + + CoreAvatarAvatarGetAvatarDarkHeadersBuilder(); + + CoreAvatarAvatarGetAvatarDarkHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _xNcIscustomavatar = $v.xNcIscustomavatar; + _$v = null; + } + return this; + } + + @override + void replace(CoreAvatarAvatarGetAvatarDarkHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAvatarAvatarGetAvatarDarkHeaders; + } + + @override + void update(void Function(CoreAvatarAvatarGetAvatarDarkHeadersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAvatarAvatarGetAvatarDarkHeaders build() => _build(); + + _$CoreAvatarAvatarGetAvatarDarkHeaders _build() { + final _$result = _$v ?? _$CoreAvatarAvatarGetAvatarDarkHeaders._(xNcIscustomavatar: xNcIscustomavatar); + replace(_$result); + return _$result; + } +} + +class _$CoreAvatarAvatarGetAvatarHeaders extends CoreAvatarAvatarGetAvatarHeaders { + @override + final int? xNcIscustomavatar; + + factory _$CoreAvatarAvatarGetAvatarHeaders([void Function(CoreAvatarAvatarGetAvatarHeadersBuilder)? updates]) => + (CoreAvatarAvatarGetAvatarHeadersBuilder()..update(updates))._build(); + + _$CoreAvatarAvatarGetAvatarHeaders._({this.xNcIscustomavatar}) : super._(); + + @override + CoreAvatarAvatarGetAvatarHeaders rebuild(void Function(CoreAvatarAvatarGetAvatarHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreAvatarAvatarGetAvatarHeadersBuilder toBuilder() => CoreAvatarAvatarGetAvatarHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreAvatarAvatarGetAvatarHeaders && xNcIscustomavatar == other.xNcIscustomavatar; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, xNcIscustomavatar.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreAvatarAvatarGetAvatarHeaders') + ..add('xNcIscustomavatar', xNcIscustomavatar)) + .toString(); + } +} + +class CoreAvatarAvatarGetAvatarHeadersBuilder + implements Builder { + _$CoreAvatarAvatarGetAvatarHeaders? _$v; + + int? _xNcIscustomavatar; + int? get xNcIscustomavatar => _$this._xNcIscustomavatar; + set xNcIscustomavatar(int? xNcIscustomavatar) => _$this._xNcIscustomavatar = xNcIscustomavatar; + + CoreAvatarAvatarGetAvatarHeadersBuilder(); + + CoreAvatarAvatarGetAvatarHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _xNcIscustomavatar = $v.xNcIscustomavatar; + _$v = null; + } + return this; + } + + @override + void replace(CoreAvatarAvatarGetAvatarHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreAvatarAvatarGetAvatarHeaders; + } + + @override + void update(void Function(CoreAvatarAvatarGetAvatarHeadersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreAvatarAvatarGetAvatarHeaders build() => _build(); + + _$CoreAvatarAvatarGetAvatarHeaders _build() { + final _$result = _$v ?? _$CoreAvatarAvatarGetAvatarHeaders._(xNcIscustomavatar: xNcIscustomavatar); + replace(_$result); + return _$result; + } +} + +class _$CoreLoginFlowV2Credentials extends CoreLoginFlowV2Credentials { + @override + final String server; + @override + final String loginName; + @override + final String appPassword; + + factory _$CoreLoginFlowV2Credentials([void Function(CoreLoginFlowV2CredentialsBuilder)? updates]) => + (CoreLoginFlowV2CredentialsBuilder()..update(updates))._build(); + + _$CoreLoginFlowV2Credentials._({required this.server, required this.loginName, required this.appPassword}) + : super._() { + BuiltValueNullFieldError.checkNotNull(server, r'CoreLoginFlowV2Credentials', 'server'); + BuiltValueNullFieldError.checkNotNull(loginName, r'CoreLoginFlowV2Credentials', 'loginName'); + BuiltValueNullFieldError.checkNotNull(appPassword, r'CoreLoginFlowV2Credentials', 'appPassword'); + } + + @override + CoreLoginFlowV2Credentials rebuild(void Function(CoreLoginFlowV2CredentialsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreLoginFlowV2CredentialsBuilder toBuilder() => CoreLoginFlowV2CredentialsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreLoginFlowV2Credentials && + server == other.server && + loginName == other.loginName && + appPassword == other.appPassword; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, server.hashCode); + _$hash = $jc(_$hash, loginName.hashCode); + _$hash = $jc(_$hash, appPassword.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreLoginFlowV2Credentials') + ..add('server', server) + ..add('loginName', loginName) + ..add('appPassword', appPassword)) + .toString(); + } +} + +class CoreLoginFlowV2CredentialsBuilder + implements Builder { + _$CoreLoginFlowV2Credentials? _$v; + + String? _server; + String? get server => _$this._server; + set server(String? server) => _$this._server = server; + + String? _loginName; + String? get loginName => _$this._loginName; + set loginName(String? loginName) => _$this._loginName = loginName; + + String? _appPassword; + String? get appPassword => _$this._appPassword; + set appPassword(String? appPassword) => _$this._appPassword = appPassword; + + CoreLoginFlowV2CredentialsBuilder(); + + CoreLoginFlowV2CredentialsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _server = $v.server; + _loginName = $v.loginName; + _appPassword = $v.appPassword; + _$v = null; + } + return this; + } + + @override + void replace(CoreLoginFlowV2Credentials other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreLoginFlowV2Credentials; + } + + @override + void update(void Function(CoreLoginFlowV2CredentialsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreLoginFlowV2Credentials build() => _build(); + + _$CoreLoginFlowV2Credentials _build() { + final _$result = _$v ?? + _$CoreLoginFlowV2Credentials._( + server: BuiltValueNullFieldError.checkNotNull(server, r'CoreLoginFlowV2Credentials', 'server'), + loginName: BuiltValueNullFieldError.checkNotNull(loginName, r'CoreLoginFlowV2Credentials', 'loginName'), + appPassword: + BuiltValueNullFieldError.checkNotNull(appPassword, r'CoreLoginFlowV2Credentials', 'appPassword')); + replace(_$result); + return _$result; + } +} + +class _$CoreLoginFlowV2_Poll extends CoreLoginFlowV2_Poll { + @override + final String token; + @override + final String endpoint; + + factory _$CoreLoginFlowV2_Poll([void Function(CoreLoginFlowV2_PollBuilder)? updates]) => + (CoreLoginFlowV2_PollBuilder()..update(updates))._build(); + + _$CoreLoginFlowV2_Poll._({required this.token, required this.endpoint}) : super._() { + BuiltValueNullFieldError.checkNotNull(token, r'CoreLoginFlowV2_Poll', 'token'); + BuiltValueNullFieldError.checkNotNull(endpoint, r'CoreLoginFlowV2_Poll', 'endpoint'); + } + + @override + CoreLoginFlowV2_Poll rebuild(void Function(CoreLoginFlowV2_PollBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreLoginFlowV2_PollBuilder toBuilder() => CoreLoginFlowV2_PollBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreLoginFlowV2_Poll && token == other.token && endpoint == other.endpoint; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, token.hashCode); + _$hash = $jc(_$hash, endpoint.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreLoginFlowV2_Poll') + ..add('token', token) + ..add('endpoint', endpoint)) + .toString(); + } +} + +class CoreLoginFlowV2_PollBuilder implements Builder { + _$CoreLoginFlowV2_Poll? _$v; + + String? _token; + String? get token => _$this._token; + set token(String? token) => _$this._token = token; + + String? _endpoint; + String? get endpoint => _$this._endpoint; + set endpoint(String? endpoint) => _$this._endpoint = endpoint; + + CoreLoginFlowV2_PollBuilder(); + + CoreLoginFlowV2_PollBuilder get _$this { + final $v = _$v; + if ($v != null) { + _token = $v.token; + _endpoint = $v.endpoint; + _$v = null; + } + return this; + } + + @override + void replace(CoreLoginFlowV2_Poll other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreLoginFlowV2_Poll; + } + + @override + void update(void Function(CoreLoginFlowV2_PollBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreLoginFlowV2_Poll build() => _build(); + + _$CoreLoginFlowV2_Poll _build() { + final _$result = _$v ?? + _$CoreLoginFlowV2_Poll._( + token: BuiltValueNullFieldError.checkNotNull(token, r'CoreLoginFlowV2_Poll', 'token'), + endpoint: BuiltValueNullFieldError.checkNotNull(endpoint, r'CoreLoginFlowV2_Poll', 'endpoint')); + replace(_$result); + return _$result; + } +} + +class _$CoreLoginFlowV2 extends CoreLoginFlowV2 { + @override + final CoreLoginFlowV2_Poll poll; + @override + final String login; + + factory _$CoreLoginFlowV2([void Function(CoreLoginFlowV2Builder)? updates]) => + (CoreLoginFlowV2Builder()..update(updates))._build(); + + _$CoreLoginFlowV2._({required this.poll, required this.login}) : super._() { + BuiltValueNullFieldError.checkNotNull(poll, r'CoreLoginFlowV2', 'poll'); + BuiltValueNullFieldError.checkNotNull(login, r'CoreLoginFlowV2', 'login'); + } + + @override + CoreLoginFlowV2 rebuild(void Function(CoreLoginFlowV2Builder) updates) => (toBuilder()..update(updates)).build(); + + @override + CoreLoginFlowV2Builder toBuilder() => CoreLoginFlowV2Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreLoginFlowV2 && poll == other.poll && login == other.login; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, poll.hashCode); + _$hash = $jc(_$hash, login.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreLoginFlowV2') + ..add('poll', poll) + ..add('login', login)) + .toString(); + } +} + +class CoreLoginFlowV2Builder implements Builder { + _$CoreLoginFlowV2? _$v; + + CoreLoginFlowV2_PollBuilder? _poll; + CoreLoginFlowV2_PollBuilder get poll => _$this._poll ??= CoreLoginFlowV2_PollBuilder(); + set poll(CoreLoginFlowV2_PollBuilder? poll) => _$this._poll = poll; + + String? _login; + String? get login => _$this._login; + set login(String? login) => _$this._login = login; + + CoreLoginFlowV2Builder(); + + CoreLoginFlowV2Builder get _$this { + final $v = _$v; + if ($v != null) { + _poll = $v.poll.toBuilder(); + _login = $v.login; + _$v = null; + } + return this; + } + + @override + void replace(CoreLoginFlowV2 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreLoginFlowV2; + } + + @override + void update(void Function(CoreLoginFlowV2Builder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreLoginFlowV2 build() => _build(); + + _$CoreLoginFlowV2 _build() { + _$CoreLoginFlowV2 _$result; + try { + _$result = _$v ?? + _$CoreLoginFlowV2._( + poll: poll.build(), login: BuiltValueNullFieldError.checkNotNull(login, r'CoreLoginFlowV2', 'login')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'poll'; + poll.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CoreLoginFlowV2', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreOpenGraphObject_OpenGraphObject extends CoreOpenGraphObject_OpenGraphObject { + @override + final String id; + @override + final String name; + @override + final String? description; + @override + final String? thumb; + @override + final String link; + + factory _$CoreOpenGraphObject_OpenGraphObject([void Function(CoreOpenGraphObject_OpenGraphObjectBuilder)? updates]) => + (CoreOpenGraphObject_OpenGraphObjectBuilder()..update(updates))._build(); + + _$CoreOpenGraphObject_OpenGraphObject._( + {required this.id, required this.name, this.description, this.thumb, required this.link}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'CoreOpenGraphObject_OpenGraphObject', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'CoreOpenGraphObject_OpenGraphObject', 'name'); + BuiltValueNullFieldError.checkNotNull(link, r'CoreOpenGraphObject_OpenGraphObject', 'link'); + } + + @override + CoreOpenGraphObject_OpenGraphObject rebuild(void Function(CoreOpenGraphObject_OpenGraphObjectBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreOpenGraphObject_OpenGraphObjectBuilder toBuilder() => CoreOpenGraphObject_OpenGraphObjectBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreOpenGraphObject_OpenGraphObject && + id == other.id && + name == other.name && + description == other.description && + thumb == other.thumb && + link == other.link; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, description.hashCode); + _$hash = $jc(_$hash, thumb.hashCode); + _$hash = $jc(_$hash, link.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreOpenGraphObject_OpenGraphObject') + ..add('id', id) + ..add('name', name) + ..add('description', description) + ..add('thumb', thumb) + ..add('link', link)) + .toString(); + } +} + +class CoreOpenGraphObject_OpenGraphObjectBuilder + implements Builder { + _$CoreOpenGraphObject_OpenGraphObject? _$v; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + String? _description; + String? get description => _$this._description; + set description(String? description) => _$this._description = description; + + String? _thumb; + String? get thumb => _$this._thumb; + set thumb(String? thumb) => _$this._thumb = thumb; + + String? _link; + String? get link => _$this._link; + set link(String? link) => _$this._link = link; + + CoreOpenGraphObject_OpenGraphObjectBuilder(); + + CoreOpenGraphObject_OpenGraphObjectBuilder get _$this { + final $v = _$v; + if ($v != null) { + _id = $v.id; + _name = $v.name; + _description = $v.description; + _thumb = $v.thumb; + _link = $v.link; + _$v = null; + } + return this; + } + + @override + void replace(CoreOpenGraphObject_OpenGraphObject other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreOpenGraphObject_OpenGraphObject; + } + + @override + void update(void Function(CoreOpenGraphObject_OpenGraphObjectBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreOpenGraphObject_OpenGraphObject build() => _build(); + + _$CoreOpenGraphObject_OpenGraphObject _build() { + final _$result = _$v ?? + _$CoreOpenGraphObject_OpenGraphObject._( + id: BuiltValueNullFieldError.checkNotNull(id, r'CoreOpenGraphObject_OpenGraphObject', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'CoreOpenGraphObject_OpenGraphObject', 'name'), + description: description, + thumb: thumb, + link: BuiltValueNullFieldError.checkNotNull(link, r'CoreOpenGraphObject_OpenGraphObject', 'link')); + replace(_$result); + return _$result; + } +} + +class _$CoreOpenGraphObject extends CoreOpenGraphObject { + @override + final String richObjectType; + @override + final BuiltMap richObject; + @override + final CoreOpenGraphObject_OpenGraphObject openGraphObject; + @override + final bool accessible; + + factory _$CoreOpenGraphObject([void Function(CoreOpenGraphObjectBuilder)? updates]) => + (CoreOpenGraphObjectBuilder()..update(updates))._build(); + + _$CoreOpenGraphObject._( + {required this.richObjectType, required this.richObject, required this.openGraphObject, required this.accessible}) + : super._() { + BuiltValueNullFieldError.checkNotNull(richObjectType, r'CoreOpenGraphObject', 'richObjectType'); + BuiltValueNullFieldError.checkNotNull(richObject, r'CoreOpenGraphObject', 'richObject'); + BuiltValueNullFieldError.checkNotNull(openGraphObject, r'CoreOpenGraphObject', 'openGraphObject'); + BuiltValueNullFieldError.checkNotNull(accessible, r'CoreOpenGraphObject', 'accessible'); + } + + @override + CoreOpenGraphObject rebuild(void Function(CoreOpenGraphObjectBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreOpenGraphObjectBuilder toBuilder() => CoreOpenGraphObjectBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreOpenGraphObject && + richObjectType == other.richObjectType && + richObject == other.richObject && + openGraphObject == other.openGraphObject && + accessible == other.accessible; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, richObjectType.hashCode); + _$hash = $jc(_$hash, richObject.hashCode); + _$hash = $jc(_$hash, openGraphObject.hashCode); + _$hash = $jc(_$hash, accessible.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreOpenGraphObject') + ..add('richObjectType', richObjectType) + ..add('richObject', richObject) + ..add('openGraphObject', openGraphObject) + ..add('accessible', accessible)) + .toString(); + } +} + +class CoreOpenGraphObjectBuilder implements Builder { + _$CoreOpenGraphObject? _$v; + + String? _richObjectType; + String? get richObjectType => _$this._richObjectType; + set richObjectType(String? richObjectType) => _$this._richObjectType = richObjectType; + + MapBuilder? _richObject; + MapBuilder get richObject => _$this._richObject ??= MapBuilder(); + set richObject(MapBuilder? richObject) => _$this._richObject = richObject; + + CoreOpenGraphObject_OpenGraphObjectBuilder? _openGraphObject; + CoreOpenGraphObject_OpenGraphObjectBuilder get openGraphObject => + _$this._openGraphObject ??= CoreOpenGraphObject_OpenGraphObjectBuilder(); + set openGraphObject(CoreOpenGraphObject_OpenGraphObjectBuilder? openGraphObject) => + _$this._openGraphObject = openGraphObject; + + bool? _accessible; + bool? get accessible => _$this._accessible; + set accessible(bool? accessible) => _$this._accessible = accessible; + + CoreOpenGraphObjectBuilder(); + + CoreOpenGraphObjectBuilder get _$this { + final $v = _$v; + if ($v != null) { + _richObjectType = $v.richObjectType; + _richObject = $v.richObject.toBuilder(); + _openGraphObject = $v.openGraphObject.toBuilder(); + _accessible = $v.accessible; + _$v = null; + } + return this; + } + + @override + void replace(CoreOpenGraphObject other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreOpenGraphObject; + } + + @override + void update(void Function(CoreOpenGraphObjectBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreOpenGraphObject build() => _build(); + + _$CoreOpenGraphObject _build() { + _$CoreOpenGraphObject _$result; + try { + _$result = _$v ?? + _$CoreOpenGraphObject._( + richObjectType: + BuiltValueNullFieldError.checkNotNull(richObjectType, r'CoreOpenGraphObject', 'richObjectType'), + richObject: richObject.build(), + openGraphObject: openGraphObject.build(), + accessible: BuiltValueNullFieldError.checkNotNull(accessible, r'CoreOpenGraphObject', 'accessible')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'richObject'; + richObject.build(); + _$failedField = 'openGraphObject'; + openGraphObject.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CoreOpenGraphObject', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreCollection extends CoreCollection { + @override + final int id; + @override + final String name; + @override + final BuiltList resources; + + factory _$CoreCollection([void Function(CoreCollectionBuilder)? updates]) => + (CoreCollectionBuilder()..update(updates))._build(); + + _$CoreCollection._({required this.id, required this.name, required this.resources}) : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'CoreCollection', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'CoreCollection', 'name'); + BuiltValueNullFieldError.checkNotNull(resources, r'CoreCollection', 'resources'); + } + + @override + CoreCollection rebuild(void Function(CoreCollectionBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + CoreCollectionBuilder toBuilder() => CoreCollectionBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreCollection && id == other.id && name == other.name && resources == other.resources; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, resources.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreCollection') + ..add('id', id) + ..add('name', name) + ..add('resources', resources)) + .toString(); + } +} + +class CoreCollectionBuilder implements Builder { + _$CoreCollection? _$v; + + int? _id; + int? get id => _$this._id; + set id(int? id) => _$this._id = id; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + ListBuilder? _resources; + ListBuilder get resources => _$this._resources ??= ListBuilder(); + set resources(ListBuilder? resources) => _$this._resources = resources; + + CoreCollectionBuilder(); + + CoreCollectionBuilder get _$this { + final $v = _$v; + if ($v != null) { + _id = $v.id; + _name = $v.name; + _resources = $v.resources.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreCollection other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreCollection; + } + + @override + void update(void Function(CoreCollectionBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreCollection build() => _build(); + + _$CoreCollection _build() { + _$CoreCollection _$result; + try { + _$result = _$v ?? + _$CoreCollection._( + id: BuiltValueNullFieldError.checkNotNull(id, r'CoreCollection', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'CoreCollection', 'name'), + resources: resources.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'resources'; + resources.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CoreCollection', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs + extends CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; + @override + final BuiltList data; + + factory _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs', 'data'); + } + + @override + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs? _$v; + + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; + + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder(); + + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs; + } + + @override + void update( + void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs build() => _build(); + + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson + extends CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson { + @override + final CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_Ocs ocs; + + factory _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder)? updates]) => + (CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson', 'ocs'); + } + + @override + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson? _$v; + + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder(); + + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson; + } + + @override + void update(void Function(CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson build() => _build(); + + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesSearchCollectionsResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs + extends CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; + @override + final CoreCollection data; + + factory _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs', 'data'); + } + + @override + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs? _$v; + + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + CoreCollectionBuilder? _data; + CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); + set data(CoreCollectionBuilder? data) => _$this._data = data; + + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder(); + + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs build() => _build(); + + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson + extends CoreCollaborationResourcesListCollectionResponse200ApplicationJson { + @override + final CoreCollaborationResourcesListCollectionResponse200ApplicationJson_Ocs ocs; + + factory _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder)? updates]) => + (CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson', 'ocs'); + } + + @override + CoreCollaborationResourcesListCollectionResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreCollaborationResourcesListCollectionResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson? _$v; + + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesListCollectionResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder(); + + CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreCollaborationResourcesListCollectionResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson; + } + + @override + void update(void Function(CoreCollaborationResourcesListCollectionResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreCollaborationResourcesListCollectionResponse200ApplicationJson build() => _build(); + + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreCollaborationResourcesListCollectionResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesListCollectionResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs + extends CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; + @override + final CoreCollection data; + + factory _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs', 'data'); + } + + @override + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs? _$v; + + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + CoreCollectionBuilder? _data; + CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); + set data(CoreCollectionBuilder? data) => _$this._data = data; + + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder(); + + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs build() => _build(); + + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson + extends CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson { + @override + final CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_Ocs ocs; + + factory _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder)? updates]) => + (CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson', 'ocs'); + } + + @override + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson? _$v; + + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder(); + + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson; + } + + @override + void update(void Function(CoreCollaborationResourcesRenameCollectionResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson build() => _build(); + + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesRenameCollectionResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs + extends CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; + @override + final CoreCollection data; + + factory _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs', 'data'); + } + + @override + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs? _$v; + + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + CoreCollectionBuilder? _data; + CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); + set data(CoreCollectionBuilder? data) => _$this._data = data; + + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder(); + + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs build() => _build(); + + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson + extends CoreCollaborationResourcesAddResourceResponse200ApplicationJson { + @override + final CoreCollaborationResourcesAddResourceResponse200ApplicationJson_Ocs ocs; + + factory _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder)? updates]) => + (CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson', 'ocs'); + } + + @override + CoreCollaborationResourcesAddResourceResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreCollaborationResourcesAddResourceResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson? _$v; + + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesAddResourceResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder(); + + CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreCollaborationResourcesAddResourceResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson; + } + + @override + void update(void Function(CoreCollaborationResourcesAddResourceResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreCollaborationResourcesAddResourceResponse200ApplicationJson build() => _build(); + + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreCollaborationResourcesAddResourceResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesAddResourceResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs + extends CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; + @override + final CoreCollection data; + + factory _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs', 'data'); + } + + @override + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs? _$v; + + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + CoreCollectionBuilder? _data; + CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); + set data(CoreCollectionBuilder? data) => _$this._data = data; + + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder(); + + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs build() => _build(); + + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson + extends CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson { + @override + final CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_Ocs ocs; + + factory _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder)? updates]) => + (CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson', 'ocs'); + } + + @override + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson? _$v; + + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder(); + + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson; + } + + @override + void update(void Function(CoreCollaborationResourcesRemoveResourceResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson build() => _build(); + + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesRemoveResourceResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs + extends CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; + @override + final BuiltList data; + + factory _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder)? + updates]) => + (CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder()..update(updates)) + ._build(); + + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs', 'data'); + } + + @override + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs? _$v; + + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; + + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder(); + + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs; + } + + @override + void update( + void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs build() => _build(); + + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson + extends CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson { + @override + final CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_Ocs ocs; + + factory _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder)? + updates]) => + (CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson', 'ocs'); + } + + @override + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson? _$v; + + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson_OcsBuilder? ocs) => + _$this._ocs = ocs; + + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder(); + + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson; + } + + @override + void update( + void Function(CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson build() => _build(); + + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson _$result; + try { + _$result = + _$v ?? _$CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesGetCollectionsByResourceResponse200ApplicationJson', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs + extends CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; + @override + final CoreCollection data; + + factory _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs( + [void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder)? + updates]) => + (CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder()..update(updates)) + ._build(); + + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs', 'data'); + } + + @override + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs rebuild( + void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerStatus') - ..add('installed', installed) - ..add('maintenance', maintenance) - ..add('needsDbUpgrade', needsDbUpgrade) - ..add('version', version) - ..add('versionstring', versionstring) - ..add('edition', edition) - ..add('productname', productname) - ..add('extendedSupport', extendedSupport)) + return (newBuiltValueToStringHelper( + r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreServerStatusBuilder implements Builder { - _$CoreServerStatus? _$v; +class CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs? _$v; - bool? _installed; - bool? get installed => _$this._installed; - set installed(bool? installed) => _$this._installed = installed; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - bool? _maintenance; - bool? get maintenance => _$this._maintenance; - set maintenance(bool? maintenance) => _$this._maintenance = maintenance; + CoreCollectionBuilder? _data; + CoreCollectionBuilder get data => _$this._data ??= CoreCollectionBuilder(); + set data(CoreCollectionBuilder? data) => _$this._data = data; - bool? _needsDbUpgrade; - bool? get needsDbUpgrade => _$this._needsDbUpgrade; - set needsDbUpgrade(bool? needsDbUpgrade) => _$this._needsDbUpgrade = needsDbUpgrade; + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder(); - String? _version; - String? get version => _$this._version; - set version(String? version) => _$this._version = version; + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } - String? _versionstring; - String? get versionstring => _$this._versionstring; - set versionstring(String? versionstring) => _$this._versionstring = versionstring; + @override + void replace(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs; + } - String? _edition; - String? get edition => _$this._edition; - set edition(String? edition) => _$this._edition = edition; + @override + void update( + void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder)? + updates) { + if (updates != null) updates(this); + } - String? _productname; - String? get productname => _$this._productname; - set productname(String? productname) => _$this._productname = productname; + @override + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs build() => _build(); - bool? _extendedSupport; - bool? get extendedSupport => _$this._extendedSupport; - set extendedSupport(bool? extendedSupport) => _$this._extendedSupport = extendedSupport; + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs _build() { + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson + extends CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson { + @override + final CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_Ocs ocs; + + factory _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson( + [void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder)? + updates]) => + (CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder()..update(updates)) + ._build(); + + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson', 'ocs'); + } + + @override + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson rebuild( + void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder toBuilder() => + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson? _$v; - CoreServerStatusBuilder(); + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder? _ocs; + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson_OcsBuilder? ocs) => + _$this._ocs = ocs; - CoreServerStatusBuilder get _$this { + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder(); + + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _installed = $v.installed; - _maintenance = $v.maintenance; - _needsDbUpgrade = $v.needsDbUpgrade; - _version = $v.version; - _versionstring = $v.versionstring; - _edition = $v.edition; - _productname = $v.productname; - _extendedSupport = $v.extendedSupport; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerStatus other) { + void replace(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerStatus; + _$v = other as _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson; } @override - void update(void Function(CoreServerStatusBuilder)? updates) { + void update( + void Function(CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerStatus build() => _build(); + CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson build() => _build(); - _$CoreServerStatus _build() { - final _$result = _$v ?? - _$CoreServerStatus._( - installed: BuiltValueNullFieldError.checkNotNull(installed, r'CoreServerStatus', 'installed'), - maintenance: BuiltValueNullFieldError.checkNotNull(maintenance, r'CoreServerStatus', 'maintenance'), - needsDbUpgrade: - BuiltValueNullFieldError.checkNotNull(needsDbUpgrade, r'CoreServerStatus', 'needsDbUpgrade'), - version: BuiltValueNullFieldError.checkNotNull(version, r'CoreServerStatus', 'version'), - versionstring: BuiltValueNullFieldError.checkNotNull(versionstring, r'CoreServerStatus', 'versionstring'), - edition: BuiltValueNullFieldError.checkNotNull(edition, r'CoreServerStatus', 'edition'), - productname: BuiltValueNullFieldError.checkNotNull(productname, r'CoreServerStatus', 'productname'), - extendedSupport: - BuiltValueNullFieldError.checkNotNull(extendedSupport, r'CoreServerStatus', 'extendedSupport')); + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson _build() { + _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson _$result; + try { + _$result = + _$v ?? _$CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreCollaborationResourcesCreateCollectionOnResourceResponse200ApplicationJson', + _$failedField, + e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreOCSMeta extends CoreOCSMeta { - @override - final String status; +class _$CoreContactsAction extends CoreContactsAction { @override - final int statuscode; + final String title; @override - final String? message; + final String icon; @override - final String? totalitems; + final String hyperlink; @override - final String? itemsperpage; + final String appId; - factory _$CoreOCSMeta([void Function(CoreOCSMetaBuilder)? updates]) => - (CoreOCSMetaBuilder()..update(updates))._build(); + factory _$CoreContactsAction([void Function(CoreContactsActionBuilder)? updates]) => + (CoreContactsActionBuilder()..update(updates))._build(); - _$CoreOCSMeta._({required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) + _$CoreContactsAction._({required this.title, required this.icon, required this.hyperlink, required this.appId}) : super._() { - BuiltValueNullFieldError.checkNotNull(status, r'CoreOCSMeta', 'status'); - BuiltValueNullFieldError.checkNotNull(statuscode, r'CoreOCSMeta', 'statuscode'); + BuiltValueNullFieldError.checkNotNull(title, r'CoreContactsAction', 'title'); + BuiltValueNullFieldError.checkNotNull(icon, r'CoreContactsAction', 'icon'); + BuiltValueNullFieldError.checkNotNull(hyperlink, r'CoreContactsAction', 'hyperlink'); + BuiltValueNullFieldError.checkNotNull(appId, r'CoreContactsAction', 'appId'); } @override - CoreOCSMeta rebuild(void Function(CoreOCSMetaBuilder) updates) => (toBuilder()..update(updates)).build(); + CoreContactsAction rebuild(void Function(CoreContactsActionBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - CoreOCSMetaBuilder toBuilder() => CoreOCSMetaBuilder()..replace(this); + CoreContactsActionBuilder toBuilder() => CoreContactsActionBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreOCSMeta && - status == other.status && - statuscode == other.statuscode && - message == other.message && - totalitems == other.totalitems && - itemsperpage == other.itemsperpage; + return other is CoreContactsAction && + title == other.title && + icon == other.icon && + hyperlink == other.hyperlink && + appId == other.appId; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, status.hashCode); - _$hash = $jc(_$hash, statuscode.hashCode); - _$hash = $jc(_$hash, message.hashCode); - _$hash = $jc(_$hash, totalitems.hashCode); - _$hash = $jc(_$hash, itemsperpage.hashCode); + _$hash = $jc(_$hash, title.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, hyperlink.hashCode); + _$hash = $jc(_$hash, appId.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreOCSMeta') - ..add('status', status) - ..add('statuscode', statuscode) - ..add('message', message) - ..add('totalitems', totalitems) - ..add('itemsperpage', itemsperpage)) + return (newBuiltValueToStringHelper(r'CoreContactsAction') + ..add('title', title) + ..add('icon', icon) + ..add('hyperlink', hyperlink) + ..add('appId', appId)) .toString(); } } -class CoreOCSMetaBuilder implements Builder { - _$CoreOCSMeta? _$v; - - String? _status; - String? get status => _$this._status; - set status(String? status) => _$this._status = status; +class CoreContactsActionBuilder implements Builder { + _$CoreContactsAction? _$v; - int? _statuscode; - int? get statuscode => _$this._statuscode; - set statuscode(int? statuscode) => _$this._statuscode = statuscode; + String? _title; + String? get title => _$this._title; + set title(String? title) => _$this._title = title; - String? _message; - String? get message => _$this._message; - set message(String? message) => _$this._message = message; + String? _icon; + String? get icon => _$this._icon; + set icon(String? icon) => _$this._icon = icon; - String? _totalitems; - String? get totalitems => _$this._totalitems; - set totalitems(String? totalitems) => _$this._totalitems = totalitems; + String? _hyperlink; + String? get hyperlink => _$this._hyperlink; + set hyperlink(String? hyperlink) => _$this._hyperlink = hyperlink; - String? _itemsperpage; - String? get itemsperpage => _$this._itemsperpage; - set itemsperpage(String? itemsperpage) => _$this._itemsperpage = itemsperpage; + String? _appId; + String? get appId => _$this._appId; + set appId(String? appId) => _$this._appId = appId; - CoreOCSMetaBuilder(); + CoreContactsActionBuilder(); - CoreOCSMetaBuilder get _$this { + CoreContactsActionBuilder get _$this { final $v = _$v; if ($v != null) { - _status = $v.status; - _statuscode = $v.statuscode; - _message = $v.message; - _totalitems = $v.totalitems; - _itemsperpage = $v.itemsperpage; + _title = $v.title; + _icon = $v.icon; + _hyperlink = $v.hyperlink; + _appId = $v.appId; _$v = null; } return this; } @override - void replace(CoreOCSMeta other) { + void replace(CoreContactsAction other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreOCSMeta; + _$v = other as _$CoreContactsAction; } @override - void update(void Function(CoreOCSMetaBuilder)? updates) { + void update(void Function(CoreContactsActionBuilder)? updates) { if (updates != null) updates(this); } @override - CoreOCSMeta build() => _build(); + CoreContactsAction build() => _build(); - _$CoreOCSMeta _build() { + _$CoreContactsAction _build() { final _$result = _$v ?? - _$CoreOCSMeta._( - status: BuiltValueNullFieldError.checkNotNull(status, r'CoreOCSMeta', 'status'), - statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'CoreOCSMeta', 'statuscode'), - message: message, - totalitems: totalitems, - itemsperpage: itemsperpage); + _$CoreContactsAction._( + title: BuiltValueNullFieldError.checkNotNull(title, r'CoreContactsAction', 'title'), + icon: BuiltValueNullFieldError.checkNotNull(icon, r'CoreContactsAction', 'icon'), + hyperlink: BuiltValueNullFieldError.checkNotNull(hyperlink, r'CoreContactsAction', 'hyperlink'), + appId: BuiltValueNullFieldError.checkNotNull(appId, r'CoreContactsAction', 'appId')); replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Version extends CoreServerCapabilities_Ocs_Data_Version { +class _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data + extends CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data { @override - final int? major; - @override - final int? minor; - @override - final int? micro; - @override - final String? string; + final String userId; @override - final String? edition; + final String displayName; @override - final bool? extendedSupport; + final BuiltList actions; - factory _$CoreServerCapabilities_Ocs_Data_Version( - [void Function(CoreServerCapabilities_Ocs_Data_VersionBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_VersionBuilder()..update(updates))._build(); + factory _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data( + [void Function(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Version._( - {this.major, this.minor, this.micro, this.string, this.edition, this.extendedSupport}) - : super._(); + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data._( + {required this.userId, required this.displayName, required this.actions}) + : super._() { + BuiltValueNullFieldError.checkNotNull(userId, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'userId'); + BuiltValueNullFieldError.checkNotNull( + displayName, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'displayName'); + BuiltValueNullFieldError.checkNotNull( + actions, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'actions'); + } @override - CoreServerCapabilities_Ocs_Data_Version rebuild( - void Function(CoreServerCapabilities_Ocs_Data_VersionBuilder) updates) => + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_VersionBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_VersionBuilder()..replace(this); + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Version && - major == other.major && - minor == other.minor && - micro == other.micro && - string == other.string && - edition == other.edition && - extendedSupport == other.extendedSupport; + return other is CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data && + userId == other.userId && + displayName == other.displayName && + actions == other.actions; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, major.hashCode); - _$hash = $jc(_$hash, minor.hashCode); - _$hash = $jc(_$hash, micro.hashCode); - _$hash = $jc(_$hash, string.hashCode); - _$hash = $jc(_$hash, edition.hashCode); - _$hash = $jc(_$hash, extendedSupport.hashCode); + _$hash = $jc(_$hash, userId.hashCode); + _$hash = $jc(_$hash, displayName.hashCode); + _$hash = $jc(_$hash, actions.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Version') - ..add('major', major) - ..add('minor', minor) - ..add('micro', micro) - ..add('string', string) - ..add('edition', edition) - ..add('extendedSupport', extendedSupport)) + return (newBuiltValueToStringHelper(r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data') + ..add('userId', userId) + ..add('displayName', displayName) + ..add('actions', actions)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_VersionBuilder - implements Builder { - _$CoreServerCapabilities_Ocs_Data_Version? _$v; - - int? _major; - int? get major => _$this._major; - set major(int? major) => _$this._major = major; - - int? _minor; - int? get minor => _$this._minor; - set minor(int? minor) => _$this._minor = minor; - - int? _micro; - int? get micro => _$this._micro; - set micro(int? micro) => _$this._micro = micro; +class CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data? _$v; - String? _string; - String? get string => _$this._string; - set string(String? string) => _$this._string = string; + String? _userId; + String? get userId => _$this._userId; + set userId(String? userId) => _$this._userId = userId; - String? _edition; - String? get edition => _$this._edition; - set edition(String? edition) => _$this._edition = edition; + String? _displayName; + String? get displayName => _$this._displayName; + set displayName(String? displayName) => _$this._displayName = displayName; - bool? _extendedSupport; - bool? get extendedSupport => _$this._extendedSupport; - set extendedSupport(bool? extendedSupport) => _$this._extendedSupport = extendedSupport; + ListBuilder? _actions; + ListBuilder get actions => _$this._actions ??= ListBuilder(); + set actions(ListBuilder? actions) => _$this._actions = actions; - CoreServerCapabilities_Ocs_Data_VersionBuilder(); + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder(); - CoreServerCapabilities_Ocs_Data_VersionBuilder get _$this { + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _major = $v.major; - _minor = $v.minor; - _micro = $v.micro; - _string = $v.string; - _edition = $v.edition; - _extendedSupport = $v.extendedSupport; + _userId = $v.userId; + _displayName = $v.displayName; + _actions = $v.actions.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Version other) { + void replace(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Version; + _$v = other as _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_VersionBuilder)? updates) { + void update(void Function(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Version build() => _build(); + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Version _build() { - final _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Version._( - major: major, - minor: minor, - micro: micro, - string: string, - edition: edition, - extendedSupport: extendedSupport); + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data _build() { + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data _$result; + try { + _$result = _$v ?? + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data._( + userId: BuiltValueNullFieldError.checkNotNull( + userId, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'userId'), + displayName: BuiltValueNullFieldError.checkNotNull( + displayName, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', 'displayName'), + actions: actions.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'actions'; + actions.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Core extends CoreServerCapabilities_Ocs_Data_Capabilities_Core { - @override - final int? pollinterval; - @override - final String? webdavRoot; +class _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs extends CoreHoverCardGetUserResponse200ApplicationJson_Ocs { @override - final bool? referenceApi; + final CoreOCSMeta meta; @override - final String? referenceRegex; + final CoreHoverCardGetUserResponse200ApplicationJson_Ocs_Data data; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Core( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_CoreBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_CoreBuilder()..update(updates))._build(); + factory _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs( + [void Function(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Core._( - {this.pollinterval, this.webdavRoot, this.referenceApi, this.referenceRegex}) - : super._(); + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs', 'data'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Core rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_CoreBuilder) updates) => + CoreHoverCardGetUserResponse200ApplicationJson_Ocs rebuild( + void Function(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_CoreBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_CoreBuilder()..replace(this); + CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Core && - pollinterval == other.pollinterval && - webdavRoot == other.webdavRoot && - referenceApi == other.referenceApi && - referenceRegex == other.referenceRegex; + return other is CoreHoverCardGetUserResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, pollinterval.hashCode); - _$hash = $jc(_$hash, webdavRoot.hashCode); - _$hash = $jc(_$hash, referenceApi.hashCode); - _$hash = $jc(_$hash, referenceRegex.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Core') - ..add('pollinterval', pollinterval) - ..add('webdavRoot', webdavRoot) - ..add('referenceApi', referenceApi) - ..add('referenceRegex', referenceRegex)) + return (newBuiltValueToStringHelper(r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_CoreBuilder +class CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Core? _$v; - - int? _pollinterval; - int? get pollinterval => _$this._pollinterval; - set pollinterval(int? pollinterval) => _$this._pollinterval = pollinterval; + Builder { + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs? _$v; - String? _webdavRoot; - String? get webdavRoot => _$this._webdavRoot; - set webdavRoot(String? webdavRoot) => _$this._webdavRoot = webdavRoot; - - bool? _referenceApi; - bool? get referenceApi => _$this._referenceApi; - set referenceApi(bool? referenceApi) => _$this._referenceApi = referenceApi; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - String? _referenceRegex; - String? get referenceRegex => _$this._referenceRegex; - set referenceRegex(String? referenceRegex) => _$this._referenceRegex = referenceRegex; + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreHoverCardGetUserResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreServerCapabilities_Ocs_Data_Capabilities_CoreBuilder(); + CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_CoreBuilder get _$this { + CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _pollinterval = $v.pollinterval; - _webdavRoot = $v.webdavRoot; - _referenceApi = $v.referenceApi; - _referenceRegex = $v.referenceRegex; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Core other) { + void replace(CoreHoverCardGetUserResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Core; + _$v = other as _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_CoreBuilder)? updates) { + void update(void Function(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Core build() => _build(); + CoreHoverCardGetUserResponse200ApplicationJson_Ocs build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Core _build() { - final _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_Core._( - pollinterval: pollinterval, - webdavRoot: webdavRoot, - referenceApi: referenceApi, - referenceRegex: referenceRegex); + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs _build() { + _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? _$CoreHoverCardGetUserResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreHoverCardGetUserResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce - extends CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce { +class _$CoreHoverCardGetUserResponse200ApplicationJson extends CoreHoverCardGetUserResponse200ApplicationJson { @override - final int? delay; + final CoreHoverCardGetUserResponse200ApplicationJson_Ocs ocs; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceBuilder()..update(updates))._build(); + factory _$CoreHoverCardGetUserResponse200ApplicationJson( + [void Function(CoreHoverCardGetUserResponse200ApplicationJsonBuilder)? updates]) => + (CoreHoverCardGetUserResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce._({this.delay}) : super._(); + _$CoreHoverCardGetUserResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreHoverCardGetUserResponse200ApplicationJson', 'ocs'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceBuilder) updates) => + CoreHoverCardGetUserResponse200ApplicationJson rebuild( + void Function(CoreHoverCardGetUserResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceBuilder()..replace(this); + CoreHoverCardGetUserResponse200ApplicationJsonBuilder toBuilder() => + CoreHoverCardGetUserResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce && delay == other.delay; + return other is CoreHoverCardGetUserResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, delay.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce') - ..add('delay', delay)) - .toString(); + return (newBuiltValueToStringHelper(r'CoreHoverCardGetUserResponse200ApplicationJson')..add('ocs', ocs)).toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceBuilder +class CoreHoverCardGetUserResponse200ApplicationJsonBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce? _$v; + Builder { + _$CoreHoverCardGetUserResponse200ApplicationJson? _$v; - int? _delay; - int? get delay => _$this._delay; - set delay(int? delay) => _$this._delay = delay; + CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder? _ocs; + CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreHoverCardGetUserResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceBuilder(); + CoreHoverCardGetUserResponse200ApplicationJsonBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceBuilder get _$this { + CoreHoverCardGetUserResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _delay = $v.delay; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce other) { + void replace(CoreHoverCardGetUserResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce; + _$v = other as _$CoreHoverCardGetUserResponse200ApplicationJson; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceBuilder)? updates) { + void update(void Function(CoreHoverCardGetUserResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce build() => _build(); + CoreHoverCardGetUserResponse200ApplicationJson build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce _build() { - final _$result = _$v ?? _$CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce._(delay: delay); + _$CoreHoverCardGetUserResponse200ApplicationJson _build() { + _$CoreHoverCardGetUserResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreHoverCardGetUserResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreHoverCardGetUserResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable - extends CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable { +class _$CoreNavigationEntry_Order extends CoreNavigationEntry_Order { + @override + final JsonObject data; @override - final BuiltList? size; + final int? $int; @override - final BuiltList? gps; + final String? string; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableBuilder()..update(updates))._build(); + factory _$CoreNavigationEntry_Order([void Function(CoreNavigationEntry_OrderBuilder)? updates]) => + (CoreNavigationEntry_OrderBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable._({this.size, this.gps}) : super._(); + _$CoreNavigationEntry_Order._({required this.data, this.$int, this.string}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'CoreNavigationEntry_Order', 'data'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableBuilder) updates) => + CoreNavigationEntry_Order rebuild(void Function(CoreNavigationEntry_OrderBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableBuilder()..replace(this); + CoreNavigationEntry_OrderBuilder toBuilder() => CoreNavigationEntry_OrderBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable && - size == other.size && - gps == other.gps; + return other is CoreNavigationEntry_Order && data == other.data && $int == other.$int && string == other.string; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, size.hashCode); - _$hash = $jc(_$hash, gps.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, $int.hashCode); + _$hash = $jc(_$hash, string.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable') - ..add('size', size) - ..add('gps', gps)) + return (newBuiltValueToStringHelper(r'CoreNavigationEntry_Order') + ..add('data', data) + ..add('\$int', $int) + ..add('string', string)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableBuilder - implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable? _$v; +class CoreNavigationEntry_OrderBuilder implements Builder { + _$CoreNavigationEntry_Order? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; - ListBuilder? _size; - ListBuilder get size => _$this._size ??= ListBuilder(); - set size(ListBuilder? size) => _$this._size = size; + int? _$int; + int? get $int => _$this._$int; + set $int(int? $int) => _$this._$int = $int; - ListBuilder? _gps; - ListBuilder get gps => _$this._gps ??= ListBuilder(); - set gps(ListBuilder? gps) => _$this._gps = gps; + String? _string; + String? get string => _$this._string; + set string(String? string) => _$this._string = string; - CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableBuilder(); + CoreNavigationEntry_OrderBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableBuilder get _$this { + CoreNavigationEntry_OrderBuilder get _$this { final $v = _$v; if ($v != null) { - _size = $v.size?.toBuilder(); - _gps = $v.gps?.toBuilder(); + _data = $v.data; + _$int = $v.$int; + _string = $v.string; _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable other) { + void replace(CoreNavigationEntry_Order other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable; + _$v = other as _$CoreNavigationEntry_Order; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableBuilder)? updates) { + void update(void Function(CoreNavigationEntry_OrderBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable build() => _build(); + CoreNavigationEntry_Order build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable _build() { - _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable _$result; - try { - _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable._(size: _size?.build(), gps: _gps?.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'size'; - _size?.build(); - _$failedField = 'gps'; - _gps?.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable', _$failedField, e.toString()); - } - rethrow; - } + _$CoreNavigationEntry_Order _build() { + final _$result = _$v ?? + _$CoreNavigationEntry_Order._( + data: BuiltValueNullFieldError.checkNotNull(data, r'CoreNavigationEntry_Order', 'data'), + $int: $int, + string: string); replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing - extends CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing { +class _$CoreNavigationEntry extends CoreNavigationEntry { + @override + final String id; + @override + final CoreNavigationEntry_Order order; + @override + final String href; + @override + final String icon; @override - final String? url; + final String type; + @override + final String name; + @override + final bool active; + @override + final String classes; @override - final String? etag; + final int unread; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingBuilder()..update(updates))._build(); + factory _$CoreNavigationEntry([void Function(CoreNavigationEntryBuilder)? updates]) => + (CoreNavigationEntryBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing._({this.url, this.etag}) : super._(); + _$CoreNavigationEntry._( + {required this.id, + required this.order, + required this.href, + required this.icon, + required this.type, + required this.name, + required this.active, + required this.classes, + required this.unread}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'CoreNavigationEntry', 'id'); + BuiltValueNullFieldError.checkNotNull(order, r'CoreNavigationEntry', 'order'); + BuiltValueNullFieldError.checkNotNull(href, r'CoreNavigationEntry', 'href'); + BuiltValueNullFieldError.checkNotNull(icon, r'CoreNavigationEntry', 'icon'); + BuiltValueNullFieldError.checkNotNull(type, r'CoreNavigationEntry', 'type'); + BuiltValueNullFieldError.checkNotNull(name, r'CoreNavigationEntry', 'name'); + BuiltValueNullFieldError.checkNotNull(active, r'CoreNavigationEntry', 'active'); + BuiltValueNullFieldError.checkNotNull(classes, r'CoreNavigationEntry', 'classes'); + BuiltValueNullFieldError.checkNotNull(unread, r'CoreNavigationEntry', 'unread'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingBuilder) updates) => + CoreNavigationEntry rebuild(void Function(CoreNavigationEntryBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingBuilder()..replace(this); + CoreNavigationEntryBuilder toBuilder() => CoreNavigationEntryBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing && - url == other.url && - etag == other.etag; + return other is CoreNavigationEntry && + id == other.id && + order == other.order && + href == other.href && + icon == other.icon && + type == other.type && + name == other.name && + active == other.active && + classes == other.classes && + unread == other.unread; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, url.hashCode); - _$hash = $jc(_$hash, etag.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, order.hashCode); + _$hash = $jc(_$hash, href.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, active.hashCode); + _$hash = $jc(_$hash, classes.hashCode); + _$hash = $jc(_$hash, unread.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing') - ..add('url', url) - ..add('etag', etag)) + return (newBuiltValueToStringHelper(r'CoreNavigationEntry') + ..add('id', id) + ..add('order', order) + ..add('href', href) + ..add('icon', icon) + ..add('type', type) + ..add('name', name) + ..add('active', active) + ..add('classes', classes) + ..add('unread', unread)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingBuilder - implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing? _$v; +class CoreNavigationEntryBuilder implements Builder { + _$CoreNavigationEntry? _$v; - String? _url; - String? get url => _$this._url; - set url(String? url) => _$this._url = url; + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; - String? _etag; - String? get etag => _$this._etag; - set etag(String? etag) => _$this._etag = etag; + CoreNavigationEntry_OrderBuilder? _order; + CoreNavigationEntry_OrderBuilder get order => _$this._order ??= CoreNavigationEntry_OrderBuilder(); + set order(CoreNavigationEntry_OrderBuilder? order) => _$this._order = order; - CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingBuilder(); + String? _href; + String? get href => _$this._href; + set href(String? href) => _$this._href = href; + + String? _icon; + String? get icon => _$this._icon; + set icon(String? icon) => _$this._icon = icon; + + String? _type; + String? get type => _$this._type; + set type(String? type) => _$this._type = type; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + bool? _active; + bool? get active => _$this._active; + set active(bool? active) => _$this._active = active; + + String? _classes; + String? get classes => _$this._classes; + set classes(String? classes) => _$this._classes = classes; + + int? _unread; + int? get unread => _$this._unread; + set unread(int? unread) => _$this._unread = unread; + + CoreNavigationEntryBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingBuilder get _$this { + CoreNavigationEntryBuilder get _$this { final $v = _$v; if ($v != null) { - _url = $v.url; - _etag = $v.etag; + _id = $v.id; + _order = $v.order.toBuilder(); + _href = $v.href; + _icon = $v.icon; + _type = $v.type; + _name = $v.name; + _active = $v.active; + _classes = $v.classes; + _unread = $v.unread; _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing other) { + void replace(CoreNavigationEntry other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing; + _$v = other as _$CoreNavigationEntry; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingBuilder)? updates) { + void update(void Function(CoreNavigationEntryBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing build() => _build(); + CoreNavigationEntry build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing _build() { - final _$result = _$v ?? _$CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing._(url: url, etag: etag); + _$CoreNavigationEntry _build() { + _$CoreNavigationEntry _$result; + try { + _$result = _$v ?? + _$CoreNavigationEntry._( + id: BuiltValueNullFieldError.checkNotNull(id, r'CoreNavigationEntry', 'id'), + order: order.build(), + href: BuiltValueNullFieldError.checkNotNull(href, r'CoreNavigationEntry', 'href'), + icon: BuiltValueNullFieldError.checkNotNull(icon, r'CoreNavigationEntry', 'icon'), + type: BuiltValueNullFieldError.checkNotNull(type, r'CoreNavigationEntry', 'type'), + name: BuiltValueNullFieldError.checkNotNull(name, r'CoreNavigationEntry', 'name'), + active: BuiltValueNullFieldError.checkNotNull(active, r'CoreNavigationEntry', 'active'), + classes: BuiltValueNullFieldError.checkNotNull(classes, r'CoreNavigationEntry', 'classes'), + unread: BuiltValueNullFieldError.checkNotNull(unread, r'CoreNavigationEntry', 'unread')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'order'; + order.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CoreNavigationEntry', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Files extends CoreServerCapabilities_Ocs_Data_Capabilities_Files { - @override - final bool? bigfilechunking; - @override - final BuiltList? blacklistedFiles; +class _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs + extends CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs { @override - final CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing? directEditing; - @override - final bool? comments; - @override - final bool? undelete; + final CoreOCSMeta meta; @override - final bool? versioning; + final BuiltList data; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Files( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_FilesBuilder()..update(updates))._build(); + factory _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs( + [void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Files._( - {this.bigfilechunking, this.blacklistedFiles, this.directEditing, this.comments, this.undelete, this.versioning}) - : super._(); + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs', 'data'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Files rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesBuilder) updates) => + CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs rebuild( + void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_FilesBuilder()..replace(this); + CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Files && - bigfilechunking == other.bigfilechunking && - blacklistedFiles == other.blacklistedFiles && - directEditing == other.directEditing && - comments == other.comments && - undelete == other.undelete && - versioning == other.versioning; + return other is CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, bigfilechunking.hashCode); - _$hash = $jc(_$hash, blacklistedFiles.hashCode); - _$hash = $jc(_$hash, directEditing.hashCode); - _$hash = $jc(_$hash, comments.hashCode); - _$hash = $jc(_$hash, undelete.hashCode); - _$hash = $jc(_$hash, versioning.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Files') - ..add('bigfilechunking', bigfilechunking) - ..add('blacklistedFiles', blacklistedFiles) - ..add('directEditing', directEditing) - ..add('comments', comments) - ..add('undelete', undelete) - ..add('versioning', versioning)) + return (newBuiltValueToStringHelper(r'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_FilesBuilder +class CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Files? _$v; - - bool? _bigfilechunking; - bool? get bigfilechunking => _$this._bigfilechunking; - set bigfilechunking(bool? bigfilechunking) => _$this._bigfilechunking = bigfilechunking; - - ListBuilder? _blacklistedFiles; - ListBuilder get blacklistedFiles => _$this._blacklistedFiles ??= ListBuilder(); - set blacklistedFiles(ListBuilder? blacklistedFiles) => _$this._blacklistedFiles = blacklistedFiles; + Builder { + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs? _$v; - CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingBuilder? _directEditing; - CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingBuilder get directEditing => - _$this._directEditing ??= CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingBuilder(); - set directEditing(CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditingBuilder? directEditing) => - _$this._directEditing = directEditing; - - bool? _comments; - bool? get comments => _$this._comments; - set comments(bool? comments) => _$this._comments = comments; - - bool? _undelete; - bool? get undelete => _$this._undelete; - set undelete(bool? undelete) => _$this._undelete = undelete; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - bool? _versioning; - bool? get versioning => _$this._versioning; - set versioning(bool? versioning) => _$this._versioning = versioning; + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesBuilder(); + CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_FilesBuilder get _$this { + CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _bigfilechunking = $v.bigfilechunking; - _blacklistedFiles = $v.blacklistedFiles?.toBuilder(); - _directEditing = $v.directEditing?.toBuilder(); - _comments = $v.comments; - _undelete = $v.undelete; - _versioning = $v.versioning; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Files other) { + void replace(CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Files; + _$v = other as _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesBuilder)? updates) { + void update(void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Files build() => _build(); + CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Files _build() { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Files _$result; + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs _build() { + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_Files._( - bigfilechunking: bigfilechunking, - blacklistedFiles: _blacklistedFiles?.build(), - directEditing: _directEditing?.build(), - comments: comments, - undelete: undelete, - versioning: versioning); + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'blacklistedFiles'; - _blacklistedFiles?.build(); - _$failedField = 'directEditing'; - _directEditing?.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreServerCapabilities_Ocs_Data_Capabilities_Files', _$failedField, e.toString()); + r'CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -5689,94 +10461,97 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesBuilder } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Activity - extends CoreServerCapabilities_Ocs_Data_Capabilities_Activity { +class _$CoreNavigationGetAppsNavigationResponse200ApplicationJson + extends CoreNavigationGetAppsNavigationResponse200ApplicationJson { @override - final BuiltList? apiv2; + final CoreNavigationGetAppsNavigationResponse200ApplicationJson_Ocs ocs; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Activity( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_ActivityBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_ActivityBuilder()..update(updates))._build(); + factory _$CoreNavigationGetAppsNavigationResponse200ApplicationJson( + [void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder)? updates]) => + (CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Activity._({this.apiv2}) : super._(); + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreNavigationGetAppsNavigationResponse200ApplicationJson', 'ocs'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Activity rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_ActivityBuilder) updates) => + CoreNavigationGetAppsNavigationResponse200ApplicationJson rebuild( + void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_ActivityBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_ActivityBuilder()..replace(this); + CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder toBuilder() => + CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Activity && apiv2 == other.apiv2; + return other is CoreNavigationGetAppsNavigationResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, apiv2.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Activity')..add('apiv2', apiv2)) + return (newBuiltValueToStringHelper(r'CoreNavigationGetAppsNavigationResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_ActivityBuilder +class CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Activity? _$v; + Builder { + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson? _$v; - ListBuilder? _apiv2; - ListBuilder get apiv2 => _$this._apiv2 ??= ListBuilder(); - set apiv2(ListBuilder? apiv2) => _$this._apiv2 = apiv2; + CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder? _ocs; + CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreNavigationGetAppsNavigationResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreServerCapabilities_Ocs_Data_Capabilities_ActivityBuilder(); + CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_ActivityBuilder get _$this { + CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _apiv2 = $v.apiv2?.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Activity other) { + void replace(CoreNavigationGetAppsNavigationResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Activity; + _$v = other as _$CoreNavigationGetAppsNavigationResponse200ApplicationJson; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_ActivityBuilder)? updates) { + void update(void Function(CoreNavigationGetAppsNavigationResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Activity build() => _build(); + CoreNavigationGetAppsNavigationResponse200ApplicationJson build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Activity _build() { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Activity _$result; + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson _build() { + _$CoreNavigationGetAppsNavigationResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$CoreServerCapabilities_Ocs_Data_Capabilities_Activity._(apiv2: _apiv2?.build()); + _$result = _$v ?? _$CoreNavigationGetAppsNavigationResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'apiv2'; - _apiv2?.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreServerCapabilities_Ocs_Data_Capabilities_Activity', _$failedField, e.toString()); + r'CoreNavigationGetAppsNavigationResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -5785,414 +10560,498 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_ActivityBuilder } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status - extends CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status { +class _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs + extends CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs { @override - final bool? globalScale; + final CoreOCSMeta meta; + @override + final BuiltList data; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusBuilder()..update(updates))._build(); + factory _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs( + [void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status._({this.globalScale}) : super._(); + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs', 'data'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusBuilder) updates) => + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs rebuild( + void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusBuilder()..replace(this); + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status && globalScale == other.globalScale; + return other is CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, globalScale.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status') - ..add('globalScale', globalScale)) + return (newBuiltValueToStringHelper(r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusBuilder +class CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status? _$v; + Builder { + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs? _$v; - bool? _globalScale; - bool? get globalScale => _$this._globalScale; - set globalScale(bool? globalScale) => _$this._globalScale = globalScale; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusBuilder(); + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusBuilder get _$this { + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _globalScale = $v.globalScale; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status other) { + void replace(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status; + _$v = other as _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusBuilder)? updates) { + void update(void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status build() => _build(); + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status _build() { - final _$result = _$v ?? _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status._(globalScale: globalScale); + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs _build() { + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings - extends CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings { +class _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson + extends CoreNavigationGetSettingsNavigationResponse200ApplicationJson { @override - final bool? frontendEnabled; - @override - final int? allowedCircles; - @override - final int? allowedUserTypes; - @override - final int? membersLimit; + final CoreNavigationGetSettingsNavigationResponse200ApplicationJson_Ocs ocs; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsBuilder()..update(updates))._build(); + factory _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson( + [void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder)? updates]) => + (CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings._( - {this.frontendEnabled, this.allowedCircles, this.allowedUserTypes, this.membersLimit}) - : super._(); + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson', 'ocs'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsBuilder) updates) => + CoreNavigationGetSettingsNavigationResponse200ApplicationJson rebuild( + void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsBuilder()..replace(this); + CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder toBuilder() => + CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings && - frontendEnabled == other.frontendEnabled && - allowedCircles == other.allowedCircles && - allowedUserTypes == other.allowedUserTypes && - membersLimit == other.membersLimit; + return other is CoreNavigationGetSettingsNavigationResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, frontendEnabled.hashCode); - _$hash = $jc(_$hash, allowedCircles.hashCode); - _$hash = $jc(_$hash, allowedUserTypes.hashCode); - _$hash = $jc(_$hash, membersLimit.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings') - ..add('frontendEnabled', frontendEnabled) - ..add('allowedCircles', allowedCircles) - ..add('allowedUserTypes', allowedUserTypes) - ..add('membersLimit', membersLimit)) + return (newBuiltValueToStringHelper(r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsBuilder +class CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings? _$v; - - bool? _frontendEnabled; - bool? get frontendEnabled => _$this._frontendEnabled; - set frontendEnabled(bool? frontendEnabled) => _$this._frontendEnabled = frontendEnabled; - - int? _allowedCircles; - int? get allowedCircles => _$this._allowedCircles; - set allowedCircles(int? allowedCircles) => _$this._allowedCircles = allowedCircles; + Builder { + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson? _$v; - int? _allowedUserTypes; - int? get allowedUserTypes => _$this._allowedUserTypes; - set allowedUserTypes(int? allowedUserTypes) => _$this._allowedUserTypes = allowedUserTypes; + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder? _ocs; + CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreNavigationGetSettingsNavigationResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - int? _membersLimit; - int? get membersLimit => _$this._membersLimit; - set membersLimit(int? membersLimit) => _$this._membersLimit = membersLimit; + CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsBuilder(); - - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsBuilder get _$this { + CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _frontendEnabled = $v.frontendEnabled; - _allowedCircles = $v.allowedCircles; - _allowedUserTypes = $v.allowedUserTypes; - _membersLimit = $v.membersLimit; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings other) { + void replace(CoreNavigationGetSettingsNavigationResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings; + _$v = other as _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsBuilder)? updates) { + void update(void Function(CoreNavigationGetSettingsNavigationResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings build() => _build(); + CoreNavigationGetSettingsNavigationResponse200ApplicationJson build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings _build() { - final _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings._( - frontendEnabled: frontendEnabled, - allowedCircles: allowedCircles, - allowedUserTypes: allowedUserTypes, - membersLimit: membersLimit); + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson _build() { + _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreNavigationGetSettingsNavigationResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreNavigationGetSettingsNavigationResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source - extends CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version { + @override + final int major; + @override + final int minor; @override - final JsonObject? core; + final int micro; @override - final JsonObject? extra; + final String string; + @override + final String edition; + @override + final bool extendedSupport; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceBuilder)? - updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version( + [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder)? updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source._({this.core, this.extra}) : super._(); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version._( + {required this.major, + required this.minor, + required this.micro, + required this.string, + required this.edition, + required this.extendedSupport}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + major, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'major'); + BuiltValueNullFieldError.checkNotNull( + minor, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'minor'); + BuiltValueNullFieldError.checkNotNull( + micro, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'micro'); + BuiltValueNullFieldError.checkNotNull( + string, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'string'); + BuiltValueNullFieldError.checkNotNull( + edition, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'edition'); + BuiltValueNullFieldError.checkNotNull( + extendedSupport, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'extendedSupport'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version rebuild( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source && - core == other.core && - extra == other.extra; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version && + major == other.major && + minor == other.minor && + micro == other.micro && + string == other.string && + edition == other.edition && + extendedSupport == other.extendedSupport; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, core.hashCode); - _$hash = $jc(_$hash, extra.hashCode); + _$hash = $jc(_$hash, major.hashCode); + _$hash = $jc(_$hash, minor.hashCode); + _$hash = $jc(_$hash, micro.hashCode); + _$hash = $jc(_$hash, string.hashCode); + _$hash = $jc(_$hash, edition.hashCode); + _$hash = $jc(_$hash, extendedSupport.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source') - ..add('core', core) - ..add('extra', extra)) + return (newBuiltValueToStringHelper(r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version') + ..add('major', major) + ..add('minor', minor) + ..add('micro', micro) + ..add('string', string) + ..add('edition', edition) + ..add('extendedSupport', extendedSupport)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source? _$v; + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version? _$v; + + int? _major; + int? get major => _$this._major; + set major(int? major) => _$this._major = major; + + int? _minor; + int? get minor => _$this._minor; + set minor(int? minor) => _$this._minor = minor; + + int? _micro; + int? get micro => _$this._micro; + set micro(int? micro) => _$this._micro = micro; + + String? _string; + String? get string => _$this._string; + set string(String? string) => _$this._string = string; - JsonObject? _core; - JsonObject? get core => _$this._core; - set core(JsonObject? core) => _$this._core = core; + String? _edition; + String? get edition => _$this._edition; + set edition(String? edition) => _$this._edition = edition; - JsonObject? _extra; - JsonObject? get extra => _$this._extra; - set extra(JsonObject? extra) => _$this._extra = extra; + bool? _extendedSupport; + bool? get extendedSupport => _$this._extendedSupport; + set extendedSupport(bool? extendedSupport) => _$this._extendedSupport = extendedSupport; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder get _$this { final $v = _$v; if ($v != null) { - _core = $v.core; - _extra = $v.extra; + _major = $v.major; + _minor = $v.minor; + _micro = $v.micro; + _string = $v.string; + _edition = $v.edition; + _extendedSupport = $v.extendedSupport; _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version; } @override - void update( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceBuilder)? updates) { + void update(void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source _build() { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version _build() { final _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source._(core: core, extra: extra); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version._( + major: BuiltValueNullFieldError.checkNotNull( + major, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'major'), + minor: BuiltValueNullFieldError.checkNotNull( + minor, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'minor'), + micro: BuiltValueNullFieldError.checkNotNull( + micro, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'micro'), + string: BuiltValueNullFieldError.checkNotNull( + string, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'string'), + edition: BuiltValueNullFieldError.checkNotNull( + edition, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'edition'), + extendedSupport: BuiltValueNullFieldError.checkNotNull(extendedSupport, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version', 'extendedSupport')); replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants - extends CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes { @override - final JsonObject? flags; + final BuiltList? apiVersion; @override - final CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source? source; + final String? version; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes( + [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder)? + updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants._({this.flags, this.source}) : super._(); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes._({this.apiVersion, this.version}) + : super._(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes rebuild( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants && - flags == other.flags && - source == other.source; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes && + apiVersion == other.apiVersion && + version == other.version; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, flags.hashCode); - _$hash = $jc(_$hash, source.hashCode); + _$hash = $jc(_$hash, apiVersion.hashCode); + _$hash = $jc(_$hash, version.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants') - ..add('flags', flags) - ..add('source', source)) + return (newBuiltValueToStringHelper(r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes') + ..add('apiVersion', apiVersion) + ..add('version', version)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants? _$v; + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes? _$v; - JsonObject? _flags; - JsonObject? get flags => _$this._flags; - set flags(JsonObject? flags) => _$this._flags = flags; + ListBuilder? _apiVersion; + ListBuilder get apiVersion => _$this._apiVersion ??= ListBuilder(); + set apiVersion(ListBuilder? apiVersion) => _$this._apiVersion = apiVersion; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceBuilder? _source; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceBuilder get source => - _$this._source ??= CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceBuilder(); - set source(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_SourceBuilder? source) => - _$this._source = source; + String? _version; + String? get version => _$this._version; + set version(String? version) => _$this._version = version; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder get _$this { final $v = _$v; if ($v != null) { - _flags = $v.flags; - _source = $v.source?.toBuilder(); + _apiVersion = $v.apiVersion?.toBuilder(); + _version = $v.version; _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsBuilder)? updates) { + void update( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants _build() { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants _$result; + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes _build() { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes _$result; try { _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants._( - flags: flags, source: _source?.build()); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes._( + apiVersion: _apiVersion?.build(), version: version); } catch (_) { late String _$failedField; try { - _$failedField = 'source'; - _source?.build(); + _$failedField = 'apiVersion'; + _apiVersion?.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants', _$failedField, e.toString()); + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes', + _$failedField, + e.toString()); } rethrow; } @@ -6201,111 +11060,134 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsBuild } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config - extends CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications { @override - final BuiltList? coreFlags; + final BuiltList? ocsEndpoints; + @override + final BuiltList? push; @override - final BuiltList? systemFlags; + final BuiltList? adminNotifications; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications( + [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder)? + updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder()..update(updates)) + ._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config._({this.coreFlags, this.systemFlags}) + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications._( + {this.ocsEndpoints, this.push, this.adminNotifications}) : super._(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications rebuild( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config && - coreFlags == other.coreFlags && - systemFlags == other.systemFlags; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications && + ocsEndpoints == other.ocsEndpoints && + push == other.push && + adminNotifications == other.adminNotifications; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, coreFlags.hashCode); - _$hash = $jc(_$hash, systemFlags.hashCode); + _$hash = $jc(_$hash, ocsEndpoints.hashCode); + _$hash = $jc(_$hash, push.hashCode); + _$hash = $jc(_$hash, adminNotifications.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config') - ..add('coreFlags', coreFlags) - ..add('systemFlags', systemFlags)) + return (newBuiltValueToStringHelper( + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications') + ..add('ocsEndpoints', ocsEndpoints) + ..add('push', push) + ..add('adminNotifications', adminNotifications)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config? _$v; + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications? _$v; + + ListBuilder? _ocsEndpoints; + ListBuilder get ocsEndpoints => _$this._ocsEndpoints ??= ListBuilder(); + set ocsEndpoints(ListBuilder? ocsEndpoints) => _$this._ocsEndpoints = ocsEndpoints; - ListBuilder? _coreFlags; - ListBuilder get coreFlags => _$this._coreFlags ??= ListBuilder(); - set coreFlags(ListBuilder? coreFlags) => _$this._coreFlags = coreFlags; + ListBuilder? _push; + ListBuilder get push => _$this._push ??= ListBuilder(); + set push(ListBuilder? push) => _$this._push = push; - ListBuilder? _systemFlags; - ListBuilder get systemFlags => _$this._systemFlags ??= ListBuilder(); - set systemFlags(ListBuilder? systemFlags) => _$this._systemFlags = systemFlags; + ListBuilder? _adminNotifications; + ListBuilder get adminNotifications => _$this._adminNotifications ??= ListBuilder(); + set adminNotifications(ListBuilder? adminNotifications) => _$this._adminNotifications = adminNotifications; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder get _$this { final $v = _$v; if ($v != null) { - _coreFlags = $v.coreFlags?.toBuilder(); - _systemFlags = $v.systemFlags?.toBuilder(); + _ocsEndpoints = $v.ocsEndpoints?.toBuilder(); + _push = $v.push?.toBuilder(); + _adminNotifications = $v.adminNotifications?.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigBuilder)? updates) { + void update( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder)? + updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config _build() { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config _$result; + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications _build() { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications _$result; try { _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config._( - coreFlags: _coreFlags?.build(), systemFlags: _systemFlags?.build()); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications._( + ocsEndpoints: _ocsEndpoints?.build(), + push: _push?.build(), + adminNotifications: _adminNotifications?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'coreFlags'; - _coreFlags?.build(); - _$failedField = 'systemFlags'; - _systemFlags?.build(); + _$failedField = 'ocsEndpoints'; + _ocsEndpoints?.build(); + _$failedField = 'push'; + _push?.build(); + _$failedField = 'adminNotifications'; + _adminNotifications?.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config', _$failedField, e.toString()); + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications', + _$failedField, + e.toString()); } rethrow; } @@ -6314,466 +11196,740 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigBuilder } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle - extends CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi { + @override + final String version; @override - final CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants? constants; + final int accountPropertyScopesVersion; @override - final CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config? config; + final bool accountPropertyScopesFederatedEnabled; + @override + final bool accountPropertyScopesPublishedEnabled; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi( + [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder)? + updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder()..update(updates)) + ._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle._({this.constants, this.config}) : super._(); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi._( + {required this.version, + required this.accountPropertyScopesVersion, + required this.accountPropertyScopesFederatedEnabled, + required this.accountPropertyScopesPublishedEnabled}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + version, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi', 'version'); + BuiltValueNullFieldError.checkNotNull( + accountPropertyScopesVersion, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi', + 'accountPropertyScopesVersion'); + BuiltValueNullFieldError.checkNotNull( + accountPropertyScopesFederatedEnabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi', + 'accountPropertyScopesFederatedEnabled'); + BuiltValueNullFieldError.checkNotNull( + accountPropertyScopesPublishedEnabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi', + 'accountPropertyScopesPublishedEnabled'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi rebuild( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle && - constants == other.constants && - config == other.config; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi && + version == other.version && + accountPropertyScopesVersion == other.accountPropertyScopesVersion && + accountPropertyScopesFederatedEnabled == other.accountPropertyScopesFederatedEnabled && + accountPropertyScopesPublishedEnabled == other.accountPropertyScopesPublishedEnabled; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, constants.hashCode); - _$hash = $jc(_$hash, config.hashCode); + _$hash = $jc(_$hash, version.hashCode); + _$hash = $jc(_$hash, accountPropertyScopesVersion.hashCode); + _$hash = $jc(_$hash, accountPropertyScopesFederatedEnabled.hashCode); + _$hash = $jc(_$hash, accountPropertyScopesPublishedEnabled.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle') - ..add('constants', constants) - ..add('config', config)) + return (newBuiltValueToStringHelper( + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi') + ..add('version', version) + ..add('accountPropertyScopesVersion', accountPropertyScopesVersion) + ..add('accountPropertyScopesFederatedEnabled', accountPropertyScopesFederatedEnabled) + ..add('accountPropertyScopesPublishedEnabled', accountPropertyScopesPublishedEnabled)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle? _$v; + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi? _$v; + + String? _version; + String? get version => _$this._version; + set version(String? version) => _$this._version = version; + + int? _accountPropertyScopesVersion; + int? get accountPropertyScopesVersion => _$this._accountPropertyScopesVersion; + set accountPropertyScopesVersion(int? accountPropertyScopesVersion) => + _$this._accountPropertyScopesVersion = accountPropertyScopesVersion; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsBuilder? _constants; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsBuilder get constants => - _$this._constants ??= CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsBuilder(); - set constants(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConstantsBuilder? constants) => - _$this._constants = constants; + bool? _accountPropertyScopesFederatedEnabled; + bool? get accountPropertyScopesFederatedEnabled => _$this._accountPropertyScopesFederatedEnabled; + set accountPropertyScopesFederatedEnabled(bool? accountPropertyScopesFederatedEnabled) => + _$this._accountPropertyScopesFederatedEnabled = accountPropertyScopesFederatedEnabled; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigBuilder? _config; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigBuilder get config => - _$this._config ??= CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigBuilder(); - set config(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_ConfigBuilder? config) => - _$this._config = config; + bool? _accountPropertyScopesPublishedEnabled; + bool? get accountPropertyScopesPublishedEnabled => _$this._accountPropertyScopesPublishedEnabled; + set accountPropertyScopesPublishedEnabled(bool? accountPropertyScopesPublishedEnabled) => + _$this._accountPropertyScopesPublishedEnabled = accountPropertyScopesPublishedEnabled; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder get _$this { final $v = _$v; if ($v != null) { - _constants = $v.constants?.toBuilder(); - _config = $v.config?.toBuilder(); + _version = $v.version; + _accountPropertyScopesVersion = $v.accountPropertyScopesVersion; + _accountPropertyScopesFederatedEnabled = $v.accountPropertyScopesFederatedEnabled; + _accountPropertyScopesPublishedEnabled = $v.accountPropertyScopesPublishedEnabled; _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleBuilder)? updates) { + void update( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder)? + updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle _build() { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle _$result; - try { - _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle._( - constants: _constants?.build(), config: _config?.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'constants'; - _constants?.build(); - _$failedField = 'config'; - _config?.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle', _$failedField, e.toString()); - } - rethrow; - } + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi _build() { + final _$result = _$v ?? + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi._( + version: BuiltValueNullFieldError.checkNotNull(version, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi', 'version'), + accountPropertyScopesVersion: BuiltValueNullFieldError.checkNotNull( + accountPropertyScopesVersion, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi', + 'accountPropertyScopesVersion'), + accountPropertyScopesFederatedEnabled: BuiltValueNullFieldError.checkNotNull( + accountPropertyScopesFederatedEnabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi', + 'accountPropertyScopesFederatedEnabled'), + accountPropertyScopesPublishedEnabled: BuiltValueNullFieldError.checkNotNull( + accountPropertyScopesPublishedEnabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi', + 'accountPropertyScopesPublishedEnabled')); replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants - extends CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming { + @override + final String name; + @override + final String url; + @override + final String slogan; + @override + final String color; + @override + final String colorText; + @override + final String colorElement; + @override + final String colorElementBright; + @override + final String colorElementDark; + @override + final String logo; + @override + final String background; @override - final JsonObject? level; + final bool backgroundPlain; + @override + final bool backgroundDefault; + @override + final String logoheader; + @override + final String favicon; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming( + [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder)? + updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder()..update(updates)) + ._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants._({this.level}) : super._(); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming._( + {required this.name, + required this.url, + required this.slogan, + required this.color, + required this.colorText, + required this.colorElement, + required this.colorElementBright, + required this.colorElementDark, + required this.logo, + required this.background, + required this.backgroundPlain, + required this.backgroundDefault, + required this.logoheader, + required this.favicon}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + name, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'name'); + BuiltValueNullFieldError.checkNotNull( + url, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'url'); + BuiltValueNullFieldError.checkNotNull( + slogan, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'slogan'); + BuiltValueNullFieldError.checkNotNull( + color, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'color'); + BuiltValueNullFieldError.checkNotNull( + colorText, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'colorText'); + BuiltValueNullFieldError.checkNotNull(colorElement, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'colorElement'); + BuiltValueNullFieldError.checkNotNull(colorElementBright, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'colorElementBright'); + BuiltValueNullFieldError.checkNotNull(colorElementDark, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'colorElementDark'); + BuiltValueNullFieldError.checkNotNull( + logo, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'logo'); + BuiltValueNullFieldError.checkNotNull( + background, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'background'); + BuiltValueNullFieldError.checkNotNull(backgroundPlain, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'backgroundPlain'); + BuiltValueNullFieldError.checkNotNull(backgroundDefault, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'backgroundDefault'); + BuiltValueNullFieldError.checkNotNull( + logoheader, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'logoheader'); + BuiltValueNullFieldError.checkNotNull( + favicon, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'favicon'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming rebuild( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants && level == other.level; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming && + name == other.name && + url == other.url && + slogan == other.slogan && + color == other.color && + colorText == other.colorText && + colorElement == other.colorElement && + colorElementBright == other.colorElementBright && + colorElementDark == other.colorElementDark && + logo == other.logo && + background == other.background && + backgroundPlain == other.backgroundPlain && + backgroundDefault == other.backgroundDefault && + logoheader == other.logoheader && + favicon == other.favicon; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, level.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, url.hashCode); + _$hash = $jc(_$hash, slogan.hashCode); + _$hash = $jc(_$hash, color.hashCode); + _$hash = $jc(_$hash, colorText.hashCode); + _$hash = $jc(_$hash, colorElement.hashCode); + _$hash = $jc(_$hash, colorElementBright.hashCode); + _$hash = $jc(_$hash, colorElementDark.hashCode); + _$hash = $jc(_$hash, logo.hashCode); + _$hash = $jc(_$hash, background.hashCode); + _$hash = $jc(_$hash, backgroundPlain.hashCode); + _$hash = $jc(_$hash, backgroundDefault.hashCode); + _$hash = $jc(_$hash, logoheader.hashCode); + _$hash = $jc(_$hash, favicon.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants') - ..add('level', level)) + return (newBuiltValueToStringHelper( + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming') + ..add('name', name) + ..add('url', url) + ..add('slogan', slogan) + ..add('color', color) + ..add('colorText', colorText) + ..add('colorElement', colorElement) + ..add('colorElementBright', colorElementBright) + ..add('colorElementDark', colorElementDark) + ..add('logo', logo) + ..add('background', background) + ..add('backgroundPlain', backgroundPlain) + ..add('backgroundDefault', backgroundDefault) + ..add('logoheader', logoheader) + ..add('favicon', favicon)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants? _$v; + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming? _$v; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + String? _url; + String? get url => _$this._url; + set url(String? url) => _$this._url = url; + + String? _slogan; + String? get slogan => _$this._slogan; + set slogan(String? slogan) => _$this._slogan = slogan; + + String? _color; + String? get color => _$this._color; + set color(String? color) => _$this._color = color; + + String? _colorText; + String? get colorText => _$this._colorText; + set colorText(String? colorText) => _$this._colorText = colorText; - JsonObject? _level; - JsonObject? get level => _$this._level; - set level(JsonObject? level) => _$this._level = level; + String? _colorElement; + String? get colorElement => _$this._colorElement; + set colorElement(String? colorElement) => _$this._colorElement = colorElement; + + String? _colorElementBright; + String? get colorElementBright => _$this._colorElementBright; + set colorElementBright(String? colorElementBright) => _$this._colorElementBright = colorElementBright; + + String? _colorElementDark; + String? get colorElementDark => _$this._colorElementDark; + set colorElementDark(String? colorElementDark) => _$this._colorElementDark = colorElementDark; + + String? _logo; + String? get logo => _$this._logo; + set logo(String? logo) => _$this._logo = logo; + + String? _background; + String? get background => _$this._background; + set background(String? background) => _$this._background = background; + + bool? _backgroundPlain; + bool? get backgroundPlain => _$this._backgroundPlain; + set backgroundPlain(bool? backgroundPlain) => _$this._backgroundPlain = backgroundPlain; + + bool? _backgroundDefault; + bool? get backgroundDefault => _$this._backgroundDefault; + set backgroundDefault(bool? backgroundDefault) => _$this._backgroundDefault = backgroundDefault; + + String? _logoheader; + String? get logoheader => _$this._logoheader; + set logoheader(String? logoheader) => _$this._logoheader = logoheader; + + String? _favicon; + String? get favicon => _$this._favicon; + set favicon(String? favicon) => _$this._favicon = favicon; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder get _$this { final $v = _$v; if ($v != null) { - _level = $v.level; + _name = $v.name; + _url = $v.url; + _slogan = $v.slogan; + _color = $v.color; + _colorText = $v.colorText; + _colorElement = $v.colorElement; + _colorElementBright = $v.colorElementBright; + _colorElementDark = $v.colorElementDark; + _logo = $v.logo; + _background = $v.background; + _backgroundPlain = $v.backgroundPlain; + _backgroundDefault = $v.backgroundDefault; + _logoheader = $v.logoheader; + _favicon = $v.favicon; _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsBuilder)? updates) { + void update( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants _build() { - final _$result = _$v ?? _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants._(level: level); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming _build() { + final _$result = _$v ?? + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming._( + name: BuiltValueNullFieldError.checkNotNull( + name, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'name'), + url: BuiltValueNullFieldError.checkNotNull( + url, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'url'), + slogan: BuiltValueNullFieldError.checkNotNull( + slogan, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'slogan'), + color: BuiltValueNullFieldError.checkNotNull( + color, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'color'), + colorText: BuiltValueNullFieldError.checkNotNull( + colorText, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'colorText'), + colorElement: BuiltValueNullFieldError.checkNotNull( + colorElement, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'colorElement'), + colorElementBright: BuiltValueNullFieldError.checkNotNull( + colorElementBright, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'colorElementBright'), + colorElementDark: BuiltValueNullFieldError.checkNotNull(colorElementDark, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'colorElementDark'), + logo: BuiltValueNullFieldError.checkNotNull(logo, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'logo'), + background: BuiltValueNullFieldError.checkNotNull(background, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'background'), + backgroundPlain: BuiltValueNullFieldError.checkNotNull(backgroundPlain, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'backgroundPlain'), + backgroundDefault: BuiltValueNullFieldError.checkNotNull(backgroundDefault, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'backgroundDefault'), + logoheader: BuiltValueNullFieldError.checkNotNull(logoheader, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'logoheader'), + favicon: BuiltValueNullFieldError.checkNotNull(favicon, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming', 'favicon')); replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member - extends CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus { + @override + final bool enabled; @override - final CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants? constants; + final bool restore; @override - final JsonObject? type; + final bool supportsEmoji; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus( + [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder)? + updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder()..update(updates)) + ._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member._({this.constants, this.type}) : super._(); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus._( + {required this.enabled, required this.restore, required this.supportsEmoji}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + enabled, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus', 'enabled'); + BuiltValueNullFieldError.checkNotNull( + restore, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus', 'restore'); + BuiltValueNullFieldError.checkNotNull(supportsEmoji, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus', 'supportsEmoji'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus rebuild( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder) + updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member && - constants == other.constants && - type == other.type; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus && + enabled == other.enabled && + restore == other.restore && + supportsEmoji == other.supportsEmoji; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, constants.hashCode); - _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, restore.hashCode); + _$hash = $jc(_$hash, supportsEmoji.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member') - ..add('constants', constants) - ..add('type', type)) + return (newBuiltValueToStringHelper( + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus') + ..add('enabled', enabled) + ..add('restore', restore) + ..add('supportsEmoji', supportsEmoji)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member? _$v; + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus? _$v; + + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsBuilder? _constants; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsBuilder get constants => - _$this._constants ??= CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsBuilder(); - set constants(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_ConstantsBuilder? constants) => - _$this._constants = constants; + bool? _restore; + bool? get restore => _$this._restore; + set restore(bool? restore) => _$this._restore = restore; - JsonObject? _type; - JsonObject? get type => _$this._type; - set type(JsonObject? type) => _$this._type = type; + bool? _supportsEmoji; + bool? get supportsEmoji => _$this._supportsEmoji; + set supportsEmoji(bool? supportsEmoji) => _$this._supportsEmoji = supportsEmoji; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder get _$this { final $v = _$v; if ($v != null) { - _constants = $v.constants?.toBuilder(); - _type = $v.type; + _enabled = $v.enabled; + _restore = $v.restore; + _supportsEmoji = $v.supportsEmoji; _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberBuilder)? updates) { + void update( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder)? + updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member _build() { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member _$result; - try { - _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member._(constants: _constants?.build(), type: type); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'constants'; - _constants?.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member', _$failedField, e.toString()); - } - rethrow; - } + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus _build() { + final _$result = _$v ?? + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus._( + enabled: BuiltValueNullFieldError.checkNotNull(enabled, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus', 'enabled'), + restore: BuiltValueNullFieldError.checkNotNull(restore, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus', 'restore'), + supportsEmoji: BuiltValueNullFieldError.checkNotNull(supportsEmoji, + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus', 'supportsEmoji')); replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles - extends CoreServerCapabilities_Ocs_Data_Capabilities_Circles { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities { @override - final String? version; + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notes? notes; @override - final CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status? status; + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Notifications? notifications; @override - final CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings? settings; + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApi? provisioningApi; @override - final CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle? circle; + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_Theming? theming; @override - final CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member? member; + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatus? userStatus; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_CirclesBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_CirclesBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities( + [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder)? updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles._( - {this.version, this.status, this.settings, this.circle, this.member}) + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities._( + {this.notes, this.notifications, this.provisioningApi, this.theming, this.userStatus}) : super._(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_CirclesBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities rebuild( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_CirclesBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_CirclesBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Circles && - version == other.version && - status == other.status && - settings == other.settings && - circle == other.circle && - member == other.member; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities && + notes == other.notes && + notifications == other.notifications && + provisioningApi == other.provisioningApi && + theming == other.theming && + userStatus == other.userStatus; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, version.hashCode); - _$hash = $jc(_$hash, status.hashCode); - _$hash = $jc(_$hash, settings.hashCode); - _$hash = $jc(_$hash, circle.hashCode); - _$hash = $jc(_$hash, member.hashCode); + _$hash = $jc(_$hash, notes.hashCode); + _$hash = $jc(_$hash, notifications.hashCode); + _$hash = $jc(_$hash, provisioningApi.hashCode); + _$hash = $jc(_$hash, theming.hashCode); + _$hash = $jc(_$hash, userStatus.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Circles') - ..add('version', version) - ..add('status', status) - ..add('settings', settings) - ..add('circle', circle) - ..add('member', member)) + return (newBuiltValueToStringHelper(r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities') + ..add('notes', notes) + ..add('notifications', notifications) + ..add('provisioningApi', provisioningApi) + ..add('theming', theming) + ..add('userStatus', userStatus)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_CirclesBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles? _$v; - - String? _version; - String? get version => _$this._version; - set version(String? version) => _$this._version = version; - - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusBuilder? _status; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusBuilder get status => - _$this._status ??= CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusBuilder(); - set status(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_StatusBuilder? status) => _$this._status = status; - - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsBuilder? _settings; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsBuilder get settings => - _$this._settings ??= CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsBuilder(); - set settings(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_SettingsBuilder? settings) => - _$this._settings = settings; + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities? _$v; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder? _notes; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder get notes => + _$this._notes ??= CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder(); + set notes(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotesBuilder? notes) => + _$this._notes = notes; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder? _notifications; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder get notifications => + _$this._notifications ??= + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder(); + set notifications( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_NotificationsBuilder? notifications) => + _$this._notifications = notifications; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleBuilder? _circle; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleBuilder get circle => - _$this._circle ??= CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleBuilder(); - set circle(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_CircleBuilder? circle) => _$this._circle = circle; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder? _provisioningApi; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder get provisioningApi => + _$this._provisioningApi ??= + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder(); + set provisioningApi( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ProvisioningApiBuilder? + provisioningApi) => + _$this._provisioningApi = provisioningApi; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberBuilder? _member; - CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberBuilder get member => - _$this._member ??= CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberBuilder(); - set member(CoreServerCapabilities_Ocs_Data_Capabilities_Circles_MemberBuilder? member) => _$this._member = member; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder? _theming; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder get theming => + _$this._theming ??= CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder(); + set theming(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_ThemingBuilder? theming) => + _$this._theming = theming; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder? _userStatus; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder get userStatus => + _$this._userStatus ??= CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder(); + set userStatus( + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities_UserStatusBuilder? userStatus) => + _$this._userStatus = userStatus; - CoreServerCapabilities_Ocs_Data_Capabilities_CirclesBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_CirclesBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _version = $v.version; - _status = $v.status?.toBuilder(); - _settings = $v.settings?.toBuilder(); - _circle = $v.circle?.toBuilder(); - _member = $v.member?.toBuilder(); + _notes = $v.notes?.toBuilder(); + _notifications = $v.notifications?.toBuilder(); + _provisioningApi = $v.provisioningApi?.toBuilder(); + _theming = $v.theming?.toBuilder(); + _userStatus = $v.userStatus?.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Circles other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_CirclesBuilder)? updates) { + void update(void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Circles build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles _build() { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles _$result; + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities _build() { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities _$result; try { _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_Circles._( - version: version, - status: _status?.build(), - settings: _settings?.build(), - circle: _circle?.build(), - member: _member?.build()); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities._( + notes: _notes?.build(), + notifications: _notifications?.build(), + provisioningApi: _provisioningApi?.build(), + theming: _theming?.build(), + userStatus: _userStatus?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'status'; - _status?.build(); - _$failedField = 'settings'; - _settings?.build(); - _$failedField = 'circle'; - _circle?.build(); - _$failedField = 'member'; - _member?.build(); + _$failedField = 'notes'; + _notes?.build(); + _$failedField = 'notifications'; + _notifications?.build(); + _$failedField = 'provisioningApi'; + _provisioningApi?.build(); + _$failedField = 'theming'; + _theming?.build(); + _$failedField = 'userStatus'; + _userStatus?.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreServerCapabilities_Ocs_Data_Capabilities_Circles', _$failedField, e.toString()); + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities', _$failedField, e.toString()); } rethrow; } @@ -6782,208 +11938,233 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_CirclesBuilder } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols - extends CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data { @override - final String? webdav; + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Version version; + @override + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_Capabilities capabilities; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data( + [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols._({this.webdav}) : super._(); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data._({required this.version, required this.capabilities}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + version, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data', 'version'); + BuiltValueNullFieldError.checkNotNull( + capabilities, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data', 'capabilities'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols && webdav == other.webdav; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data && + version == other.version && + capabilities == other.capabilities; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, webdav.hashCode); + _$hash = $jc(_$hash, version.hashCode); + _$hash = $jc(_$hash, capabilities.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols') - ..add('webdav', webdav)) + return (newBuiltValueToStringHelper(r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data') + ..add('version', version) + ..add('capabilities', capabilities)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols? _$v; - - String? _webdav; - String? get webdav => _$this._webdav; - set webdav(String? webdav) => _$this._webdav = webdav; + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data? _$v; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder? _version; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder get version => + _$this._version ??= CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder(); + set version(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_VersionBuilder? version) => + _$this._version = version; + + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder? _capabilities; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder get capabilities => + _$this._capabilities ??= CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder(); + set capabilities(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data_CapabilitiesBuilder? capabilities) => + _$this._capabilities = capabilities; - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _webdav = $v.webdav; + _version = $v.version.toBuilder(); + _capabilities = $v.capabilities.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsBuilder)? updates) { + void update(void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols _build() { - final _$result = - _$v ?? _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols._(webdav: webdav); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data _build() { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data _$result; + try { + _$result = _$v ?? + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data._( + version: version.build(), capabilities: capabilities.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'version'; + version.build(); + _$failedField = 'capabilities'; + capabilities.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes - extends CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes { +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs + extends CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs { @override - final String? name; - @override - final BuiltList? shareTypes; + final CoreOCSMeta meta; @override - final CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols? protocols; + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data data; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs( + [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes._({this.name, this.shareTypes, this.protocols}) - : super._(); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs', 'data'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs rebuild( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes && - name == other.name && - shareTypes == other.shareTypes && - protocols == other.protocols; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, shareTypes.hashCode); - _$hash = $jc(_$hash, protocols.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes') - ..add('name', name) - ..add('shareTypes', shareTypes) - ..add('protocols', protocols)) + return (newBuiltValueToStringHelper(r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes? _$v; - - String? _name; - String? get name => _$this._name; - set name(String? name) => _$this._name = name; + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs? _$v; - ListBuilder? _shareTypes; - ListBuilder get shareTypes => _$this._shareTypes ??= ListBuilder(); - set shareTypes(ListBuilder? shareTypes) => _$this._shareTypes = shareTypes; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsBuilder? _protocols; - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsBuilder get protocols => - _$this._protocols ??= CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsBuilder(); - set protocols(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_ProtocolsBuilder? protocols) => - _$this._protocols = protocols; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesBuilder(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _name = $v.name; - _shareTypes = $v.shareTypes?.toBuilder(); - _protocols = $v.protocols?.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesBuilder)? updates) { + void update(void Function(CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes _build() { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes _$result; + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs _build() { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes._( - name: name, shareTypes: _shareTypes?.build(), protocols: _protocols?.build()); + _$result = + _$v ?? _$CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'shareTypes'; - _shareTypes?.build(); - _$failedField = 'protocols'; - _protocols?.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes', _$failedField, e.toString()); + r'CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -6992,131 +12173,96 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypesBuilder } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm extends CoreServerCapabilities_Ocs_Data_Capabilities_Ocm { - @override - final bool? enabled; - @override - final String? apiVersion; - @override - final String? endPoint; +class _$CoreOcsGetCapabilitiesResponse200ApplicationJson extends CoreOcsGetCapabilitiesResponse200ApplicationJson { @override - final BuiltList? resourceTypes; + final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs ocs; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_OcmBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_OcmBuilder()..update(updates))._build(); + factory _$CoreOcsGetCapabilitiesResponse200ApplicationJson( + [void Function(CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder)? updates]) => + (CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm._( - {this.enabled, this.apiVersion, this.endPoint, this.resourceTypes}) - : super._(); + _$CoreOcsGetCapabilitiesResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreOcsGetCapabilitiesResponse200ApplicationJson', 'ocs'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_OcmBuilder) updates) => + CoreOcsGetCapabilitiesResponse200ApplicationJson rebuild( + void Function(CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_OcmBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_OcmBuilder()..replace(this); + CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder toBuilder() => + CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Ocm && - enabled == other.enabled && - apiVersion == other.apiVersion && - endPoint == other.endPoint && - resourceTypes == other.resourceTypes; + return other is CoreOcsGetCapabilitiesResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, apiVersion.hashCode); - _$hash = $jc(_$hash, endPoint.hashCode); - _$hash = $jc(_$hash, resourceTypes.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Ocm') - ..add('enabled', enabled) - ..add('apiVersion', apiVersion) - ..add('endPoint', endPoint) - ..add('resourceTypes', resourceTypes)) + return (newBuiltValueToStringHelper(r'CoreOcsGetCapabilitiesResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_OcmBuilder +class CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; - - String? _apiVersion; - String? get apiVersion => _$this._apiVersion; - set apiVersion(String? apiVersion) => _$this._apiVersion = apiVersion; + Builder { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson? _$v; - String? _endPoint; - String? get endPoint => _$this._endPoint; - set endPoint(String? endPoint) => _$this._endPoint = endPoint; + CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder? _ocs; + CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreOcsGetCapabilitiesResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - ListBuilder? _resourceTypes; - ListBuilder get resourceTypes => - _$this._resourceTypes ??= ListBuilder(); - set resourceTypes(ListBuilder? resourceTypes) => - _$this._resourceTypes = resourceTypes; + CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_OcmBuilder(); - - CoreServerCapabilities_Ocs_Data_Capabilities_OcmBuilder get _$this { + CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _apiVersion = $v.apiVersion; - _endPoint = $v.endPoint; - _resourceTypes = $v.resourceTypes?.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm other) { + void replace(CoreOcsGetCapabilitiesResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm; + _$v = other as _$CoreOcsGetCapabilitiesResponse200ApplicationJson; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_OcmBuilder)? updates) { + void update(void Function(CoreOcsGetCapabilitiesResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Ocm build() => _build(); + CoreOcsGetCapabilitiesResponse200ApplicationJson build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm _build() { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm _$result; + _$CoreOcsGetCapabilitiesResponse200ApplicationJson _build() { + _$CoreOcsGetCapabilitiesResponse200ApplicationJson _$result; try { - _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_Ocm._( - enabled: enabled, apiVersion: apiVersion, endPoint: endPoint, resourceTypes: _resourceTypes?.build()); + _$result = _$v ?? _$CoreOcsGetCapabilitiesResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'resourceTypes'; - _resourceTypes?.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreServerCapabilities_Ocs_Data_Capabilities_Ocm', _$failedField, e.toString()); + r'CoreOcsGetCapabilitiesResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -7125,683 +12271,660 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_OcmBuilder } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Dav extends CoreServerCapabilities_Ocs_Data_Capabilities_Dav { +class _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs + extends CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs { @override - final String? bulkupload; + final CoreOCSMeta meta; @override - final String? chunking; + final JsonObject data; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Dav( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_DavBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_DavBuilder()..update(updates))._build(); + factory _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs( + [void Function(CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Dav._({this.bulkupload, this.chunking}) : super._(); + _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs', 'data'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Dav rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_DavBuilder) updates) => + CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs rebuild( + void Function(CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_DavBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_DavBuilder()..replace(this); + CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Dav && - bulkupload == other.bulkupload && - chunking == other.chunking; + return other is CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, bulkupload.hashCode); - _$hash = $jc(_$hash, chunking.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Dav') - ..add('bulkupload', bulkupload) - ..add('chunking', chunking)) + return (newBuiltValueToStringHelper(r'CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_DavBuilder +class CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Dav? _$v; + Builder { + _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs? _$v; - String? _bulkupload; - String? get bulkupload => _$this._bulkupload; - set bulkupload(String? bulkupload) => _$this._bulkupload = bulkupload; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - String? _chunking; - String? get chunking => _$this._chunking; - set chunking(String? chunking) => _$this._chunking = chunking; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; - CoreServerCapabilities_Ocs_Data_Capabilities_DavBuilder(); + CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_DavBuilder get _$this { + CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _bulkupload = $v.bulkupload; - _chunking = $v.chunking; + _meta = $v.meta.toBuilder(); + _data = $v.data; _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Dav other) { + void replace(CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Dav; + _$v = other as _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_DavBuilder)? updates) { + void update(void Function(CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Dav build() => _build(); + CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Dav _build() { - final _$result = - _$v ?? _$CoreServerCapabilities_Ocs_Data_Capabilities_Dav._(bulkupload: bulkupload, chunking: chunking); + _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs _build() { + _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password - extends CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password { - @override - final bool? enforced; +class _$CoreProfileApiSetVisibilityResponse200ApplicationJson + extends CoreProfileApiSetVisibilityResponse200ApplicationJson { @override - final bool? askForOptionalPassword; + final CoreProfileApiSetVisibilityResponse200ApplicationJson_Ocs ocs; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder()..update(updates))._build(); + factory _$CoreProfileApiSetVisibilityResponse200ApplicationJson( + [void Function(CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder)? updates]) => + (CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password._( - {this.enforced, this.askForOptionalPassword}) - : super._(); + _$CoreProfileApiSetVisibilityResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreProfileApiSetVisibilityResponse200ApplicationJson', 'ocs'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder) updates) => + CoreProfileApiSetVisibilityResponse200ApplicationJson rebuild( + void Function(CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder()..replace(this); + CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder toBuilder() => + CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password && - enforced == other.enforced && - askForOptionalPassword == other.askForOptionalPassword; + return other is CoreProfileApiSetVisibilityResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enforced.hashCode); - _$hash = $jc(_$hash, askForOptionalPassword.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password') - ..add('enforced', enforced) - ..add('askForOptionalPassword', askForOptionalPassword)) + return (newBuiltValueToStringHelper(r'CoreProfileApiSetVisibilityResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder +class CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password? _$v; - - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(bool? enforced) => _$this._enforced = enforced; + Builder { + _$CoreProfileApiSetVisibilityResponse200ApplicationJson? _$v; - bool? _askForOptionalPassword; - bool? get askForOptionalPassword => _$this._askForOptionalPassword; - set askForOptionalPassword(bool? askForOptionalPassword) => _$this._askForOptionalPassword = askForOptionalPassword; + CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder? _ocs; + CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreProfileApiSetVisibilityResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder(); + CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder get _$this { + CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _enforced = $v.enforced; - _askForOptionalPassword = $v.askForOptionalPassword; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password other) { + void replace(CoreProfileApiSetVisibilityResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password; + _$v = other as _$CoreProfileApiSetVisibilityResponse200ApplicationJson; } @override - void update( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder)? updates) { + void update(void Function(CoreProfileApiSetVisibilityResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password build() => _build(); + CoreProfileApiSetVisibilityResponse200ApplicationJson build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password _build() { - final _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password._( - enforced: enforced, askForOptionalPassword: askForOptionalPassword); + _$CoreProfileApiSetVisibilityResponse200ApplicationJson _build() { + _$CoreProfileApiSetVisibilityResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreProfileApiSetVisibilityResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreProfileApiSetVisibilityResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate - extends CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate { +class _$CoreReference extends CoreReference { @override - final bool? enabled; + final String richObjectType; + @override + final BuiltMap richObject; + @override + final CoreOpenGraphObject openGraphObject; + @override + final bool accessible; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder)? - updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder()..update(updates))._build(); + factory _$CoreReference([void Function(CoreReferenceBuilder)? updates]) => + (CoreReferenceBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate._({this.enabled}) : super._(); + _$CoreReference._( + {required this.richObjectType, required this.richObject, required this.openGraphObject, required this.accessible}) + : super._() { + BuiltValueNullFieldError.checkNotNull(richObjectType, r'CoreReference', 'richObjectType'); + BuiltValueNullFieldError.checkNotNull(richObject, r'CoreReference', 'richObject'); + BuiltValueNullFieldError.checkNotNull(openGraphObject, r'CoreReference', 'openGraphObject'); + BuiltValueNullFieldError.checkNotNull(accessible, r'CoreReference', 'accessible'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder) updates) => - (toBuilder()..update(updates)).build(); + CoreReference rebuild(void Function(CoreReferenceBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder()..replace(this); + CoreReferenceBuilder toBuilder() => CoreReferenceBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate && - enabled == other.enabled; + return other is CoreReference && + richObjectType == other.richObjectType && + richObject == other.richObject && + openGraphObject == other.openGraphObject && + accessible == other.accessible; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, richObjectType.hashCode); + _$hash = $jc(_$hash, richObject.hashCode); + _$hash = $jc(_$hash, openGraphObject.hashCode); + _$hash = $jc(_$hash, accessible.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper(r'CoreReference') + ..add('richObjectType', richObjectType) + ..add('richObject', richObject) + ..add('openGraphObject', openGraphObject) + ..add('accessible', accessible)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder - implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate? _$v; +class CoreReferenceBuilder implements Builder { + _$CoreReference? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + String? _richObjectType; + String? get richObjectType => _$this._richObjectType; + set richObjectType(String? richObjectType) => _$this._richObjectType = richObjectType; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder(); + MapBuilder? _richObject; + MapBuilder get richObject => _$this._richObject ??= MapBuilder(); + set richObject(MapBuilder? richObject) => _$this._richObject = richObject; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder get _$this { + CoreOpenGraphObjectBuilder? _openGraphObject; + CoreOpenGraphObjectBuilder get openGraphObject => _$this._openGraphObject ??= CoreOpenGraphObjectBuilder(); + set openGraphObject(CoreOpenGraphObjectBuilder? openGraphObject) => _$this._openGraphObject = openGraphObject; + + bool? _accessible; + bool? get accessible => _$this._accessible; + set accessible(bool? accessible) => _$this._accessible = accessible; + + CoreReferenceBuilder(); + + CoreReferenceBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _richObjectType = $v.richObjectType; + _richObject = $v.richObject.toBuilder(); + _openGraphObject = $v.openGraphObject.toBuilder(); + _accessible = $v.accessible; _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate other) { + void replace(CoreReference other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate; + _$v = other as _$CoreReference; } @override - void update( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder)? updates) { + void update(void Function(CoreReferenceBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate build() => _build(); + CoreReference build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate _build() { - final _$result = - _$v ?? _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate._(enabled: enabled); + _$CoreReference _build() { + _$CoreReference _$result; + try { + _$result = _$v ?? + _$CoreReference._( + richObjectType: BuiltValueNullFieldError.checkNotNull(richObjectType, r'CoreReference', 'richObjectType'), + richObject: richObject.build(), + openGraphObject: openGraphObject.build(), + accessible: BuiltValueNullFieldError.checkNotNull(accessible, r'CoreReference', 'accessible')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'richObject'; + richObject.build(); + _$failedField = 'openGraphObject'; + openGraphObject.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CoreReference', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal - extends CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal { +class _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data + extends CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data { @override - final bool? enabled; + final BuiltMap references; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder)? - updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder()..update(updates)) - ._build(); + factory _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data( + [void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal._({this.enabled}) : super._(); + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data._({required this.references}) : super._() { + BuiltValueNullFieldError.checkNotNull( + references, r'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data', 'references'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder) - updates) => + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder()..replace(this); + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal && - enabled == other.enabled; + return other is CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data && references == other.references; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, references.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data') + ..add('references', references)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder +class CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal? _$v; + Builder { + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + MapBuilder? _references; + MapBuilder get references => _$this._references ??= MapBuilder(); + set references(MapBuilder? references) => _$this._references = references; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder(); + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder get _$this { + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _references = $v.references.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal other) { + void replace(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal; + _$v = other as _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data; } @override - void update( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder)? - updates) { + void update(void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal build() => _build(); + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal _build() { - final _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal._(enabled: enabled); + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data _build() { + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data _$result; + try { + _$result = + _$v ?? _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data._(references: references.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'references'; + references.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote - extends CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote { +class _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs + extends CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; @override - final bool? enabled; + final CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_Data data; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? - updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder()..update(updates)) - ._build(); + factory _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs( + [void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote._({this.enabled}) : super._(); + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs', 'data'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder) - updates) => + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs rebuild( + void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder()..replace(this); + CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote && - enabled == other.enabled; + return other is CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder +class CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote? _$v; + Builder { + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder get _$this { + CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder(); + + CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote other) { + void replace(CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote; + _$v = other as _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs; } @override - void update( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder)? - updates) { + void update(void Function(CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote build() => _build(); + CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote _build() { - final _$result = - _$v ?? _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote._(enabled: enabled); + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs _build() { + _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public - extends CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public { - @override - final bool? enabled; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password? password; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate? expireDate; - @override - final bool? multipleLinks; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal? expireDateInternal; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote? expireDateRemote; +class _$CoreReferenceApiResolveOneResponse200ApplicationJson + extends CoreReferenceApiResolveOneResponse200ApplicationJson { @override - final bool? sendMail; - @override - final bool? upload; - @override - final bool? uploadFilesDrop; + final CoreReferenceApiResolveOneResponse200ApplicationJson_Ocs ocs; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicBuilder()..update(updates))._build(); + factory _$CoreReferenceApiResolveOneResponse200ApplicationJson( + [void Function(CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder)? updates]) => + (CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public._( - {this.enabled, - this.password, - this.expireDate, - this.multipleLinks, - this.expireDateInternal, - this.expireDateRemote, - this.sendMail, - this.upload, - this.uploadFilesDrop}) - : super._(); + _$CoreReferenceApiResolveOneResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreReferenceApiResolveOneResponse200ApplicationJson', 'ocs'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicBuilder) updates) => + CoreReferenceApiResolveOneResponse200ApplicationJson rebuild( + void Function(CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicBuilder()..replace(this); + CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder toBuilder() => + CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public && - enabled == other.enabled && - password == other.password && - expireDate == other.expireDate && - multipleLinks == other.multipleLinks && - expireDateInternal == other.expireDateInternal && - expireDateRemote == other.expireDateRemote && - sendMail == other.sendMail && - upload == other.upload && - uploadFilesDrop == other.uploadFilesDrop; + return other is CoreReferenceApiResolveOneResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, password.hashCode); - _$hash = $jc(_$hash, expireDate.hashCode); - _$hash = $jc(_$hash, multipleLinks.hashCode); - _$hash = $jc(_$hash, expireDateInternal.hashCode); - _$hash = $jc(_$hash, expireDateRemote.hashCode); - _$hash = $jc(_$hash, sendMail.hashCode); - _$hash = $jc(_$hash, upload.hashCode); - _$hash = $jc(_$hash, uploadFilesDrop.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public') - ..add('enabled', enabled) - ..add('password', password) - ..add('expireDate', expireDate) - ..add('multipleLinks', multipleLinks) - ..add('expireDateInternal', expireDateInternal) - ..add('expireDateRemote', expireDateRemote) - ..add('sendMail', sendMail) - ..add('upload', upload) - ..add('uploadFilesDrop', uploadFilesDrop)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiResolveOneResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicBuilder +class CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public? _$v; + Builder { + _$CoreReferenceApiResolveOneResponse200ApplicationJson? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder? _ocs; + CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreReferenceApiResolveOneResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder? _password; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder get password => - _$this._password ??= CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder(); - set password(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_PasswordBuilder? password) => - _$this._password = password; - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder? _expireDate; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder get expireDate => - _$this._expireDate ??= CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder(); - set expireDate(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateBuilder? expireDate) => - _$this._expireDate = expireDate; - - bool? _multipleLinks; - bool? get multipleLinks => _$this._multipleLinks; - set multipleLinks(bool? multipleLinks) => _$this._multipleLinks = multipleLinks; - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder? _expireDateInternal; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder get expireDateInternal => - _$this._expireDateInternal ??= - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder(); - set expireDateInternal( - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternalBuilder? - expireDateInternal) => - _$this._expireDateInternal = expireDateInternal; - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder? _expireDateRemote; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder get expireDateRemote => - _$this._expireDateRemote ??= - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder(); - set expireDateRemote( - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemoteBuilder? expireDateRemote) => - _$this._expireDateRemote = expireDateRemote; - - bool? _sendMail; - bool? get sendMail => _$this._sendMail; - set sendMail(bool? sendMail) => _$this._sendMail = sendMail; - - bool? _upload; - bool? get upload => _$this._upload; - set upload(bool? upload) => _$this._upload = upload; - - bool? _uploadFilesDrop; - bool? get uploadFilesDrop => _$this._uploadFilesDrop; - set uploadFilesDrop(bool? uploadFilesDrop) => _$this._uploadFilesDrop = uploadFilesDrop; - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicBuilder(); - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicBuilder get _$this { + CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _password = $v.password?.toBuilder(); - _expireDate = $v.expireDate?.toBuilder(); - _multipleLinks = $v.multipleLinks; - _expireDateInternal = $v.expireDateInternal?.toBuilder(); - _expireDateRemote = $v.expireDateRemote?.toBuilder(); - _sendMail = $v.sendMail; - _upload = $v.upload; - _uploadFilesDrop = $v.uploadFilesDrop; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public other) { + void replace(CoreReferenceApiResolveOneResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public; + _$v = other as _$CoreReferenceApiResolveOneResponse200ApplicationJson; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicBuilder)? updates) { + void update(void Function(CoreReferenceApiResolveOneResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public build() => _build(); + CoreReferenceApiResolveOneResponse200ApplicationJson build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public _build() { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public _$result; + _$CoreReferenceApiResolveOneResponse200ApplicationJson _build() { + _$CoreReferenceApiResolveOneResponse200ApplicationJson _$result; try { - _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public._( - enabled: enabled, - password: _password?.build(), - expireDate: _expireDate?.build(), - multipleLinks: multipleLinks, - expireDateInternal: _expireDateInternal?.build(), - expireDateRemote: _expireDateRemote?.build(), - sendMail: sendMail, - upload: upload, - uploadFilesDrop: uploadFilesDrop); + _$result = _$v ?? _$CoreReferenceApiResolveOneResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'password'; - _password?.build(); - _$failedField = 'expireDate'; - _expireDate?.build(); - - _$failedField = 'expireDateInternal'; - _expireDateInternal?.build(); - _$failedField = 'expireDateRemote'; - _expireDateRemote?.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public', _$failedField, e.toString()); + r'CoreReferenceApiResolveOneResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -7810,197 +12933,230 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicBuilder } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate - extends CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate { +class _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References + extends CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References { + @override + final JsonObject data; + @override + final CoreReference? reference; @override - final bool? enabled; + final JsonObject? jsonObject; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder()..update(updates))._build(); + factory _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References( + [void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder)? updates]) => + (CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate._({this.enabled}) : super._(); + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References._( + {required this.data, this.reference, this.jsonObject}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + data, r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References', 'data'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder) updates) => + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References rebuild( + void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder()..replace(this); + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder toBuilder() => + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate && - enabled == other.enabled; + return other is CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References && + data == other.data && + reference == other.reference && + jsonObject == other.jsonObject; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, reference.hashCode); + _$hash = $jc(_$hash, jsonObject.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References') + ..add('data', data) + ..add('reference', reference) + ..add('jsonObject', jsonObject)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder +class CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate? _$v; + Builder { + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + CoreReferenceBuilder? _reference; + CoreReferenceBuilder get reference => _$this._reference ??= CoreReferenceBuilder(); + set reference(CoreReferenceBuilder? reference) => _$this._reference = reference; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder(); + JsonObject? _jsonObject; + JsonObject? get jsonObject => _$this._jsonObject; + set jsonObject(JsonObject? jsonObject) => _$this._jsonObject = jsonObject; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder get _$this { + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder(); + + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _data = $v.data; + _reference = $v.reference?.toBuilder(); + _jsonObject = $v.jsonObject; _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate other) { + void replace(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate; + _$v = other as _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References; } @override - void update( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder)? updates) { + void update(void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_ReferencesBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate build() => _build(); + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate _build() { - final _$result = - _$v ?? _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate._(enabled: enabled); + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References _build() { + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References _$result; + try { + _$result = _$v ?? + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References._( + data: BuiltValueNullFieldError.checkNotNull( + data, r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References', 'data'), + reference: _reference?.build(), + jsonObject: jsonObject); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'reference'; + _reference?.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data_References', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User - extends CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User { +class _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data + extends CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data { @override - final bool? sendMail; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate? expireDate; + final BuiltMap references; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserBuilder()..update(updates))._build(); + factory _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data( + [void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User._({this.sendMail, this.expireDate}) : super._(); + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data._({required this.references}) : super._() { + BuiltValueNullFieldError.checkNotNull( + references, r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data', 'references'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserBuilder) updates) => + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserBuilder()..replace(this); + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User && - sendMail == other.sendMail && - expireDate == other.expireDate; + return other is CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data && references == other.references; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, sendMail.hashCode); - _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jc(_$hash, references.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User') - ..add('sendMail', sendMail) - ..add('expireDate', expireDate)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data') + ..add('references', references)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserBuilder +class CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User? _$v; - - bool? _sendMail; - bool? get sendMail => _$this._sendMail; - set sendMail(bool? sendMail) => _$this._sendMail = sendMail; + Builder { + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data? _$v; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder? _expireDate; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder get expireDate => - _$this._expireDate ??= CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder(); - set expireDate(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDateBuilder? expireDate) => - _$this._expireDate = expireDate; + MapBuilder? _references; + MapBuilder get references => + _$this._references ??= + MapBuilder(); + set references( + MapBuilder? references) => + _$this._references = references; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserBuilder(); + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserBuilder get _$this { + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _sendMail = $v.sendMail; - _expireDate = $v.expireDate?.toBuilder(); + _references = $v.references.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User other) { + void replace(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User; + _$v = other as _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserBuilder)? updates) { + void update(void Function(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User build() => _build(); + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User _build() { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User _$result; + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data _build() { + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data _$result; try { - _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User._( - sendMail: sendMail, expireDate: _expireDate?.build()); + _$result = _$v ?? _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data._(references: references.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'expireDate'; - _expireDate?.build(); + _$failedField = 'references'; + references.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User', _$failedField, e.toString()); + r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -8009,198 +13165,209 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserBuilder } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate - extends CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate { +class _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs + extends CoreReferenceApiResolveResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; @override - final bool? enabled; + final CoreReferenceApiResolveResponse200ApplicationJson_Ocs_Data data; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder)? - updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder()..update(updates))._build(); + factory _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs( + [void Function(CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate._({this.enabled}) : super._(); + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs', 'data'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder) updates) => + CoreReferenceApiResolveResponse200ApplicationJson_Ocs rebuild( + void Function(CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder()..replace(this); + CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate && - enabled == other.enabled; + return other is CoreReferenceApiResolveResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder +class CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate? _$v; + Builder { + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder(); + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreReferenceApiResolveResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder get _$this { + CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder(); + + CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate other) { + void replace(CoreReferenceApiResolveResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate; + _$v = other as _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs; } @override - void update( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder)? updates) { + void update(void Function(CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate build() => _build(); + CoreReferenceApiResolveResponse200ApplicationJson_Ocs build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate _build() { - final _$result = - _$v ?? _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate._(enabled: enabled); + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs _build() { + _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$CoreReferenceApiResolveResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreReferenceApiResolveResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group - extends CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group { - @override - final bool? enabled; +class _$CoreReferenceApiResolveResponse200ApplicationJson extends CoreReferenceApiResolveResponse200ApplicationJson { @override - final CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate? expireDate; + final CoreReferenceApiResolveResponse200ApplicationJson_Ocs ocs; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupBuilder()..update(updates))._build(); + factory _$CoreReferenceApiResolveResponse200ApplicationJson( + [void Function(CoreReferenceApiResolveResponse200ApplicationJsonBuilder)? updates]) => + (CoreReferenceApiResolveResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group._({this.enabled, this.expireDate}) : super._(); + _$CoreReferenceApiResolveResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreReferenceApiResolveResponse200ApplicationJson', 'ocs'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupBuilder) updates) => + CoreReferenceApiResolveResponse200ApplicationJson rebuild( + void Function(CoreReferenceApiResolveResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupBuilder()..replace(this); + CoreReferenceApiResolveResponse200ApplicationJsonBuilder toBuilder() => + CoreReferenceApiResolveResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group && - enabled == other.enabled && - expireDate == other.expireDate; + return other is CoreReferenceApiResolveResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group') - ..add('enabled', enabled) - ..add('expireDate', expireDate)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiResolveResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupBuilder +class CoreReferenceApiResolveResponse200ApplicationJsonBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + Builder { + _$CoreReferenceApiResolveResponse200ApplicationJson? _$v; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder? _expireDate; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder get expireDate => - _$this._expireDate ??= CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder(); - set expireDate(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDateBuilder? expireDate) => - _$this._expireDate = expireDate; + CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder? _ocs; + CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreReferenceApiResolveResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupBuilder(); + CoreReferenceApiResolveResponse200ApplicationJsonBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupBuilder get _$this { + CoreReferenceApiResolveResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _expireDate = $v.expireDate?.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group other) { + void replace(CoreReferenceApiResolveResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group; + _$v = other as _$CoreReferenceApiResolveResponse200ApplicationJson; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupBuilder)? updates) { + void update(void Function(CoreReferenceApiResolveResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group build() => _build(); + CoreReferenceApiResolveResponse200ApplicationJson build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group _build() { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group _$result; + _$CoreReferenceApiResolveResponse200ApplicationJson _build() { + _$CoreReferenceApiResolveResponse200ApplicationJson _$result; try { - _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group._( - enabled: enabled, expireDate: _expireDate?.build()); + _$result = _$v ?? _$CoreReferenceApiResolveResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'expireDate'; - _expireDate?.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group', _$failedField, e.toString()); + r'CoreReferenceApiResolveResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -8209,328 +13376,343 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupBuilder } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate - extends CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate { +class _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References + extends CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References { + @override + final JsonObject data; @override - final bool? enabled; + final CoreReference? reference; + @override + final JsonObject? jsonObject; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder)? - updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder()..update(updates)) - ._build(); + factory _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References( + [void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder)? updates]) => + (CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate._({this.enabled}) : super._(); + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References._( + {required this.data, this.reference, this.jsonObject}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + data, r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References', 'data'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder) - updates) => + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References rebuild( + void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder()..replace(this); + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder toBuilder() => + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate && - enabled == other.enabled; + return other is CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References && + data == other.data && + reference == other.reference && + jsonObject == other.jsonObject; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, reference.hashCode); + _$hash = $jc(_$hash, jsonObject.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References') + ..add('data', data) + ..add('reference', reference) + ..add('jsonObject', jsonObject)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder +class CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate? _$v; + Builder { + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + CoreReferenceBuilder? _reference; + CoreReferenceBuilder get reference => _$this._reference ??= CoreReferenceBuilder(); + set reference(CoreReferenceBuilder? reference) => _$this._reference = reference; + + JsonObject? _jsonObject; + JsonObject? get jsonObject => _$this._jsonObject; + set jsonObject(JsonObject? jsonObject) => _$this._jsonObject = jsonObject; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder(); + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder get _$this { + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _data = $v.data; + _reference = $v.reference?.toBuilder(); + _jsonObject = $v.jsonObject; _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate other) { + void replace(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate; + _$v = other as _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References; } @override - void update( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder)? updates) { + void update(void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_ReferencesBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate build() => _build(); + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate _build() { - final _$result = - _$v ?? _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate._(enabled: enabled); + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References _build() { + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References _$result; + try { + _$result = _$v ?? + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References._( + data: BuiltValueNullFieldError.checkNotNull( + data, r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References', 'data'), + reference: _reference?.build(), + jsonObject: jsonObject); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'reference'; + _reference?.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data_References', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported - extends CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported { +class _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data + extends CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data { @override - final bool? enabled; + final BuiltMap references; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported( - [void Function( - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? - updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder() - ..update(updates)) - ._build(); + factory _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data( + [void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported._({this.enabled}) - : super._(); + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data._({required this.references}) : super._() { + BuiltValueNullFieldError.checkNotNull( + references, r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data', 'references'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder) - updates) => + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder()..replace(this); + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported && - enabled == other.enabled; + return other is CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data && references == other.references; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, references.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data') + ..add('references', references)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder +class CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported? _$v; + Builder { + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + MapBuilder? _references; + MapBuilder get references => + _$this._references ??= + MapBuilder(); + set references( + MapBuilder? references) => + _$this._references = references; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder get _$this { + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _references = $v.references.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported other) { + void replace(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported; + _$v = other as _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data; } @override - void update( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder)? - updates) { + void update(void Function(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported build() => _build(); + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported _build() { - final _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported._(enabled: enabled); + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data _build() { + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data _$result; + try { + _$result = _$v ?? _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data._(references: references.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'references'; + references.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation - extends CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation { - @override - final bool? outgoing; +class _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs + extends CoreReferenceApiExtractResponse200ApplicationJson_Ocs { @override - final bool? incoming; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate? expireDate; + final CoreOCSMeta meta; @override - final CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported? expireDateSupported; + final CoreReferenceApiExtractResponse200ApplicationJson_Ocs_Data data; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationBuilder()..update(updates))._build(); + factory _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs( + [void Function(CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation._( - {this.outgoing, this.incoming, this.expireDate, this.expireDateSupported}) - : super._(); + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs', 'data'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationBuilder) updates) => + CoreReferenceApiExtractResponse200ApplicationJson_Ocs rebuild( + void Function(CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationBuilder()..replace(this); + CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation && - outgoing == other.outgoing && - incoming == other.incoming && - expireDate == other.expireDate && - expireDateSupported == other.expireDateSupported; + return other is CoreReferenceApiExtractResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, outgoing.hashCode); - _$hash = $jc(_$hash, incoming.hashCode); - _$hash = $jc(_$hash, expireDate.hashCode); - _$hash = $jc(_$hash, expireDateSupported.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation') - ..add('outgoing', outgoing) - ..add('incoming', incoming) - ..add('expireDate', expireDate) - ..add('expireDateSupported', expireDateSupported)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationBuilder +class CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation? _$v; - - bool? _outgoing; - bool? get outgoing => _$this._outgoing; - set outgoing(bool? outgoing) => _$this._outgoing = outgoing; - - bool? _incoming; - bool? get incoming => _$this._incoming; - set incoming(bool? incoming) => _$this._incoming = incoming; - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder? _expireDate; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder get expireDate => - _$this._expireDate ??= CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder(); - set expireDate(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateBuilder? expireDate) => - _$this._expireDate = expireDate; - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? _expireDateSupported; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder - get expireDateSupported => _$this._expireDateSupported ??= - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder(); - set expireDateSupported( - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupportedBuilder? - expireDateSupported) => - _$this._expireDateSupported = expireDateSupported; - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationBuilder(); - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationBuilder get _$this { + Builder { + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs? _$v; + + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreReferenceApiExtractResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder(); + + CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _outgoing = $v.outgoing; - _incoming = $v.incoming; - _expireDate = $v.expireDate?.toBuilder(); - _expireDateSupported = $v.expireDateSupported?.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation other) { + void replace(CoreReferenceApiExtractResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation; + _$v = other as _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationBuilder)? updates) { + void update(void Function(CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation build() => _build(); + CoreReferenceApiExtractResponse200ApplicationJson_Ocs build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation _build() { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation _$result; + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs _build() { + _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation._( - outgoing: outgoing, - incoming: incoming, - expireDate: _expireDate?.build(), - expireDateSupported: _expireDateSupported?.build()); + _$result = + _$v ?? _$CoreReferenceApiExtractResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'expireDate'; - _expireDate?.build(); - _$failedField = 'expireDateSupported'; - _expireDateSupported?.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation', _$failedField, e.toString()); + r'CoreReferenceApiExtractResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -8539,786 +13721,661 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationBuilde } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee - extends CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee { - @override - final bool? queryLookupDefault; +class _$CoreReferenceApiExtractResponse200ApplicationJson extends CoreReferenceApiExtractResponse200ApplicationJson { @override - final bool? alwaysShowUnique; + final CoreReferenceApiExtractResponse200ApplicationJson_Ocs ocs; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder()..update(updates))._build(); + factory _$CoreReferenceApiExtractResponse200ApplicationJson( + [void Function(CoreReferenceApiExtractResponse200ApplicationJsonBuilder)? updates]) => + (CoreReferenceApiExtractResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee._({this.queryLookupDefault, this.alwaysShowUnique}) - : super._(); + _$CoreReferenceApiExtractResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreReferenceApiExtractResponse200ApplicationJson', 'ocs'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder) updates) => + CoreReferenceApiExtractResponse200ApplicationJson rebuild( + void Function(CoreReferenceApiExtractResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder()..replace(this); + CoreReferenceApiExtractResponse200ApplicationJsonBuilder toBuilder() => + CoreReferenceApiExtractResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee && - queryLookupDefault == other.queryLookupDefault && - alwaysShowUnique == other.alwaysShowUnique; + return other is CoreReferenceApiExtractResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, queryLookupDefault.hashCode); - _$hash = $jc(_$hash, alwaysShowUnique.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee') - ..add('queryLookupDefault', queryLookupDefault) - ..add('alwaysShowUnique', alwaysShowUnique)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiExtractResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder +class CoreReferenceApiExtractResponse200ApplicationJsonBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee? _$v; - - bool? _queryLookupDefault; - bool? get queryLookupDefault => _$this._queryLookupDefault; - set queryLookupDefault(bool? queryLookupDefault) => _$this._queryLookupDefault = queryLookupDefault; + Builder { + _$CoreReferenceApiExtractResponse200ApplicationJson? _$v; - bool? _alwaysShowUnique; - bool? get alwaysShowUnique => _$this._alwaysShowUnique; - set alwaysShowUnique(bool? alwaysShowUnique) => _$this._alwaysShowUnique = alwaysShowUnique; + CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder? _ocs; + CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreReferenceApiExtractResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder(); + CoreReferenceApiExtractResponse200ApplicationJsonBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder get _$this { + CoreReferenceApiExtractResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _queryLookupDefault = $v.queryLookupDefault; - _alwaysShowUnique = $v.alwaysShowUnique; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee other) { + void replace(CoreReferenceApiExtractResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee; + _$v = other as _$CoreReferenceApiExtractResponse200ApplicationJson; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder)? updates) { + void update(void Function(CoreReferenceApiExtractResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee build() => _build(); + CoreReferenceApiExtractResponse200ApplicationJson build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee _build() { - final _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee._( - queryLookupDefault: queryLookupDefault, alwaysShowUnique: alwaysShowUnique); + _$CoreReferenceApiExtractResponse200ApplicationJson _build() { + _$CoreReferenceApiExtractResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreReferenceApiExtractResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreReferenceApiExtractResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop - extends CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop { +class _$CoreReferenceProvider extends CoreReferenceProvider { + @override + final String id; + @override + final String title; + @override + final String iconUrl; @override - final bool? enabled; + final int order; + @override + final BuiltList? searchProvidersIds; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder)? - updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder()..update(updates)) - ._build(); + factory _$CoreReferenceProvider([void Function(CoreReferenceProviderBuilder)? updates]) => + (CoreReferenceProviderBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop._({this.enabled}) : super._(); + _$CoreReferenceProvider._( + {required this.id, required this.title, required this.iconUrl, required this.order, this.searchProvidersIds}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'CoreReferenceProvider', 'id'); + BuiltValueNullFieldError.checkNotNull(title, r'CoreReferenceProvider', 'title'); + BuiltValueNullFieldError.checkNotNull(iconUrl, r'CoreReferenceProvider', 'iconUrl'); + BuiltValueNullFieldError.checkNotNull(order, r'CoreReferenceProvider', 'order'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder) - updates) => + CoreReferenceProvider rebuild(void Function(CoreReferenceProviderBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder()..replace(this); + CoreReferenceProviderBuilder toBuilder() => CoreReferenceProviderBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop && - enabled == other.enabled; + return other is CoreReferenceProvider && + id == other.id && + title == other.title && + iconUrl == other.iconUrl && + order == other.order && + searchProvidersIds == other.searchProvidersIds; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, title.hashCode); + _$hash = $jc(_$hash, iconUrl.hashCode); + _$hash = $jc(_$hash, order.hashCode); + _$hash = $jc(_$hash, searchProvidersIds.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper(r'CoreReferenceProvider') + ..add('id', id) + ..add('title', title) + ..add('iconUrl', iconUrl) + ..add('order', order) + ..add('searchProvidersIds', searchProvidersIds)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder - implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop? _$v; +class CoreReferenceProviderBuilder implements Builder { + _$CoreReferenceProvider? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _title; + String? get title => _$this._title; + set title(String? title) => _$this._title = title; + + String? _iconUrl; + String? get iconUrl => _$this._iconUrl; + set iconUrl(String? iconUrl) => _$this._iconUrl = iconUrl; + + int? _order; + int? get order => _$this._order; + set order(int? order) => _$this._order = order; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder(); + ListBuilder? _searchProvidersIds; + ListBuilder get searchProvidersIds => _$this._searchProvidersIds ??= ListBuilder(); + set searchProvidersIds(ListBuilder? searchProvidersIds) => _$this._searchProvidersIds = searchProvidersIds; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder get _$this { + CoreReferenceProviderBuilder(); + + CoreReferenceProviderBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _id = $v.id; + _title = $v.title; + _iconUrl = $v.iconUrl; + _order = $v.order; + _searchProvidersIds = $v.searchProvidersIds?.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop other) { + void replace(CoreReferenceProvider other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop; + _$v = other as _$CoreReferenceProvider; } @override - void update( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder)? - updates) { + void update(void Function(CoreReferenceProviderBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop build() => _build(); + CoreReferenceProvider build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop _build() { - final _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop._(enabled: enabled); + _$CoreReferenceProvider _build() { + _$CoreReferenceProvider _$result; + try { + _$result = _$v ?? + _$CoreReferenceProvider._( + id: BuiltValueNullFieldError.checkNotNull(id, r'CoreReferenceProvider', 'id'), + title: BuiltValueNullFieldError.checkNotNull(title, r'CoreReferenceProvider', 'title'), + iconUrl: BuiltValueNullFieldError.checkNotNull(iconUrl, r'CoreReferenceProvider', 'iconUrl'), + order: BuiltValueNullFieldError.checkNotNull(order, r'CoreReferenceProvider', 'order'), + searchProvidersIds: _searchProvidersIds?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'searchProvidersIds'; + _searchProvidersIds?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CoreReferenceProvider', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password - extends CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password { +class _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs + extends CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs { @override - final bool? enabled; + final CoreOCSMeta meta; @override - final bool? enforced; + final BuiltList data; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordBuilder)? - updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordBuilder()..update(updates)) - ._build(); + factory _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs( + [void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password._({this.enabled, this.enforced}) - : super._(); + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs', 'data'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordBuilder) - updates) => + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs rebuild( + void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordBuilder()..replace(this); + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password && - enabled == other.enabled && - enforced == other.enforced; + return other is CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password') - ..add('enabled', enabled) - ..add('enforced', enforced)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordBuilder +class CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password? _$v; + Builder { + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(bool? enforced) => _$this._enforced = enforced; + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordBuilder(); + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordBuilder get _$this { + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _enforced = $v.enforced; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password other) { + void replace(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password; + _$v = other as _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs; } @override - void update( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordBuilder)? updates) { + void update(void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password build() => _build(); + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password _build() { - final _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password._( - enabled: enabled, enforced: enforced); + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs _build() { + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate - extends CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate { - @override - final bool? enabled; +class _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson + extends CoreReferenceApiGetProvidersInfoResponse200ApplicationJson { @override - final bool? enforced; + final CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_Ocs ocs; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder)? - updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder()..update(updates)) - ._build(); + factory _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson( + [void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder)? updates]) => + (CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate._({this.enabled, this.enforced}) - : super._(); + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson', 'ocs'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder) - updates) => + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson rebuild( + void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder()..replace(this); + CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder toBuilder() => + CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate && - enabled == other.enabled && - enforced == other.enforced; + return other is CoreReferenceApiGetProvidersInfoResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, enforced.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper( - r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate') - ..add('enabled', enabled) - ..add('enforced', enforced)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder +class CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate? _$v; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + Builder { + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson? _$v; - bool? _enforced; - bool? get enforced => _$this._enforced; - set enforced(bool? enforced) => _$this._enforced = enforced; + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder? _ocs; + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder(); + CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder get _$this { + CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _enforced = $v.enforced; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate other) { + void replace(CoreReferenceApiGetProvidersInfoResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate; + _$v = other as _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson; } @override - void update( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder)? updates) { + void update(void Function(CoreReferenceApiGetProvidersInfoResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate build() => _build(); + CoreReferenceApiGetProvidersInfoResponse200ApplicationJson build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate _build() { - final _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate._( - enabled: enabled, enforced: enforced); + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson _build() { + _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreReferenceApiGetProvidersInfoResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreReferenceApiGetProvidersInfoResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail - extends CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail { - @override - final bool? enabled; - @override - final bool? sendPasswordByMail; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop? uploadFilesDrop; +class _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data + extends CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data { @override - final CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password? password; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate? expireDate; + final bool success; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailBuilder()..update(updates))._build(); + factory _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data( + [void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail._( - {this.enabled, this.sendPasswordByMail, this.uploadFilesDrop, this.password, this.expireDate}) - : super._(); + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data._({required this.success}) : super._() { + BuiltValueNullFieldError.checkNotNull( + success, r'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data', 'success'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailBuilder) updates) => + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailBuilder()..replace(this); + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail && - enabled == other.enabled && - sendPasswordByMail == other.sendPasswordByMail && - uploadFilesDrop == other.uploadFilesDrop && - password == other.password && - expireDate == other.expireDate; + return other is CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data && success == other.success; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, sendPasswordByMail.hashCode); - _$hash = $jc(_$hash, uploadFilesDrop.hashCode); - _$hash = $jc(_$hash, password.hashCode); - _$hash = $jc(_$hash, expireDate.hashCode); + _$hash = $jc(_$hash, success.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail') - ..add('enabled', enabled) - ..add('sendPasswordByMail', sendPasswordByMail) - ..add('uploadFilesDrop', uploadFilesDrop) - ..add('password', password) - ..add('expireDate', expireDate)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data') + ..add('success', success)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailBuilder +class CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail? _$v; + Builder { + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + bool? _success; + bool? get success => _$this._success; + set success(bool? success) => _$this._success = success; - bool? _sendPasswordByMail; - bool? get sendPasswordByMail => _$this._sendPasswordByMail; - set sendPasswordByMail(bool? sendPasswordByMail) => _$this._sendPasswordByMail = sendPasswordByMail; - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder? _uploadFilesDrop; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder get uploadFilesDrop => - _$this._uploadFilesDrop ??= - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder(); - set uploadFilesDrop( - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDropBuilder? - uploadFilesDrop) => - _$this._uploadFilesDrop = uploadFilesDrop; - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordBuilder? _password; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordBuilder get password => - _$this._password ??= CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordBuilder(); - set password(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_PasswordBuilder? password) => - _$this._password = password; - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder? _expireDate; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder get expireDate => - _$this._expireDate ??= CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder(); - set expireDate(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDateBuilder? expireDate) => - _$this._expireDate = expireDate; - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailBuilder(); - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailBuilder get _$this { + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder(); + + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _sendPasswordByMail = $v.sendPasswordByMail; - _uploadFilesDrop = $v.uploadFilesDrop?.toBuilder(); - _password = $v.password?.toBuilder(); - _expireDate = $v.expireDate?.toBuilder(); + _success = $v.success; _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail other) { + void replace(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail; + _$v = other as _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailBuilder)? updates) { + void update(void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail build() => _build(); + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail _build() { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail _$result; - try { - _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail._( - enabled: enabled, - sendPasswordByMail: sendPasswordByMail, - uploadFilesDrop: _uploadFilesDrop?.build(), - password: _password?.build(), - expireDate: _expireDate?.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'uploadFilesDrop'; - _uploadFilesDrop?.build(); - _$failedField = 'password'; - _password?.build(); - _$failedField = 'expireDate'; - _expireDate?.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail', _$failedField, e.toString()); - } - rethrow; - } + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data._( + success: BuiltValueNullFieldError.checkNotNull( + success, r'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data', 'success')); replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing - extends CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing { - @override - final bool? apiEnabled; +class _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs + extends CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs { @override - final CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public? public; - @override - final bool? resharing; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User? user; - @override - final bool? groupSharing; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group? group; - @override - final int? defaultPermissions; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation? federation; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee? sharee; + final CoreOCSMeta meta; @override - final CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail? sharebymail; + final CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_Data data; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingBuilder()..update(updates))._build(); + factory _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs( + [void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing._( - {this.apiEnabled, - this.public, - this.resharing, - this.user, - this.groupSharing, - this.group, - this.defaultPermissions, - this.federation, - this.sharee, - this.sharebymail}) - : super._(); + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs', 'data'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingBuilder) updates) => + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs rebuild( + void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingBuilder()..replace(this); + CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing && - apiEnabled == other.apiEnabled && - public == other.public && - resharing == other.resharing && - user == other.user && - groupSharing == other.groupSharing && - group == other.group && - defaultPermissions == other.defaultPermissions && - federation == other.federation && - sharee == other.sharee && - sharebymail == other.sharebymail; + return other is CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, apiEnabled.hashCode); - _$hash = $jc(_$hash, public.hashCode); - _$hash = $jc(_$hash, resharing.hashCode); - _$hash = $jc(_$hash, user.hashCode); - _$hash = $jc(_$hash, groupSharing.hashCode); - _$hash = $jc(_$hash, group.hashCode); - _$hash = $jc(_$hash, defaultPermissions.hashCode); - _$hash = $jc(_$hash, federation.hashCode); - _$hash = $jc(_$hash, sharee.hashCode); - _$hash = $jc(_$hash, sharebymail.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing') - ..add('apiEnabled', apiEnabled) - ..add('public', public) - ..add('resharing', resharing) - ..add('user', user) - ..add('groupSharing', groupSharing) - ..add('group', group) - ..add('defaultPermissions', defaultPermissions) - ..add('federation', federation) - ..add('sharee', sharee) - ..add('sharebymail', sharebymail)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingBuilder +class CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing? _$v; - - bool? _apiEnabled; - bool? get apiEnabled => _$this._apiEnabled; - set apiEnabled(bool? apiEnabled) => _$this._apiEnabled = apiEnabled; - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicBuilder? _public; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicBuilder get public => - _$this._public ??= CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicBuilder(); - set public(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_PublicBuilder? public) => - _$this._public = public; - - bool? _resharing; - bool? get resharing => _$this._resharing; - set resharing(bool? resharing) => _$this._resharing = resharing; - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserBuilder? _user; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserBuilder get user => - _$this._user ??= CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserBuilder(); - set user(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_UserBuilder? user) => _$this._user = user; - - bool? _groupSharing; - bool? get groupSharing => _$this._groupSharing; - set groupSharing(bool? groupSharing) => _$this._groupSharing = groupSharing; - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupBuilder? _group; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupBuilder get group => - _$this._group ??= CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupBuilder(); - set group(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_GroupBuilder? group) => _$this._group = group; - - int? _defaultPermissions; - int? get defaultPermissions => _$this._defaultPermissions; - set defaultPermissions(int? defaultPermissions) => _$this._defaultPermissions = defaultPermissions; - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationBuilder? _federation; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationBuilder get federation => - _$this._federation ??= CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationBuilder(); - set federation(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_FederationBuilder? federation) => - _$this._federation = federation; - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder? _sharee; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder get sharee => - _$this._sharee ??= CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder(); - set sharee(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_ShareeBuilder? sharee) => - _$this._sharee = sharee; - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailBuilder? _sharebymail; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailBuilder get sharebymail => - _$this._sharebymail ??= CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailBuilder(); - set sharebymail(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_SharebymailBuilder? sharebymail) => - _$this._sharebymail = sharebymail; - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingBuilder(); - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingBuilder get _$this { + Builder { + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs? _$v; + + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder(); + + CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _apiEnabled = $v.apiEnabled; - _public = $v.public?.toBuilder(); - _resharing = $v.resharing; - _user = $v.user?.toBuilder(); - _groupSharing = $v.groupSharing; - _group = $v.group?.toBuilder(); - _defaultPermissions = $v.defaultPermissions; - _federation = $v.federation?.toBuilder(); - _sharee = $v.sharee?.toBuilder(); - _sharebymail = $v.sharebymail?.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing other) { + void replace(CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing; + _$v = other as _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingBuilder)? updates) { + void update(void Function(CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing build() => _build(); + CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing _build() { - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing _$result; + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs _build() { + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing._( - apiEnabled: apiEnabled, - public: _public?.build(), - resharing: resharing, - user: _user?.build(), - groupSharing: groupSharing, - group: _group?.build(), - defaultPermissions: defaultPermissions, - federation: _federation?.build(), - sharee: _sharee?.build(), - sharebymail: _sharebymail?.build()); + _$CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'public'; - _public?.build(); - - _$failedField = 'user'; - _user?.build(); - - _$failedField = 'group'; - _group?.build(); - - _$failedField = 'federation'; - _federation?.build(); - _$failedField = 'sharee'; - _sharee?.build(); - _$failedField = 'sharebymail'; - _sharebymail?.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing', _$failedField, e.toString()); + r'CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -9327,106 +14384,97 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingBuilder } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Notes extends CoreServerCapabilities_Ocs_Data_Capabilities_Notes { - @override - final BuiltList? apiVersion; +class _$CoreReferenceApiTouchProviderResponse200ApplicationJson + extends CoreReferenceApiTouchProviderResponse200ApplicationJson { @override - final String? version; + final CoreReferenceApiTouchProviderResponse200ApplicationJson_Ocs ocs; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Notes( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_NotesBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_NotesBuilder()..update(updates))._build(); + factory _$CoreReferenceApiTouchProviderResponse200ApplicationJson( + [void Function(CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder)? updates]) => + (CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Notes._({this.apiVersion, this.version}) : super._(); + _$CoreReferenceApiTouchProviderResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreReferenceApiTouchProviderResponse200ApplicationJson', 'ocs'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Notes rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_NotesBuilder) updates) => + CoreReferenceApiTouchProviderResponse200ApplicationJson rebuild( + void Function(CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_NotesBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_NotesBuilder()..replace(this); + CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder toBuilder() => + CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Notes && - apiVersion == other.apiVersion && - version == other.version; + return other is CoreReferenceApiTouchProviderResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, apiVersion.hashCode); - _$hash = $jc(_$hash, version.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Notes') - ..add('apiVersion', apiVersion) - ..add('version', version)) + return (newBuiltValueToStringHelper(r'CoreReferenceApiTouchProviderResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_NotesBuilder +class CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Notes? _$v; - - ListBuilder? _apiVersion; - ListBuilder get apiVersion => _$this._apiVersion ??= ListBuilder(); - set apiVersion(ListBuilder? apiVersion) => _$this._apiVersion = apiVersion; + Builder { + _$CoreReferenceApiTouchProviderResponse200ApplicationJson? _$v; - String? _version; - String? get version => _$this._version; - set version(String? version) => _$this._version = version; + CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder? _ocs; + CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreReferenceApiTouchProviderResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreServerCapabilities_Ocs_Data_Capabilities_NotesBuilder(); + CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_NotesBuilder get _$this { + CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _apiVersion = $v.apiVersion?.toBuilder(); - _version = $v.version; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Notes other) { + void replace(CoreReferenceApiTouchProviderResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Notes; + _$v = other as _$CoreReferenceApiTouchProviderResponse200ApplicationJson; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_NotesBuilder)? updates) { + void update(void Function(CoreReferenceApiTouchProviderResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Notes build() => _build(); + CoreReferenceApiTouchProviderResponse200ApplicationJson build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Notes _build() { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Notes _$result; + _$CoreReferenceApiTouchProviderResponse200ApplicationJson _build() { + _$CoreReferenceApiTouchProviderResponse200ApplicationJson _$result; try { - _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_Notes._(apiVersion: _apiVersion?.build(), version: version); + _$result = _$v ?? _$CoreReferenceApiTouchProviderResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'apiVersion'; - _apiVersion?.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreServerCapabilities_Ocs_Data_Capabilities_Notes', _$failedField, e.toString()); + r'CoreReferenceApiTouchProviderResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -9435,388 +14483,339 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_NotesBuilder } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Notifications - extends CoreServerCapabilities_Ocs_Data_Capabilities_Notifications { +class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types + extends CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types { @override - final BuiltList? ocsEndpoints; + final String id; @override - final BuiltList? push; + final String name; @override - final BuiltList? adminNotifications; + final String description; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Notifications( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types( + [void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder)? updates]) => + (CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Notifications._( - {this.ocsEndpoints, this.push, this.adminNotifications}) - : super._(); + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types._( + {required this.id, required this.name, required this.description}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + id, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types', 'id'); + BuiltValueNullFieldError.checkNotNull( + name, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types', 'name'); + BuiltValueNullFieldError.checkNotNull( + description, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types', 'description'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Notifications rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsBuilder) updates) => + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types rebuild( + void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsBuilder()..replace(this); + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder toBuilder() => + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Notifications && - ocsEndpoints == other.ocsEndpoints && - push == other.push && - adminNotifications == other.adminNotifications; + return other is CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types && + id == other.id && + name == other.name && + description == other.description; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocsEndpoints.hashCode); - _$hash = $jc(_$hash, push.hashCode); - _$hash = $jc(_$hash, adminNotifications.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, description.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Notifications') - ..add('ocsEndpoints', ocsEndpoints) - ..add('push', push) - ..add('adminNotifications', adminNotifications)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types') + ..add('id', id) + ..add('name', name) + ..add('description', description)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsBuilder +class CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Notifications? _$v; + Builder { + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types? _$v; - ListBuilder? _ocsEndpoints; - ListBuilder get ocsEndpoints => _$this._ocsEndpoints ??= ListBuilder(); - set ocsEndpoints(ListBuilder? ocsEndpoints) => _$this._ocsEndpoints = ocsEndpoints; + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; - ListBuilder? _push; - ListBuilder get push => _$this._push ??= ListBuilder(); - set push(ListBuilder? push) => _$this._push = push; + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; - ListBuilder? _adminNotifications; - ListBuilder get adminNotifications => _$this._adminNotifications ??= ListBuilder(); - set adminNotifications(ListBuilder? adminNotifications) => _$this._adminNotifications = adminNotifications; + String? _description; + String? get description => _$this._description; + set description(String? description) => _$this._description = description; - CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsBuilder(); + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsBuilder get _$this { + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder get _$this { final $v = _$v; if ($v != null) { - _ocsEndpoints = $v.ocsEndpoints?.toBuilder(); - _push = $v.push?.toBuilder(); - _adminNotifications = $v.adminNotifications?.toBuilder(); + _id = $v.id; + _name = $v.name; + _description = $v.description; _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Notifications other) { + void replace(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Notifications; + _$v = other as _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsBuilder)? updates) { + void update(void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_TypesBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Notifications build() => _build(); + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Notifications _build() { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Notifications _$result; - try { - _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_Notifications._( - ocsEndpoints: _ocsEndpoints?.build(), - push: _push?.build(), - adminNotifications: _adminNotifications?.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocsEndpoints'; - _ocsEndpoints?.build(); - _$failedField = 'push'; - _push?.build(); - _$failedField = 'adminNotifications'; - _adminNotifications?.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreServerCapabilities_Ocs_Data_Capabilities_Notifications', _$failedField, e.toString()); - } - rethrow; - } + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types _build() { + final _$result = _$v ?? + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types._( + id: BuiltValueNullFieldError.checkNotNull( + id, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types', 'id'), + name: BuiltValueNullFieldError.checkNotNull( + name, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types', 'name'), + description: BuiltValueNullFieldError.checkNotNull(description, + r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data_Types', 'description')); replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api - extends CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api { +class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data + extends CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data { @override - final String? generate; - @override - final String? validate; + final BuiltList types; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data( + [void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api._({this.generate, this.validate}) : super._(); + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data._({required this.types}) : super._() { + BuiltValueNullFieldError.checkNotNull( + types, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data', 'types'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiBuilder) updates) => + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiBuilder()..replace(this); + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api && - generate == other.generate && - validate == other.validate; + return other is CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data && types == other.types; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, generate.hashCode); - _$hash = $jc(_$hash, validate.hashCode); + _$hash = $jc(_$hash, types.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api') - ..add('generate', generate) - ..add('validate', validate)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data') + ..add('types', types)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiBuilder +class CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api? _$v; - - String? _generate; - String? get generate => _$this._generate; - set generate(String? generate) => _$this._generate = generate; + Builder { + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data? _$v; - String? _validate; - String? get validate => _$this._validate; - set validate(String? validate) => _$this._validate = validate; + ListBuilder? _types; + ListBuilder get types => + _$this._types ??= ListBuilder(); + set types(ListBuilder? types) => + _$this._types = types; - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiBuilder(); + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiBuilder get _$this { + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _generate = $v.generate; - _validate = $v.validate; + _types = $v.types.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api other) { + void replace(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api; + _$v = other as _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiBuilder)? updates) { + void update(void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api build() => _build(); + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api _build() { - final _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api._(generate: generate, validate: validate); + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data _build() { + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data _$result; + try { + _$result = _$v ?? _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data._(types: types.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'types'; + types.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy - extends CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy { - @override - final int? minLength; - @override - final bool? enforceNonCommonPassword; - @override - final bool? enforceNumericCharacters; - @override - final bool? enforceSpecialCharacters; +class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs + extends CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs { @override - final bool? enforceUpperLowerCase; + final CoreOCSMeta meta; @override - final CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api? api; + final CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_Data data; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs( + [void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy._( - {this.minLength, - this.enforceNonCommonPassword, - this.enforceNumericCharacters, - this.enforceSpecialCharacters, - this.enforceUpperLowerCase, - this.api}) - : super._(); + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs', 'data'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyBuilder) updates) => + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs rebuild( + void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyBuilder()..replace(this); + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy && - minLength == other.minLength && - enforceNonCommonPassword == other.enforceNonCommonPassword && - enforceNumericCharacters == other.enforceNumericCharacters && - enforceSpecialCharacters == other.enforceSpecialCharacters && - enforceUpperLowerCase == other.enforceUpperLowerCase && - api == other.api; + return other is CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, minLength.hashCode); - _$hash = $jc(_$hash, enforceNonCommonPassword.hashCode); - _$hash = $jc(_$hash, enforceNumericCharacters.hashCode); - _$hash = $jc(_$hash, enforceSpecialCharacters.hashCode); - _$hash = $jc(_$hash, enforceUpperLowerCase.hashCode); - _$hash = $jc(_$hash, api.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy') - ..add('minLength', minLength) - ..add('enforceNonCommonPassword', enforceNonCommonPassword) - ..add('enforceNumericCharacters', enforceNumericCharacters) - ..add('enforceSpecialCharacters', enforceSpecialCharacters) - ..add('enforceUpperLowerCase', enforceUpperLowerCase) - ..add('api', api)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyBuilder +class CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy? _$v; - - int? _minLength; - int? get minLength => _$this._minLength; - set minLength(int? minLength) => _$this._minLength = minLength; - - bool? _enforceNonCommonPassword; - bool? get enforceNonCommonPassword => _$this._enforceNonCommonPassword; - set enforceNonCommonPassword(bool? enforceNonCommonPassword) => - _$this._enforceNonCommonPassword = enforceNonCommonPassword; - - bool? _enforceNumericCharacters; - bool? get enforceNumericCharacters => _$this._enforceNumericCharacters; - set enforceNumericCharacters(bool? enforceNumericCharacters) => - _$this._enforceNumericCharacters = enforceNumericCharacters; - - bool? _enforceSpecialCharacters; - bool? get enforceSpecialCharacters => _$this._enforceSpecialCharacters; - set enforceSpecialCharacters(bool? enforceSpecialCharacters) => - _$this._enforceSpecialCharacters = enforceSpecialCharacters; + Builder { + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs? _$v; - bool? _enforceUpperLowerCase; - bool? get enforceUpperLowerCase => _$this._enforceUpperLowerCase; - set enforceUpperLowerCase(bool? enforceUpperLowerCase) => _$this._enforceUpperLowerCase = enforceUpperLowerCase; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiBuilder? _api; - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiBuilder get api => - _$this._api ??= CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiBuilder(); - set api(CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_ApiBuilder? api) => _$this._api = api; + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyBuilder(); + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyBuilder get _$this { + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _minLength = $v.minLength; - _enforceNonCommonPassword = $v.enforceNonCommonPassword; - _enforceNumericCharacters = $v.enforceNumericCharacters; - _enforceSpecialCharacters = $v.enforceSpecialCharacters; - _enforceUpperLowerCase = $v.enforceUpperLowerCase; - _api = $v.api?.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy other) { + void replace(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy; + _$v = other as _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyBuilder)? updates) { + void update(void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy build() => _build(); + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy _build() { - _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy _$result; + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs _build() { + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy._( - minLength: minLength, - enforceNonCommonPassword: enforceNonCommonPassword, - enforceNumericCharacters: enforceNumericCharacters, - enforceSpecialCharacters: enforceSpecialCharacters, - enforceUpperLowerCase: enforceUpperLowerCase, - api: _api?.build()); + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'api'; - _api?.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { throw BuiltValueNestedFieldError( - r'CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy', _$failedField, e.toString()); + r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -9825,896 +14824,584 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyBuilder } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi - extends CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi { - @override - final String? version; - @override - final int? accountPropertyScopesVersion; +class _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson + extends CoreTextProcessingApiTaskTypesResponse200ApplicationJson { @override - final bool? accountPropertyScopesFederatedEnabled; - @override - final bool? accountPropertyScopesPublishedEnabled; + final CoreTextProcessingApiTaskTypesResponse200ApplicationJson_Ocs ocs; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson( + [void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder)? updates]) => + (CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi._( - {this.version, - this.accountPropertyScopesVersion, - this.accountPropertyScopesFederatedEnabled, - this.accountPropertyScopesPublishedEnabled}) - : super._(); + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson', 'ocs'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiBuilder) updates) => + CoreTextProcessingApiTaskTypesResponse200ApplicationJson rebuild( + void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiBuilder()..replace(this); + CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder toBuilder() => + CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi && - version == other.version && - accountPropertyScopesVersion == other.accountPropertyScopesVersion && - accountPropertyScopesFederatedEnabled == other.accountPropertyScopesFederatedEnabled && - accountPropertyScopesPublishedEnabled == other.accountPropertyScopesPublishedEnabled; + return other is CoreTextProcessingApiTaskTypesResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, version.hashCode); - _$hash = $jc(_$hash, accountPropertyScopesVersion.hashCode); - _$hash = $jc(_$hash, accountPropertyScopesFederatedEnabled.hashCode); - _$hash = $jc(_$hash, accountPropertyScopesPublishedEnabled.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi') - ..add('version', version) - ..add('accountPropertyScopesVersion', accountPropertyScopesVersion) - ..add('accountPropertyScopesFederatedEnabled', accountPropertyScopesFederatedEnabled) - ..add('accountPropertyScopesPublishedEnabled', accountPropertyScopesPublishedEnabled)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiBuilder +class CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi? _$v; - - String? _version; - String? get version => _$this._version; - set version(String? version) => _$this._version = version; - - int? _accountPropertyScopesVersion; - int? get accountPropertyScopesVersion => _$this._accountPropertyScopesVersion; - set accountPropertyScopesVersion(int? accountPropertyScopesVersion) => - _$this._accountPropertyScopesVersion = accountPropertyScopesVersion; - - bool? _accountPropertyScopesFederatedEnabled; - bool? get accountPropertyScopesFederatedEnabled => _$this._accountPropertyScopesFederatedEnabled; - set accountPropertyScopesFederatedEnabled(bool? accountPropertyScopesFederatedEnabled) => - _$this._accountPropertyScopesFederatedEnabled = accountPropertyScopesFederatedEnabled; + Builder { + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson? _$v; - bool? _accountPropertyScopesPublishedEnabled; - bool? get accountPropertyScopesPublishedEnabled => _$this._accountPropertyScopesPublishedEnabled; - set accountPropertyScopesPublishedEnabled(bool? accountPropertyScopesPublishedEnabled) => - _$this._accountPropertyScopesPublishedEnabled = accountPropertyScopesPublishedEnabled; + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder? _ocs; + CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreTextProcessingApiTaskTypesResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiBuilder(); + CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiBuilder get _$this { + CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _version = $v.version; - _accountPropertyScopesVersion = $v.accountPropertyScopesVersion; - _accountPropertyScopesFederatedEnabled = $v.accountPropertyScopesFederatedEnabled; - _accountPropertyScopesPublishedEnabled = $v.accountPropertyScopesPublishedEnabled; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi other) { + void replace(CoreTextProcessingApiTaskTypesResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi; + _$v = other as _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiBuilder)? updates) { + void update(void Function(CoreTextProcessingApiTaskTypesResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi build() => _build(); + CoreTextProcessingApiTaskTypesResponse200ApplicationJson build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi _build() { - final _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi._( - version: version, - accountPropertyScopesVersion: accountPropertyScopesVersion, - accountPropertyScopesFederatedEnabled: accountPropertyScopesFederatedEnabled, - accountPropertyScopesPublishedEnabled: accountPropertyScopesPublishedEnabled); + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson _build() { + _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreTextProcessingApiTaskTypesResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreTextProcessingApiTaskTypesResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_Theming - extends CoreServerCapabilities_Ocs_Data_Capabilities_Theming { - @override - final String? name; +class _$CoreTextProcessingTask extends CoreTextProcessingTask { @override - final String? url; + final int? id; @override - final String? slogan; - @override - final String? color; - @override - final String? colorText; - @override - final String? colorElement; - @override - final String? colorElementBright; - @override - final String? colorElementDark; + final String type; @override - final String? logo; + final int status; @override - final String? background; + final String? userId; @override - final bool? backgroundPlain; + final String appId; @override - final bool? backgroundDefault; + final String input; @override - final String? logoheader; + final String? output; @override - final String? favicon; + final String identifier; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_Theming( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_ThemingBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_ThemingBuilder()..update(updates))._build(); + factory _$CoreTextProcessingTask([void Function(CoreTextProcessingTaskBuilder)? updates]) => + (CoreTextProcessingTaskBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Theming._( - {this.name, - this.url, - this.slogan, - this.color, - this.colorText, - this.colorElement, - this.colorElementBright, - this.colorElementDark, - this.logo, - this.background, - this.backgroundPlain, - this.backgroundDefault, - this.logoheader, - this.favicon}) - : super._(); + _$CoreTextProcessingTask._( + {this.id, + required this.type, + required this.status, + this.userId, + required this.appId, + required this.input, + this.output, + required this.identifier}) + : super._() { + BuiltValueNullFieldError.checkNotNull(type, r'CoreTextProcessingTask', 'type'); + BuiltValueNullFieldError.checkNotNull(status, r'CoreTextProcessingTask', 'status'); + BuiltValueNullFieldError.checkNotNull(appId, r'CoreTextProcessingTask', 'appId'); + BuiltValueNullFieldError.checkNotNull(input, r'CoreTextProcessingTask', 'input'); + BuiltValueNullFieldError.checkNotNull(identifier, r'CoreTextProcessingTask', 'identifier'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Theming rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_ThemingBuilder) updates) => + CoreTextProcessingTask rebuild(void Function(CoreTextProcessingTaskBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_ThemingBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_ThemingBuilder()..replace(this); + CoreTextProcessingTaskBuilder toBuilder() => CoreTextProcessingTaskBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_Theming && - name == other.name && - url == other.url && - slogan == other.slogan && - color == other.color && - colorText == other.colorText && - colorElement == other.colorElement && - colorElementBright == other.colorElementBright && - colorElementDark == other.colorElementDark && - logo == other.logo && - background == other.background && - backgroundPlain == other.backgroundPlain && - backgroundDefault == other.backgroundDefault && - logoheader == other.logoheader && - favicon == other.favicon; + return other is CoreTextProcessingTask && + id == other.id && + type == other.type && + status == other.status && + userId == other.userId && + appId == other.appId && + input == other.input && + output == other.output && + identifier == other.identifier; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, url.hashCode); - _$hash = $jc(_$hash, slogan.hashCode); - _$hash = $jc(_$hash, color.hashCode); - _$hash = $jc(_$hash, colorText.hashCode); - _$hash = $jc(_$hash, colorElement.hashCode); - _$hash = $jc(_$hash, colorElementBright.hashCode); - _$hash = $jc(_$hash, colorElementDark.hashCode); - _$hash = $jc(_$hash, logo.hashCode); - _$hash = $jc(_$hash, background.hashCode); - _$hash = $jc(_$hash, backgroundPlain.hashCode); - _$hash = $jc(_$hash, backgroundDefault.hashCode); - _$hash = $jc(_$hash, logoheader.hashCode); - _$hash = $jc(_$hash, favicon.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, userId.hashCode); + _$hash = $jc(_$hash, appId.hashCode); + _$hash = $jc(_$hash, input.hashCode); + _$hash = $jc(_$hash, output.hashCode); + _$hash = $jc(_$hash, identifier.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_Theming') - ..add('name', name) - ..add('url', url) - ..add('slogan', slogan) - ..add('color', color) - ..add('colorText', colorText) - ..add('colorElement', colorElement) - ..add('colorElementBright', colorElementBright) - ..add('colorElementDark', colorElementDark) - ..add('logo', logo) - ..add('background', background) - ..add('backgroundPlain', backgroundPlain) - ..add('backgroundDefault', backgroundDefault) - ..add('logoheader', logoheader) - ..add('favicon', favicon)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingTask') + ..add('id', id) + ..add('type', type) + ..add('status', status) + ..add('userId', userId) + ..add('appId', appId) + ..add('input', input) + ..add('output', output) + ..add('identifier', identifier)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_ThemingBuilder - implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_Theming? _$v; - - String? _name; - String? get name => _$this._name; - set name(String? name) => _$this._name = name; - - String? _url; - String? get url => _$this._url; - set url(String? url) => _$this._url = url; - - String? _slogan; - String? get slogan => _$this._slogan; - set slogan(String? slogan) => _$this._slogan = slogan; - - String? _color; - String? get color => _$this._color; - set color(String? color) => _$this._color = color; - - String? _colorText; - String? get colorText => _$this._colorText; - set colorText(String? colorText) => _$this._colorText = colorText; - - String? _colorElement; - String? get colorElement => _$this._colorElement; - set colorElement(String? colorElement) => _$this._colorElement = colorElement; +class CoreTextProcessingTaskBuilder implements Builder { + _$CoreTextProcessingTask? _$v; - String? _colorElementBright; - String? get colorElementBright => _$this._colorElementBright; - set colorElementBright(String? colorElementBright) => _$this._colorElementBright = colorElementBright; + int? _id; + int? get id => _$this._id; + set id(int? id) => _$this._id = id; - String? _colorElementDark; - String? get colorElementDark => _$this._colorElementDark; - set colorElementDark(String? colorElementDark) => _$this._colorElementDark = colorElementDark; + String? _type; + String? get type => _$this._type; + set type(String? type) => _$this._type = type; - String? _logo; - String? get logo => _$this._logo; - set logo(String? logo) => _$this._logo = logo; + int? _status; + int? get status => _$this._status; + set status(int? status) => _$this._status = status; - String? _background; - String? get background => _$this._background; - set background(String? background) => _$this._background = background; + String? _userId; + String? get userId => _$this._userId; + set userId(String? userId) => _$this._userId = userId; - bool? _backgroundPlain; - bool? get backgroundPlain => _$this._backgroundPlain; - set backgroundPlain(bool? backgroundPlain) => _$this._backgroundPlain = backgroundPlain; + String? _appId; + String? get appId => _$this._appId; + set appId(String? appId) => _$this._appId = appId; - bool? _backgroundDefault; - bool? get backgroundDefault => _$this._backgroundDefault; - set backgroundDefault(bool? backgroundDefault) => _$this._backgroundDefault = backgroundDefault; + String? _input; + String? get input => _$this._input; + set input(String? input) => _$this._input = input; - String? _logoheader; - String? get logoheader => _$this._logoheader; - set logoheader(String? logoheader) => _$this._logoheader = logoheader; + String? _output; + String? get output => _$this._output; + set output(String? output) => _$this._output = output; - String? _favicon; - String? get favicon => _$this._favicon; - set favicon(String? favicon) => _$this._favicon = favicon; + String? _identifier; + String? get identifier => _$this._identifier; + set identifier(String? identifier) => _$this._identifier = identifier; - CoreServerCapabilities_Ocs_Data_Capabilities_ThemingBuilder(); + CoreTextProcessingTaskBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_ThemingBuilder get _$this { + CoreTextProcessingTaskBuilder get _$this { final $v = _$v; if ($v != null) { - _name = $v.name; - _url = $v.url; - _slogan = $v.slogan; - _color = $v.color; - _colorText = $v.colorText; - _colorElement = $v.colorElement; - _colorElementBright = $v.colorElementBright; - _colorElementDark = $v.colorElementDark; - _logo = $v.logo; - _background = $v.background; - _backgroundPlain = $v.backgroundPlain; - _backgroundDefault = $v.backgroundDefault; - _logoheader = $v.logoheader; - _favicon = $v.favicon; + _id = $v.id; + _type = $v.type; + _status = $v.status; + _userId = $v.userId; + _appId = $v.appId; + _input = $v.input; + _output = $v.output; + _identifier = $v.identifier; _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_Theming other) { + void replace(CoreTextProcessingTask other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_Theming; + _$v = other as _$CoreTextProcessingTask; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_ThemingBuilder)? updates) { + void update(void Function(CoreTextProcessingTaskBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_Theming build() => _build(); + CoreTextProcessingTask build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_Theming _build() { + _$CoreTextProcessingTask _build() { final _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_Theming._( - name: name, - url: url, - slogan: slogan, - color: color, - colorText: colorText, - colorElement: colorElement, - colorElementBright: colorElementBright, - colorElementDark: colorElementDark, - logo: logo, - background: background, - backgroundPlain: backgroundPlain, - backgroundDefault: backgroundDefault, - logoheader: logoheader, - favicon: favicon); + _$CoreTextProcessingTask._( + id: id, + type: BuiltValueNullFieldError.checkNotNull(type, r'CoreTextProcessingTask', 'type'), + status: BuiltValueNullFieldError.checkNotNull(status, r'CoreTextProcessingTask', 'status'), + userId: userId, + appId: BuiltValueNullFieldError.checkNotNull(appId, r'CoreTextProcessingTask', 'appId'), + input: BuiltValueNullFieldError.checkNotNull(input, r'CoreTextProcessingTask', 'input'), + output: output, + identifier: BuiltValueNullFieldError.checkNotNull(identifier, r'CoreTextProcessingTask', 'identifier')); replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus - extends CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus { - @override - final bool? restore; +class _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data + extends CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data { @override - final bool? enabled; - @override - final bool? supportsEmoji; + final CoreTextProcessingTask task; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data( + [void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus._({this.restore, this.enabled, this.supportsEmoji}) - : super._(); + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data._({required this.task}) : super._() { + BuiltValueNullFieldError.checkNotNull( + task, r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data', 'task'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusBuilder) updates) => + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusBuilder()..replace(this); + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus && - restore == other.restore && - enabled == other.enabled && - supportsEmoji == other.supportsEmoji; + return other is CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data && task == other.task; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, restore.hashCode); - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, supportsEmoji.hashCode); + _$hash = $jc(_$hash, task.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus') - ..add('restore', restore) - ..add('enabled', enabled) - ..add('supportsEmoji', supportsEmoji)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data') + ..add('task', task)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusBuilder +class CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus? _$v; - - bool? _restore; - bool? get restore => _$this._restore; - set restore(bool? restore) => _$this._restore = restore; - - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + Builder { + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data? _$v; - bool? _supportsEmoji; - bool? get supportsEmoji => _$this._supportsEmoji; - set supportsEmoji(bool? supportsEmoji) => _$this._supportsEmoji = supportsEmoji; + CoreTextProcessingTaskBuilder? _task; + CoreTextProcessingTaskBuilder get task => _$this._task ??= CoreTextProcessingTaskBuilder(); + set task(CoreTextProcessingTaskBuilder? task) => _$this._task = task; - CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusBuilder(); + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder(); - CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusBuilder get _$this { + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _restore = $v.restore; - _enabled = $v.enabled; - _supportsEmoji = $v.supportsEmoji; + _task = $v.task.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus other) { + void replace(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus; + _$v = other as _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusBuilder)? updates) { + void update(void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus build() => _build(); + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus _build() { - final _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus._( - restore: restore, enabled: enabled, supportsEmoji: supportsEmoji); + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data _build() { + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data _$result; + try { + _$result = _$v ?? _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data._(task: task.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'task'; + task.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus - extends CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus { +class _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs + extends CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs { + @override + final CoreOCSMeta meta; @override - final bool? enabled; + final CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_Data data; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus( - [void Function(CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatusBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatusBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs( + [void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus._({this.enabled}) : super._(); + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs', 'data'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus rebuild( - void Function(CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatusBuilder) updates) => + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs rebuild( + void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatusBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatusBuilder()..replace(this); + CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus && enabled == other.enabled; + return other is CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus') - ..add('enabled', enabled)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatusBuilder +class CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus? _$v; + Builder { + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs? _$v; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatusBuilder(); + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatusBuilder get _$this { + CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder(); + + CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus other) { + void replace(CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus; + _$v = other as _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatusBuilder)? updates) { + void update(void Function(CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus build() => _build(); + CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus _build() { - final _$result = _$v ?? _$CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus._(enabled: enabled); + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs _build() { + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreServerCapabilities_Ocs_Data_Capabilities extends CoreServerCapabilities_Ocs_Data_Capabilities { - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_Core? core; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce? bruteforce; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable? metadataAvailable; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_Files? files; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_Activity? activity; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_Circles? circles; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_Ocm? ocm; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_Dav? dav; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing? filesSharing; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_Notes? notes; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_Notifications? notifications; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy? passwordPolicy; +class _$CoreTextProcessingApiScheduleResponse200ApplicationJson + extends CoreTextProcessingApiScheduleResponse200ApplicationJson { @override - final CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi? provisioningApi; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_Theming? theming; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus? userStatus; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatus? weatherStatus; + final CoreTextProcessingApiScheduleResponse200ApplicationJson_Ocs ocs; - factory _$CoreServerCapabilities_Ocs_Data_Capabilities( - [void Function(CoreServerCapabilities_Ocs_Data_CapabilitiesBuilder)? updates]) => - (CoreServerCapabilities_Ocs_Data_CapabilitiesBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiScheduleResponse200ApplicationJson( + [void Function(CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder)? updates]) => + (CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities._( - {this.core, - this.bruteforce, - this.metadataAvailable, - this.files, - this.activity, - this.circles, - this.ocm, - this.dav, - this.filesSharing, - this.notes, - this.notifications, - this.passwordPolicy, - this.provisioningApi, - this.theming, - this.userStatus, - this.weatherStatus}) - : super._(); + _$CoreTextProcessingApiScheduleResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreTextProcessingApiScheduleResponse200ApplicationJson', 'ocs'); + } @override - CoreServerCapabilities_Ocs_Data_Capabilities rebuild( - void Function(CoreServerCapabilities_Ocs_Data_CapabilitiesBuilder) updates) => + CoreTextProcessingApiScheduleResponse200ApplicationJson rebuild( + void Function(CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_Data_CapabilitiesBuilder toBuilder() => - CoreServerCapabilities_Ocs_Data_CapabilitiesBuilder()..replace(this); + CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder toBuilder() => + CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data_Capabilities && - core == other.core && - bruteforce == other.bruteforce && - metadataAvailable == other.metadataAvailable && - files == other.files && - activity == other.activity && - circles == other.circles && - ocm == other.ocm && - dav == other.dav && - filesSharing == other.filesSharing && - notes == other.notes && - notifications == other.notifications && - passwordPolicy == other.passwordPolicy && - provisioningApi == other.provisioningApi && - theming == other.theming && - userStatus == other.userStatus && - weatherStatus == other.weatherStatus; + return other is CoreTextProcessingApiScheduleResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, core.hashCode); - _$hash = $jc(_$hash, bruteforce.hashCode); - _$hash = $jc(_$hash, metadataAvailable.hashCode); - _$hash = $jc(_$hash, files.hashCode); - _$hash = $jc(_$hash, activity.hashCode); - _$hash = $jc(_$hash, circles.hashCode); - _$hash = $jc(_$hash, ocm.hashCode); - _$hash = $jc(_$hash, dav.hashCode); - _$hash = $jc(_$hash, filesSharing.hashCode); - _$hash = $jc(_$hash, notes.hashCode); - _$hash = $jc(_$hash, notifications.hashCode); - _$hash = $jc(_$hash, passwordPolicy.hashCode); - _$hash = $jc(_$hash, provisioningApi.hashCode); - _$hash = $jc(_$hash, theming.hashCode); - _$hash = $jc(_$hash, userStatus.hashCode); - _$hash = $jc(_$hash, weatherStatus.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data_Capabilities') - ..add('core', core) - ..add('bruteforce', bruteforce) - ..add('metadataAvailable', metadataAvailable) - ..add('files', files) - ..add('activity', activity) - ..add('circles', circles) - ..add('ocm', ocm) - ..add('dav', dav) - ..add('filesSharing', filesSharing) - ..add('notes', notes) - ..add('notifications', notifications) - ..add('passwordPolicy', passwordPolicy) - ..add('provisioningApi', provisioningApi) - ..add('theming', theming) - ..add('userStatus', userStatus) - ..add('weatherStatus', weatherStatus)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiScheduleResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreServerCapabilities_Ocs_Data_CapabilitiesBuilder +class CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder implements - Builder { - _$CoreServerCapabilities_Ocs_Data_Capabilities? _$v; - - CoreServerCapabilities_Ocs_Data_Capabilities_CoreBuilder? _core; - CoreServerCapabilities_Ocs_Data_Capabilities_CoreBuilder get core => - _$this._core ??= CoreServerCapabilities_Ocs_Data_Capabilities_CoreBuilder(); - set core(CoreServerCapabilities_Ocs_Data_Capabilities_CoreBuilder? core) => _$this._core = core; - - CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceBuilder? _bruteforce; - CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceBuilder get bruteforce => - _$this._bruteforce ??= CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceBuilder(); - set bruteforce(CoreServerCapabilities_Ocs_Data_Capabilities_BruteforceBuilder? bruteforce) => - _$this._bruteforce = bruteforce; - - CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableBuilder? _metadataAvailable; - CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableBuilder get metadataAvailable => - _$this._metadataAvailable ??= CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableBuilder(); - set metadataAvailable(CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailableBuilder? metadataAvailable) => - _$this._metadataAvailable = metadataAvailable; - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesBuilder? _files; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesBuilder get files => - _$this._files ??= CoreServerCapabilities_Ocs_Data_Capabilities_FilesBuilder(); - set files(CoreServerCapabilities_Ocs_Data_Capabilities_FilesBuilder? files) => _$this._files = files; - - CoreServerCapabilities_Ocs_Data_Capabilities_ActivityBuilder? _activity; - CoreServerCapabilities_Ocs_Data_Capabilities_ActivityBuilder get activity => - _$this._activity ??= CoreServerCapabilities_Ocs_Data_Capabilities_ActivityBuilder(); - set activity(CoreServerCapabilities_Ocs_Data_Capabilities_ActivityBuilder? activity) => _$this._activity = activity; - - CoreServerCapabilities_Ocs_Data_Capabilities_CirclesBuilder? _circles; - CoreServerCapabilities_Ocs_Data_Capabilities_CirclesBuilder get circles => - _$this._circles ??= CoreServerCapabilities_Ocs_Data_Capabilities_CirclesBuilder(); - set circles(CoreServerCapabilities_Ocs_Data_Capabilities_CirclesBuilder? circles) => _$this._circles = circles; - - CoreServerCapabilities_Ocs_Data_Capabilities_OcmBuilder? _ocm; - CoreServerCapabilities_Ocs_Data_Capabilities_OcmBuilder get ocm => - _$this._ocm ??= CoreServerCapabilities_Ocs_Data_Capabilities_OcmBuilder(); - set ocm(CoreServerCapabilities_Ocs_Data_Capabilities_OcmBuilder? ocm) => _$this._ocm = ocm; - - CoreServerCapabilities_Ocs_Data_Capabilities_DavBuilder? _dav; - CoreServerCapabilities_Ocs_Data_Capabilities_DavBuilder get dav => - _$this._dav ??= CoreServerCapabilities_Ocs_Data_Capabilities_DavBuilder(); - set dav(CoreServerCapabilities_Ocs_Data_Capabilities_DavBuilder? dav) => _$this._dav = dav; - - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingBuilder? _filesSharing; - CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingBuilder get filesSharing => - _$this._filesSharing ??= CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingBuilder(); - set filesSharing(CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharingBuilder? filesSharing) => - _$this._filesSharing = filesSharing; - - CoreServerCapabilities_Ocs_Data_Capabilities_NotesBuilder? _notes; - CoreServerCapabilities_Ocs_Data_Capabilities_NotesBuilder get notes => - _$this._notes ??= CoreServerCapabilities_Ocs_Data_Capabilities_NotesBuilder(); - set notes(CoreServerCapabilities_Ocs_Data_Capabilities_NotesBuilder? notes) => _$this._notes = notes; - - CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsBuilder? _notifications; - CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsBuilder get notifications => - _$this._notifications ??= CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsBuilder(); - set notifications(CoreServerCapabilities_Ocs_Data_Capabilities_NotificationsBuilder? notifications) => - _$this._notifications = notifications; - - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyBuilder? _passwordPolicy; - CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyBuilder get passwordPolicy => - _$this._passwordPolicy ??= CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyBuilder(); - set passwordPolicy(CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicyBuilder? passwordPolicy) => - _$this._passwordPolicy = passwordPolicy; - - CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiBuilder? _provisioningApi; - CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiBuilder get provisioningApi => - _$this._provisioningApi ??= CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiBuilder(); - set provisioningApi(CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApiBuilder? provisioningApi) => - _$this._provisioningApi = provisioningApi; - - CoreServerCapabilities_Ocs_Data_Capabilities_ThemingBuilder? _theming; - CoreServerCapabilities_Ocs_Data_Capabilities_ThemingBuilder get theming => - _$this._theming ??= CoreServerCapabilities_Ocs_Data_Capabilities_ThemingBuilder(); - set theming(CoreServerCapabilities_Ocs_Data_Capabilities_ThemingBuilder? theming) => _$this._theming = theming; + Builder { + _$CoreTextProcessingApiScheduleResponse200ApplicationJson? _$v; - CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusBuilder? _userStatus; - CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusBuilder get userStatus => - _$this._userStatus ??= CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusBuilder(); - set userStatus(CoreServerCapabilities_Ocs_Data_Capabilities_UserStatusBuilder? userStatus) => - _$this._userStatus = userStatus; - - CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatusBuilder? _weatherStatus; - CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatusBuilder get weatherStatus => - _$this._weatherStatus ??= CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatusBuilder(); - set weatherStatus(CoreServerCapabilities_Ocs_Data_Capabilities_WeatherStatusBuilder? weatherStatus) => - _$this._weatherStatus = weatherStatus; + CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder? _ocs; + CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreTextProcessingApiScheduleResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreServerCapabilities_Ocs_Data_CapabilitiesBuilder(); + CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder(); - CoreServerCapabilities_Ocs_Data_CapabilitiesBuilder get _$this { + CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _core = $v.core?.toBuilder(); - _bruteforce = $v.bruteforce?.toBuilder(); - _metadataAvailable = $v.metadataAvailable?.toBuilder(); - _files = $v.files?.toBuilder(); - _activity = $v.activity?.toBuilder(); - _circles = $v.circles?.toBuilder(); - _ocm = $v.ocm?.toBuilder(); - _dav = $v.dav?.toBuilder(); - _filesSharing = $v.filesSharing?.toBuilder(); - _notes = $v.notes?.toBuilder(); - _notifications = $v.notifications?.toBuilder(); - _passwordPolicy = $v.passwordPolicy?.toBuilder(); - _provisioningApi = $v.provisioningApi?.toBuilder(); - _theming = $v.theming?.toBuilder(); - _userStatus = $v.userStatus?.toBuilder(); - _weatherStatus = $v.weatherStatus?.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data_Capabilities other) { + void replace(CoreTextProcessingApiScheduleResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data_Capabilities; + _$v = other as _$CoreTextProcessingApiScheduleResponse200ApplicationJson; } @override - void update(void Function(CoreServerCapabilities_Ocs_Data_CapabilitiesBuilder)? updates) { + void update(void Function(CoreTextProcessingApiScheduleResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data_Capabilities build() => _build(); + CoreTextProcessingApiScheduleResponse200ApplicationJson build() => _build(); - _$CoreServerCapabilities_Ocs_Data_Capabilities _build() { - _$CoreServerCapabilities_Ocs_Data_Capabilities _$result; + _$CoreTextProcessingApiScheduleResponse200ApplicationJson _build() { + _$CoreTextProcessingApiScheduleResponse200ApplicationJson _$result; try { - _$result = _$v ?? - _$CoreServerCapabilities_Ocs_Data_Capabilities._( - core: _core?.build(), - bruteforce: _bruteforce?.build(), - metadataAvailable: _metadataAvailable?.build(), - files: _files?.build(), - activity: _activity?.build(), - circles: _circles?.build(), - ocm: _ocm?.build(), - dav: _dav?.build(), - filesSharing: _filesSharing?.build(), - notes: _notes?.build(), - notifications: _notifications?.build(), - passwordPolicy: _passwordPolicy?.build(), - provisioningApi: _provisioningApi?.build(), - theming: _theming?.build(), - userStatus: _userStatus?.build(), - weatherStatus: _weatherStatus?.build()); + _$result = _$v ?? _$CoreTextProcessingApiScheduleResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'core'; - _core?.build(); - _$failedField = 'bruteforce'; - _bruteforce?.build(); - _$failedField = 'metadataAvailable'; - _metadataAvailable?.build(); - _$failedField = 'files'; - _files?.build(); - _$failedField = 'activity'; - _activity?.build(); - _$failedField = 'circles'; - _circles?.build(); - _$failedField = 'ocm'; - _ocm?.build(); - _$failedField = 'dav'; - _dav?.build(); - _$failedField = 'filesSharing'; - _filesSharing?.build(); - _$failedField = 'notes'; - _notes?.build(); - _$failedField = 'notifications'; - _notifications?.build(); - _$failedField = 'passwordPolicy'; - _passwordPolicy?.build(); - _$failedField = 'provisioningApi'; - _provisioningApi?.build(); - _$failedField = 'theming'; - _theming?.build(); - _$failedField = 'userStatus'; - _userStatus?.build(); - _$failedField = 'weatherStatus'; - _weatherStatus?.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreServerCapabilities_Ocs_Data_Capabilities', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreTextProcessingApiScheduleResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -10723,106 +15410,98 @@ class CoreServerCapabilities_Ocs_Data_CapabilitiesBuilder } } -class _$CoreServerCapabilities_Ocs_Data extends CoreServerCapabilities_Ocs_Data { +class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data + extends CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data { @override - final CoreServerCapabilities_Ocs_Data_Version version; - @override - final CoreServerCapabilities_Ocs_Data_Capabilities capabilities; + final CoreTextProcessingTask task; - factory _$CoreServerCapabilities_Ocs_Data([void Function(CoreServerCapabilities_Ocs_DataBuilder)? updates]) => - (CoreServerCapabilities_Ocs_DataBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data( + [void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs_Data._({required this.version, required this.capabilities}) : super._() { - BuiltValueNullFieldError.checkNotNull(version, r'CoreServerCapabilities_Ocs_Data', 'version'); - BuiltValueNullFieldError.checkNotNull(capabilities, r'CoreServerCapabilities_Ocs_Data', 'capabilities'); + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data._({required this.task}) : super._() { + BuiltValueNullFieldError.checkNotNull( + task, r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data', 'task'); } @override - CoreServerCapabilities_Ocs_Data rebuild(void Function(CoreServerCapabilities_Ocs_DataBuilder) updates) => + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_Ocs_DataBuilder toBuilder() => CoreServerCapabilities_Ocs_DataBuilder()..replace(this); + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs_Data && version == other.version && capabilities == other.capabilities; + return other is CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data && task == other.task; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, version.hashCode); - _$hash = $jc(_$hash, capabilities.hashCode); + _$hash = $jc(_$hash, task.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs_Data') - ..add('version', version) - ..add('capabilities', capabilities)) + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data') + ..add('task', task)) .toString(); } } -class CoreServerCapabilities_Ocs_DataBuilder - implements Builder { - _$CoreServerCapabilities_Ocs_Data? _$v; - - CoreServerCapabilities_Ocs_Data_VersionBuilder? _version; - CoreServerCapabilities_Ocs_Data_VersionBuilder get version => - _$this._version ??= CoreServerCapabilities_Ocs_Data_VersionBuilder(); - set version(CoreServerCapabilities_Ocs_Data_VersionBuilder? version) => _$this._version = version; +class CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data? _$v; - CoreServerCapabilities_Ocs_Data_CapabilitiesBuilder? _capabilities; - CoreServerCapabilities_Ocs_Data_CapabilitiesBuilder get capabilities => - _$this._capabilities ??= CoreServerCapabilities_Ocs_Data_CapabilitiesBuilder(); - set capabilities(CoreServerCapabilities_Ocs_Data_CapabilitiesBuilder? capabilities) => - _$this._capabilities = capabilities; + CoreTextProcessingTaskBuilder? _task; + CoreTextProcessingTaskBuilder get task => _$this._task ??= CoreTextProcessingTaskBuilder(); + set task(CoreTextProcessingTaskBuilder? task) => _$this._task = task; - CoreServerCapabilities_Ocs_DataBuilder(); + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder(); - CoreServerCapabilities_Ocs_DataBuilder get _$this { + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _version = $v.version.toBuilder(); - _capabilities = $v.capabilities.toBuilder(); + _task = $v.task.toBuilder(); _$v = null; } return this; } @override - void replace(CoreServerCapabilities_Ocs_Data other) { + void replace(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs_Data; + _$v = other as _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreServerCapabilities_Ocs_DataBuilder)? updates) { + void update(void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs_Data build() => _build(); + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreServerCapabilities_Ocs_Data _build() { - _$CoreServerCapabilities_Ocs_Data _$result; + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data _build() { + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data _$result; try { - _$result = - _$v ?? _$CoreServerCapabilities_Ocs_Data._(version: version.build(), capabilities: capabilities.build()); + _$result = _$v ?? _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data._(task: task.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'version'; - version.build(); - _$failedField = 'capabilities'; - capabilities.build(); + _$failedField = 'task'; + task.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreServerCapabilities_Ocs_Data', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -10831,31 +15510,37 @@ class CoreServerCapabilities_Ocs_DataBuilder } } -class _$CoreServerCapabilities_Ocs extends CoreServerCapabilities_Ocs { +class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs + extends CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs { @override final CoreOCSMeta meta; @override - final CoreServerCapabilities_Ocs_Data data; + final CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_Data data; - factory _$CoreServerCapabilities_Ocs([void Function(CoreServerCapabilities_OcsBuilder)? updates]) => - (CoreServerCapabilities_OcsBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs( + [void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreServerCapabilities_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'CoreServerCapabilities_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'CoreServerCapabilities_Ocs', 'data'); + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs', 'data'); } @override - CoreServerCapabilities_Ocs rebuild(void Function(CoreServerCapabilities_OcsBuilder) updates) => + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs rebuild( + void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilities_OcsBuilder toBuilder() => CoreServerCapabilities_OcsBuilder()..replace(this); + CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities_Ocs && meta == other.meta && data == other.data; + return other is CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -10869,28 +15554,31 @@ class _$CoreServerCapabilities_Ocs extends CoreServerCapabilities_Ocs { @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities_Ocs') + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CoreServerCapabilities_OcsBuilder - implements Builder { - _$CoreServerCapabilities_Ocs? _$v; +class CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs? _$v; CoreOCSMetaBuilder? _meta; CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreServerCapabilities_Ocs_DataBuilder? _data; - CoreServerCapabilities_Ocs_DataBuilder get data => _$this._data ??= CoreServerCapabilities_Ocs_DataBuilder(); - set data(CoreServerCapabilities_Ocs_DataBuilder? data) => _$this._data = data; + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreServerCapabilities_OcsBuilder(); + CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder(); - CoreServerCapabilities_OcsBuilder get _$this { + CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -10901,23 +15589,24 @@ class CoreServerCapabilities_OcsBuilder } @override - void replace(CoreServerCapabilities_Ocs other) { + void replace(CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreServerCapabilities_Ocs; + _$v = other as _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreServerCapabilities_OcsBuilder)? updates) { + void update(void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreServerCapabilities_Ocs build() => _build(); + CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs build() => _build(); - _$CoreServerCapabilities_Ocs _build() { - _$CoreServerCapabilities_Ocs _$result; + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs _build() { + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$CoreServerCapabilities_Ocs._(meta: meta.build(), data: data.build()); + _$result = + _$v ?? _$CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -10926,7 +15615,8 @@ class CoreServerCapabilities_OcsBuilder _$failedField = 'data'; data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreServerCapabilities_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -10935,28 +15625,32 @@ class CoreServerCapabilities_OcsBuilder } } -class _$CoreServerCapabilities extends CoreServerCapabilities { +class _$CoreTextProcessingApiGetTaskResponse200ApplicationJson + extends CoreTextProcessingApiGetTaskResponse200ApplicationJson { @override - final CoreServerCapabilities_Ocs ocs; + final CoreTextProcessingApiGetTaskResponse200ApplicationJson_Ocs ocs; - factory _$CoreServerCapabilities([void Function(CoreServerCapabilitiesBuilder)? updates]) => - (CoreServerCapabilitiesBuilder()..update(updates))._build(); + factory _$CoreTextProcessingApiGetTaskResponse200ApplicationJson( + [void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder)? updates]) => + (CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreServerCapabilities._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreServerCapabilities', 'ocs'); + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreTextProcessingApiGetTaskResponse200ApplicationJson', 'ocs'); } @override - CoreServerCapabilities rebuild(void Function(CoreServerCapabilitiesBuilder) updates) => + CoreTextProcessingApiGetTaskResponse200ApplicationJson rebuild( + void Function(CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreServerCapabilitiesBuilder toBuilder() => CoreServerCapabilitiesBuilder()..replace(this); + CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder toBuilder() => + CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreServerCapabilities && ocs == other.ocs; + return other is CoreTextProcessingApiGetTaskResponse200ApplicationJson && ocs == other.ocs; } @override @@ -10969,20 +15663,25 @@ class _$CoreServerCapabilities extends CoreServerCapabilities { @override String toString() { - return (newBuiltValueToStringHelper(r'CoreServerCapabilities')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'CoreTextProcessingApiGetTaskResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); } } -class CoreServerCapabilitiesBuilder implements Builder { - _$CoreServerCapabilities? _$v; +class CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson? _$v; - CoreServerCapabilities_OcsBuilder? _ocs; - CoreServerCapabilities_OcsBuilder get ocs => _$this._ocs ??= CoreServerCapabilities_OcsBuilder(); - set ocs(CoreServerCapabilities_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder? _ocs; + CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreTextProcessingApiGetTaskResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreServerCapabilitiesBuilder(); + CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder(); - CoreServerCapabilitiesBuilder get _$this { + CoreTextProcessingApiGetTaskResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -10992,30 +15691,31 @@ class CoreServerCapabilitiesBuilder implements Builder _build(); + CoreTextProcessingApiGetTaskResponse200ApplicationJson build() => _build(); - _$CoreServerCapabilities _build() { - _$CoreServerCapabilities _$result; + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson _build() { + _$CoreTextProcessingApiGetTaskResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$CoreServerCapabilities._(ocs: ocs.build()); + _$result = _$v ?? _$CoreTextProcessingApiGetTaskResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreServerCapabilities', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreTextProcessingApiGetTaskResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -11024,304 +15724,254 @@ class CoreServerCapabilitiesBuilder implements Builder - (CoreNavigationApps_Ocs_Data_OrderBuilder()..update(updates))._build(); + factory _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages( + [void Function(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesBuilder)? updates]) => + (CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesBuilder()..update(updates))._build(); - _$CoreNavigationApps_Ocs_Data_Order._({required this.data, this.$int, this.string}) : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'CoreNavigationApps_Ocs_Data_Order', 'data'); + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages._( + {required this.from, required this.fromLabel, required this.to, required this.toLabel}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + from, r'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages', 'from'); + BuiltValueNullFieldError.checkNotNull( + fromLabel, r'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages', 'fromLabel'); + BuiltValueNullFieldError.checkNotNull( + to, r'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages', 'to'); + BuiltValueNullFieldError.checkNotNull( + toLabel, r'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages', 'toLabel'); } @override - CoreNavigationApps_Ocs_Data_Order rebuild(void Function(CoreNavigationApps_Ocs_Data_OrderBuilder) updates) => + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages rebuild( + void Function(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreNavigationApps_Ocs_Data_OrderBuilder toBuilder() => CoreNavigationApps_Ocs_Data_OrderBuilder()..replace(this); + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesBuilder toBuilder() => + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreNavigationApps_Ocs_Data_Order && - data == other.data && - $int == other.$int && - string == other.string; + return other is CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages && + from == other.from && + fromLabel == other.fromLabel && + to == other.to && + toLabel == other.toLabel; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, data.hashCode); - _$hash = $jc(_$hash, $int.hashCode); - _$hash = $jc(_$hash, string.hashCode); + _$hash = $jc(_$hash, from.hashCode); + _$hash = $jc(_$hash, fromLabel.hashCode); + _$hash = $jc(_$hash, to.hashCode); + _$hash = $jc(_$hash, toLabel.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreNavigationApps_Ocs_Data_Order') - ..add('data', data) - ..add('\$int', $int) - ..add('string', string)) + return (newBuiltValueToStringHelper(r'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages') + ..add('from', from) + ..add('fromLabel', fromLabel) + ..add('to', to) + ..add('toLabel', toLabel)) .toString(); } } -class CoreNavigationApps_Ocs_Data_OrderBuilder - implements Builder { - _$CoreNavigationApps_Ocs_Data_Order? _$v; +class CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesBuilder + implements + Builder { + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages? _$v; - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(JsonObject? data) => _$this._data = data; + String? _from; + String? get from => _$this._from; + set from(String? from) => _$this._from = from; - int? _$int; - int? get $int => _$this._$int; - set $int(int? $int) => _$this._$int = $int; + String? _fromLabel; + String? get fromLabel => _$this._fromLabel; + set fromLabel(String? fromLabel) => _$this._fromLabel = fromLabel; - String? _string; - String? get string => _$this._string; - set string(String? string) => _$this._string = string; + String? _to; + String? get to => _$this._to; + set to(String? to) => _$this._to = to; + + String? _toLabel; + String? get toLabel => _$this._toLabel; + set toLabel(String? toLabel) => _$this._toLabel = toLabel; - CoreNavigationApps_Ocs_Data_OrderBuilder(); + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesBuilder(); - CoreNavigationApps_Ocs_Data_OrderBuilder get _$this { + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesBuilder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _$int = $v.$int; - _string = $v.string; + _from = $v.from; + _fromLabel = $v.fromLabel; + _to = $v.to; + _toLabel = $v.toLabel; _$v = null; } return this; } @override - void replace(CoreNavigationApps_Ocs_Data_Order other) { + void replace(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreNavigationApps_Ocs_Data_Order; + _$v = other as _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages; } @override - void update(void Function(CoreNavigationApps_Ocs_Data_OrderBuilder)? updates) { + void update(void Function(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_LanguagesBuilder)? updates) { if (updates != null) updates(this); } @override - CoreNavigationApps_Ocs_Data_Order build() => _build(); + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages build() => _build(); - _$CoreNavigationApps_Ocs_Data_Order _build() { + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages _build() { final _$result = _$v ?? - _$CoreNavigationApps_Ocs_Data_Order._( - data: BuiltValueNullFieldError.checkNotNull(data, r'CoreNavigationApps_Ocs_Data_Order', 'data'), - $int: $int, - string: string); + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages._( + from: BuiltValueNullFieldError.checkNotNull( + from, r'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages', 'from'), + fromLabel: BuiltValueNullFieldError.checkNotNull( + fromLabel, r'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages', 'fromLabel'), + to: BuiltValueNullFieldError.checkNotNull( + to, r'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages', 'to'), + toLabel: BuiltValueNullFieldError.checkNotNull( + toLabel, r'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data_Languages', 'toLabel')); replace(_$result); return _$result; } } -class _$CoreNavigationApps_Ocs_Data extends CoreNavigationApps_Ocs_Data { - @override - final String id; - @override - final CoreNavigationApps_Ocs_Data_Order order; +class _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data + extends CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data { @override - final String href; - @override - final String icon; - @override - final String type; - @override - final String name; - @override - final bool active; - @override - final String classes; + final BuiltList languages; @override - final int unread; + final bool languageDetection; - factory _$CoreNavigationApps_Ocs_Data([void Function(CoreNavigationApps_Ocs_DataBuilder)? updates]) => - (CoreNavigationApps_Ocs_DataBuilder()..update(updates))._build(); + factory _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data( + [void Function(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreNavigationApps_Ocs_Data._( - {required this.id, - required this.order, - required this.href, - required this.icon, - required this.type, - required this.name, - required this.active, - required this.classes, - required this.unread}) + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data._( + {required this.languages, required this.languageDetection}) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'CoreNavigationApps_Ocs_Data', 'id'); - BuiltValueNullFieldError.checkNotNull(order, r'CoreNavigationApps_Ocs_Data', 'order'); - BuiltValueNullFieldError.checkNotNull(href, r'CoreNavigationApps_Ocs_Data', 'href'); - BuiltValueNullFieldError.checkNotNull(icon, r'CoreNavigationApps_Ocs_Data', 'icon'); - BuiltValueNullFieldError.checkNotNull(type, r'CoreNavigationApps_Ocs_Data', 'type'); - BuiltValueNullFieldError.checkNotNull(name, r'CoreNavigationApps_Ocs_Data', 'name'); - BuiltValueNullFieldError.checkNotNull(active, r'CoreNavigationApps_Ocs_Data', 'active'); - BuiltValueNullFieldError.checkNotNull(classes, r'CoreNavigationApps_Ocs_Data', 'classes'); - BuiltValueNullFieldError.checkNotNull(unread, r'CoreNavigationApps_Ocs_Data', 'unread'); + BuiltValueNullFieldError.checkNotNull( + languages, r'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data', 'languages'); + BuiltValueNullFieldError.checkNotNull( + languageDetection, r'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data', 'languageDetection'); } @override - CoreNavigationApps_Ocs_Data rebuild(void Function(CoreNavigationApps_Ocs_DataBuilder) updates) => + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreNavigationApps_Ocs_DataBuilder toBuilder() => CoreNavigationApps_Ocs_DataBuilder()..replace(this); + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreNavigationApps_Ocs_Data && - id == other.id && - order == other.order && - href == other.href && - icon == other.icon && - type == other.type && - name == other.name && - active == other.active && - classes == other.classes && - unread == other.unread; + return other is CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data && + languages == other.languages && + languageDetection == other.languageDetection; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, order.hashCode); - _$hash = $jc(_$hash, href.hashCode); - _$hash = $jc(_$hash, icon.hashCode); - _$hash = $jc(_$hash, type.hashCode); - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, active.hashCode); - _$hash = $jc(_$hash, classes.hashCode); - _$hash = $jc(_$hash, unread.hashCode); + _$hash = $jc(_$hash, languages.hashCode); + _$hash = $jc(_$hash, languageDetection.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreNavigationApps_Ocs_Data') - ..add('id', id) - ..add('order', order) - ..add('href', href) - ..add('icon', icon) - ..add('type', type) - ..add('name', name) - ..add('active', active) - ..add('classes', classes) - ..add('unread', unread)) + return (newBuiltValueToStringHelper(r'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data') + ..add('languages', languages) + ..add('languageDetection', languageDetection)) .toString(); } } -class CoreNavigationApps_Ocs_DataBuilder - implements Builder { - _$CoreNavigationApps_Ocs_Data? _$v; - - String? _id; - String? get id => _$this._id; - set id(String? id) => _$this._id = id; - - CoreNavigationApps_Ocs_Data_OrderBuilder? _order; - CoreNavigationApps_Ocs_Data_OrderBuilder get order => _$this._order ??= CoreNavigationApps_Ocs_Data_OrderBuilder(); - set order(CoreNavigationApps_Ocs_Data_OrderBuilder? order) => _$this._order = order; - - String? _href; - String? get href => _$this._href; - set href(String? href) => _$this._href = href; - - String? _icon; - String? get icon => _$this._icon; - set icon(String? icon) => _$this._icon = icon; - - String? _type; - String? get type => _$this._type; - set type(String? type) => _$this._type = type; - - String? _name; - String? get name => _$this._name; - set name(String? name) => _$this._name = name; - - bool? _active; - bool? get active => _$this._active; - set active(bool? active) => _$this._active = active; +class CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data? _$v; - String? _classes; - String? get classes => _$this._classes; - set classes(String? classes) => _$this._classes = classes; + ListBuilder? _languages; + ListBuilder get languages => + _$this._languages ??= ListBuilder(); + set languages(ListBuilder? languages) => + _$this._languages = languages; - int? _unread; - int? get unread => _$this._unread; - set unread(int? unread) => _$this._unread = unread; + bool? _languageDetection; + bool? get languageDetection => _$this._languageDetection; + set languageDetection(bool? languageDetection) => _$this._languageDetection = languageDetection; - CoreNavigationApps_Ocs_DataBuilder(); + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataBuilder(); - CoreNavigationApps_Ocs_DataBuilder get _$this { + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _order = $v.order.toBuilder(); - _href = $v.href; - _icon = $v.icon; - _type = $v.type; - _name = $v.name; - _active = $v.active; - _classes = $v.classes; - _unread = $v.unread; + _languages = $v.languages.toBuilder(); + _languageDetection = $v.languageDetection; _$v = null; } return this; } @override - void replace(CoreNavigationApps_Ocs_Data other) { + void replace(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreNavigationApps_Ocs_Data; + _$v = other as _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreNavigationApps_Ocs_DataBuilder)? updates) { + void update(void Function(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreNavigationApps_Ocs_Data build() => _build(); + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreNavigationApps_Ocs_Data _build() { - _$CoreNavigationApps_Ocs_Data _$result; + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data _build() { + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data _$result; try { _$result = _$v ?? - _$CoreNavigationApps_Ocs_Data._( - id: BuiltValueNullFieldError.checkNotNull(id, r'CoreNavigationApps_Ocs_Data', 'id'), - order: order.build(), - href: BuiltValueNullFieldError.checkNotNull(href, r'CoreNavigationApps_Ocs_Data', 'href'), - icon: BuiltValueNullFieldError.checkNotNull(icon, r'CoreNavigationApps_Ocs_Data', 'icon'), - type: BuiltValueNullFieldError.checkNotNull(type, r'CoreNavigationApps_Ocs_Data', 'type'), - name: BuiltValueNullFieldError.checkNotNull(name, r'CoreNavigationApps_Ocs_Data', 'name'), - active: BuiltValueNullFieldError.checkNotNull(active, r'CoreNavigationApps_Ocs_Data', 'active'), - classes: BuiltValueNullFieldError.checkNotNull(classes, r'CoreNavigationApps_Ocs_Data', 'classes'), - unread: BuiltValueNullFieldError.checkNotNull(unread, r'CoreNavigationApps_Ocs_Data', 'unread')); + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data._( + languages: languages.build(), + languageDetection: BuiltValueNullFieldError.checkNotNull(languageDetection, + r'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data', 'languageDetection')); } catch (_) { late String _$failedField; try { - _$failedField = 'order'; - order.build(); + _$failedField = 'languages'; + languages.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreNavigationApps_Ocs_Data', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -11330,31 +15980,37 @@ class CoreNavigationApps_Ocs_DataBuilder } } -class _$CoreNavigationApps_Ocs extends CoreNavigationApps_Ocs { +class _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs + extends CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs { @override final CoreOCSMeta meta; @override - final BuiltList data; + final CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_Data data; - factory _$CoreNavigationApps_Ocs([void Function(CoreNavigationApps_OcsBuilder)? updates]) => - (CoreNavigationApps_OcsBuilder()..update(updates))._build(); + factory _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs( + [void Function(CoreTranslationApiLanguagesResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreTranslationApiLanguagesResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreNavigationApps_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'CoreNavigationApps_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'CoreNavigationApps_Ocs', 'data'); + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs', 'data'); } @override - CoreNavigationApps_Ocs rebuild(void Function(CoreNavigationApps_OcsBuilder) updates) => + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs rebuild( + void Function(CoreTranslationApiLanguagesResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreNavigationApps_OcsBuilder toBuilder() => CoreNavigationApps_OcsBuilder()..replace(this); + CoreTranslationApiLanguagesResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreTranslationApiLanguagesResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreNavigationApps_Ocs && meta == other.meta && data == other.data; + return other is CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -11368,27 +16024,31 @@ class _$CoreNavigationApps_Ocs extends CoreNavigationApps_Ocs { @override String toString() { - return (newBuiltValueToStringHelper(r'CoreNavigationApps_Ocs') + return (newBuiltValueToStringHelper(r'CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CoreNavigationApps_OcsBuilder implements Builder { - _$CoreNavigationApps_Ocs? _$v; +class CoreTranslationApiLanguagesResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs? _$v; CoreOCSMetaBuilder? _meta; CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(ListBuilder? data) => _$this._data = data; + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreNavigationApps_OcsBuilder(); + CoreTranslationApiLanguagesResponse200ApplicationJson_OcsBuilder(); - CoreNavigationApps_OcsBuilder get _$this { + CoreTranslationApiLanguagesResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -11399,23 +16059,24 @@ class CoreNavigationApps_OcsBuilder implements Builder _build(); + CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs build() => _build(); - _$CoreNavigationApps_Ocs _build() { - _$CoreNavigationApps_Ocs _$result; + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs _build() { + _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$CoreNavigationApps_Ocs._(meta: meta.build(), data: data.build()); + _$result = + _$v ?? _$CoreTranslationApiLanguagesResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -11424,7 +16085,8 @@ class CoreNavigationApps_OcsBuilder implements Builder - (CoreNavigationAppsBuilder()..update(updates))._build(); + factory _$CoreTranslationApiLanguagesResponse200ApplicationJson( + [void Function(CoreTranslationApiLanguagesResponse200ApplicationJsonBuilder)? updates]) => + (CoreTranslationApiLanguagesResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreNavigationApps._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreNavigationApps', 'ocs'); + _$CoreTranslationApiLanguagesResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreTranslationApiLanguagesResponse200ApplicationJson', 'ocs'); } @override - CoreNavigationApps rebuild(void Function(CoreNavigationAppsBuilder) updates) => + CoreTranslationApiLanguagesResponse200ApplicationJson rebuild( + void Function(CoreTranslationApiLanguagesResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreNavigationAppsBuilder toBuilder() => CoreNavigationAppsBuilder()..replace(this); + CoreTranslationApiLanguagesResponse200ApplicationJsonBuilder toBuilder() => + CoreTranslationApiLanguagesResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreNavigationApps && ocs == other.ocs; + return other is CoreTranslationApiLanguagesResponse200ApplicationJson && ocs == other.ocs; } @override @@ -11467,20 +16133,25 @@ class _$CoreNavigationApps extends CoreNavigationApps { @override String toString() { - return (newBuiltValueToStringHelper(r'CoreNavigationApps')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'CoreTranslationApiLanguagesResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); } } -class CoreNavigationAppsBuilder implements Builder { - _$CoreNavigationApps? _$v; +class CoreTranslationApiLanguagesResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreTranslationApiLanguagesResponse200ApplicationJson? _$v; - CoreNavigationApps_OcsBuilder? _ocs; - CoreNavigationApps_OcsBuilder get ocs => _$this._ocs ??= CoreNavigationApps_OcsBuilder(); - set ocs(CoreNavigationApps_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreTranslationApiLanguagesResponse200ApplicationJson_OcsBuilder? _ocs; + CoreTranslationApiLanguagesResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreTranslationApiLanguagesResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreTranslationApiLanguagesResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreNavigationAppsBuilder(); + CoreTranslationApiLanguagesResponse200ApplicationJsonBuilder(); - CoreNavigationAppsBuilder get _$this { + CoreTranslationApiLanguagesResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -11490,30 +16161,31 @@ class CoreNavigationAppsBuilder implements Builder _build(); + CoreTranslationApiLanguagesResponse200ApplicationJson build() => _build(); - _$CoreNavigationApps _build() { - _$CoreNavigationApps _$result; + _$CoreTranslationApiLanguagesResponse200ApplicationJson _build() { + _$CoreTranslationApiLanguagesResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$CoreNavigationApps._(ocs: ocs.build()); + _$result = _$v ?? _$CoreTranslationApiLanguagesResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreNavigationApps', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreTranslationApiLanguagesResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -11522,192 +16194,215 @@ class CoreNavigationAppsBuilder implements Builder - (CoreLoginFlowInit_PollBuilder()..update(updates))._build(); + factory _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data( + [void Function(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreLoginFlowInit_Poll._({required this.token, required this.endpoint}) : super._() { - BuiltValueNullFieldError.checkNotNull(token, r'CoreLoginFlowInit_Poll', 'token'); - BuiltValueNullFieldError.checkNotNull(endpoint, r'CoreLoginFlowInit_Poll', 'endpoint'); + _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data._({required this.text, this.from}) : super._() { + BuiltValueNullFieldError.checkNotNull( + text, r'CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data', 'text'); } @override - CoreLoginFlowInit_Poll rebuild(void Function(CoreLoginFlowInit_PollBuilder) updates) => + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreLoginFlowInit_PollBuilder toBuilder() => CoreLoginFlowInit_PollBuilder()..replace(this); + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreLoginFlowInit_Poll && token == other.token && endpoint == other.endpoint; + return other is CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data && + text == other.text && + from == other.from; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, token.hashCode); - _$hash = $jc(_$hash, endpoint.hashCode); + _$hash = $jc(_$hash, text.hashCode); + _$hash = $jc(_$hash, from.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreLoginFlowInit_Poll') - ..add('token', token) - ..add('endpoint', endpoint)) + return (newBuiltValueToStringHelper(r'CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data') + ..add('text', text) + ..add('from', from)) .toString(); } } -class CoreLoginFlowInit_PollBuilder implements Builder { - _$CoreLoginFlowInit_Poll? _$v; +class CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data? _$v; - String? _token; - String? get token => _$this._token; - set token(String? token) => _$this._token = token; + String? _text; + String? get text => _$this._text; + set text(String? text) => _$this._text = text; - String? _endpoint; - String? get endpoint => _$this._endpoint; - set endpoint(String? endpoint) => _$this._endpoint = endpoint; + String? _from; + String? get from => _$this._from; + set from(String? from) => _$this._from = from; - CoreLoginFlowInit_PollBuilder(); + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataBuilder(); - CoreLoginFlowInit_PollBuilder get _$this { + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _token = $v.token; - _endpoint = $v.endpoint; + _text = $v.text; + _from = $v.from; _$v = null; } return this; } @override - void replace(CoreLoginFlowInit_Poll other) { + void replace(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreLoginFlowInit_Poll; + _$v = other as _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreLoginFlowInit_PollBuilder)? updates) { + void update(void Function(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreLoginFlowInit_Poll build() => _build(); + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreLoginFlowInit_Poll _build() { + _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data _build() { final _$result = _$v ?? - _$CoreLoginFlowInit_Poll._( - token: BuiltValueNullFieldError.checkNotNull(token, r'CoreLoginFlowInit_Poll', 'token'), - endpoint: BuiltValueNullFieldError.checkNotNull(endpoint, r'CoreLoginFlowInit_Poll', 'endpoint')); + _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data._( + text: BuiltValueNullFieldError.checkNotNull( + text, r'CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data', 'text'), + from: from); replace(_$result); return _$result; } } -class _$CoreLoginFlowInit extends CoreLoginFlowInit { +class _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs + extends CoreTranslationApiTranslateResponse200ApplicationJson_Ocs { @override - final CoreLoginFlowInit_Poll poll; + final CoreOCSMeta meta; @override - final String login; + final CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_Data data; - factory _$CoreLoginFlowInit([void Function(CoreLoginFlowInitBuilder)? updates]) => - (CoreLoginFlowInitBuilder()..update(updates))._build(); + factory _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs( + [void Function(CoreTranslationApiTranslateResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreTranslationApiTranslateResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreLoginFlowInit._({required this.poll, required this.login}) : super._() { - BuiltValueNullFieldError.checkNotNull(poll, r'CoreLoginFlowInit', 'poll'); - BuiltValueNullFieldError.checkNotNull(login, r'CoreLoginFlowInit', 'login'); + _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreTranslationApiTranslateResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreTranslationApiTranslateResponse200ApplicationJson_Ocs', 'data'); } @override - CoreLoginFlowInit rebuild(void Function(CoreLoginFlowInitBuilder) updates) => (toBuilder()..update(updates)).build(); + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs rebuild( + void Function(CoreTranslationApiTranslateResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - CoreLoginFlowInitBuilder toBuilder() => CoreLoginFlowInitBuilder()..replace(this); + CoreTranslationApiTranslateResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreTranslationApiTranslateResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreLoginFlowInit && poll == other.poll && login == other.login; + return other is CoreTranslationApiTranslateResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, poll.hashCode); - _$hash = $jc(_$hash, login.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreLoginFlowInit') - ..add('poll', poll) - ..add('login', login)) + return (newBuiltValueToStringHelper(r'CoreTranslationApiTranslateResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreLoginFlowInitBuilder implements Builder { - _$CoreLoginFlowInit? _$v; +class CoreTranslationApiTranslateResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs? _$v; - CoreLoginFlowInit_PollBuilder? _poll; - CoreLoginFlowInit_PollBuilder get poll => _$this._poll ??= CoreLoginFlowInit_PollBuilder(); - set poll(CoreLoginFlowInit_PollBuilder? poll) => _$this._poll = poll; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - String? _login; - String? get login => _$this._login; - set login(String? login) => _$this._login = login; + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreLoginFlowInitBuilder(); + CoreTranslationApiTranslateResponse200ApplicationJson_OcsBuilder(); - CoreLoginFlowInitBuilder get _$this { + CoreTranslationApiTranslateResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _poll = $v.poll.toBuilder(); - _login = $v.login; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreLoginFlowInit other) { + void replace(CoreTranslationApiTranslateResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreLoginFlowInit; + _$v = other as _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreLoginFlowInitBuilder)? updates) { + void update(void Function(CoreTranslationApiTranslateResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreLoginFlowInit build() => _build(); + CoreTranslationApiTranslateResponse200ApplicationJson_Ocs build() => _build(); - _$CoreLoginFlowInit _build() { - _$CoreLoginFlowInit _$result; + _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs _build() { + _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? - _$CoreLoginFlowInit._( - poll: poll.build(), login: BuiltValueNullFieldError.checkNotNull(login, r'CoreLoginFlowInit', 'login')); + _$result = + _$v ?? _$CoreTranslationApiTranslateResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'poll'; - poll.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreLoginFlowInit', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreTranslationApiTranslateResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -11716,404 +16411,315 @@ class CoreLoginFlowInitBuilder implements Builder - (CoreLoginFlowResultBuilder()..update(updates))._build(); + factory _$CoreTranslationApiTranslateResponse200ApplicationJson( + [void Function(CoreTranslationApiTranslateResponse200ApplicationJsonBuilder)? updates]) => + (CoreTranslationApiTranslateResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreLoginFlowResult._({required this.server, required this.loginName, required this.appPassword}) : super._() { - BuiltValueNullFieldError.checkNotNull(server, r'CoreLoginFlowResult', 'server'); - BuiltValueNullFieldError.checkNotNull(loginName, r'CoreLoginFlowResult', 'loginName'); - BuiltValueNullFieldError.checkNotNull(appPassword, r'CoreLoginFlowResult', 'appPassword'); + _$CoreTranslationApiTranslateResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreTranslationApiTranslateResponse200ApplicationJson', 'ocs'); } @override - CoreLoginFlowResult rebuild(void Function(CoreLoginFlowResultBuilder) updates) => + CoreTranslationApiTranslateResponse200ApplicationJson rebuild( + void Function(CoreTranslationApiTranslateResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreLoginFlowResultBuilder toBuilder() => CoreLoginFlowResultBuilder()..replace(this); + CoreTranslationApiTranslateResponse200ApplicationJsonBuilder toBuilder() => + CoreTranslationApiTranslateResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreLoginFlowResult && - server == other.server && - loginName == other.loginName && - appPassword == other.appPassword; + return other is CoreTranslationApiTranslateResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, server.hashCode); - _$hash = $jc(_$hash, loginName.hashCode); - _$hash = $jc(_$hash, appPassword.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreLoginFlowResult') - ..add('server', server) - ..add('loginName', loginName) - ..add('appPassword', appPassword)) + return (newBuiltValueToStringHelper(r'CoreTranslationApiTranslateResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreLoginFlowResultBuilder implements Builder { - _$CoreLoginFlowResult? _$v; - - String? _server; - String? get server => _$this._server; - set server(String? server) => _$this._server = server; - - String? _loginName; - String? get loginName => _$this._loginName; - set loginName(String? loginName) => _$this._loginName = loginName; +class CoreTranslationApiTranslateResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreTranslationApiTranslateResponse200ApplicationJson? _$v; - String? _appPassword; - String? get appPassword => _$this._appPassword; - set appPassword(String? appPassword) => _$this._appPassword = appPassword; + CoreTranslationApiTranslateResponse200ApplicationJson_OcsBuilder? _ocs; + CoreTranslationApiTranslateResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreTranslationApiTranslateResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreTranslationApiTranslateResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreLoginFlowResultBuilder(); + CoreTranslationApiTranslateResponse200ApplicationJsonBuilder(); - CoreLoginFlowResultBuilder get _$this { + CoreTranslationApiTranslateResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _server = $v.server; - _loginName = $v.loginName; - _appPassword = $v.appPassword; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreLoginFlowResult other) { + void replace(CoreTranslationApiTranslateResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreLoginFlowResult; + _$v = other as _$CoreTranslationApiTranslateResponse200ApplicationJson; } @override - void update(void Function(CoreLoginFlowResultBuilder)? updates) { + void update(void Function(CoreTranslationApiTranslateResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreLoginFlowResult build() => _build(); + CoreTranslationApiTranslateResponse200ApplicationJson build() => _build(); - _$CoreLoginFlowResult _build() { - final _$result = _$v ?? - _$CoreLoginFlowResult._( - server: BuiltValueNullFieldError.checkNotNull(server, r'CoreLoginFlowResult', 'server'), - loginName: BuiltValueNullFieldError.checkNotNull(loginName, r'CoreLoginFlowResult', 'loginName'), - appPassword: BuiltValueNullFieldError.checkNotNull(appPassword, r'CoreLoginFlowResult', 'appPassword')); + _$CoreTranslationApiTranslateResponse200ApplicationJson _build() { + _$CoreTranslationApiTranslateResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$CoreTranslationApiTranslateResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreTranslationApiTranslateResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreAutocompleteResult_Ocs_Data_Status extends CoreAutocompleteResult_Ocs_Data_Status { +class _$CoreUnifiedSearchProvider extends CoreUnifiedSearchProvider { @override - final JsonObject data; + final String id; @override - final BuiltList? builtListJsonObject; + final String name; @override - final String? string; + final int order; - factory _$CoreAutocompleteResult_Ocs_Data_Status( - [void Function(CoreAutocompleteResult_Ocs_Data_StatusBuilder)? updates]) => - (CoreAutocompleteResult_Ocs_Data_StatusBuilder()..update(updates))._build(); + factory _$CoreUnifiedSearchProvider([void Function(CoreUnifiedSearchProviderBuilder)? updates]) => + (CoreUnifiedSearchProviderBuilder()..update(updates))._build(); - _$CoreAutocompleteResult_Ocs_Data_Status._({required this.data, this.builtListJsonObject, this.string}) : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'CoreAutocompleteResult_Ocs_Data_Status', 'data'); + _$CoreUnifiedSearchProvider._({required this.id, required this.name, required this.order}) : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'CoreUnifiedSearchProvider', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'CoreUnifiedSearchProvider', 'name'); + BuiltValueNullFieldError.checkNotNull(order, r'CoreUnifiedSearchProvider', 'order'); } @override - CoreAutocompleteResult_Ocs_Data_Status rebuild( - void Function(CoreAutocompleteResult_Ocs_Data_StatusBuilder) updates) => + CoreUnifiedSearchProvider rebuild(void Function(CoreUnifiedSearchProviderBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAutocompleteResult_Ocs_Data_StatusBuilder toBuilder() => - CoreAutocompleteResult_Ocs_Data_StatusBuilder()..replace(this); + CoreUnifiedSearchProviderBuilder toBuilder() => CoreUnifiedSearchProviderBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAutocompleteResult_Ocs_Data_Status && - data == other.data && - builtListJsonObject == other.builtListJsonObject && - string == other.string; + return other is CoreUnifiedSearchProvider && id == other.id && name == other.name && order == other.order; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, data.hashCode); - _$hash = $jc(_$hash, builtListJsonObject.hashCode); - _$hash = $jc(_$hash, string.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, order.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreAutocompleteResult_Ocs_Data_Status') - ..add('data', data) - ..add('builtListJsonObject', builtListJsonObject) - ..add('string', string)) + return (newBuiltValueToStringHelper(r'CoreUnifiedSearchProvider') + ..add('id', id) + ..add('name', name) + ..add('order', order)) .toString(); } } -class CoreAutocompleteResult_Ocs_Data_StatusBuilder - implements Builder { - _$CoreAutocompleteResult_Ocs_Data_Status? _$v; +class CoreUnifiedSearchProviderBuilder implements Builder { + _$CoreUnifiedSearchProvider? _$v; - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(JsonObject? data) => _$this._data = data; + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; - ListBuilder? _builtListJsonObject; - ListBuilder get builtListJsonObject => _$this._builtListJsonObject ??= ListBuilder(); - set builtListJsonObject(ListBuilder? builtListJsonObject) => - _$this._builtListJsonObject = builtListJsonObject; + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; - String? _string; - String? get string => _$this._string; - set string(String? string) => _$this._string = string; + int? _order; + int? get order => _$this._order; + set order(int? order) => _$this._order = order; - CoreAutocompleteResult_Ocs_Data_StatusBuilder(); + CoreUnifiedSearchProviderBuilder(); - CoreAutocompleteResult_Ocs_Data_StatusBuilder get _$this { + CoreUnifiedSearchProviderBuilder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _builtListJsonObject = $v.builtListJsonObject?.toBuilder(); - _string = $v.string; + _id = $v.id; + _name = $v.name; + _order = $v.order; _$v = null; } return this; } @override - void replace(CoreAutocompleteResult_Ocs_Data_Status other) { + void replace(CoreUnifiedSearchProvider other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAutocompleteResult_Ocs_Data_Status; + _$v = other as _$CoreUnifiedSearchProvider; } @override - void update(void Function(CoreAutocompleteResult_Ocs_Data_StatusBuilder)? updates) { + void update(void Function(CoreUnifiedSearchProviderBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAutocompleteResult_Ocs_Data_Status build() => _build(); + CoreUnifiedSearchProvider build() => _build(); - _$CoreAutocompleteResult_Ocs_Data_Status _build() { - _$CoreAutocompleteResult_Ocs_Data_Status _$result; - try { - _$result = _$v ?? - _$CoreAutocompleteResult_Ocs_Data_Status._( - data: BuiltValueNullFieldError.checkNotNull(data, r'CoreAutocompleteResult_Ocs_Data_Status', 'data'), - builtListJsonObject: _builtListJsonObject?.build(), - string: string); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'builtListJsonObject'; - _builtListJsonObject?.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'CoreAutocompleteResult_Ocs_Data_Status', _$failedField, e.toString()); - } - rethrow; - } + _$CoreUnifiedSearchProvider _build() { + final _$result = _$v ?? + _$CoreUnifiedSearchProvider._( + id: BuiltValueNullFieldError.checkNotNull(id, r'CoreUnifiedSearchProvider', 'id'), + name: BuiltValueNullFieldError.checkNotNull(name, r'CoreUnifiedSearchProvider', 'name'), + order: BuiltValueNullFieldError.checkNotNull(order, r'CoreUnifiedSearchProvider', 'order')); replace(_$result); return _$result; } } -class _$CoreAutocompleteResult_Ocs_Data extends CoreAutocompleteResult_Ocs_Data { - @override - final String id; - @override - final String label; - @override - final String icon; +class _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs + extends CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs { @override - final String source; - @override - final CoreAutocompleteResult_Ocs_Data_Status status; - @override - final String subline; + final CoreOCSMeta meta; @override - final String shareWithDisplayNameUnique; + final BuiltList data; - factory _$CoreAutocompleteResult_Ocs_Data([void Function(CoreAutocompleteResult_Ocs_DataBuilder)? updates]) => - (CoreAutocompleteResult_Ocs_DataBuilder()..update(updates))._build(); + factory _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs( + [void Function(CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreAutocompleteResult_Ocs_Data._( - {required this.id, - required this.label, - required this.icon, - required this.source, - required this.status, - required this.subline, - required this.shareWithDisplayNameUnique}) + _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'CoreAutocompleteResult_Ocs_Data', 'id'); - BuiltValueNullFieldError.checkNotNull(label, r'CoreAutocompleteResult_Ocs_Data', 'label'); - BuiltValueNullFieldError.checkNotNull(icon, r'CoreAutocompleteResult_Ocs_Data', 'icon'); - BuiltValueNullFieldError.checkNotNull(source, r'CoreAutocompleteResult_Ocs_Data', 'source'); - BuiltValueNullFieldError.checkNotNull(status, r'CoreAutocompleteResult_Ocs_Data', 'status'); - BuiltValueNullFieldError.checkNotNull(subline, r'CoreAutocompleteResult_Ocs_Data', 'subline'); - BuiltValueNullFieldError.checkNotNull( - shareWithDisplayNameUnique, r'CoreAutocompleteResult_Ocs_Data', 'shareWithDisplayNameUnique'); + BuiltValueNullFieldError.checkNotNull(meta, r'CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs', 'data'); } @override - CoreAutocompleteResult_Ocs_Data rebuild(void Function(CoreAutocompleteResult_Ocs_DataBuilder) updates) => + CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs rebuild( + void Function(CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAutocompleteResult_Ocs_DataBuilder toBuilder() => CoreAutocompleteResult_Ocs_DataBuilder()..replace(this); + CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAutocompleteResult_Ocs_Data && - id == other.id && - label == other.label && - icon == other.icon && - source == other.source && - status == other.status && - subline == other.subline && - shareWithDisplayNameUnique == other.shareWithDisplayNameUnique; + return other is CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, label.hashCode); - _$hash = $jc(_$hash, icon.hashCode); - _$hash = $jc(_$hash, source.hashCode); - _$hash = $jc(_$hash, status.hashCode); - _$hash = $jc(_$hash, subline.hashCode); - _$hash = $jc(_$hash, shareWithDisplayNameUnique.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreAutocompleteResult_Ocs_Data') - ..add('id', id) - ..add('label', label) - ..add('icon', icon) - ..add('source', source) - ..add('status', status) - ..add('subline', subline) - ..add('shareWithDisplayNameUnique', shareWithDisplayNameUnique)) + return (newBuiltValueToStringHelper(r'CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreAutocompleteResult_Ocs_DataBuilder - implements Builder { - _$CoreAutocompleteResult_Ocs_Data? _$v; - - String? _id; - String? get id => _$this._id; - set id(String? id) => _$this._id = id; - - String? _label; - String? get label => _$this._label; - set label(String? label) => _$this._label = label; - - String? _icon; - String? get icon => _$this._icon; - set icon(String? icon) => _$this._icon = icon; - - String? _source; - String? get source => _$this._source; - set source(String? source) => _$this._source = source; - - CoreAutocompleteResult_Ocs_Data_StatusBuilder? _status; - CoreAutocompleteResult_Ocs_Data_StatusBuilder get status => - _$this._status ??= CoreAutocompleteResult_Ocs_Data_StatusBuilder(); - set status(CoreAutocompleteResult_Ocs_Data_StatusBuilder? status) => _$this._status = status; +class CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs? _$v; - String? _subline; - String? get subline => _$this._subline; - set subline(String? subline) => _$this._subline = subline; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - String? _shareWithDisplayNameUnique; - String? get shareWithDisplayNameUnique => _$this._shareWithDisplayNameUnique; - set shareWithDisplayNameUnique(String? shareWithDisplayNameUnique) => - _$this._shareWithDisplayNameUnique = shareWithDisplayNameUnique; + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; - CoreAutocompleteResult_Ocs_DataBuilder(); + CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsBuilder(); - CoreAutocompleteResult_Ocs_DataBuilder get _$this { + CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _label = $v.label; - _icon = $v.icon; - _source = $v.source; - _status = $v.status.toBuilder(); - _subline = $v.subline; - _shareWithDisplayNameUnique = $v.shareWithDisplayNameUnique; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreAutocompleteResult_Ocs_Data other) { + void replace(CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAutocompleteResult_Ocs_Data; + _$v = other as _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreAutocompleteResult_Ocs_DataBuilder)? updates) { + void update(void Function(CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAutocompleteResult_Ocs_Data build() => _build(); + CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs build() => _build(); - _$CoreAutocompleteResult_Ocs_Data _build() { - _$CoreAutocompleteResult_Ocs_Data _$result; + _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs _build() { + _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$CoreAutocompleteResult_Ocs_Data._( - id: BuiltValueNullFieldError.checkNotNull(id, r'CoreAutocompleteResult_Ocs_Data', 'id'), - label: BuiltValueNullFieldError.checkNotNull(label, r'CoreAutocompleteResult_Ocs_Data', 'label'), - icon: BuiltValueNullFieldError.checkNotNull(icon, r'CoreAutocompleteResult_Ocs_Data', 'icon'), - source: BuiltValueNullFieldError.checkNotNull(source, r'CoreAutocompleteResult_Ocs_Data', 'source'), - status: status.build(), - subline: BuiltValueNullFieldError.checkNotNull(subline, r'CoreAutocompleteResult_Ocs_Data', 'subline'), - shareWithDisplayNameUnique: BuiltValueNullFieldError.checkNotNull( - shareWithDisplayNameUnique, r'CoreAutocompleteResult_Ocs_Data', 'shareWithDisplayNameUnique')); + _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'status'; - status.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreAutocompleteResult_Ocs_Data', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -12122,103 +16728,97 @@ class CoreAutocompleteResult_Ocs_DataBuilder } } -class _$CoreAutocompleteResult_Ocs extends CoreAutocompleteResult_Ocs { - @override - final CoreOCSMeta meta; +class _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson + extends CoreUnifiedSearchGetProvidersResponse200ApplicationJson { @override - final BuiltList data; + final CoreUnifiedSearchGetProvidersResponse200ApplicationJson_Ocs ocs; - factory _$CoreAutocompleteResult_Ocs([void Function(CoreAutocompleteResult_OcsBuilder)? updates]) => - (CoreAutocompleteResult_OcsBuilder()..update(updates))._build(); + factory _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson( + [void Function(CoreUnifiedSearchGetProvidersResponse200ApplicationJsonBuilder)? updates]) => + (CoreUnifiedSearchGetProvidersResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreAutocompleteResult_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'CoreAutocompleteResult_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'CoreAutocompleteResult_Ocs', 'data'); + _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreUnifiedSearchGetProvidersResponse200ApplicationJson', 'ocs'); } @override - CoreAutocompleteResult_Ocs rebuild(void Function(CoreAutocompleteResult_OcsBuilder) updates) => + CoreUnifiedSearchGetProvidersResponse200ApplicationJson rebuild( + void Function(CoreUnifiedSearchGetProvidersResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAutocompleteResult_OcsBuilder toBuilder() => CoreAutocompleteResult_OcsBuilder()..replace(this); + CoreUnifiedSearchGetProvidersResponse200ApplicationJsonBuilder toBuilder() => + CoreUnifiedSearchGetProvidersResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAutocompleteResult_Ocs && meta == other.meta && data == other.data; + return other is CoreUnifiedSearchGetProvidersResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreAutocompleteResult_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreUnifiedSearchGetProvidersResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class CoreAutocompleteResult_OcsBuilder - implements Builder { - _$CoreAutocompleteResult_Ocs? _$v; - - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; +class CoreUnifiedSearchGetProvidersResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson? _$v; - ListBuilder? _data; - ListBuilder get data => - _$this._data ??= ListBuilder(); - set data(ListBuilder? data) => _$this._data = data; + CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsBuilder? _ocs; + CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreUnifiedSearchGetProvidersResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreAutocompleteResult_OcsBuilder(); + CoreUnifiedSearchGetProvidersResponse200ApplicationJsonBuilder(); - CoreAutocompleteResult_OcsBuilder get _$this { + CoreUnifiedSearchGetProvidersResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreAutocompleteResult_Ocs other) { + void replace(CoreUnifiedSearchGetProvidersResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAutocompleteResult_Ocs; + _$v = other as _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson; } @override - void update(void Function(CoreAutocompleteResult_OcsBuilder)? updates) { + void update(void Function(CoreUnifiedSearchGetProvidersResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAutocompleteResult_Ocs build() => _build(); + CoreUnifiedSearchGetProvidersResponse200ApplicationJson build() => _build(); - _$CoreAutocompleteResult_Ocs _build() { - _$CoreAutocompleteResult_Ocs _$result; + _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson _build() { + _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$CoreAutocompleteResult_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? _$CoreUnifiedSearchGetProvidersResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreAutocompleteResult_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreUnifiedSearchGetProvidersResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -12227,403 +16827,516 @@ class CoreAutocompleteResult_OcsBuilder } } -class _$CoreAutocompleteResult extends CoreAutocompleteResult { +class _$CoreUnifiedSearchSearchCursor extends CoreUnifiedSearchSearchCursor { + @override + final JsonObject data; + @override + final int? $int; @override - final CoreAutocompleteResult_Ocs ocs; + final String? string; - factory _$CoreAutocompleteResult([void Function(CoreAutocompleteResultBuilder)? updates]) => - (CoreAutocompleteResultBuilder()..update(updates))._build(); + factory _$CoreUnifiedSearchSearchCursor([void Function(CoreUnifiedSearchSearchCursorBuilder)? updates]) => + (CoreUnifiedSearchSearchCursorBuilder()..update(updates))._build(); - _$CoreAutocompleteResult._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreAutocompleteResult', 'ocs'); + _$CoreUnifiedSearchSearchCursor._({required this.data, this.$int, this.string}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'CoreUnifiedSearchSearchCursor', 'data'); } @override - CoreAutocompleteResult rebuild(void Function(CoreAutocompleteResultBuilder) updates) => + CoreUnifiedSearchSearchCursor rebuild(void Function(CoreUnifiedSearchSearchCursorBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreAutocompleteResultBuilder toBuilder() => CoreAutocompleteResultBuilder()..replace(this); + CoreUnifiedSearchSearchCursorBuilder toBuilder() => CoreUnifiedSearchSearchCursorBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreAutocompleteResult && ocs == other.ocs; + return other is CoreUnifiedSearchSearchCursor && data == other.data && $int == other.$int && string == other.string; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, $int.hashCode); + _$hash = $jc(_$hash, string.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreAutocompleteResult')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'CoreUnifiedSearchSearchCursor') + ..add('data', data) + ..add('\$int', $int) + ..add('string', string)) + .toString(); } } -class CoreAutocompleteResultBuilder implements Builder { - _$CoreAutocompleteResult? _$v; +class CoreUnifiedSearchSearchCursorBuilder + implements Builder { + _$CoreUnifiedSearchSearchCursor? _$v; - CoreAutocompleteResult_OcsBuilder? _ocs; - CoreAutocompleteResult_OcsBuilder get ocs => _$this._ocs ??= CoreAutocompleteResult_OcsBuilder(); - set ocs(CoreAutocompleteResult_OcsBuilder? ocs) => _$this._ocs = ocs; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; - CoreAutocompleteResultBuilder(); + int? _$int; + int? get $int => _$this._$int; + set $int(int? $int) => _$this._$int = $int; - CoreAutocompleteResultBuilder get _$this { + String? _string; + String? get string => _$this._string; + set string(String? string) => _$this._string = string; + + CoreUnifiedSearchSearchCursorBuilder(); + + CoreUnifiedSearchSearchCursorBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _data = $v.data; + _$int = $v.$int; + _string = $v.string; _$v = null; } return this; } @override - void replace(CoreAutocompleteResult other) { + void replace(CoreUnifiedSearchSearchCursor other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreAutocompleteResult; + _$v = other as _$CoreUnifiedSearchSearchCursor; } @override - void update(void Function(CoreAutocompleteResultBuilder)? updates) { + void update(void Function(CoreUnifiedSearchSearchCursorBuilder)? updates) { if (updates != null) updates(this); } @override - CoreAutocompleteResult build() => _build(); + CoreUnifiedSearchSearchCursor build() => _build(); - _$CoreAutocompleteResult _build() { - _$CoreAutocompleteResult _$result; - try { - _$result = _$v ?? _$CoreAutocompleteResult._(ocs: ocs.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'ocs'; - ocs.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'CoreAutocompleteResult', _$failedField, e.toString()); - } - rethrow; - } + _$CoreUnifiedSearchSearchCursor _build() { + final _$result = _$v ?? + _$CoreUnifiedSearchSearchCursor._( + data: BuiltValueNullFieldError.checkNotNull(data, r'CoreUnifiedSearchSearchCursor', 'data'), + $int: $int, + string: string); replace(_$result); return _$result; } } -class _$CoreUnifiedSearchProvider extends CoreUnifiedSearchProvider { +class _$CoreUnifiedSearchResultEntry extends CoreUnifiedSearchResultEntry { @override - final String id; + final String thumbnailUrl; @override - final String name; + final String title; @override - final int order; + final String subline; + @override + final String resourceUrl; + @override + final String icon; + @override + final bool rounded; + @override + final BuiltList attributes; - factory _$CoreUnifiedSearchProvider([void Function(CoreUnifiedSearchProviderBuilder)? updates]) => - (CoreUnifiedSearchProviderBuilder()..update(updates))._build(); + factory _$CoreUnifiedSearchResultEntry([void Function(CoreUnifiedSearchResultEntryBuilder)? updates]) => + (CoreUnifiedSearchResultEntryBuilder()..update(updates))._build(); - _$CoreUnifiedSearchProvider._({required this.id, required this.name, required this.order}) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'CoreUnifiedSearchProvider', 'id'); - BuiltValueNullFieldError.checkNotNull(name, r'CoreUnifiedSearchProvider', 'name'); - BuiltValueNullFieldError.checkNotNull(order, r'CoreUnifiedSearchProvider', 'order'); + _$CoreUnifiedSearchResultEntry._( + {required this.thumbnailUrl, + required this.title, + required this.subline, + required this.resourceUrl, + required this.icon, + required this.rounded, + required this.attributes}) + : super._() { + BuiltValueNullFieldError.checkNotNull(thumbnailUrl, r'CoreUnifiedSearchResultEntry', 'thumbnailUrl'); + BuiltValueNullFieldError.checkNotNull(title, r'CoreUnifiedSearchResultEntry', 'title'); + BuiltValueNullFieldError.checkNotNull(subline, r'CoreUnifiedSearchResultEntry', 'subline'); + BuiltValueNullFieldError.checkNotNull(resourceUrl, r'CoreUnifiedSearchResultEntry', 'resourceUrl'); + BuiltValueNullFieldError.checkNotNull(icon, r'CoreUnifiedSearchResultEntry', 'icon'); + BuiltValueNullFieldError.checkNotNull(rounded, r'CoreUnifiedSearchResultEntry', 'rounded'); + BuiltValueNullFieldError.checkNotNull(attributes, r'CoreUnifiedSearchResultEntry', 'attributes'); } @override - CoreUnifiedSearchProvider rebuild(void Function(CoreUnifiedSearchProviderBuilder) updates) => + CoreUnifiedSearchResultEntry rebuild(void Function(CoreUnifiedSearchResultEntryBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreUnifiedSearchProviderBuilder toBuilder() => CoreUnifiedSearchProviderBuilder()..replace(this); + CoreUnifiedSearchResultEntryBuilder toBuilder() => CoreUnifiedSearchResultEntryBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreUnifiedSearchProvider && id == other.id && name == other.name && order == other.order; + return other is CoreUnifiedSearchResultEntry && + thumbnailUrl == other.thumbnailUrl && + title == other.title && + subline == other.subline && + resourceUrl == other.resourceUrl && + icon == other.icon && + rounded == other.rounded && + attributes == other.attributes; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, order.hashCode); + _$hash = $jc(_$hash, thumbnailUrl.hashCode); + _$hash = $jc(_$hash, title.hashCode); + _$hash = $jc(_$hash, subline.hashCode); + _$hash = $jc(_$hash, resourceUrl.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, rounded.hashCode); + _$hash = $jc(_$hash, attributes.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreUnifiedSearchProvider') - ..add('id', id) - ..add('name', name) - ..add('order', order)) + return (newBuiltValueToStringHelper(r'CoreUnifiedSearchResultEntry') + ..add('thumbnailUrl', thumbnailUrl) + ..add('title', title) + ..add('subline', subline) + ..add('resourceUrl', resourceUrl) + ..add('icon', icon) + ..add('rounded', rounded) + ..add('attributes', attributes)) .toString(); } } -class CoreUnifiedSearchProviderBuilder implements Builder { - _$CoreUnifiedSearchProvider? _$v; +class CoreUnifiedSearchResultEntryBuilder + implements Builder { + _$CoreUnifiedSearchResultEntry? _$v; - String? _id; - String? get id => _$this._id; - set id(String? id) => _$this._id = id; + String? _thumbnailUrl; + String? get thumbnailUrl => _$this._thumbnailUrl; + set thumbnailUrl(String? thumbnailUrl) => _$this._thumbnailUrl = thumbnailUrl; - String? _name; - String? get name => _$this._name; - set name(String? name) => _$this._name = name; + String? _title; + String? get title => _$this._title; + set title(String? title) => _$this._title = title; - int? _order; - int? get order => _$this._order; - set order(int? order) => _$this._order = order; + String? _subline; + String? get subline => _$this._subline; + set subline(String? subline) => _$this._subline = subline; - CoreUnifiedSearchProviderBuilder(); + String? _resourceUrl; + String? get resourceUrl => _$this._resourceUrl; + set resourceUrl(String? resourceUrl) => _$this._resourceUrl = resourceUrl; - CoreUnifiedSearchProviderBuilder get _$this { + String? _icon; + String? get icon => _$this._icon; + set icon(String? icon) => _$this._icon = icon; + + bool? _rounded; + bool? get rounded => _$this._rounded; + set rounded(bool? rounded) => _$this._rounded = rounded; + + ListBuilder? _attributes; + ListBuilder get attributes => _$this._attributes ??= ListBuilder(); + set attributes(ListBuilder? attributes) => _$this._attributes = attributes; + + CoreUnifiedSearchResultEntryBuilder(); + + CoreUnifiedSearchResultEntryBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _name = $v.name; - _order = $v.order; + _thumbnailUrl = $v.thumbnailUrl; + _title = $v.title; + _subline = $v.subline; + _resourceUrl = $v.resourceUrl; + _icon = $v.icon; + _rounded = $v.rounded; + _attributes = $v.attributes.toBuilder(); _$v = null; } return this; } @override - void replace(CoreUnifiedSearchProvider other) { + void replace(CoreUnifiedSearchResultEntry other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreUnifiedSearchProvider; + _$v = other as _$CoreUnifiedSearchResultEntry; } @override - void update(void Function(CoreUnifiedSearchProviderBuilder)? updates) { + void update(void Function(CoreUnifiedSearchResultEntryBuilder)? updates) { if (updates != null) updates(this); } @override - CoreUnifiedSearchProvider build() => _build(); + CoreUnifiedSearchResultEntry build() => _build(); - _$CoreUnifiedSearchProvider _build() { - final _$result = _$v ?? - _$CoreUnifiedSearchProvider._( - id: BuiltValueNullFieldError.checkNotNull(id, r'CoreUnifiedSearchProvider', 'id'), - name: BuiltValueNullFieldError.checkNotNull(name, r'CoreUnifiedSearchProvider', 'name'), - order: BuiltValueNullFieldError.checkNotNull(order, r'CoreUnifiedSearchProvider', 'order')); + _$CoreUnifiedSearchResultEntry _build() { + _$CoreUnifiedSearchResultEntry _$result; + try { + _$result = _$v ?? + _$CoreUnifiedSearchResultEntry._( + thumbnailUrl: + BuiltValueNullFieldError.checkNotNull(thumbnailUrl, r'CoreUnifiedSearchResultEntry', 'thumbnailUrl'), + title: BuiltValueNullFieldError.checkNotNull(title, r'CoreUnifiedSearchResultEntry', 'title'), + subline: BuiltValueNullFieldError.checkNotNull(subline, r'CoreUnifiedSearchResultEntry', 'subline'), + resourceUrl: + BuiltValueNullFieldError.checkNotNull(resourceUrl, r'CoreUnifiedSearchResultEntry', 'resourceUrl'), + icon: BuiltValueNullFieldError.checkNotNull(icon, r'CoreUnifiedSearchResultEntry', 'icon'), + rounded: BuiltValueNullFieldError.checkNotNull(rounded, r'CoreUnifiedSearchResultEntry', 'rounded'), + attributes: attributes.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'attributes'; + attributes.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'CoreUnifiedSearchResultEntry', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs - extends CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs { +class _$CoreUnifiedSearchResult_Cursor extends CoreUnifiedSearchResult_Cursor { @override - final CoreOCSMeta meta; + final JsonObject data; @override - final BuiltList data; + final int? $int; + @override + final String? string; - factory _$CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs( - [void Function(CoreUnifiedSearchProvidersResponse200ApplicationJson_OcsBuilder)? updates]) => - (CoreUnifiedSearchProvidersResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreUnifiedSearchResult_Cursor([void Function(CoreUnifiedSearchResult_CursorBuilder)? updates]) => + (CoreUnifiedSearchResult_CursorBuilder()..update(updates))._build(); - _$CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs', 'data'); + _$CoreUnifiedSearchResult_Cursor._({required this.data, this.$int, this.string}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'CoreUnifiedSearchResult_Cursor', 'data'); } @override - CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs rebuild( - void Function(CoreUnifiedSearchProvidersResponse200ApplicationJson_OcsBuilder) updates) => + CoreUnifiedSearchResult_Cursor rebuild(void Function(CoreUnifiedSearchResult_CursorBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreUnifiedSearchProvidersResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreUnifiedSearchProvidersResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreUnifiedSearchResult_CursorBuilder toBuilder() => CoreUnifiedSearchResult_CursorBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs && - meta == other.meta && - data == other.data; + return other is CoreUnifiedSearchResult_Cursor && + data == other.data && + $int == other.$int && + string == other.string; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, $int.hashCode); + _$hash = $jc(_$hash, string.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'CoreUnifiedSearchResult_Cursor') + ..add('data', data) + ..add('\$int', $int) + ..add('string', string)) .toString(); } } -class CoreUnifiedSearchProvidersResponse200ApplicationJson_OcsBuilder - implements - Builder { - _$CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs? _$v; +class CoreUnifiedSearchResult_CursorBuilder + implements Builder { + _$CoreUnifiedSearchResult_Cursor? _$v; - CoreOCSMetaBuilder? _meta; - CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); - set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + int? _$int; + int? get $int => _$this._$int; + set $int(int? $int) => _$this._$int = $int; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(ListBuilder? data) => _$this._data = data; + String? _string; + String? get string => _$this._string; + set string(String? string) => _$this._string = string; - CoreUnifiedSearchProvidersResponse200ApplicationJson_OcsBuilder(); + CoreUnifiedSearchResult_CursorBuilder(); - CoreUnifiedSearchProvidersResponse200ApplicationJson_OcsBuilder get _$this { + CoreUnifiedSearchResult_CursorBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _data = $v.data; + _$int = $v.$int; + _string = $v.string; _$v = null; } return this; } @override - void replace(CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs other) { + void replace(CoreUnifiedSearchResult_Cursor other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs; + _$v = other as _$CoreUnifiedSearchResult_Cursor; } @override - void update(void Function(CoreUnifiedSearchProvidersResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreUnifiedSearchResult_CursorBuilder)? updates) { if (updates != null) updates(this); } @override - CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs build() => _build(); + CoreUnifiedSearchResult_Cursor build() => _build(); - _$CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs _build() { - _$CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs _$result; - try { - _$result = - _$v ?? _$CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$CoreUnifiedSearchResult_Cursor _build() { + final _$result = _$v ?? + _$CoreUnifiedSearchResult_Cursor._( + data: BuiltValueNullFieldError.checkNotNull(data, r'CoreUnifiedSearchResult_Cursor', 'data'), + $int: $int, + string: string); replace(_$result); return _$result; } } -class _$CoreUnifiedSearchProvidersResponse200ApplicationJson - extends CoreUnifiedSearchProvidersResponse200ApplicationJson { +class _$CoreUnifiedSearchResult extends CoreUnifiedSearchResult { + @override + final String name; + @override + final bool isPaginated; + @override + final BuiltList entries; @override - final CoreUnifiedSearchProvidersResponse200ApplicationJson_Ocs ocs; + final CoreUnifiedSearchResult_Cursor? cursor; - factory _$CoreUnifiedSearchProvidersResponse200ApplicationJson( - [void Function(CoreUnifiedSearchProvidersResponse200ApplicationJsonBuilder)? updates]) => - (CoreUnifiedSearchProvidersResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreUnifiedSearchResult([void Function(CoreUnifiedSearchResultBuilder)? updates]) => + (CoreUnifiedSearchResultBuilder()..update(updates))._build(); - _$CoreUnifiedSearchProvidersResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreUnifiedSearchProvidersResponse200ApplicationJson', 'ocs'); + _$CoreUnifiedSearchResult._({required this.name, required this.isPaginated, required this.entries, this.cursor}) + : super._() { + BuiltValueNullFieldError.checkNotNull(name, r'CoreUnifiedSearchResult', 'name'); + BuiltValueNullFieldError.checkNotNull(isPaginated, r'CoreUnifiedSearchResult', 'isPaginated'); + BuiltValueNullFieldError.checkNotNull(entries, r'CoreUnifiedSearchResult', 'entries'); } @override - CoreUnifiedSearchProvidersResponse200ApplicationJson rebuild( - void Function(CoreUnifiedSearchProvidersResponse200ApplicationJsonBuilder) updates) => + CoreUnifiedSearchResult rebuild(void Function(CoreUnifiedSearchResultBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreUnifiedSearchProvidersResponse200ApplicationJsonBuilder toBuilder() => - CoreUnifiedSearchProvidersResponse200ApplicationJsonBuilder()..replace(this); + CoreUnifiedSearchResultBuilder toBuilder() => CoreUnifiedSearchResultBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreUnifiedSearchProvidersResponse200ApplicationJson && ocs == other.ocs; + return other is CoreUnifiedSearchResult && + name == other.name && + isPaginated == other.isPaginated && + entries == other.entries && + cursor == other.cursor; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, isPaginated.hashCode); + _$hash = $jc(_$hash, entries.hashCode); + _$hash = $jc(_$hash, cursor.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreUnifiedSearchProvidersResponse200ApplicationJson')..add('ocs', ocs)) + return (newBuiltValueToStringHelper(r'CoreUnifiedSearchResult') + ..add('name', name) + ..add('isPaginated', isPaginated) + ..add('entries', entries) + ..add('cursor', cursor)) .toString(); } } -class CoreUnifiedSearchProvidersResponse200ApplicationJsonBuilder - implements - Builder { - _$CoreUnifiedSearchProvidersResponse200ApplicationJson? _$v; +class CoreUnifiedSearchResultBuilder implements Builder { + _$CoreUnifiedSearchResult? _$v; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + bool? _isPaginated; + bool? get isPaginated => _$this._isPaginated; + set isPaginated(bool? isPaginated) => _$this._isPaginated = isPaginated; + + ListBuilder? _entries; + ListBuilder get entries => + _$this._entries ??= ListBuilder(); + set entries(ListBuilder? entries) => _$this._entries = entries; - CoreUnifiedSearchProvidersResponse200ApplicationJson_OcsBuilder? _ocs; - CoreUnifiedSearchProvidersResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreUnifiedSearchProvidersResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreUnifiedSearchProvidersResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreUnifiedSearchResult_CursorBuilder? _cursor; + CoreUnifiedSearchResult_CursorBuilder get cursor => _$this._cursor ??= CoreUnifiedSearchResult_CursorBuilder(); + set cursor(CoreUnifiedSearchResult_CursorBuilder? cursor) => _$this._cursor = cursor; - CoreUnifiedSearchProvidersResponse200ApplicationJsonBuilder(); + CoreUnifiedSearchResultBuilder(); - CoreUnifiedSearchProvidersResponse200ApplicationJsonBuilder get _$this { + CoreUnifiedSearchResultBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _name = $v.name; + _isPaginated = $v.isPaginated; + _entries = $v.entries.toBuilder(); + _cursor = $v.cursor?.toBuilder(); _$v = null; } return this; } @override - void replace(CoreUnifiedSearchProvidersResponse200ApplicationJson other) { + void replace(CoreUnifiedSearchResult other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreUnifiedSearchProvidersResponse200ApplicationJson; + _$v = other as _$CoreUnifiedSearchResult; } @override - void update(void Function(CoreUnifiedSearchProvidersResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreUnifiedSearchResultBuilder)? updates) { if (updates != null) updates(this); } @override - CoreUnifiedSearchProvidersResponse200ApplicationJson build() => _build(); + CoreUnifiedSearchResult build() => _build(); - _$CoreUnifiedSearchProvidersResponse200ApplicationJson _build() { - _$CoreUnifiedSearchProvidersResponse200ApplicationJson _$result; + _$CoreUnifiedSearchResult _build() { + _$CoreUnifiedSearchResult _$result; try { - _$result = _$v ?? _$CoreUnifiedSearchProvidersResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? + _$CoreUnifiedSearchResult._( + name: BuiltValueNullFieldError.checkNotNull(name, r'CoreUnifiedSearchResult', 'name'), + isPaginated: + BuiltValueNullFieldError.checkNotNull(isPaginated, r'CoreUnifiedSearchResult', 'isPaginated'), + entries: entries.build(), + cursor: _cursor?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'entries'; + entries.build(); + _$failedField = 'cursor'; + _cursor?.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreUnifiedSearchProvidersResponse200ApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'CoreUnifiedSearchResult', _$failedField, e.toString()); } rethrow; } @@ -12632,276 +17345,208 @@ class CoreUnifiedSearchProvidersResponse200ApplicationJsonBuilder } } -class _$CoreUnifiedSearchCursor extends CoreUnifiedSearchCursor { - @override - final JsonObject data; +class _$CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs + extends CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs { @override - final int? $int; + final CoreOCSMeta meta; @override - final String? string; + final CoreUnifiedSearchResult data; - factory _$CoreUnifiedSearchCursor([void Function(CoreUnifiedSearchCursorBuilder)? updates]) => - (CoreUnifiedSearchCursorBuilder()..update(updates))._build(); + factory _$CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs( + [void Function(CoreUnifiedSearchSearchResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreUnifiedSearchSearchResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreUnifiedSearchCursor._({required this.data, this.$int, this.string}) : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'CoreUnifiedSearchCursor', 'data'); + _$CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs', 'data'); } @override - CoreUnifiedSearchCursor rebuild(void Function(CoreUnifiedSearchCursorBuilder) updates) => + CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs rebuild( + void Function(CoreUnifiedSearchSearchResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreUnifiedSearchCursorBuilder toBuilder() => CoreUnifiedSearchCursorBuilder()..replace(this); + CoreUnifiedSearchSearchResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreUnifiedSearchSearchResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreUnifiedSearchCursor && data == other.data && $int == other.$int && string == other.string; + return other is CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; } @override int get hashCode { var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); _$hash = $jc(_$hash, data.hashCode); - _$hash = $jc(_$hash, $int.hashCode); - _$hash = $jc(_$hash, string.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreUnifiedSearchCursor') - ..add('data', data) - ..add('\$int', $int) - ..add('string', string)) + return (newBuiltValueToStringHelper(r'CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class CoreUnifiedSearchCursorBuilder implements Builder { - _$CoreUnifiedSearchCursor? _$v; - - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(JsonObject? data) => _$this._data = data; +class CoreUnifiedSearchSearchResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs? _$v; - int? _$int; - int? get $int => _$this._$int; - set $int(int? $int) => _$this._$int = $int; + CoreOCSMetaBuilder? _meta; + CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); + set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - String? _string; - String? get string => _$this._string; - set string(String? string) => _$this._string = string; + CoreUnifiedSearchResultBuilder? _data; + CoreUnifiedSearchResultBuilder get data => _$this._data ??= CoreUnifiedSearchResultBuilder(); + set data(CoreUnifiedSearchResultBuilder? data) => _$this._data = data; - CoreUnifiedSearchCursorBuilder(); + CoreUnifiedSearchSearchResponse200ApplicationJson_OcsBuilder(); - CoreUnifiedSearchCursorBuilder get _$this { + CoreUnifiedSearchSearchResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _$int = $v.$int; - _string = $v.string; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(CoreUnifiedSearchCursor other) { + void replace(CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreUnifiedSearchCursor; + _$v = other as _$CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreUnifiedSearchCursorBuilder)? updates) { + void update(void Function(CoreUnifiedSearchSearchResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreUnifiedSearchCursor build() => _build(); + CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs build() => _build(); - _$CoreUnifiedSearchCursor _build() { - final _$result = _$v ?? - _$CoreUnifiedSearchCursor._( - data: BuiltValueNullFieldError.checkNotNull(data, r'CoreUnifiedSearchCursor', 'data'), - $int: $int, - string: string); + _$CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs _build() { + _$CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreUnifiedSearchResultEntry extends CoreUnifiedSearchResultEntry { - @override - final String thumbnailUrl; - @override - final String title; - @override - final String subline; - @override - final String resourceUrl; - @override - final String icon; - @override - final bool rounded; +class _$CoreUnifiedSearchSearchResponse200ApplicationJson extends CoreUnifiedSearchSearchResponse200ApplicationJson { @override - final BuiltList attributes; + final CoreUnifiedSearchSearchResponse200ApplicationJson_Ocs ocs; - factory _$CoreUnifiedSearchResultEntry([void Function(CoreUnifiedSearchResultEntryBuilder)? updates]) => - (CoreUnifiedSearchResultEntryBuilder()..update(updates))._build(); + factory _$CoreUnifiedSearchSearchResponse200ApplicationJson( + [void Function(CoreUnifiedSearchSearchResponse200ApplicationJsonBuilder)? updates]) => + (CoreUnifiedSearchSearchResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreUnifiedSearchResultEntry._( - {required this.thumbnailUrl, - required this.title, - required this.subline, - required this.resourceUrl, - required this.icon, - required this.rounded, - required this.attributes}) - : super._() { - BuiltValueNullFieldError.checkNotNull(thumbnailUrl, r'CoreUnifiedSearchResultEntry', 'thumbnailUrl'); - BuiltValueNullFieldError.checkNotNull(title, r'CoreUnifiedSearchResultEntry', 'title'); - BuiltValueNullFieldError.checkNotNull(subline, r'CoreUnifiedSearchResultEntry', 'subline'); - BuiltValueNullFieldError.checkNotNull(resourceUrl, r'CoreUnifiedSearchResultEntry', 'resourceUrl'); - BuiltValueNullFieldError.checkNotNull(icon, r'CoreUnifiedSearchResultEntry', 'icon'); - BuiltValueNullFieldError.checkNotNull(rounded, r'CoreUnifiedSearchResultEntry', 'rounded'); - BuiltValueNullFieldError.checkNotNull(attributes, r'CoreUnifiedSearchResultEntry', 'attributes'); + _$CoreUnifiedSearchSearchResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreUnifiedSearchSearchResponse200ApplicationJson', 'ocs'); } @override - CoreUnifiedSearchResultEntry rebuild(void Function(CoreUnifiedSearchResultEntryBuilder) updates) => + CoreUnifiedSearchSearchResponse200ApplicationJson rebuild( + void Function(CoreUnifiedSearchSearchResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreUnifiedSearchResultEntryBuilder toBuilder() => CoreUnifiedSearchResultEntryBuilder()..replace(this); + CoreUnifiedSearchSearchResponse200ApplicationJsonBuilder toBuilder() => + CoreUnifiedSearchSearchResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreUnifiedSearchResultEntry && - thumbnailUrl == other.thumbnailUrl && - title == other.title && - subline == other.subline && - resourceUrl == other.resourceUrl && - icon == other.icon && - rounded == other.rounded && - attributes == other.attributes; + return other is CoreUnifiedSearchSearchResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, thumbnailUrl.hashCode); - _$hash = $jc(_$hash, title.hashCode); - _$hash = $jc(_$hash, subline.hashCode); - _$hash = $jc(_$hash, resourceUrl.hashCode); - _$hash = $jc(_$hash, icon.hashCode); - _$hash = $jc(_$hash, rounded.hashCode); - _$hash = $jc(_$hash, attributes.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreUnifiedSearchResultEntry') - ..add('thumbnailUrl', thumbnailUrl) - ..add('title', title) - ..add('subline', subline) - ..add('resourceUrl', resourceUrl) - ..add('icon', icon) - ..add('rounded', rounded) - ..add('attributes', attributes)) + return (newBuiltValueToStringHelper(r'CoreUnifiedSearchSearchResponse200ApplicationJson')..add('ocs', ocs)) .toString(); - } -} - -class CoreUnifiedSearchResultEntryBuilder - implements Builder { - _$CoreUnifiedSearchResultEntry? _$v; - - String? _thumbnailUrl; - String? get thumbnailUrl => _$this._thumbnailUrl; - set thumbnailUrl(String? thumbnailUrl) => _$this._thumbnailUrl = thumbnailUrl; - - String? _title; - String? get title => _$this._title; - set title(String? title) => _$this._title = title; - - String? _subline; - String? get subline => _$this._subline; - set subline(String? subline) => _$this._subline = subline; - - String? _resourceUrl; - String? get resourceUrl => _$this._resourceUrl; - set resourceUrl(String? resourceUrl) => _$this._resourceUrl = resourceUrl; - - String? _icon; - String? get icon => _$this._icon; - set icon(String? icon) => _$this._icon = icon; + } +} - bool? _rounded; - bool? get rounded => _$this._rounded; - set rounded(bool? rounded) => _$this._rounded = rounded; +class CoreUnifiedSearchSearchResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreUnifiedSearchSearchResponse200ApplicationJson? _$v; - ListBuilder? _attributes; - ListBuilder get attributes => _$this._attributes ??= ListBuilder(); - set attributes(ListBuilder? attributes) => _$this._attributes = attributes; + CoreUnifiedSearchSearchResponse200ApplicationJson_OcsBuilder? _ocs; + CoreUnifiedSearchSearchResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreUnifiedSearchSearchResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreUnifiedSearchSearchResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreUnifiedSearchResultEntryBuilder(); + CoreUnifiedSearchSearchResponse200ApplicationJsonBuilder(); - CoreUnifiedSearchResultEntryBuilder get _$this { + CoreUnifiedSearchSearchResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _thumbnailUrl = $v.thumbnailUrl; - _title = $v.title; - _subline = $v.subline; - _resourceUrl = $v.resourceUrl; - _icon = $v.icon; - _rounded = $v.rounded; - _attributes = $v.attributes.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(CoreUnifiedSearchResultEntry other) { + void replace(CoreUnifiedSearchSearchResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreUnifiedSearchResultEntry; + _$v = other as _$CoreUnifiedSearchSearchResponse200ApplicationJson; } @override - void update(void Function(CoreUnifiedSearchResultEntryBuilder)? updates) { + void update(void Function(CoreUnifiedSearchSearchResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreUnifiedSearchResultEntry build() => _build(); + CoreUnifiedSearchSearchResponse200ApplicationJson build() => _build(); - _$CoreUnifiedSearchResultEntry _build() { - _$CoreUnifiedSearchResultEntry _$result; + _$CoreUnifiedSearchSearchResponse200ApplicationJson _build() { + _$CoreUnifiedSearchSearchResponse200ApplicationJson _$result; try { - _$result = _$v ?? - _$CoreUnifiedSearchResultEntry._( - thumbnailUrl: - BuiltValueNullFieldError.checkNotNull(thumbnailUrl, r'CoreUnifiedSearchResultEntry', 'thumbnailUrl'), - title: BuiltValueNullFieldError.checkNotNull(title, r'CoreUnifiedSearchResultEntry', 'title'), - subline: BuiltValueNullFieldError.checkNotNull(subline, r'CoreUnifiedSearchResultEntry', 'subline'), - resourceUrl: - BuiltValueNullFieldError.checkNotNull(resourceUrl, r'CoreUnifiedSearchResultEntry', 'resourceUrl'), - icon: BuiltValueNullFieldError.checkNotNull(icon, r'CoreUnifiedSearchResultEntry', 'icon'), - rounded: BuiltValueNullFieldError.checkNotNull(rounded, r'CoreUnifiedSearchResultEntry', 'rounded'), - attributes: attributes.build()); + _$result = _$v ?? _$CoreUnifiedSearchSearchResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'attributes'; - attributes.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreUnifiedSearchResultEntry', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreUnifiedSearchSearchResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -12910,237 +17555,260 @@ class CoreUnifiedSearchResultEntryBuilder } } -class _$CoreUnifiedSearchResult_Cursor extends CoreUnifiedSearchResult_Cursor { - @override - final JsonObject data; +class _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew + extends CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew { @override - final int? $int; + final BuiltList regular; @override - final String? string; + final BuiltList admin; - factory _$CoreUnifiedSearchResult_Cursor([void Function(CoreUnifiedSearchResult_CursorBuilder)? updates]) => - (CoreUnifiedSearchResult_CursorBuilder()..update(updates))._build(); + factory _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew( + [void Function(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewBuilder)? updates]) => + (CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewBuilder()..update(updates))._build(); - _$CoreUnifiedSearchResult_Cursor._({required this.data, this.$int, this.string}) : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'CoreUnifiedSearchResult_Cursor', 'data'); + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew._({required this.regular, required this.admin}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + regular, r'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew', 'regular'); + BuiltValueNullFieldError.checkNotNull( + admin, r'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew', 'admin'); } @override - CoreUnifiedSearchResult_Cursor rebuild(void Function(CoreUnifiedSearchResult_CursorBuilder) updates) => + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew rebuild( + void Function(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreUnifiedSearchResult_CursorBuilder toBuilder() => CoreUnifiedSearchResult_CursorBuilder()..replace(this); + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewBuilder toBuilder() => + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreUnifiedSearchResult_Cursor && - data == other.data && - $int == other.$int && - string == other.string; + return other is CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew && + regular == other.regular && + admin == other.admin; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, data.hashCode); - _$hash = $jc(_$hash, $int.hashCode); - _$hash = $jc(_$hash, string.hashCode); + _$hash = $jc(_$hash, regular.hashCode); + _$hash = $jc(_$hash, admin.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreUnifiedSearchResult_Cursor') - ..add('data', data) - ..add('\$int', $int) - ..add('string', string)) + return (newBuiltValueToStringHelper(r'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew') + ..add('regular', regular) + ..add('admin', admin)) .toString(); } } -class CoreUnifiedSearchResult_CursorBuilder - implements Builder { - _$CoreUnifiedSearchResult_Cursor? _$v; - - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(JsonObject? data) => _$this._data = data; +class CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewBuilder + implements + Builder { + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew? _$v; - int? _$int; - int? get $int => _$this._$int; - set $int(int? $int) => _$this._$int = $int; + ListBuilder? _regular; + ListBuilder get regular => _$this._regular ??= ListBuilder(); + set regular(ListBuilder? regular) => _$this._regular = regular; - String? _string; - String? get string => _$this._string; - set string(String? string) => _$this._string = string; + ListBuilder? _admin; + ListBuilder get admin => _$this._admin ??= ListBuilder(); + set admin(ListBuilder? admin) => _$this._admin = admin; - CoreUnifiedSearchResult_CursorBuilder(); + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewBuilder(); - CoreUnifiedSearchResult_CursorBuilder get _$this { + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewBuilder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _$int = $v.$int; - _string = $v.string; + _regular = $v.regular.toBuilder(); + _admin = $v.admin.toBuilder(); _$v = null; } return this; } @override - void replace(CoreUnifiedSearchResult_Cursor other) { + void replace(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreUnifiedSearchResult_Cursor; + _$v = other as _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew; } @override - void update(void Function(CoreUnifiedSearchResult_CursorBuilder)? updates) { + void update(void Function(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewBuilder)? updates) { if (updates != null) updates(this); } @override - CoreUnifiedSearchResult_Cursor build() => _build(); + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew build() => _build(); - _$CoreUnifiedSearchResult_Cursor _build() { - final _$result = _$v ?? - _$CoreUnifiedSearchResult_Cursor._( - data: BuiltValueNullFieldError.checkNotNull(data, r'CoreUnifiedSearchResult_Cursor', 'data'), - $int: $int, - string: string); + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew _build() { + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew _$result; + try { + _$result = _$v ?? + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew._( + regular: regular.build(), admin: admin.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'regular'; + regular.build(); + _$failedField = 'admin'; + admin.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$CoreUnifiedSearchResult extends CoreUnifiedSearchResult { +class _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data extends CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data { @override - final String name; + final String changelogURL; @override - final bool isPaginated; + final String product; @override - final BuiltList entries; + final String version; @override - final CoreUnifiedSearchResult_Cursor? cursor; + final CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNew? whatsNew; - factory _$CoreUnifiedSearchResult([void Function(CoreUnifiedSearchResultBuilder)? updates]) => - (CoreUnifiedSearchResultBuilder()..update(updates))._build(); + factory _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data( + [void Function(CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$CoreUnifiedSearchResult._({required this.name, required this.isPaginated, required this.entries, this.cursor}) + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data._( + {required this.changelogURL, required this.product, required this.version, this.whatsNew}) : super._() { - BuiltValueNullFieldError.checkNotNull(name, r'CoreUnifiedSearchResult', 'name'); - BuiltValueNullFieldError.checkNotNull(isPaginated, r'CoreUnifiedSearchResult', 'isPaginated'); - BuiltValueNullFieldError.checkNotNull(entries, r'CoreUnifiedSearchResult', 'entries'); + BuiltValueNullFieldError.checkNotNull( + changelogURL, r'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data', 'changelogURL'); + BuiltValueNullFieldError.checkNotNull(product, r'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data', 'product'); + BuiltValueNullFieldError.checkNotNull(version, r'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data', 'version'); } @override - CoreUnifiedSearchResult rebuild(void Function(CoreUnifiedSearchResultBuilder) updates) => + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data rebuild( + void Function(CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreUnifiedSearchResultBuilder toBuilder() => CoreUnifiedSearchResultBuilder()..replace(this); + CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreUnifiedSearchResult && - name == other.name && - isPaginated == other.isPaginated && - entries == other.entries && - cursor == other.cursor; + return other is CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data && + changelogURL == other.changelogURL && + product == other.product && + version == other.version && + whatsNew == other.whatsNew; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, name.hashCode); - _$hash = $jc(_$hash, isPaginated.hashCode); - _$hash = $jc(_$hash, entries.hashCode); - _$hash = $jc(_$hash, cursor.hashCode); + _$hash = $jc(_$hash, changelogURL.hashCode); + _$hash = $jc(_$hash, product.hashCode); + _$hash = $jc(_$hash, version.hashCode); + _$hash = $jc(_$hash, whatsNew.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'CoreUnifiedSearchResult') - ..add('name', name) - ..add('isPaginated', isPaginated) - ..add('entries', entries) - ..add('cursor', cursor)) + return (newBuiltValueToStringHelper(r'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data') + ..add('changelogURL', changelogURL) + ..add('product', product) + ..add('version', version) + ..add('whatsNew', whatsNew)) .toString(); } } -class CoreUnifiedSearchResultBuilder implements Builder { - _$CoreUnifiedSearchResult? _$v; +class CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data? _$v; - String? _name; - String? get name => _$this._name; - set name(String? name) => _$this._name = name; + String? _changelogURL; + String? get changelogURL => _$this._changelogURL; + set changelogURL(String? changelogURL) => _$this._changelogURL = changelogURL; - bool? _isPaginated; - bool? get isPaginated => _$this._isPaginated; - set isPaginated(bool? isPaginated) => _$this._isPaginated = isPaginated; + String? _product; + String? get product => _$this._product; + set product(String? product) => _$this._product = product; - ListBuilder? _entries; - ListBuilder get entries => - _$this._entries ??= ListBuilder(); - set entries(ListBuilder? entries) => _$this._entries = entries; + String? _version; + String? get version => _$this._version; + set version(String? version) => _$this._version = version; - CoreUnifiedSearchResult_CursorBuilder? _cursor; - CoreUnifiedSearchResult_CursorBuilder get cursor => _$this._cursor ??= CoreUnifiedSearchResult_CursorBuilder(); - set cursor(CoreUnifiedSearchResult_CursorBuilder? cursor) => _$this._cursor = cursor; + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewBuilder? _whatsNew; + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewBuilder get whatsNew => + _$this._whatsNew ??= CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewBuilder(); + set whatsNew(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data_WhatsNewBuilder? whatsNew) => + _$this._whatsNew = whatsNew; - CoreUnifiedSearchResultBuilder(); + CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataBuilder(); - CoreUnifiedSearchResultBuilder get _$this { + CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { - _name = $v.name; - _isPaginated = $v.isPaginated; - _entries = $v.entries.toBuilder(); - _cursor = $v.cursor?.toBuilder(); + _changelogURL = $v.changelogURL; + _product = $v.product; + _version = $v.version; + _whatsNew = $v.whatsNew?.toBuilder(); _$v = null; } return this; } @override - void replace(CoreUnifiedSearchResult other) { + void replace(CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreUnifiedSearchResult; + _$v = other as _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(CoreUnifiedSearchResultBuilder)? updates) { + void update(void Function(CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - CoreUnifiedSearchResult build() => _build(); + CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data build() => _build(); - _$CoreUnifiedSearchResult _build() { - _$CoreUnifiedSearchResult _$result; + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data _build() { + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data _$result; try { _$result = _$v ?? - _$CoreUnifiedSearchResult._( - name: BuiltValueNullFieldError.checkNotNull(name, r'CoreUnifiedSearchResult', 'name'), - isPaginated: - BuiltValueNullFieldError.checkNotNull(isPaginated, r'CoreUnifiedSearchResult', 'isPaginated'), - entries: entries.build(), - cursor: _cursor?.build()); + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data._( + changelogURL: BuiltValueNullFieldError.checkNotNull( + changelogURL, r'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data', 'changelogURL'), + product: BuiltValueNullFieldError.checkNotNull( + product, r'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data', 'product'), + version: BuiltValueNullFieldError.checkNotNull( + version, r'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data', 'version'), + whatsNew: _whatsNew?.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'entries'; - entries.build(); - _$failedField = 'cursor'; - _cursor?.build(); + _$failedField = 'whatsNew'; + _whatsNew?.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreUnifiedSearchResult', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreWhatsNewGetResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -13149,34 +17817,34 @@ class CoreUnifiedSearchResultBuilder implements Builder - (CoreUnifiedSearchResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + factory _$CoreWhatsNewGetResponse200ApplicationJson_Ocs( + [void Function(CoreWhatsNewGetResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreWhatsNewGetResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreUnifiedSearchResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'CoreUnifiedSearchResponse200ApplicationJson_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'CoreUnifiedSearchResponse200ApplicationJson_Ocs', 'data'); + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreWhatsNewGetResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreWhatsNewGetResponse200ApplicationJson_Ocs', 'data'); } @override - CoreUnifiedSearchResponse200ApplicationJson_Ocs rebuild( - void Function(CoreUnifiedSearchResponse200ApplicationJson_OcsBuilder) updates) => + CoreWhatsNewGetResponse200ApplicationJson_Ocs rebuild( + void Function(CoreWhatsNewGetResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreUnifiedSearchResponse200ApplicationJson_OcsBuilder toBuilder() => - CoreUnifiedSearchResponse200ApplicationJson_OcsBuilder()..replace(this); + CoreWhatsNewGetResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreWhatsNewGetResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreUnifiedSearchResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; + return other is CoreWhatsNewGetResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; } @override @@ -13190,30 +17858,30 @@ class _$CoreUnifiedSearchResponse200ApplicationJson_Ocs extends CoreUnifiedSearc @override String toString() { - return (newBuiltValueToStringHelper(r'CoreUnifiedSearchResponse200ApplicationJson_Ocs') + return (newBuiltValueToStringHelper(r'CoreWhatsNewGetResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CoreUnifiedSearchResponse200ApplicationJson_OcsBuilder +class CoreWhatsNewGetResponse200ApplicationJson_OcsBuilder implements - Builder { - _$CoreUnifiedSearchResponse200ApplicationJson_Ocs? _$v; + Builder { + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs? _$v; CoreOCSMetaBuilder? _meta; CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - CoreUnifiedSearchResultBuilder? _data; - CoreUnifiedSearchResultBuilder get data => _$this._data ??= CoreUnifiedSearchResultBuilder(); - set data(CoreUnifiedSearchResultBuilder? data) => _$this._data = data; + CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataBuilder? _data; + CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataBuilder(); + set data(CoreWhatsNewGetResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - CoreUnifiedSearchResponse200ApplicationJson_OcsBuilder(); + CoreWhatsNewGetResponse200ApplicationJson_OcsBuilder(); - CoreUnifiedSearchResponse200ApplicationJson_OcsBuilder get _$this { + CoreWhatsNewGetResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -13224,23 +17892,23 @@ class CoreUnifiedSearchResponse200ApplicationJson_OcsBuilder } @override - void replace(CoreUnifiedSearchResponse200ApplicationJson_Ocs other) { + void replace(CoreWhatsNewGetResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreUnifiedSearchResponse200ApplicationJson_Ocs; + _$v = other as _$CoreWhatsNewGetResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreUnifiedSearchResponse200ApplicationJson_OcsBuilder)? updates) { + void update(void Function(CoreWhatsNewGetResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreUnifiedSearchResponse200ApplicationJson_Ocs build() => _build(); + CoreWhatsNewGetResponse200ApplicationJson_Ocs build() => _build(); - _$CoreUnifiedSearchResponse200ApplicationJson_Ocs _build() { - _$CoreUnifiedSearchResponse200ApplicationJson_Ocs _$result; + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs _build() { + _$CoreWhatsNewGetResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$CoreUnifiedSearchResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? _$CoreWhatsNewGetResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -13249,8 +17917,7 @@ class CoreUnifiedSearchResponse200ApplicationJson_OcsBuilder _$failedField = 'data'; data.build(); } catch (e) { - throw BuiltValueNestedFieldError( - r'CoreUnifiedSearchResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'CoreWhatsNewGetResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -13259,31 +17926,31 @@ class CoreUnifiedSearchResponse200ApplicationJson_OcsBuilder } } -class _$CoreUnifiedSearchResponse200ApplicationJson extends CoreUnifiedSearchResponse200ApplicationJson { +class _$CoreWhatsNewGetResponse200ApplicationJson extends CoreWhatsNewGetResponse200ApplicationJson { @override - final CoreUnifiedSearchResponse200ApplicationJson_Ocs ocs; + final CoreWhatsNewGetResponse200ApplicationJson_Ocs ocs; - factory _$CoreUnifiedSearchResponse200ApplicationJson( - [void Function(CoreUnifiedSearchResponse200ApplicationJsonBuilder)? updates]) => - (CoreUnifiedSearchResponse200ApplicationJsonBuilder()..update(updates))._build(); + factory _$CoreWhatsNewGetResponse200ApplicationJson( + [void Function(CoreWhatsNewGetResponse200ApplicationJsonBuilder)? updates]) => + (CoreWhatsNewGetResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreUnifiedSearchResponse200ApplicationJson._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreUnifiedSearchResponse200ApplicationJson', 'ocs'); + _$CoreWhatsNewGetResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreWhatsNewGetResponse200ApplicationJson', 'ocs'); } @override - CoreUnifiedSearchResponse200ApplicationJson rebuild( - void Function(CoreUnifiedSearchResponse200ApplicationJsonBuilder) updates) => + CoreWhatsNewGetResponse200ApplicationJson rebuild( + void Function(CoreWhatsNewGetResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - CoreUnifiedSearchResponse200ApplicationJsonBuilder toBuilder() => - CoreUnifiedSearchResponse200ApplicationJsonBuilder()..replace(this); + CoreWhatsNewGetResponse200ApplicationJsonBuilder toBuilder() => + CoreWhatsNewGetResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreUnifiedSearchResponse200ApplicationJson && ocs == other.ocs; + return other is CoreWhatsNewGetResponse200ApplicationJson && ocs == other.ocs; } @override @@ -13296,23 +17963,22 @@ class _$CoreUnifiedSearchResponse200ApplicationJson extends CoreUnifiedSearchRes @override String toString() { - return (newBuiltValueToStringHelper(r'CoreUnifiedSearchResponse200ApplicationJson')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'CoreWhatsNewGetResponse200ApplicationJson')..add('ocs', ocs)).toString(); } } -class CoreUnifiedSearchResponse200ApplicationJsonBuilder - implements - Builder { - _$CoreUnifiedSearchResponse200ApplicationJson? _$v; +class CoreWhatsNewGetResponse200ApplicationJsonBuilder + implements Builder { + _$CoreWhatsNewGetResponse200ApplicationJson? _$v; - CoreUnifiedSearchResponse200ApplicationJson_OcsBuilder? _ocs; - CoreUnifiedSearchResponse200ApplicationJson_OcsBuilder get ocs => - _$this._ocs ??= CoreUnifiedSearchResponse200ApplicationJson_OcsBuilder(); - set ocs(CoreUnifiedSearchResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreWhatsNewGetResponse200ApplicationJson_OcsBuilder? _ocs; + CoreWhatsNewGetResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreWhatsNewGetResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreWhatsNewGetResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreUnifiedSearchResponse200ApplicationJsonBuilder(); + CoreWhatsNewGetResponse200ApplicationJsonBuilder(); - CoreUnifiedSearchResponse200ApplicationJsonBuilder get _$this { + CoreWhatsNewGetResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -13322,30 +17988,30 @@ class CoreUnifiedSearchResponse200ApplicationJsonBuilder } @override - void replace(CoreUnifiedSearchResponse200ApplicationJson other) { + void replace(CoreWhatsNewGetResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreUnifiedSearchResponse200ApplicationJson; + _$v = other as _$CoreWhatsNewGetResponse200ApplicationJson; } @override - void update(void Function(CoreUnifiedSearchResponse200ApplicationJsonBuilder)? updates) { + void update(void Function(CoreWhatsNewGetResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreUnifiedSearchResponse200ApplicationJson build() => _build(); + CoreWhatsNewGetResponse200ApplicationJson build() => _build(); - _$CoreUnifiedSearchResponse200ApplicationJson _build() { - _$CoreUnifiedSearchResponse200ApplicationJson _$result; + _$CoreWhatsNewGetResponse200ApplicationJson _build() { + _$CoreWhatsNewGetResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$CoreUnifiedSearchResponse200ApplicationJson._(ocs: ocs.build()); + _$result = _$v ?? _$CoreWhatsNewGetResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreUnifiedSearchResponse200ApplicationJson', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'CoreWhatsNewGetResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -13354,30 +18020,34 @@ class CoreUnifiedSearchResponse200ApplicationJsonBuilder } } -class _$CoreEmptyOCS_Ocs extends CoreEmptyOCS_Ocs { +class _$CoreWhatsNewDismissResponse200ApplicationJson_Ocs extends CoreWhatsNewDismissResponse200ApplicationJson_Ocs { @override final CoreOCSMeta meta; @override - final BuiltList data; + final JsonObject data; - factory _$CoreEmptyOCS_Ocs([void Function(CoreEmptyOCS_OcsBuilder)? updates]) => - (CoreEmptyOCS_OcsBuilder()..update(updates))._build(); + factory _$CoreWhatsNewDismissResponse200ApplicationJson_Ocs( + [void Function(CoreWhatsNewDismissResponse200ApplicationJson_OcsBuilder)? updates]) => + (CoreWhatsNewDismissResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$CoreEmptyOCS_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'CoreEmptyOCS_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'CoreEmptyOCS_Ocs', 'data'); + _$CoreWhatsNewDismissResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'CoreWhatsNewDismissResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'CoreWhatsNewDismissResponse200ApplicationJson_Ocs', 'data'); } @override - CoreEmptyOCS_Ocs rebuild(void Function(CoreEmptyOCS_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); + CoreWhatsNewDismissResponse200ApplicationJson_Ocs rebuild( + void Function(CoreWhatsNewDismissResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - CoreEmptyOCS_OcsBuilder toBuilder() => CoreEmptyOCS_OcsBuilder()..replace(this); + CoreWhatsNewDismissResponse200ApplicationJson_OcsBuilder toBuilder() => + CoreWhatsNewDismissResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreEmptyOCS_Ocs && meta == other.meta && data == other.data; + return other is CoreWhatsNewDismissResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; } @override @@ -13391,63 +18061,69 @@ class _$CoreEmptyOCS_Ocs extends CoreEmptyOCS_Ocs { @override String toString() { - return (newBuiltValueToStringHelper(r'CoreEmptyOCS_Ocs') + return (newBuiltValueToStringHelper(r'CoreWhatsNewDismissResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class CoreEmptyOCS_OcsBuilder implements Builder { - _$CoreEmptyOCS_Ocs? _$v; +class CoreWhatsNewDismissResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$CoreWhatsNewDismissResponse200ApplicationJson_Ocs? _$v; CoreOCSMetaBuilder? _meta; CoreOCSMetaBuilder get meta => _$this._meta ??= CoreOCSMetaBuilder(); set meta(CoreOCSMetaBuilder? meta) => _$this._meta = meta; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(ListBuilder? data) => _$this._data = data; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; - CoreEmptyOCS_OcsBuilder(); + CoreWhatsNewDismissResponse200ApplicationJson_OcsBuilder(); - CoreEmptyOCS_OcsBuilder get _$this { + CoreWhatsNewDismissResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _data = $v.data; _$v = null; } return this; } @override - void replace(CoreEmptyOCS_Ocs other) { + void replace(CoreWhatsNewDismissResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreEmptyOCS_Ocs; + _$v = other as _$CoreWhatsNewDismissResponse200ApplicationJson_Ocs; } @override - void update(void Function(CoreEmptyOCS_OcsBuilder)? updates) { + void update(void Function(CoreWhatsNewDismissResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - CoreEmptyOCS_Ocs build() => _build(); + CoreWhatsNewDismissResponse200ApplicationJson_Ocs build() => _build(); - _$CoreEmptyOCS_Ocs _build() { - _$CoreEmptyOCS_Ocs _$result; + _$CoreWhatsNewDismissResponse200ApplicationJson_Ocs _build() { + _$CoreWhatsNewDismissResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$CoreEmptyOCS_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + _$CoreWhatsNewDismissResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'CoreWhatsNewDismissResponse200ApplicationJson_Ocs', 'data')); } catch (_) { late String _$failedField; try { _$failedField = 'meta'; meta.build(); - _$failedField = 'data'; - data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreEmptyOCS_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'CoreWhatsNewDismissResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -13456,27 +18132,31 @@ class CoreEmptyOCS_OcsBuilder implements Builder - (CoreEmptyOCSBuilder()..update(updates))._build(); + factory _$CoreWhatsNewDismissResponse200ApplicationJson( + [void Function(CoreWhatsNewDismissResponse200ApplicationJsonBuilder)? updates]) => + (CoreWhatsNewDismissResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$CoreEmptyOCS._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'CoreEmptyOCS', 'ocs'); + _$CoreWhatsNewDismissResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'CoreWhatsNewDismissResponse200ApplicationJson', 'ocs'); } @override - CoreEmptyOCS rebuild(void Function(CoreEmptyOCSBuilder) updates) => (toBuilder()..update(updates)).build(); + CoreWhatsNewDismissResponse200ApplicationJson rebuild( + void Function(CoreWhatsNewDismissResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - CoreEmptyOCSBuilder toBuilder() => CoreEmptyOCSBuilder()..replace(this); + CoreWhatsNewDismissResponse200ApplicationJsonBuilder toBuilder() => + CoreWhatsNewDismissResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is CoreEmptyOCS && ocs == other.ocs; + return other is CoreWhatsNewDismissResponse200ApplicationJson && ocs == other.ocs; } @override @@ -13489,20 +18169,23 @@ class _$CoreEmptyOCS extends CoreEmptyOCS { @override String toString() { - return (newBuiltValueToStringHelper(r'CoreEmptyOCS')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'CoreWhatsNewDismissResponse200ApplicationJson')..add('ocs', ocs)).toString(); } } -class CoreEmptyOCSBuilder implements Builder { - _$CoreEmptyOCS? _$v; +class CoreWhatsNewDismissResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreWhatsNewDismissResponse200ApplicationJson? _$v; - CoreEmptyOCS_OcsBuilder? _ocs; - CoreEmptyOCS_OcsBuilder get ocs => _$this._ocs ??= CoreEmptyOCS_OcsBuilder(); - set ocs(CoreEmptyOCS_OcsBuilder? ocs) => _$this._ocs = ocs; + CoreWhatsNewDismissResponse200ApplicationJson_OcsBuilder? _ocs; + CoreWhatsNewDismissResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= CoreWhatsNewDismissResponse200ApplicationJson_OcsBuilder(); + set ocs(CoreWhatsNewDismissResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - CoreEmptyOCSBuilder(); + CoreWhatsNewDismissResponse200ApplicationJsonBuilder(); - CoreEmptyOCSBuilder get _$this { + CoreWhatsNewDismissResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -13512,30 +18195,30 @@ class CoreEmptyOCSBuilder implements Builder } @override - void replace(CoreEmptyOCS other) { + void replace(CoreWhatsNewDismissResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$CoreEmptyOCS; + _$v = other as _$CoreWhatsNewDismissResponse200ApplicationJson; } @override - void update(void Function(CoreEmptyOCSBuilder)? updates) { + void update(void Function(CoreWhatsNewDismissResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - CoreEmptyOCS build() => _build(); + CoreWhatsNewDismissResponse200ApplicationJson build() => _build(); - _$CoreEmptyOCS _build() { - _$CoreEmptyOCS _$result; + _$CoreWhatsNewDismissResponse200ApplicationJson _build() { + _$CoreWhatsNewDismissResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$CoreEmptyOCS._(ocs: ocs.build()); + _$result = _$v ?? _$CoreWhatsNewDismissResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'CoreEmptyOCS', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'CoreWhatsNewDismissResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -13544,4 +18227,88 @@ class CoreEmptyOCSBuilder implements Builder } } +class _$CoreWipeCheckWipeResponse200ApplicationJson extends CoreWipeCheckWipeResponse200ApplicationJson { + @override + final bool wipe; + + factory _$CoreWipeCheckWipeResponse200ApplicationJson( + [void Function(CoreWipeCheckWipeResponse200ApplicationJsonBuilder)? updates]) => + (CoreWipeCheckWipeResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$CoreWipeCheckWipeResponse200ApplicationJson._({required this.wipe}) : super._() { + BuiltValueNullFieldError.checkNotNull(wipe, r'CoreWipeCheckWipeResponse200ApplicationJson', 'wipe'); + } + + @override + CoreWipeCheckWipeResponse200ApplicationJson rebuild( + void Function(CoreWipeCheckWipeResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + CoreWipeCheckWipeResponse200ApplicationJsonBuilder toBuilder() => + CoreWipeCheckWipeResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is CoreWipeCheckWipeResponse200ApplicationJson && wipe == other.wipe; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, wipe.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'CoreWipeCheckWipeResponse200ApplicationJson')..add('wipe', wipe)).toString(); + } +} + +class CoreWipeCheckWipeResponse200ApplicationJsonBuilder + implements + Builder { + _$CoreWipeCheckWipeResponse200ApplicationJson? _$v; + + bool? _wipe; + bool? get wipe => _$this._wipe; + set wipe(bool? wipe) => _$this._wipe = wipe; + + CoreWipeCheckWipeResponse200ApplicationJsonBuilder(); + + CoreWipeCheckWipeResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _wipe = $v.wipe; + _$v = null; + } + return this; + } + + @override + void replace(CoreWipeCheckWipeResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$CoreWipeCheckWipeResponse200ApplicationJson; + } + + @override + void update(void Function(CoreWipeCheckWipeResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + CoreWipeCheckWipeResponse200ApplicationJson build() => _build(); + + _$CoreWipeCheckWipeResponse200ApplicationJson _build() { + final _$result = _$v ?? + _$CoreWipeCheckWipeResponse200ApplicationJson._( + wipe: BuiltValueNullFieldError.checkNotNull(wipe, r'CoreWipeCheckWipeResponse200ApplicationJson', 'wipe')); + replace(_$result); + return _$result; + } +} + // ignore_for_file: deprecated_member_use_from_same_package,type=lint diff --git a/packages/nextcloud/lib/src/api/notes.openapi.dart b/packages/nextcloud/lib/src/api/notes.openapi.dart index 859b31ea..d359558e 100644 --- a/packages/nextcloud/lib/src/api/notes.openapi.dart +++ b/packages/nextcloud/lib/src/api/notes.openapi.dart @@ -387,6 +387,32 @@ abstract class NotesSettings implements Built get serializer => _$notesSettingsSerializer; } +abstract class NotesCapabilities_Notes implements Built { + factory NotesCapabilities_Notes([final void Function(NotesCapabilities_NotesBuilder)? b]) = _$NotesCapabilities_Notes; + const NotesCapabilities_Notes._(); + + factory NotesCapabilities_Notes.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueField(wireName: 'api_version') + BuiltList? get apiVersion; + String? get version; + static Serializer get serializer => _$notesCapabilitiesNotesSerializer; +} + +abstract class NotesCapabilities implements Built { + factory NotesCapabilities([final void Function(NotesCapabilitiesBuilder)? b]) = _$NotesCapabilities; + const NotesCapabilities._(); + + factory NotesCapabilities.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + NotesCapabilities_Notes get notes; + static Serializer get serializer => _$notesCapabilitiesSerializer; +} + abstract class NotesOCSMeta implements Built { factory NotesOCSMeta([final void Function(NotesOCSMetaBuilder)? b]) = _$NotesOCSMeta; const NotesOCSMeta._(); @@ -434,6 +460,11 @@ final Serializers _serializers = (Serializers().toBuilder() ..addBuilderFactory(const FullType(NotesSettings), NotesSettings.new) ..add(NotesSettings.serializer) ..add(NotesSettings_NoteMode.serializer) + ..addBuilderFactory(const FullType(NotesCapabilities), NotesCapabilities.new) + ..add(NotesCapabilities.serializer) + ..addBuilderFactory(const FullType(NotesCapabilities_Notes), NotesCapabilities_Notes.new) + ..add(NotesCapabilities_Notes.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(String)]), ListBuilder.new) ..addBuilderFactory(const FullType(NotesOCSMeta), NotesOCSMeta.new) ..add(NotesOCSMeta.serializer) ..addBuilderFactory(const FullType(NotesEmptyOCS), NotesEmptyOCS.new) diff --git a/packages/nextcloud/lib/src/api/notes.openapi.g.dart b/packages/nextcloud/lib/src/api/notes.openapi.g.dart index 2e3b49b9..ccb6edd4 100644 --- a/packages/nextcloud/lib/src/api/notes.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/notes.openapi.g.dart @@ -33,6 +33,8 @@ final BuiltSet _$notesSettingsNoteModeValues = Serializer _$notesNoteSerializer = _$NotesNoteSerializer(); Serializer _$notesSettingsNoteModeSerializer = _$NotesSettings_NoteModeSerializer(); Serializer _$notesSettingsSerializer = _$NotesSettingsSerializer(); +Serializer _$notesCapabilitiesNotesSerializer = _$NotesCapabilities_NotesSerializer(); +Serializer _$notesCapabilitiesSerializer = _$NotesCapabilitiesSerializer(); Serializer _$notesOCSMetaSerializer = _$NotesOCSMetaSerializer(); Serializer _$notesEmptyOCSOcsSerializer = _$NotesEmptyOCS_OcsSerializer(); Serializer _$notesEmptyOCSSerializer = _$NotesEmptyOCSSerializer(); @@ -186,6 +188,96 @@ class _$NotesSettingsSerializer implements StructuredSerializer { } } +class _$NotesCapabilities_NotesSerializer implements StructuredSerializer { + @override + final Iterable types = const [NotesCapabilities_Notes, _$NotesCapabilities_Notes]; + @override + final String wireName = 'NotesCapabilities_Notes'; + + @override + Iterable serialize(Serializers serializers, NotesCapabilities_Notes object, + {FullType specifiedType = FullType.unspecified}) { + final result = []; + Object? value; + value = object.apiVersion; + if (value != null) { + result + ..add('api_version') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); + } + value = object.version; + if (value != null) { + result + ..add('version') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + NotesCapabilities_Notes deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = NotesCapabilities_NotesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'api_version': + result.apiVersion.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'version': + result.version = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$NotesCapabilitiesSerializer implements StructuredSerializer { + @override + final Iterable types = const [NotesCapabilities, _$NotesCapabilities]; + @override + final String wireName = 'NotesCapabilities'; + + @override + Iterable serialize(Serializers serializers, NotesCapabilities object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'notes', + serializers.serialize(object.notes, specifiedType: const FullType(NotesCapabilities_Notes)), + ]; + + return result; + } + + @override + NotesCapabilities deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = NotesCapabilitiesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'notes': + result.notes.replace(serializers.deserialize(value, specifiedType: const FullType(NotesCapabilities_Notes))! + as NotesCapabilities_Notes); + break; + } + } + + return result.build(); + } +} + class _$NotesOCSMetaSerializer implements StructuredSerializer { @override final Iterable types = const [NotesOCSMeta, _$NotesOCSMeta]; @@ -644,6 +736,192 @@ class NotesSettingsBuilder implements Builder? apiVersion; + @override + final String? version; + + factory _$NotesCapabilities_Notes([void Function(NotesCapabilities_NotesBuilder)? updates]) => + (NotesCapabilities_NotesBuilder()..update(updates))._build(); + + _$NotesCapabilities_Notes._({this.apiVersion, this.version}) : super._(); + + @override + NotesCapabilities_Notes rebuild(void Function(NotesCapabilities_NotesBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + NotesCapabilities_NotesBuilder toBuilder() => NotesCapabilities_NotesBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is NotesCapabilities_Notes && apiVersion == other.apiVersion && version == other.version; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, apiVersion.hashCode); + _$hash = $jc(_$hash, version.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'NotesCapabilities_Notes') + ..add('apiVersion', apiVersion) + ..add('version', version)) + .toString(); + } +} + +class NotesCapabilities_NotesBuilder implements Builder { + _$NotesCapabilities_Notes? _$v; + + ListBuilder? _apiVersion; + ListBuilder get apiVersion => _$this._apiVersion ??= ListBuilder(); + set apiVersion(ListBuilder? apiVersion) => _$this._apiVersion = apiVersion; + + String? _version; + String? get version => _$this._version; + set version(String? version) => _$this._version = version; + + NotesCapabilities_NotesBuilder(); + + NotesCapabilities_NotesBuilder get _$this { + final $v = _$v; + if ($v != null) { + _apiVersion = $v.apiVersion?.toBuilder(); + _version = $v.version; + _$v = null; + } + return this; + } + + @override + void replace(NotesCapabilities_Notes other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$NotesCapabilities_Notes; + } + + @override + void update(void Function(NotesCapabilities_NotesBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + NotesCapabilities_Notes build() => _build(); + + _$NotesCapabilities_Notes _build() { + _$NotesCapabilities_Notes _$result; + try { + _$result = _$v ?? _$NotesCapabilities_Notes._(apiVersion: _apiVersion?.build(), version: version); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'apiVersion'; + _apiVersion?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'NotesCapabilities_Notes', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$NotesCapabilities extends NotesCapabilities { + @override + final NotesCapabilities_Notes notes; + + factory _$NotesCapabilities([void Function(NotesCapabilitiesBuilder)? updates]) => + (NotesCapabilitiesBuilder()..update(updates))._build(); + + _$NotesCapabilities._({required this.notes}) : super._() { + BuiltValueNullFieldError.checkNotNull(notes, r'NotesCapabilities', 'notes'); + } + + @override + NotesCapabilities rebuild(void Function(NotesCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + NotesCapabilitiesBuilder toBuilder() => NotesCapabilitiesBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is NotesCapabilities && notes == other.notes; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, notes.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'NotesCapabilities')..add('notes', notes)).toString(); + } +} + +class NotesCapabilitiesBuilder implements Builder { + _$NotesCapabilities? _$v; + + NotesCapabilities_NotesBuilder? _notes; + NotesCapabilities_NotesBuilder get notes => _$this._notes ??= NotesCapabilities_NotesBuilder(); + set notes(NotesCapabilities_NotesBuilder? notes) => _$this._notes = notes; + + NotesCapabilitiesBuilder(); + + NotesCapabilitiesBuilder get _$this { + final $v = _$v; + if ($v != null) { + _notes = $v.notes.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(NotesCapabilities other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$NotesCapabilities; + } + + @override + void update(void Function(NotesCapabilitiesBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + NotesCapabilities build() => _build(); + + _$NotesCapabilities _build() { + _$NotesCapabilities _$result; + try { + _$result = _$v ?? _$NotesCapabilities._(notes: notes.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'notes'; + notes.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'NotesCapabilities', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + class _$NotesOCSMeta extends NotesOCSMeta { @override final String status; diff --git a/packages/nextcloud/lib/src/api/notifications.openapi.dart b/packages/nextcloud/lib/src/api/notifications.openapi.dart index 64a5b66a..6908ae9e 100644 --- a/packages/nextcloud/lib/src/api/notifications.openapi.dart +++ b/packages/nextcloud/lib/src/api/notifications.openapi.dart @@ -80,10 +80,12 @@ class NotificationsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + if (authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers); + } else if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer or basic_auth'); // coverage:ignore-line } final response = await doRequest( 'get', @@ -107,10 +109,10 @@ class NotificationsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer'); // coverage:ignore-line } final response = await doRequest( 'delete', @@ -131,10 +133,12 @@ class NotificationsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + if (authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers); + } else if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer or basic_auth'); // coverage:ignore-line } path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); final response = await doRequest( @@ -159,10 +163,10 @@ class NotificationsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer'); // coverage:ignore-line } path = path.replaceAll('{id}', Uri.encodeQueryComponent(id.toString())); final response = await doRequest( @@ -191,10 +195,10 @@ class NotificationsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer'); // coverage:ignore-line } queryParameters['pushTokenHash'] = pushTokenHash; queryParameters['devicePublicKey'] = devicePublicKey; @@ -221,10 +225,10 @@ class NotificationsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer'); // coverage:ignore-line } final response = await doRequest( 'delete', @@ -249,10 +253,10 @@ class NotificationsClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer'); // coverage:ignore-line } path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); queryParameters['shortMessage'] = shortMessage; @@ -473,6 +477,39 @@ abstract class NotificationsPushServerRegistration _$notificationsPushServerRegistrationSerializer; } +abstract class NotificationsCapabilities_Notifications + implements Built { + factory NotificationsCapabilities_Notifications([ + final void Function(NotificationsCapabilities_NotificationsBuilder)? b, + ]) = _$NotificationsCapabilities_Notifications; + const NotificationsCapabilities_Notifications._(); + + factory NotificationsCapabilities_Notifications.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueField(wireName: 'ocs-endpoints') + BuiltList? get ocsEndpoints; + BuiltList? get push; + @BuiltValueField(wireName: 'admin-notifications') + BuiltList? get adminNotifications; + static Serializer get serializer => + _$notificationsCapabilitiesNotificationsSerializer; +} + +abstract class NotificationsCapabilities implements Built { + factory NotificationsCapabilities([final void Function(NotificationsCapabilitiesBuilder)? b]) = + _$NotificationsCapabilities; + const NotificationsCapabilities._(); + + factory NotificationsCapabilities.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + NotificationsCapabilities_Notifications get notifications; + static Serializer get serializer => _$notificationsCapabilitiesSerializer; +} + abstract class NotificationsNotificationDecryptedSubject implements Built { factory NotificationsNotificationDecryptedSubject([ @@ -533,6 +570,14 @@ final Serializers _serializers = (Serializers().toBuilder() ..add(NotificationsPushServerRegistration_Ocs.serializer) ..addBuilderFactory(const FullType(NotificationsPushServerSubscription), NotificationsPushServerSubscription.new) ..add(NotificationsPushServerSubscription.serializer) + ..addBuilderFactory(const FullType(NotificationsCapabilities), NotificationsCapabilities.new) + ..add(NotificationsCapabilities.serializer) + ..addBuilderFactory( + const FullType(NotificationsCapabilities_Notifications), + NotificationsCapabilities_Notifications.new, + ) + ..add(NotificationsCapabilities_Notifications.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(String)]), ListBuilder.new) ..addBuilderFactory( const FullType(NotificationsNotificationDecryptedSubject), NotificationsNotificationDecryptedSubject.new, diff --git a/packages/nextcloud/lib/src/api/notifications.openapi.g.dart b/packages/nextcloud/lib/src/api/notifications.openapi.g.dart index c1f510af..a61cef92 100644 --- a/packages/nextcloud/lib/src/api/notifications.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/notifications.openapi.g.dart @@ -26,6 +26,9 @@ Serializer _$notificationsPushServerReg _$NotificationsPushServerRegistration_OcsSerializer(); Serializer _$notificationsPushServerRegistrationSerializer = _$NotificationsPushServerRegistrationSerializer(); +Serializer _$notificationsCapabilitiesNotificationsSerializer = + _$NotificationsCapabilities_NotificationsSerializer(); +Serializer _$notificationsCapabilitiesSerializer = _$NotificationsCapabilitiesSerializer(); Serializer _$notificationsNotificationDecryptedSubjectSerializer = _$NotificationsNotificationDecryptedSubjectSerializer(); @@ -702,6 +705,113 @@ class _$NotificationsPushServerRegistrationSerializer } } +class _$NotificationsCapabilities_NotificationsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + NotificationsCapabilities_Notifications, + _$NotificationsCapabilities_Notifications + ]; + @override + final String wireName = 'NotificationsCapabilities_Notifications'; + + @override + Iterable serialize(Serializers serializers, NotificationsCapabilities_Notifications object, + {FullType specifiedType = FullType.unspecified}) { + final result = []; + Object? value; + value = object.ocsEndpoints; + if (value != null) { + result + ..add('ocs-endpoints') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); + } + value = object.push; + if (value != null) { + result + ..add('push') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); + } + value = object.adminNotifications; + if (value != null) { + result + ..add('admin-notifications') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); + } + return result; + } + + @override + NotificationsCapabilities_Notifications deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = NotificationsCapabilities_NotificationsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs-endpoints': + result.ocsEndpoints.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'push': + result.push.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'admin-notifications': + result.adminNotifications.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$NotificationsCapabilitiesSerializer implements StructuredSerializer { + @override + final Iterable types = const [NotificationsCapabilities, _$NotificationsCapabilities]; + @override + final String wireName = 'NotificationsCapabilities'; + + @override + Iterable serialize(Serializers serializers, NotificationsCapabilities object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'notifications', + serializers.serialize(object.notifications, + specifiedType: const FullType(NotificationsCapabilities_Notifications)), + ]; + + return result; + } + + @override + NotificationsCapabilities deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = NotificationsCapabilitiesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'notifications': + result.notifications.replace( + serializers.deserialize(value, specifiedType: const FullType(NotificationsCapabilities_Notifications))! + as NotificationsCapabilities_Notifications); + break; + } + } + + return result.build(); + } +} + class _$NotificationsNotificationDecryptedSubjectSerializer implements StructuredSerializer { @override @@ -2237,6 +2347,219 @@ class NotificationsPushServerRegistrationBuilder } } +class _$NotificationsCapabilities_Notifications extends NotificationsCapabilities_Notifications { + @override + final BuiltList? ocsEndpoints; + @override + final BuiltList? push; + @override + final BuiltList? adminNotifications; + + factory _$NotificationsCapabilities_Notifications( + [void Function(NotificationsCapabilities_NotificationsBuilder)? updates]) => + (NotificationsCapabilities_NotificationsBuilder()..update(updates))._build(); + + _$NotificationsCapabilities_Notifications._({this.ocsEndpoints, this.push, this.adminNotifications}) : super._(); + + @override + NotificationsCapabilities_Notifications rebuild( + void Function(NotificationsCapabilities_NotificationsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + NotificationsCapabilities_NotificationsBuilder toBuilder() => + NotificationsCapabilities_NotificationsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is NotificationsCapabilities_Notifications && + ocsEndpoints == other.ocsEndpoints && + push == other.push && + adminNotifications == other.adminNotifications; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocsEndpoints.hashCode); + _$hash = $jc(_$hash, push.hashCode); + _$hash = $jc(_$hash, adminNotifications.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'NotificationsCapabilities_Notifications') + ..add('ocsEndpoints', ocsEndpoints) + ..add('push', push) + ..add('adminNotifications', adminNotifications)) + .toString(); + } +} + +class NotificationsCapabilities_NotificationsBuilder + implements Builder { + _$NotificationsCapabilities_Notifications? _$v; + + ListBuilder? _ocsEndpoints; + ListBuilder get ocsEndpoints => _$this._ocsEndpoints ??= ListBuilder(); + set ocsEndpoints(ListBuilder? ocsEndpoints) => _$this._ocsEndpoints = ocsEndpoints; + + ListBuilder? _push; + ListBuilder get push => _$this._push ??= ListBuilder(); + set push(ListBuilder? push) => _$this._push = push; + + ListBuilder? _adminNotifications; + ListBuilder get adminNotifications => _$this._adminNotifications ??= ListBuilder(); + set adminNotifications(ListBuilder? adminNotifications) => _$this._adminNotifications = adminNotifications; + + NotificationsCapabilities_NotificationsBuilder(); + + NotificationsCapabilities_NotificationsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocsEndpoints = $v.ocsEndpoints?.toBuilder(); + _push = $v.push?.toBuilder(); + _adminNotifications = $v.adminNotifications?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(NotificationsCapabilities_Notifications other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$NotificationsCapabilities_Notifications; + } + + @override + void update(void Function(NotificationsCapabilities_NotificationsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + NotificationsCapabilities_Notifications build() => _build(); + + _$NotificationsCapabilities_Notifications _build() { + _$NotificationsCapabilities_Notifications _$result; + try { + _$result = _$v ?? + _$NotificationsCapabilities_Notifications._( + ocsEndpoints: _ocsEndpoints?.build(), + push: _push?.build(), + adminNotifications: _adminNotifications?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocsEndpoints'; + _ocsEndpoints?.build(); + _$failedField = 'push'; + _push?.build(); + _$failedField = 'adminNotifications'; + _adminNotifications?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'NotificationsCapabilities_Notifications', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$NotificationsCapabilities extends NotificationsCapabilities { + @override + final NotificationsCapabilities_Notifications notifications; + + factory _$NotificationsCapabilities([void Function(NotificationsCapabilitiesBuilder)? updates]) => + (NotificationsCapabilitiesBuilder()..update(updates))._build(); + + _$NotificationsCapabilities._({required this.notifications}) : super._() { + BuiltValueNullFieldError.checkNotNull(notifications, r'NotificationsCapabilities', 'notifications'); + } + + @override + NotificationsCapabilities rebuild(void Function(NotificationsCapabilitiesBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + NotificationsCapabilitiesBuilder toBuilder() => NotificationsCapabilitiesBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is NotificationsCapabilities && notifications == other.notifications; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, notifications.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'NotificationsCapabilities')..add('notifications', notifications)).toString(); + } +} + +class NotificationsCapabilitiesBuilder implements Builder { + _$NotificationsCapabilities? _$v; + + NotificationsCapabilities_NotificationsBuilder? _notifications; + NotificationsCapabilities_NotificationsBuilder get notifications => + _$this._notifications ??= NotificationsCapabilities_NotificationsBuilder(); + set notifications(NotificationsCapabilities_NotificationsBuilder? notifications) => + _$this._notifications = notifications; + + NotificationsCapabilitiesBuilder(); + + NotificationsCapabilitiesBuilder get _$this { + final $v = _$v; + if ($v != null) { + _notifications = $v.notifications.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(NotificationsCapabilities other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$NotificationsCapabilities; + } + + @override + void update(void Function(NotificationsCapabilitiesBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + NotificationsCapabilities build() => _build(); + + _$NotificationsCapabilities _build() { + _$NotificationsCapabilities _$result; + try { + _$result = _$v ?? _$NotificationsCapabilities._(notifications: notifications.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'notifications'; + notifications.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'NotificationsCapabilities', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + class _$NotificationsNotificationDecryptedSubject extends NotificationsNotificationDecryptedSubject { @override final int? nid; diff --git a/packages/nextcloud/lib/src/api/provisioning_api.openapi.dart b/packages/nextcloud/lib/src/api/provisioning_api.openapi.dart index 03e75ed2..5d49f132 100644 --- a/packages/nextcloud/lib/src/api/provisioning_api.openapi.dart +++ b/packages/nextcloud/lib/src/api/provisioning_api.openapi.dart @@ -73,243 +73,4938 @@ class ProvisioningApiClient extends DynamiteClient { authentications: client.authentications, ); - Future getCurrentUser() async { - const path = '/ocs/v2.php/cloud/user'; + ProvisioningApiAppConfigClient get appConfig => ProvisioningApiAppConfigClient(this); + ProvisioningApiAppsClient get apps => ProvisioningApiAppsClient(this); + ProvisioningApiGroupsClient get groups => ProvisioningApiGroupsClient(this); + ProvisioningApiPreferencesClient get preferences => ProvisioningApiPreferencesClient(this); + ProvisioningApiUsersClient get users => ProvisioningApiUsersClient(this); +} + +class ProvisioningApiAppConfigClient { + ProvisioningApiAppConfigClient(this.rootClient); + + final ProvisioningApiClient rootClient; + + /// Get a list of apps + /// + /// This endpoint requires admin access + Future getApps({ + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/apps/provisioning_api/api/v1/config/apps'; final queryParameters = {}; final headers = { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line } - final response = await doRequest( + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), headers, body, ); if (response.statusCode == 200) { - return _jsonSerializers.deserialize(await response.jsonBody, specifiedType: const FullType(ProvisioningApiUser))! - as ProvisioningApiUser; + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson), + )! as ProvisioningApiAppConfigGetAppsResponse200ApplicationJson; } throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line } - Future getUser({required final String userId}) async { - var path = '/ocs/v2.php/cloud/users/{userId}'; + /// Get the config keys of an app + /// + /// This endpoint requires admin access + Future getKeys({ + required final String app, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/apps/provisioning_api/api/v1/config/apps/{app}'; final queryParameters = {}; final headers = { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line } - path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); - final response = await doRequest( + path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), headers, body, ); if (response.statusCode == 200) { - return _jsonSerializers.deserialize(await response.jsonBody, specifiedType: const FullType(ProvisioningApiUser))! - as ProvisioningApiUser; + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson), + )! as ProvisioningApiAppConfigGetKeysResponse200ApplicationJson; } throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line } -} - -abstract class ProvisioningApiOCSMeta implements Built { - factory ProvisioningApiOCSMeta([final void Function(ProvisioningApiOCSMetaBuilder)? b]) = _$ProvisioningApiOCSMeta; - const ProvisioningApiOCSMeta._(); - - factory ProvisioningApiOCSMeta.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; - - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - String get status; - int get statuscode; - String? get message; - String? get totalitems; - String? get itemsperpage; - static Serializer get serializer => _$provisioningApiOCSMetaSerializer; -} -abstract class ProvisioningApiUserDetails_Quota - implements Built { - factory ProvisioningApiUserDetails_Quota([final void Function(ProvisioningApiUserDetails_QuotaBuilder)? b]) = - _$ProvisioningApiUserDetails_Quota; - const ProvisioningApiUserDetails_Quota._(); + /// Get a the config value of an app + /// + /// This endpoint requires admin access + Future getValue({ + required final String app, + required final String key, + final String defaultValue = '', + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/apps/provisioning_api/api/v1/config/apps/{app}/{key}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); + path = path.replaceAll('{key}', Uri.encodeQueryComponent(key)); + if (defaultValue != '') { + queryParameters['defaultValue'] = defaultValue; + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiAppConfigGetValueResponse200ApplicationJson), + )! as ProvisioningApiAppConfigGetValueResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } - factory ProvisioningApiUserDetails_Quota.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + /// Update the config value of an app + Future setValue({ + required final String value, + required final String app, + required final String key, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/apps/provisioning_api/api/v1/config/apps/{app}/{key}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['value'] = value; + path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); + path = path.replaceAll('{key}', Uri.encodeQueryComponent(key)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiAppConfigSetValueResponse200ApplicationJson), + )! as ProvisioningApiAppConfigSetValueResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - int get free; - int get used; - int get total; - num get relative; - int get quota; - static Serializer get serializer => _$provisioningApiUserDetailsQuotaSerializer; + /// Delete a config key of an app + /// + /// This endpoint requires admin access + Future deleteKey({ + required final String app, + required final String key, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/apps/provisioning_api/api/v1/config/apps/{app}/{key}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); + path = path.replaceAll('{key}', Uri.encodeQueryComponent(key)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'delete', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson), + )! as ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } } -abstract class ProvisioningApiUserDetails_BackendCapabilities - implements - Built { - factory ProvisioningApiUserDetails_BackendCapabilities([ - final void Function(ProvisioningApiUserDetails_BackendCapabilitiesBuilder)? b, - ]) = _$ProvisioningApiUserDetails_BackendCapabilities; - const ProvisioningApiUserDetails_BackendCapabilities._(); +class ProvisioningApiAppsClient { + ProvisioningApiAppsClient(this.rootClient); - factory ProvisioningApiUserDetails_BackendCapabilities.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + final ProvisioningApiClient rootClient; - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool get setDisplayName; - bool get setPassword; - static Serializer get serializer => - _$provisioningApiUserDetailsBackendCapabilitiesSerializer; -} + /// Get a list of installed apps + /// + /// This endpoint requires admin access + Future getApps({ + final String? filter, + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/cloud/apps'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + if (filter != null) { + queryParameters['filter'] = filter; + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiAppsGetAppsResponse200ApplicationJson), + )! as ProvisioningApiAppsGetAppsResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } -abstract class ProvisioningApiUserDetails - implements Built { - factory ProvisioningApiUserDetails([final void Function(ProvisioningApiUserDetailsBuilder)? b]) = - _$ProvisioningApiUserDetails; - const ProvisioningApiUserDetails._(); + /// Get the app info for an app + /// + /// This endpoint requires admin access + Future getAppInfo({ + required final String app, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/apps/{app}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiAppsGetAppInfoResponse200ApplicationJson), + )! as ProvisioningApiAppsGetAppInfoResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } - factory ProvisioningApiUserDetails.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + /// Enable an app + /// + /// This endpoint requires admin access + Future enable({ + required final String app, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/apps/{app}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiAppsEnableResponse200ApplicationJson), + )! as ProvisioningApiAppsEnableResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - bool? get enabled; - String? get storageLocation; - String get id; - int get lastLogin; - String get backend; - BuiltList get subadmin; - ProvisioningApiUserDetails_Quota get quota; - String get avatarScope; - String? get email; - String get emailScope; - @BuiltValueField(wireName: 'additional_mail') - BuiltList get additionalMail; - @BuiltValueField(wireName: 'additional_mailScope') - BuiltList get additionalMailScope; - String get displayname; - String get displaynameScope; - String get phone; - String get phoneScope; - String get address; - String get addressScope; - String get website; - String get websiteScope; - String get twitter; - String get twitterScope; - String get organisation; - String get organisationScope; - String get role; - String get roleScope; - String get headline; - String get headlineScope; - String get biography; - String get biographyScope; - @BuiltValueField(wireName: 'profile_enabled') - String get profileEnabled; - @BuiltValueField(wireName: 'profile_enabledScope') - String get profileEnabledScope; - String get fediverse; - String get fediverseScope; - BuiltList get groups; - String get language; - String get locale; - @BuiltValueField(wireName: 'notify_email') - String? get notifyEmail; - ProvisioningApiUserDetails_BackendCapabilities get backendCapabilities; - @BuiltValueField(wireName: 'display-name') - String get displayName; - static Serializer get serializer => _$provisioningApiUserDetailsSerializer; + /// Disable an app + /// + /// This endpoint requires admin access + Future disable({ + required final String app, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/apps/{app}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'delete', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiAppsDisableResponse200ApplicationJson), + )! as ProvisioningApiAppsDisableResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } } -abstract class ProvisioningApiUser_Ocs implements Built { - factory ProvisioningApiUser_Ocs([final void Function(ProvisioningApiUser_OcsBuilder)? b]) = _$ProvisioningApiUser_Ocs; - const ProvisioningApiUser_Ocs._(); - - factory ProvisioningApiUser_Ocs.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; - - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - ProvisioningApiOCSMeta get meta; - ProvisioningApiUserDetails get data; - static Serializer get serializer => _$provisioningApiUserOcsSerializer; -} +class ProvisioningApiGroupsClient { + ProvisioningApiGroupsClient(this.rootClient); -abstract class ProvisioningApiUser implements Built { - factory ProvisioningApiUser([final void Function(ProvisioningApiUserBuilder)? b]) = _$ProvisioningApiUser; - const ProvisioningApiUser._(); + final ProvisioningApiClient rootClient; - factory ProvisioningApiUser.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + /// Get a list of groups + Future getGroups({ + final String search = '', + final int? limit, + final int offset = 0, + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/cloud/groups'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + if (search != '') { + queryParameters['search'] = search; + } + if (limit != null) { + queryParameters['limit'] = limit.toString(); + } + if (offset != 0) { + queryParameters['offset'] = offset.toString(); + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson), + )! as ProvisioningApiGroupsGetGroupsResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - ProvisioningApiUser_Ocs get ocs; - static Serializer get serializer => _$provisioningApiUserSerializer; -} + /// Create a new group + /// + /// This endpoint requires admin access + Future addGroup({ + required final String groupid, + final String displayname = '', + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/cloud/groups'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['groupid'] = groupid; + if (displayname != '') { + queryParameters['displayname'] = displayname; + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiGroupsAddGroupResponse200ApplicationJson), + )! as ProvisioningApiGroupsAddGroupResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } -abstract class ProvisioningApiEmptyOCS_Ocs - implements Built { - factory ProvisioningApiEmptyOCS_Ocs([final void Function(ProvisioningApiEmptyOCS_OcsBuilder)? b]) = - _$ProvisioningApiEmptyOCS_Ocs; - const ProvisioningApiEmptyOCS_Ocs._(); + /// Get a list of groups details + Future getGroupsDetails({ + final String search = '', + final int? limit, + final int offset = 0, + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/cloud/groups/details'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + if (search != '') { + queryParameters['search'] = search; + } + if (limit != null) { + queryParameters['limit'] = limit.toString(); + } + if (offset != 0) { + queryParameters['offset'] = offset.toString(); + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson), + )! as ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } - factory ProvisioningApiEmptyOCS_Ocs.fromJson(final Map json) => - _jsonSerializers.deserializeWith(serializer, json)!; + /// Get a list of users in the specified group + Future getGroupUsers({ + required final String groupId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/groups/{groupId}/users'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + if (!RegExp(r'^.+$').hasMatch(groupId)) { + throw Exception( + 'Invalid value "$groupId" for parameter "groupId" with pattern "${r'^.+$'}"', + ); // coverage:ignore-line + } + path = path.replaceAll('{groupId}', Uri.encodeQueryComponent(groupId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson), + )! as ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get a list of users details in the specified group + Future getGroupUsersDetails({ + required final String groupId, + final String search = '', + final int? limit, + final int offset = 0, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/groups/{groupId}/users/details'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + if (!RegExp(r'^.+$').hasMatch(groupId)) { + throw Exception( + 'Invalid value "$groupId" for parameter "groupId" with pattern "${r'^.+$'}"', + ); // coverage:ignore-line + } + path = path.replaceAll('{groupId}', Uri.encodeQueryComponent(groupId)); + if (search != '') { + queryParameters['search'] = search; + } + if (limit != null) { + queryParameters['limit'] = limit.toString(); + } + if (offset != 0) { + queryParameters['offset'] = offset.toString(); + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson), + )! as ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get the list of user IDs that are a subadmin of the group + /// + /// This endpoint requires admin access + Future getSubAdminsOfGroup({ + required final String groupId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/groups/{groupId}/subadmins'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + if (!RegExp(r'^.+$').hasMatch(groupId)) { + throw Exception( + 'Invalid value "$groupId" for parameter "groupId" with pattern "${r'^.+$'}"', + ); // coverage:ignore-line + } + path = path.replaceAll('{groupId}', Uri.encodeQueryComponent(groupId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson), + )! as ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get a list of users in the specified group + @Deprecated('') + Future getGroup({ + required final String groupId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/groups/{groupId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + if (!RegExp(r'^.+$').hasMatch(groupId)) { + throw Exception( + 'Invalid value "$groupId" for parameter "groupId" with pattern "${r'^.+$'}"', + ); // coverage:ignore-line + } + path = path.replaceAll('{groupId}', Uri.encodeQueryComponent(groupId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupResponse200ApplicationJson), + )! as ProvisioningApiGroupsGetGroupResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Update a group + /// + /// This endpoint requires admin access + Future updateGroup({ + required final String key, + required final String value, + required final String groupId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/groups/{groupId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['key'] = key; + queryParameters['value'] = value; + if (!RegExp(r'^.+$').hasMatch(groupId)) { + throw Exception( + 'Invalid value "$groupId" for parameter "groupId" with pattern "${r'^.+$'}"', + ); // coverage:ignore-line + } + path = path.replaceAll('{groupId}', Uri.encodeQueryComponent(groupId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'put', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson), + )! as ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Delete a group + /// + /// This endpoint requires admin access + Future deleteGroup({ + required final String groupId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/groups/{groupId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + if (!RegExp(r'^.+$').hasMatch(groupId)) { + throw Exception( + 'Invalid value "$groupId" for parameter "groupId" with pattern "${r'^.+$'}"', + ); // coverage:ignore-line + } + path = path.replaceAll('{groupId}', Uri.encodeQueryComponent(groupId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'delete', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson), + )! as ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } +} + +class ProvisioningApiPreferencesClient { + ProvisioningApiPreferencesClient(this.rootClient); + + final ProvisioningApiClient rootClient; + + /// Update a preference value of an app + Future setPreference({ + required final String configValue, + required final String appId, + required final String configKey, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/apps/provisioning_api/api/v1/config/users/{appId}/{configKey}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['configValue'] = configValue; + path = path.replaceAll('{appId}', Uri.encodeQueryComponent(appId)); + path = path.replaceAll('{configKey}', Uri.encodeQueryComponent(configKey)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson), + )! as ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Delete a preference for an app + Future deletePreference({ + required final String appId, + required final String configKey, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/apps/provisioning_api/api/v1/config/users/{appId}/{configKey}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{appId}', Uri.encodeQueryComponent(appId)); + path = path.replaceAll('{configKey}', Uri.encodeQueryComponent(configKey)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'delete', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson), + )! as ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Update multiple preference values of an app + Future setMultiplePreferences({ + required final ContentString> configs, + required final String appId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/apps/provisioning_api/api/v1/config/users/{appId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['configs'] = _jsonSerializers.serialize( + configs, + specifiedType: const FullType(ContentString, [ + FullType(BuiltMap, [FullType(String), FullType(String)]) + ]), + ); + path = path.replaceAll('{appId}', Uri.encodeQueryComponent(appId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson), + )! as ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Delete multiple preferences for an app + Future deleteMultiplePreference({ + required final List configKeys, + required final String appId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/apps/provisioning_api/api/v1/config/users/{appId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['configKeys[]'] = configKeys.map((final e) => e); + path = path.replaceAll('{appId}', Uri.encodeQueryComponent(appId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'delete', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson), + )! as ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } +} + +class ProvisioningApiUsersClient { + ProvisioningApiUsersClient(this.rootClient); + + final ProvisioningApiClient rootClient; + + /// Get a list of users + Future getUsers({ + final String search = '', + final int? limit, + final int offset = 0, + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/cloud/users'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + if (search != '') { + queryParameters['search'] = search; + } + if (limit != null) { + queryParameters['limit'] = limit.toString(); + } + if (offset != 0) { + queryParameters['offset'] = offset.toString(); + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersGetUsersResponse200ApplicationJson), + )! as ProvisioningApiUsersGetUsersResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Create a new user + Future addUser({ + required final String userid, + final String password = '', + final String displayName = '', + final String email = '', + final List groups = const [], + final List subadmin = const [], + final String quota = '', + final String language = '', + final String? manager, + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/cloud/users'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['userid'] = userid; + if (password != '') { + queryParameters['password'] = password; + } + if (displayName != '') { + queryParameters['displayName'] = displayName; + } + if (email != '') { + queryParameters['email'] = email; + } + if (groups != const []) { + queryParameters['groups[]'] = groups.map((final e) => e); + } + if (subadmin != const []) { + queryParameters['subadmin[]'] = subadmin.map((final e) => e); + } + if (quota != '') { + queryParameters['quota'] = quota; + } + if (language != '') { + queryParameters['language'] = language; + } + if (manager != null) { + queryParameters['manager'] = manager; + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersAddUserResponse200ApplicationJson), + )! as ProvisioningApiUsersAddUserResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get a list of users and their details + Future getUsersDetails({ + final String search = '', + final int? limit, + final int offset = 0, + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/cloud/users/details'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + if (search != '') { + queryParameters['search'] = search; + } + if (limit != null) { + queryParameters['limit'] = limit.toString(); + } + if (offset != 0) { + queryParameters['offset'] = offset.toString(); + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson), + )! as ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Search users by their phone numbers + Future searchByPhoneNumbers({ + required final String location, + required final ContentString>> search, + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/cloud/users/search/by-phone'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['location'] = location; + queryParameters['search'] = _jsonSerializers.serialize( + search, + specifiedType: const FullType(ContentString, [ + FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(String)]) + ]) + ]), + ); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson), + )! as ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get the details of a user + Future getUser({ + required final String userId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/users/{userId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersGetUserResponse200ApplicationJson), + )! as ProvisioningApiUsersGetUserResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Update a value of the user's details + Future editUser({ + required final String key, + required final String value, + required final String userId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/users/{userId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['key'] = key; + queryParameters['value'] = value; + path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'put', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersEditUserResponse200ApplicationJson), + )! as ProvisioningApiUsersEditUserResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Delete a user + Future deleteUser({ + required final String userId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/users/{userId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'delete', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersDeleteUserResponse200ApplicationJson), + )! as ProvisioningApiUsersDeleteUserResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get the details of the current user + Future getCurrentUser({ + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/cloud/user'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson), + )! as ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get a list of fields that are editable for the current user + Future getEditableFields({ + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/cloud/user/fields'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson), + )! as ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get a list of fields that are editable for a user + Future getEditableFieldsForUser({ + required final String userId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/user/fields/{userId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson), + )! as ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Update multiple values of the user's details + Future editUserMultiValue({ + required final String key, + required final String value, + required final String userId, + required final String collectionName, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/users/{userId}/{collectionName}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['key'] = key; + queryParameters['value'] = value; + path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); + if (!RegExp(r'^(?!enable$|disable$)[a-zA-Z0-9_]*$').hasMatch(collectionName)) { + throw Exception( + 'Invalid value "$collectionName" for parameter "collectionName" with pattern "${r'^(?!enable$|disable$)[a-zA-Z0-9_]*$'}"', + ); // coverage:ignore-line + } + path = path.replaceAll('{collectionName}', Uri.encodeQueryComponent(collectionName)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'put', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson), + )! as ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Wipe all devices of a user + Future wipeUserDevices({ + required final String userId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/users/{userId}/wipe'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson), + )! as ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Enable a user + Future enableUser({ + required final String userId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/users/{userId}/enable'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'put', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersEnableUserResponse200ApplicationJson), + )! as ProvisioningApiUsersEnableUserResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Disable a user + Future disableUser({ + required final String userId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/users/{userId}/disable'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'put', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersDisableUserResponse200ApplicationJson), + )! as ProvisioningApiUsersDisableUserResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get a list of groups the user belongs to + Future getUsersGroups({ + required final String userId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/users/{userId}/groups'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson), + )! as ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Add a user to a group + Future addToGroup({ + required final String userId, + final String groupid = '', + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/users/{userId}/groups'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); + if (groupid != '') { + queryParameters['groupid'] = groupid; + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersAddToGroupResponse200ApplicationJson), + )! as ProvisioningApiUsersAddToGroupResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Remove a user from a group + Future removeFromGroup({ + required final String groupid, + required final String userId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/users/{userId}/groups'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['groupid'] = groupid; + path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'delete', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson), + )! as ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get the groups a user is a subadmin of + /// + /// This endpoint requires admin access + Future getUserSubAdminGroups({ + required final String userId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/users/{userId}/subadmins'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson), + )! as ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Make a user a subadmin of a group + /// + /// This endpoint requires admin access + Future addSubAdmin({ + required final String groupid, + required final String userId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/users/{userId}/subadmins'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['groupid'] = groupid; + path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersAddSubAdminResponse200ApplicationJson), + )! as ProvisioningApiUsersAddSubAdminResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Remove a user from the subadmins of a group + /// + /// This endpoint requires admin access + Future removeSubAdmin({ + required final String groupid, + required final String userId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/users/{userId}/subadmins'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['groupid'] = groupid; + path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'delete', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson), + )! as ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } + + /// Resend the welcome message + Future resendWelcomeMessage({ + required final String userId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/cloud/users/{userId}/welcome'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson), + )! as ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson; + } + throw await ProvisioningApiApiException.fromResponse(response); // coverage:ignore-line + } +} + +abstract class ProvisioningApiOCSMeta implements Built { + factory ProvisioningApiOCSMeta([final void Function(ProvisioningApiOCSMetaBuilder)? b]) = _$ProvisioningApiOCSMeta; + const ProvisioningApiOCSMeta._(); + + factory ProvisioningApiOCSMeta.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get status; + int get statuscode; + String? get message; + String? get totalitems; + String? get itemsperpage; + static Serializer get serializer => _$provisioningApiOCSMetaSerializer; +} + +abstract class ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data + implements + Built { + factory ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data([ + final void Function(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data; + const ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data._(); + + factory ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + BuiltList get data; + static Serializer get serializer => + _$provisioningApiAppConfigGetAppsResponse200ApplicationJsonOcsDataSerializer; +} + +abstract class ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs; + const ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$provisioningApiAppConfigGetAppsResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiAppConfigGetAppsResponse200ApplicationJson + implements + Built { + factory ProvisioningApiAppConfigGetAppsResponse200ApplicationJson([ + final void Function(ProvisioningApiAppConfigGetAppsResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson; + const ProvisioningApiAppConfigGetAppsResponse200ApplicationJson._(); + + factory ProvisioningApiAppConfigGetAppsResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiAppConfigGetAppsResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data + implements + Built { + factory ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data([ + final void Function(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data; + const ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data._(); + + factory ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + BuiltList get data; + static Serializer get serializer => + _$provisioningApiAppConfigGetKeysResponse200ApplicationJsonOcsDataSerializer; +} + +abstract class ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs; + const ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$provisioningApiAppConfigGetKeysResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiAppConfigGetKeysResponse200ApplicationJson + implements + Built { + factory ProvisioningApiAppConfigGetKeysResponse200ApplicationJson([ + final void Function(ProvisioningApiAppConfigGetKeysResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson; + const ProvisioningApiAppConfigGetKeysResponse200ApplicationJson._(); + + factory ProvisioningApiAppConfigGetKeysResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiAppConfigGetKeysResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data + implements + Built { + factory ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data([ + final void Function(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data; + const ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data._(); + + factory ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get data; + static Serializer get serializer => + _$provisioningApiAppConfigGetValueResponse200ApplicationJsonOcsDataSerializer; +} + +abstract class ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs; + const ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$provisioningApiAppConfigGetValueResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiAppConfigGetValueResponse200ApplicationJson + implements + Built { + factory ProvisioningApiAppConfigGetValueResponse200ApplicationJson([ + final void Function(ProvisioningApiAppConfigGetValueResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson; + const ProvisioningApiAppConfigGetValueResponse200ApplicationJson._(); + + factory ProvisioningApiAppConfigGetValueResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiAppConfigGetValueResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiAppConfigSetValueResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs; + const ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiAppConfigSetValueResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiAppConfigSetValueResponse200ApplicationJson + implements + Built { + factory ProvisioningApiAppConfigSetValueResponse200ApplicationJson([ + final void Function(ProvisioningApiAppConfigSetValueResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson; + const ProvisioningApiAppConfigSetValueResponse200ApplicationJson._(); + + factory ProvisioningApiAppConfigSetValueResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiAppConfigSetValueResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs; + const ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiAppConfigDeleteKeyResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson + implements + Built { + factory ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson([ + final void Function(ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson; + const ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson._(); + + factory ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiAppConfigDeleteKeyResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data + implements + Built { + factory ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data([ + final void Function(ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data; + const ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data._(); + + factory ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + BuiltList get apps; + static Serializer get serializer => + _$provisioningApiAppsGetAppsResponse200ApplicationJsonOcsDataSerializer; +} + +abstract class ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiAppsGetAppsResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs; + const ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$provisioningApiAppsGetAppsResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiAppsGetAppsResponse200ApplicationJson + implements + Built { + factory ProvisioningApiAppsGetAppsResponse200ApplicationJson([ + final void Function(ProvisioningApiAppsGetAppsResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiAppsGetAppsResponse200ApplicationJson; + const ProvisioningApiAppsGetAppsResponse200ApplicationJson._(); + + factory ProvisioningApiAppsGetAppsResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiAppsGetAppsResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiAppInfo implements Built { + factory ProvisioningApiAppInfo([final void Function(ProvisioningApiAppInfoBuilder)? b]) = _$ProvisioningApiAppInfo; + const ProvisioningApiAppInfo._(); + + factory ProvisioningApiAppInfo.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool? get active; + JsonObject? get activity; + JsonObject? get author; + @BuiltValueField(wireName: 'background-jobs') + JsonObject? get backgroundJobs; + JsonObject? get bugs; + JsonObject? get category; + JsonObject? get collaboration; + JsonObject? get commands; + @BuiltValueField(wireName: 'default_enable') + JsonObject? get defaultEnable; + JsonObject? get dependencies; + String get description; + JsonObject? get discussion; + JsonObject? get documentation; + JsonObject? get groups; + String get id; + JsonObject? get info; + bool? get internal; + int? get level; + JsonObject? get licence; + String get name; + JsonObject? get namespace; + JsonObject? get navigations; + JsonObject? get preview; + bool? get previewAsIcon; + JsonObject? get public; + JsonObject? get remote; + bool? get removable; + @BuiltValueField(wireName: 'repair-steps') + JsonObject? get repairSteps; + JsonObject? get repository; + JsonObject? get sabre; + JsonObject? get screenshot; + JsonObject? get settings; + String get summary; + JsonObject? get trash; + @BuiltValueField(wireName: 'two-factor-providers') + JsonObject? get twoFactorProviders; + JsonObject? get types; + String get version; + JsonObject? get versions; + JsonObject? get website; + static Serializer get serializer => _$provisioningApiAppInfoSerializer; +} + +abstract class ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs; + const ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + ProvisioningApiAppInfo get data; + static Serializer get serializer => + _$provisioningApiAppsGetAppInfoResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiAppsGetAppInfoResponse200ApplicationJson + implements + Built { + factory ProvisioningApiAppsGetAppInfoResponse200ApplicationJson([ + final void Function(ProvisioningApiAppsGetAppInfoResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson; + const ProvisioningApiAppsGetAppInfoResponse200ApplicationJson._(); + + factory ProvisioningApiAppsGetAppInfoResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiAppsGetAppInfoResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiAppsEnableResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs; + const ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiAppsEnableResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiAppsEnableResponse200ApplicationJson + implements + Built { + factory ProvisioningApiAppsEnableResponse200ApplicationJson([ + final void Function(ProvisioningApiAppsEnableResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiAppsEnableResponse200ApplicationJson; + const ProvisioningApiAppsEnableResponse200ApplicationJson._(); + + factory ProvisioningApiAppsEnableResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiAppsEnableResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiAppsDisableResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs; + const ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiAppsDisableResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiAppsDisableResponse200ApplicationJson + implements + Built { + factory ProvisioningApiAppsDisableResponse200ApplicationJson([ + final void Function(ProvisioningApiAppsDisableResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiAppsDisableResponse200ApplicationJson; + const ProvisioningApiAppsDisableResponse200ApplicationJson._(); + + factory ProvisioningApiAppsDisableResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiAppsDisableResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data + implements + Built { + factory ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data([ + final void Function(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data; + const ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data._(); + + factory ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + BuiltList get groups; + static Serializer get serializer => + _$provisioningApiGroupsGetGroupsResponse200ApplicationJsonOcsDataSerializer; +} + +abstract class ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs; + const ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$provisioningApiGroupsGetGroupsResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiGroupsGetGroupsResponse200ApplicationJson + implements + Built { + factory ProvisioningApiGroupsGetGroupsResponse200ApplicationJson([ + final void Function(ProvisioningApiGroupsGetGroupsResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson; + const ProvisioningApiGroupsGetGroupsResponse200ApplicationJson._(); + + factory ProvisioningApiGroupsGetGroupsResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiGroupsGetGroupsResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiGroupsAddGroupResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs; + const ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiGroupsAddGroupResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiGroupsAddGroupResponse200ApplicationJson + implements + Built { + factory ProvisioningApiGroupsAddGroupResponse200ApplicationJson([ + final void Function(ProvisioningApiGroupsAddGroupResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson; + const ProvisioningApiGroupsAddGroupResponse200ApplicationJson._(); + + factory ProvisioningApiGroupsAddGroupResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiGroupsAddGroupResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiGroupDetails_Usercount + implements Built { + factory ProvisioningApiGroupDetails_Usercount([ + final void Function(ProvisioningApiGroupDetails_UsercountBuilder)? b, + ]) = _$ProvisioningApiGroupDetails_Usercount; + const ProvisioningApiGroupDetails_Usercount._(); + + JsonObject get data; + bool? get $bool; + int? get $int; + static ProvisioningApiGroupDetails_Usercount fromJson(final Object json) => + _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + _$ProvisioningApiGroupDetails_UsercountSerializer(); +} + +class _$ProvisioningApiGroupDetails_UsercountSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [ProvisioningApiGroupDetails_Usercount, _$ProvisioningApiGroupDetails_Usercount]; + + @override + final String wireName = 'ProvisioningApiGroupDetails_Usercount'; + + @override + Object serialize( + final Serializers serializers, + final ProvisioningApiGroupDetails_Usercount object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + ProvisioningApiGroupDetails_Usercount deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = ProvisioningApiGroupDetails_UsercountBuilder()..data = JsonObject(data); + try { + result._$bool = data as bool?; + } catch (_) {} + try { + result._$int = data as int?; + } catch (_) {} + assert([result._$bool, result._$int].where((final x) => x != null).isNotEmpty, 'Need oneOf for ${result._data}'); + return result.build(); + } +} + +abstract class ProvisioningApiGroupDetails_Disabled + implements Built { + factory ProvisioningApiGroupDetails_Disabled([final void Function(ProvisioningApiGroupDetails_DisabledBuilder)? b]) = + _$ProvisioningApiGroupDetails_Disabled; + const ProvisioningApiGroupDetails_Disabled._(); + + JsonObject get data; + bool? get $bool; + int? get $int; + static ProvisioningApiGroupDetails_Disabled fromJson(final Object json) => + _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + _$ProvisioningApiGroupDetails_DisabledSerializer(); +} + +class _$ProvisioningApiGroupDetails_DisabledSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [ProvisioningApiGroupDetails_Disabled, _$ProvisioningApiGroupDetails_Disabled]; + + @override + final String wireName = 'ProvisioningApiGroupDetails_Disabled'; + + @override + Object serialize( + final Serializers serializers, + final ProvisioningApiGroupDetails_Disabled object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + ProvisioningApiGroupDetails_Disabled deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = ProvisioningApiGroupDetails_DisabledBuilder()..data = JsonObject(data); + try { + result._$bool = data as bool?; + } catch (_) {} + try { + result._$int = data as int?; + } catch (_) {} + assert([result._$bool, result._$int].where((final x) => x != null).isNotEmpty, 'Need oneOf for ${result._data}'); + return result.build(); + } +} + +abstract class ProvisioningApiGroupDetails + implements Built { + factory ProvisioningApiGroupDetails([final void Function(ProvisioningApiGroupDetailsBuilder)? b]) = + _$ProvisioningApiGroupDetails; + const ProvisioningApiGroupDetails._(); + + factory ProvisioningApiGroupDetails.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get id; + String get displayname; + ProvisioningApiGroupDetails_Usercount get usercount; + ProvisioningApiGroupDetails_Disabled get disabled; + bool get canAdd; + bool get canRemove; + static Serializer get serializer => _$provisioningApiGroupDetailsSerializer; +} + +abstract class ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data + implements + Built { + factory ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data([ + final void Function(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data; + const ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data._(); + + factory ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + BuiltList get groups; + static Serializer get serializer => + _$provisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonOcsDataSerializer; +} + +abstract class ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs; + const ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$provisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson + implements + Built { + factory ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson([ + final void Function(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson; + const ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson._(); + + factory ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data + implements + Built { + factory ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data([ + final void Function(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data; + const ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data._(); + + factory ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + BuiltList get users; + static Serializer get serializer => + _$provisioningApiGroupsGetGroupUsersResponse200ApplicationJsonOcsDataSerializer; +} + +abstract class ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs; + const ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$provisioningApiGroupsGetGroupUsersResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson + implements + Built { + factory ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson([ + final void Function(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson; + const ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson._(); + + factory ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiGroupsGetGroupUsersResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUserDetails_BackendCapabilities + implements + Built { + factory ProvisioningApiUserDetails_BackendCapabilities([ + final void Function(ProvisioningApiUserDetails_BackendCapabilitiesBuilder)? b, + ]) = _$ProvisioningApiUserDetails_BackendCapabilities; + const ProvisioningApiUserDetails_BackendCapabilities._(); + + factory ProvisioningApiUserDetails_BackendCapabilities.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + bool get setDisplayName; + bool get setPassword; + static Serializer get serializer => + _$provisioningApiUserDetailsBackendCapabilitiesSerializer; +} + +abstract class ProvisioningApiUserDetailsQuota_Quota + implements Built { + factory ProvisioningApiUserDetailsQuota_Quota([ + final void Function(ProvisioningApiUserDetailsQuota_QuotaBuilder)? b, + ]) = _$ProvisioningApiUserDetailsQuota_Quota; + const ProvisioningApiUserDetailsQuota_Quota._(); + + JsonObject get data; + num? get $num; + String? get string; + static ProvisioningApiUserDetailsQuota_Quota fromJson(final Object json) => + _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + _$ProvisioningApiUserDetailsQuota_QuotaSerializer(); +} + +class _$ProvisioningApiUserDetailsQuota_QuotaSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [ProvisioningApiUserDetailsQuota_Quota, _$ProvisioningApiUserDetailsQuota_Quota]; + + @override + final String wireName = 'ProvisioningApiUserDetailsQuota_Quota'; + + @override + Object serialize( + final Serializers serializers, + final ProvisioningApiUserDetailsQuota_Quota object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + ProvisioningApiUserDetailsQuota_Quota deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = ProvisioningApiUserDetailsQuota_QuotaBuilder()..data = JsonObject(data); + try { + result._$num = data as num?; + } catch (_) {} + try { + result._string = data as String?; + } catch (_) {} + assert([result._$num, result._string].where((final x) => x != null).isNotEmpty, 'Need oneOf for ${result._data}'); + return result.build(); + } +} + +abstract class ProvisioningApiUserDetailsQuota + implements Built { + factory ProvisioningApiUserDetailsQuota([final void Function(ProvisioningApiUserDetailsQuotaBuilder)? b]) = + _$ProvisioningApiUserDetailsQuota; + const ProvisioningApiUserDetailsQuota._(); + + factory ProvisioningApiUserDetailsQuota.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + num? get free; + ProvisioningApiUserDetailsQuota_Quota? get quota; + num? get relative; + num? get total; + num? get used; + static Serializer get serializer => _$provisioningApiUserDetailsQuotaSerializer; +} + +abstract class ProvisioningApiUserDetails + implements Built { + factory ProvisioningApiUserDetails([final void Function(ProvisioningApiUserDetailsBuilder)? b]) = + _$ProvisioningApiUserDetails; + const ProvisioningApiUserDetails._(); + + factory ProvisioningApiUserDetails.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueField(wireName: 'additional_mail') + BuiltList get additionalMail; + @BuiltValueField(wireName: 'additional_mailScope') + BuiltList? get additionalMailScope; + String get address; + String? get addressScope; + String? get avatarScope; + String get backend; + ProvisioningApiUserDetails_BackendCapabilities get backendCapabilities; + String get biography; + String? get biographyScope; + @BuiltValueField(wireName: 'display-name') + String get displayName; + String get displayname; + String? get displaynameScope; + String? get email; + String? get emailScope; + bool? get enabled; + String get fediverse; + String? get fediverseScope; + BuiltList get groups; + String get headline; + String? get headlineScope; + String get id; + String get language; + int get lastLogin; + String get locale; + String get manager; + @BuiltValueField(wireName: 'notify_email') + String? get notifyEmail; + String get organisation; + String? get organisationScope; + String get phone; + String? get phoneScope; + @BuiltValueField(wireName: 'profile_enabled') + String get profileEnabled; + @BuiltValueField(wireName: 'profile_enabledScope') + String? get profileEnabledScope; + ProvisioningApiUserDetailsQuota get quota; + String get role; + String? get roleScope; + String? get storageLocation; + BuiltList get subadmin; + String get twitter; + String? get twitterScope; + String get website; + String? get websiteScope; + static Serializer get serializer => _$provisioningApiUserDetailsSerializer; +} + +abstract class ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 + implements + Built { + factory ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1([ + final void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder)? b, + ]) = _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1; + const ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1._(); + + factory ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get id; + static Serializer + get serializer => _$provisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1Serializer; +} + +abstract class ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users + implements + Built { + factory ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users([ + final void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder)? b, + ]) = _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users; + const ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users._(); + + JsonObject get data; + ProvisioningApiUserDetails? get userDetails; + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1? + get groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1; + static ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users fromJson( + final Object json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueSerializer(custom: true) + static Serializer + get serializer => + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersSerializer(); +} + +class _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users, + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users + ]; + + @override + final String wireName = 'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users'; + + @override + Object serialize( + final Serializers serializers, + final ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder() + ..data = JsonObject(data); + try { + result._userDetails = (_jsonSerializers.deserialize( + data, + specifiedType: const FullType(ProvisioningApiUserDetails), + )! as ProvisioningApiUserDetails) + .toBuilder(); + } catch (_) {} + try { + result._groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1 = (_jsonSerializers.deserialize( + data, + specifiedType: const FullType( + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1, + ), + )! as ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1) + .toBuilder(); + } catch (_) {} + assert( + [result._userDetails, result._groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1] + .where((final x) => x != null) + .isNotEmpty, + 'Need oneOf for ${result._data}', + ); + return result.build(); + } +} + +abstract class ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data + implements + Built { + factory ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data([ + final void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data; + const ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data._(); + + factory ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + BuiltMap get users; + static Serializer get serializer => + _$provisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataSerializer; +} + +abstract class ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs; + const ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$provisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson + implements + Built { + factory ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson([ + final void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson; + const ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson._(); + + factory ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs; + const ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + BuiltList get data; + static Serializer get serializer => + _$provisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson + implements + Built { + factory ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson([ + final void Function(ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson; + const ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson._(); + + factory ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data + implements + Built { + factory ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data([ + final void Function(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data; + const ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data._(); + + factory ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + BuiltList get users; + static Serializer get serializer => + _$provisioningApiGroupsGetGroupResponse200ApplicationJsonOcsDataSerializer; +} + +abstract class ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs; + const ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$provisioningApiGroupsGetGroupResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiGroupsGetGroupResponse200ApplicationJson + implements + Built { + factory ProvisioningApiGroupsGetGroupResponse200ApplicationJson([ + final void Function(ProvisioningApiGroupsGetGroupResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson; + const ProvisioningApiGroupsGetGroupResponse200ApplicationJson._(); + + factory ProvisioningApiGroupsGetGroupResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiGroupsGetGroupResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs; + const ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiGroupsUpdateGroupResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson + implements + Built { + factory ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson([ + final void Function(ProvisioningApiGroupsUpdateGroupResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson; + const ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson._(); + + factory ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiGroupsUpdateGroupResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs; + const ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiGroupsDeleteGroupResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson + implements + Built { + factory ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson([ + final void Function(ProvisioningApiGroupsDeleteGroupResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson; + const ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson._(); + + factory ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiGroupsDeleteGroupResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs; + const ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiPreferencesSetPreferenceResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson + implements + Built { + factory ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson([ + final void Function(ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson; + const ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson._(); + + factory ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiPreferencesSetPreferenceResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs; + const ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiPreferencesDeletePreferenceResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson + implements + Built { + factory ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson([ + final void Function(ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson; + const ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson._(); + + factory ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiPreferencesDeletePreferenceResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs; + const ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson + implements + Built { + factory ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson([ + final void Function(ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson; + const ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson._(); + + factory ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs; + const ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson + implements + Built { + factory ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson([ + final void Function(ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson; + const ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson._(); + + factory ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data + implements + Built { + factory ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data([ + final void Function(ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data; + const ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data._(); + + factory ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + BuiltList get users; + static Serializer get serializer => + _$provisioningApiUsersGetUsersResponse200ApplicationJsonOcsDataSerializer; +} + +abstract class ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersGetUsersResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$provisioningApiUsersGetUsersResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersGetUsersResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersGetUsersResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersGetUsersResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersGetUsersResponse200ApplicationJson; + const ProvisioningApiUsersGetUsersResponse200ApplicationJson._(); + + factory ProvisioningApiUsersGetUsersResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersGetUsersResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data + implements + Built { + factory ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data([ + final void Function(ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data; + const ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data._(); + + factory ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get id; + static Serializer get serializer => + _$provisioningApiUsersAddUserResponse200ApplicationJsonOcsDataSerializer; +} + +abstract class ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersAddUserResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$provisioningApiUsersAddUserResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersAddUserResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersAddUserResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersAddUserResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersAddUserResponse200ApplicationJson; + const ProvisioningApiUsersAddUserResponse200ApplicationJson._(); + + factory ProvisioningApiUsersAddUserResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersAddUserResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 + implements + Built { + factory ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1([ + final void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder)? b, + ]) = _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1; + const ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1._(); + + factory ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get id; + static Serializer get serializer => + _$provisioningApiUsersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1Serializer; +} + +abstract class ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users + implements + Built { + factory ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users([ + final void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder)? b, + ]) = _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users; + const ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users._(); + + JsonObject get data; + ProvisioningApiUserDetails? get userDetails; + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1? + get usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1; + static ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users fromJson(final Object json) => + _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersSerializer(); +} + +class _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersSerializer + implements PrimitiveSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users, + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users + ]; + + @override + final String wireName = 'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users'; + + @override + Object serialize( + final Serializers serializers, + final ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder() + ..data = JsonObject(data); + try { + result._userDetails = (_jsonSerializers.deserialize( + data, + specifiedType: const FullType(ProvisioningApiUserDetails), + )! as ProvisioningApiUserDetails) + .toBuilder(); + } catch (_) {} + try { + result._usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1 = (_jsonSerializers.deserialize( + data, + specifiedType: const FullType(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1), + )! as ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1) + .toBuilder(); + } catch (_) {} + assert( + [result._userDetails, result._usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1] + .where((final x) => x != null) + .isNotEmpty, + 'Need oneOf for ${result._data}', + ); + return result.build(); + } +} + +abstract class ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data + implements + Built { + factory ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data([ + final void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data; + const ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data._(); + + factory ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + BuiltMap get users; + static Serializer get serializer => + _$provisioningApiUsersGetUsersDetailsResponse200ApplicationJsonOcsDataSerializer; +} + +abstract class ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$provisioningApiUsersGetUsersDetailsResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson; + const ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson._(); + + factory ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersGetUsersDetailsResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + BuiltMap get data; + static Serializer get serializer => + _$provisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson; + const ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson._(); + + factory ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersGetUserResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + ProvisioningApiUserDetails get data; + static Serializer get serializer => + _$provisioningApiUsersGetUserResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersGetUserResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersGetUserResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersGetUserResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersGetUserResponse200ApplicationJson; + const ProvisioningApiUsersGetUserResponse200ApplicationJson._(); + + factory ProvisioningApiUsersGetUserResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersGetUserResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersEditUserResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiUsersEditUserResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersEditUserResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersEditUserResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersEditUserResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersEditUserResponse200ApplicationJson; + const ProvisioningApiUsersEditUserResponse200ApplicationJson._(); + + factory ProvisioningApiUsersEditUserResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersEditUserResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersDeleteUserResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiUsersDeleteUserResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersDeleteUserResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersDeleteUserResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersDeleteUserResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson; + const ProvisioningApiUsersDeleteUserResponse200ApplicationJson._(); + + factory ProvisioningApiUsersDeleteUserResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersDeleteUserResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + ProvisioningApiUserDetails get data; + static Serializer get serializer => + _$provisioningApiUsersGetCurrentUserResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersGetCurrentUserResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson; + const ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson._(); + + factory ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersGetCurrentUserResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + BuiltList get data; + static Serializer get serializer => + _$provisioningApiUsersGetEditableFieldsResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson; + const ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson._(); + + factory ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersGetEditableFieldsResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + BuiltList get data; + static Serializer get serializer => + _$provisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson; + const ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson._(); + + factory ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiUsersEditUserMultiValueResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson; + const ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson._(); + + factory ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersEditUserMultiValueResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiUsersWipeUserDevicesResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson; + const ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson._(); + + factory ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersWipeUserDevicesResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersEnableUserResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiUsersEnableUserResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersEnableUserResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersEnableUserResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersEnableUserResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersEnableUserResponse200ApplicationJson; + const ProvisioningApiUsersEnableUserResponse200ApplicationJson._(); + + factory ProvisioningApiUsersEnableUserResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersEnableUserResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersDisableUserResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiUsersDisableUserResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersDisableUserResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersDisableUserResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersDisableUserResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersDisableUserResponse200ApplicationJson; + const ProvisioningApiUsersDisableUserResponse200ApplicationJson._(); + + factory ProvisioningApiUsersDisableUserResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersDisableUserResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data + implements + Built { + factory ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data([ + final void Function(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data; + const ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data._(); + + factory ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + BuiltList get groups; + static Serializer get serializer => + _$provisioningApiUsersGetUsersGroupsResponse200ApplicationJsonOcsDataSerializer; +} + +abstract class ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$provisioningApiUsersGetUsersGroupsResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson; + const ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson._(); + + factory ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersGetUsersGroupsResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersAddToGroupResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiUsersAddToGroupResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersAddToGroupResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersAddToGroupResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersAddToGroupResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson; + const ProvisioningApiUsersAddToGroupResponse200ApplicationJson._(); + + factory ProvisioningApiUsersAddToGroupResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersAddToGroupResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiUsersRemoveFromGroupResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson; + const ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson._(); + + factory ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersRemoveFromGroupResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + BuiltList get data; + static Serializer get serializer => + _$provisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson; + const ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson._(); + + factory ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiUsersAddSubAdminResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersAddSubAdminResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersAddSubAdminResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersAddSubAdminResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson; + const ProvisioningApiUsersAddSubAdminResponse200ApplicationJson._(); + + factory ProvisioningApiUsersAddSubAdminResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersAddSubAdminResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiUsersRemoveSubAdminResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson; + const ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson._(); + + factory ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersRemoveSubAdminResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs + implements + Built { + factory ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs([ + final void Function(ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs; + const ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs._(); + + factory ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; ProvisioningApiOCSMeta get meta; - BuiltList get data; - static Serializer get serializer => _$provisioningApiEmptyOCSOcsSerializer; + JsonObject get data; + static Serializer get serializer => + _$provisioningApiUsersResendWelcomeMessageResponse200ApplicationJsonOcsSerializer; +} + +abstract class ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson + implements + Built { + factory ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson([ + final void Function(ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJsonBuilder)? b, + ]) = _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson; + const ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson._(); + + factory ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson.fromJson( + final Map json, + ) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$provisioningApiUsersResendWelcomeMessageResponse200ApplicationJsonSerializer; +} + +abstract class ProvisioningApiCapabilities_ProvisioningApi + implements Built { + factory ProvisioningApiCapabilities_ProvisioningApi([ + final void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder)? b, + ]) = _$ProvisioningApiCapabilities_ProvisioningApi; + const ProvisioningApiCapabilities_ProvisioningApi._(); + + factory ProvisioningApiCapabilities_ProvisioningApi.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get version; + @BuiltValueField(wireName: 'AccountPropertyScopesVersion') + int get accountPropertyScopesVersion; + @BuiltValueField(wireName: 'AccountPropertyScopesFederatedEnabled') + bool get accountPropertyScopesFederatedEnabled; + @BuiltValueField(wireName: 'AccountPropertyScopesPublishedEnabled') + bool get accountPropertyScopesPublishedEnabled; + static Serializer get serializer => + _$provisioningApiCapabilitiesProvisioningApiSerializer; } -abstract class ProvisioningApiEmptyOCS implements Built { - factory ProvisioningApiEmptyOCS([final void Function(ProvisioningApiEmptyOCSBuilder)? b]) = _$ProvisioningApiEmptyOCS; - const ProvisioningApiEmptyOCS._(); +abstract class ProvisioningApiCapabilities + implements Built { + factory ProvisioningApiCapabilities([final void Function(ProvisioningApiCapabilitiesBuilder)? b]) = + _$ProvisioningApiCapabilities; + const ProvisioningApiCapabilities._(); - factory ProvisioningApiEmptyOCS.fromJson(final Map json) => + factory ProvisioningApiCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - ProvisioningApiEmptyOCS_Ocs get ocs; - static Serializer get serializer => _$provisioningApiEmptyOCSSerializer; + @BuiltValueField(wireName: 'provisioning_api') + ProvisioningApiCapabilities_ProvisioningApi get provisioningApi; + static Serializer get serializer => _$provisioningApiCapabilitiesSerializer; } final Serializers _serializers = (Serializers().toBuilder() - ..addBuilderFactory(const FullType(ProvisioningApiUser), ProvisioningApiUser.new) - ..add(ProvisioningApiUser.serializer) - ..addBuilderFactory(const FullType(ProvisioningApiUser_Ocs), ProvisioningApiUser_Ocs.new) - ..add(ProvisioningApiUser_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson), + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs), + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs.serializer) ..addBuilderFactory(const FullType(ProvisioningApiOCSMeta), ProvisioningApiOCSMeta.new) ..add(ProvisioningApiOCSMeta.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data), + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(String)]), ListBuilder.new) + ..addBuilderFactory( + const FullType(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson), + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs), + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data), + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppConfigGetValueResponse200ApplicationJson), + ProvisioningApiAppConfigGetValueResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiAppConfigGetValueResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs), + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data), + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppConfigSetValueResponse200ApplicationJson), + ProvisioningApiAppConfigSetValueResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiAppConfigSetValueResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs), + ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson), + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs), + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppsGetAppsResponse200ApplicationJson), + ProvisioningApiAppsGetAppsResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiAppsGetAppsResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs), + ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data), + ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppsGetAppInfoResponse200ApplicationJson), + ProvisioningApiAppsGetAppInfoResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiAppsGetAppInfoResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs), + ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(ProvisioningApiAppInfo), ProvisioningApiAppInfo.new) + ..add(ProvisioningApiAppInfo.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppsEnableResponse200ApplicationJson), + ProvisioningApiAppsEnableResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiAppsEnableResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs), + ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppsDisableResponse200ApplicationJson), + ProvisioningApiAppsDisableResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiAppsDisableResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs), + ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson), + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs), + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data), + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsAddGroupResponse200ApplicationJson), + ProvisioningApiGroupsAddGroupResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiGroupsAddGroupResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs), + ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson), + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs), + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data), + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory(const FullType(ProvisioningApiGroupDetails), ProvisioningApiGroupDetails.new) + ..add(ProvisioningApiGroupDetails.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupDetails_Usercount), + ProvisioningApiGroupDetails_Usercount.new, + ) + ..add(ProvisioningApiGroupDetails_Usercount.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupDetails_Disabled), + ProvisioningApiGroupDetails_Disabled.new, + ) + ..add(ProvisioningApiGroupDetails_Disabled.serializer) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(ProvisioningApiGroupDetails)]), + ListBuilder.new, + ) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson), + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs), + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data), + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson), + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs), + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data), + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users), + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users.new, + ) + ..add(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users.serializer) ..addBuilderFactory(const FullType(ProvisioningApiUserDetails), ProvisioningApiUserDetails.new) ..add(ProvisioningApiUserDetails.serializer) - ..addBuilderFactory(const FullType(BuiltList, [FullType(String)]), ListBuilder.new) - ..addBuilderFactory(const FullType(ProvisioningApiUserDetails_Quota), ProvisioningApiUserDetails_Quota.new) - ..add(ProvisioningApiUserDetails_Quota.serializer) ..addBuilderFactory( const FullType(ProvisioningApiUserDetails_BackendCapabilities), ProvisioningApiUserDetails_BackendCapabilities.new, ) ..add(ProvisioningApiUserDetails_BackendCapabilities.serializer) - ..addBuilderFactory(const FullType(ProvisioningApiEmptyOCS), ProvisioningApiEmptyOCS.new) - ..add(ProvisioningApiEmptyOCS.serializer) - ..addBuilderFactory(const FullType(ProvisioningApiEmptyOCS_Ocs), ProvisioningApiEmptyOCS_Ocs.new) - ..add(ProvisioningApiEmptyOCS_Ocs.serializer) - ..addBuilderFactory(const FullType(BuiltList, [FullType(JsonObject)]), ListBuilder.new)) + ..addBuilderFactory(const FullType(ProvisioningApiUserDetailsQuota), ProvisioningApiUserDetailsQuota.new) + ..add(ProvisioningApiUserDetailsQuota.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUserDetailsQuota_Quota), + ProvisioningApiUserDetailsQuota_Quota.new, + ) + ..add(ProvisioningApiUserDetailsQuota_Quota.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1), + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1.new, + ) + ..add(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1.serializer) + ..addBuilderFactory( + const FullType(BuiltMap, [ + FullType(String), + FullType(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users) + ]), + MapBuilder.new, + ) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson), + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs), + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsGetGroupResponse200ApplicationJson), + ProvisioningApiGroupsGetGroupResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiGroupsGetGroupResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs), + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data), + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson), + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs), + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson), + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs), + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson), + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs), + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson), + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs), + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(BuiltMap, [FullType(String), FullType(String)]), + MapBuilder.new, + ) + ..addBuilderFactory( + const FullType(ContentString, [ + FullType(BuiltMap, [FullType(String), FullType(String)]) + ]), + ContentString>.new, + ) + ..add(ContentString.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson), + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs), + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson), + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs), + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetUsersResponse200ApplicationJson), + ProvisioningApiUsersGetUsersResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersGetUsersResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs), + ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data), + ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersAddUserResponse200ApplicationJson), + ProvisioningApiUsersAddUserResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersAddUserResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs), + ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data), + ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson), + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs), + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data), + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users), + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users.new, + ) + ..add(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1), + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1.new, + ) + ..add(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1.serializer) + ..addBuilderFactory( + const FullType( + BuiltMap, + [FullType(String), FullType(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users)], + ), + MapBuilder.new, + ) + ..addBuilderFactory( + const FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(String)]) + ]), + MapBuilder.new, + ) + ..addBuilderFactory( + const FullType(ContentString, [ + FullType(BuiltMap, [ + FullType(String), + FullType(BuiltList, [FullType(String)]) + ]) + ]), + ContentString>>.new, + ) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson), + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs), + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetUserResponse200ApplicationJson), + ProvisioningApiUsersGetUserResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersGetUserResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs), + ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersEditUserResponse200ApplicationJson), + ProvisioningApiUsersEditUserResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersEditUserResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs), + ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersDeleteUserResponse200ApplicationJson), + ProvisioningApiUsersDeleteUserResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersDeleteUserResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs), + ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson), + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs), + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson), + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs), + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson), + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs), + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson), + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs), + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson), + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs), + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersEnableUserResponse200ApplicationJson), + ProvisioningApiUsersEnableUserResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersEnableUserResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs), + ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersDisableUserResponse200ApplicationJson), + ProvisioningApiUsersDisableUserResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersDisableUserResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs), + ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson), + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs), + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data), + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data.new, + ) + ..add(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersAddToGroupResponse200ApplicationJson), + ProvisioningApiUsersAddToGroupResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersAddToGroupResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs), + ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson), + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs), + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson), + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs), + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersAddSubAdminResponse200ApplicationJson), + ProvisioningApiUsersAddSubAdminResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersAddSubAdminResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs), + ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson), + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs), + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson), + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson.new, + ) + ..add(ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs), + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs.new, + ) + ..add(ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(ProvisioningApiCapabilities), ProvisioningApiCapabilities.new) + ..add(ProvisioningApiCapabilities.serializer) + ..addBuilderFactory( + const FullType(ProvisioningApiCapabilities_ProvisioningApi), + ProvisioningApiCapabilities_ProvisioningApi.new, + ) + ..add(ProvisioningApiCapabilities_ProvisioningApi.serializer)) .build(); Serializers get provisioningApiSerializers => _serializers; diff --git a/packages/nextcloud/lib/src/api/provisioning_api.openapi.g.dart b/packages/nextcloud/lib/src/api/provisioning_api.openapi.g.dart index 2e1ad9a7..6d2f7ba1 100644 --- a/packages/nextcloud/lib/src/api/provisioning_api.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/provisioning_api.openapi.g.dart @@ -7,17 +7,322 @@ part of 'provisioning_api.openapi.dart'; // ************************************************************************** Serializer _$provisioningApiOCSMetaSerializer = _$ProvisioningApiOCSMetaSerializer(); -Serializer _$provisioningApiUserDetailsQuotaSerializer = - _$ProvisioningApiUserDetails_QuotaSerializer(); +Serializer + _$provisioningApiAppConfigGetAppsResponse200ApplicationJsonOcsDataSerializer = + _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$provisioningApiAppConfigGetAppsResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiAppConfigGetAppsResponse200ApplicationJsonSerializer = + _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiAppConfigGetKeysResponse200ApplicationJsonOcsDataSerializer = + _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$provisioningApiAppConfigGetKeysResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiAppConfigGetKeysResponse200ApplicationJsonSerializer = + _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiAppConfigGetValueResponse200ApplicationJsonOcsDataSerializer = + _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$provisioningApiAppConfigGetValueResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiAppConfigGetValueResponse200ApplicationJsonSerializer = + _$ProvisioningApiAppConfigGetValueResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiAppConfigSetValueResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiAppConfigSetValueResponse200ApplicationJsonSerializer = + _$ProvisioningApiAppConfigSetValueResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiAppConfigDeleteKeyResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiAppConfigDeleteKeyResponse200ApplicationJsonSerializer = + _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiAppsGetAppsResponse200ApplicationJsonOcsDataSerializer = + _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$provisioningApiAppsGetAppsResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiAppsGetAppsResponse200ApplicationJsonSerializer = + _$ProvisioningApiAppsGetAppsResponse200ApplicationJsonSerializer(); +Serializer _$provisioningApiAppInfoSerializer = _$ProvisioningApiAppInfoSerializer(); +Serializer + _$provisioningApiAppsGetAppInfoResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiAppsGetAppInfoResponse200ApplicationJsonSerializer = + _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiAppsEnableResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiAppsEnableResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiAppsEnableResponse200ApplicationJsonSerializer = + _$ProvisioningApiAppsEnableResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiAppsDisableResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiAppsDisableResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiAppsDisableResponse200ApplicationJsonSerializer = + _$ProvisioningApiAppsDisableResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiGroupsGetGroupsResponse200ApplicationJsonOcsDataSerializer = + _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$provisioningApiGroupsGetGroupsResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiGroupsGetGroupsResponse200ApplicationJsonSerializer = + _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiGroupsAddGroupResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiGroupsAddGroupResponse200ApplicationJsonSerializer = + _$ProvisioningApiGroupsAddGroupResponse200ApplicationJsonSerializer(); +Serializer _$provisioningApiGroupDetailsSerializer = + _$ProvisioningApiGroupDetailsSerializer(); +Serializer + _$provisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonOcsDataSerializer = + _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$provisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonSerializer = + _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiGroupsGetGroupUsersResponse200ApplicationJsonOcsDataSerializer = + _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$provisioningApiGroupsGetGroupUsersResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiGroupsGetGroupUsersResponse200ApplicationJsonSerializer = + _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJsonSerializer(); Serializer _$provisioningApiUserDetailsBackendCapabilitiesSerializer = _$ProvisioningApiUserDetails_BackendCapabilitiesSerializer(); +Serializer _$provisioningApiUserDetailsQuotaSerializer = + _$ProvisioningApiUserDetailsQuotaSerializer(); Serializer _$provisioningApiUserDetailsSerializer = _$ProvisioningApiUserDetailsSerializer(); -Serializer _$provisioningApiUserOcsSerializer = _$ProvisioningApiUser_OcsSerializer(); -Serializer _$provisioningApiUserSerializer = _$ProvisioningApiUserSerializer(); -Serializer _$provisioningApiEmptyOCSOcsSerializer = - _$ProvisioningApiEmptyOCS_OcsSerializer(); -Serializer _$provisioningApiEmptyOCSSerializer = _$ProvisioningApiEmptyOCSSerializer(); +Serializer + _$provisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1Serializer = + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Serializer(); +Serializer + _$provisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataSerializer = + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$provisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonSerializer = + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJsonSerializer = + _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiGroupsGetGroupResponse200ApplicationJsonOcsDataSerializer = + _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$provisioningApiGroupsGetGroupResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiGroupsGetGroupResponse200ApplicationJsonSerializer = + _$ProvisioningApiGroupsGetGroupResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiGroupsUpdateGroupResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiGroupsUpdateGroupResponse200ApplicationJsonSerializer = + _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiGroupsDeleteGroupResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiGroupsDeleteGroupResponse200ApplicationJsonSerializer = + _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiPreferencesSetPreferenceResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiPreferencesSetPreferenceResponse200ApplicationJsonSerializer = + _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiPreferencesDeletePreferenceResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiPreferencesDeletePreferenceResponse200ApplicationJsonSerializer = + _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJsonSerializer = + _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJsonSerializer = + _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersGetUsersResponse200ApplicationJsonOcsDataSerializer = + _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$provisioningApiUsersGetUsersResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersGetUsersResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersGetUsersResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersAddUserResponse200ApplicationJsonOcsDataSerializer = + _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$provisioningApiUsersAddUserResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersAddUserResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersAddUserResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersAddUserResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1Serializer = + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Serializer(); +Serializer + _$provisioningApiUsersGetUsersDetailsResponse200ApplicationJsonOcsDataSerializer = + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$provisioningApiUsersGetUsersDetailsResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersGetUsersDetailsResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersGetUserResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersGetUserResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersGetUserResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersGetUserResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersEditUserResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersEditUserResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersEditUserResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersEditUserResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersDeleteUserResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersDeleteUserResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersDeleteUserResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersGetCurrentUserResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersGetCurrentUserResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersGetEditableFieldsResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersGetEditableFieldsResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersEditUserMultiValueResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersEditUserMultiValueResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersWipeUserDevicesResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersWipeUserDevicesResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersEnableUserResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersEnableUserResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersEnableUserResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersEnableUserResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersDisableUserResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersDisableUserResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersDisableUserResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersDisableUserResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersGetUsersGroupsResponse200ApplicationJsonOcsDataSerializer = + _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_DataSerializer(); +Serializer + _$provisioningApiUsersGetUsersGroupsResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersGetUsersGroupsResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersAddToGroupResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersAddToGroupResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersAddToGroupResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersRemoveFromGroupResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersRemoveFromGroupResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersAddSubAdminResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersAddSubAdminResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersRemoveSubAdminResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersRemoveSubAdminResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJsonSerializer(); +Serializer + _$provisioningApiUsersResendWelcomeMessageResponse200ApplicationJsonOcsSerializer = + _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_OcsSerializer(); +Serializer + _$provisioningApiUsersResendWelcomeMessageResponse200ApplicationJsonSerializer = + _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJsonSerializer(); +Serializer _$provisioningApiCapabilitiesProvisioningApiSerializer = + _$ProvisioningApiCapabilities_ProvisioningApiSerializer(); +Serializer _$provisioningApiCapabilitiesSerializer = + _$ProvisioningApiCapabilitiesSerializer(); class _$ProvisioningApiOCSMetaSerializer implements StructuredSerializer { @override @@ -89,35 +394,33 @@ class _$ProvisioningApiOCSMetaSerializer implements StructuredSerializer { +class _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override - final Iterable types = const [ProvisioningApiUserDetails_Quota, _$ProvisioningApiUserDetails_Quota]; + final Iterable types = const [ + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data, + _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data + ]; @override - final String wireName = 'ProvisioningApiUserDetails_Quota'; + final String wireName = 'ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, ProvisioningApiUserDetails_Quota object, + Iterable serialize( + Serializers serializers, ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'free', - serializers.serialize(object.free, specifiedType: const FullType(int)), - 'used', - serializers.serialize(object.used, specifiedType: const FullType(int)), - 'total', - serializers.serialize(object.total, specifiedType: const FullType(int)), - 'relative', - serializers.serialize(object.relative, specifiedType: const FullType(num)), - 'quota', - serializers.serialize(object.quota, specifiedType: const FullType(int)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(String)])), ]; return result; } @override - ProvisioningApiUserDetails_Quota deserialize(Serializers serializers, Iterable serialized, + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ProvisioningApiUserDetails_QuotaBuilder(); + final result = ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -125,20 +428,9 @@ class _$ProvisioningApiUserDetails_QuotaSerializer implements StructuredSerializ iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'free': - result.free = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'used': - result.used = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'total': - result.total = serializers.deserialize(value, specifiedType: const FullType(int))! as int; - break; - case 'relative': - result.relative = serializers.deserialize(value, specifiedType: const FullType(num))! as num; - break; - case 'quota': - result.quota = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); break; } } @@ -147,33 +439,36 @@ class _$ProvisioningApiUserDetails_QuotaSerializer implements StructuredSerializ } } -class _$ProvisioningApiUserDetails_BackendCapabilitiesSerializer - implements StructuredSerializer { +class _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override final Iterable types = const [ - ProvisioningApiUserDetails_BackendCapabilities, - _$ProvisioningApiUserDetails_BackendCapabilities + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs, + _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs ]; @override - final String wireName = 'ProvisioningApiUserDetails_BackendCapabilities'; + final String wireName = 'ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ProvisioningApiUserDetails_BackendCapabilities object, + Iterable serialize( + Serializers serializers, ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'setDisplayName', - serializers.serialize(object.setDisplayName, specifiedType: const FullType(bool)), - 'setPassword', - serializers.serialize(object.setPassword, specifiedType: const FullType(bool)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data)), ]; return result; } @override - ProvisioningApiUserDetails_BackendCapabilities deserialize(Serializers serializers, Iterable serialized, + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ProvisioningApiUserDetails_BackendCapabilitiesBuilder(); + final result = ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -181,11 +476,14 @@ class _$ProvisioningApiUserDetails_BackendCapabilitiesSerializer iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'setDisplayName': - result.setDisplayName = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); break; - case 'setPassword': - result.setPassword = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data))! + as ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data); break; } } @@ -194,122 +492,33 @@ class _$ProvisioningApiUserDetails_BackendCapabilitiesSerializer } } -class _$ProvisioningApiUserDetailsSerializer implements StructuredSerializer { +class _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ProvisioningApiUserDetails, _$ProvisioningApiUserDetails]; + final Iterable types = const [ + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson, + _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson + ]; @override - final String wireName = 'ProvisioningApiUserDetails'; + final String wireName = 'ProvisioningApiAppConfigGetAppsResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, ProvisioningApiUserDetails object, + Iterable serialize(Serializers serializers, ProvisioningApiAppConfigGetAppsResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), - 'lastLogin', - serializers.serialize(object.lastLogin, specifiedType: const FullType(int)), - 'backend', - serializers.serialize(object.backend, specifiedType: const FullType(String)), - 'subadmin', - serializers.serialize(object.subadmin, specifiedType: const FullType(BuiltList, [FullType(String)])), - 'quota', - serializers.serialize(object.quota, specifiedType: const FullType(ProvisioningApiUserDetails_Quota)), - 'avatarScope', - serializers.serialize(object.avatarScope, specifiedType: const FullType(String)), - 'emailScope', - serializers.serialize(object.emailScope, specifiedType: const FullType(String)), - 'additional_mail', - serializers.serialize(object.additionalMail, specifiedType: const FullType(BuiltList, [FullType(String)])), - 'additional_mailScope', - serializers.serialize(object.additionalMailScope, specifiedType: const FullType(BuiltList, [FullType(String)])), - 'displayname', - serializers.serialize(object.displayname, specifiedType: const FullType(String)), - 'displaynameScope', - serializers.serialize(object.displaynameScope, specifiedType: const FullType(String)), - 'phone', - serializers.serialize(object.phone, specifiedType: const FullType(String)), - 'phoneScope', - serializers.serialize(object.phoneScope, specifiedType: const FullType(String)), - 'address', - serializers.serialize(object.address, specifiedType: const FullType(String)), - 'addressScope', - serializers.serialize(object.addressScope, specifiedType: const FullType(String)), - 'website', - serializers.serialize(object.website, specifiedType: const FullType(String)), - 'websiteScope', - serializers.serialize(object.websiteScope, specifiedType: const FullType(String)), - 'twitter', - serializers.serialize(object.twitter, specifiedType: const FullType(String)), - 'twitterScope', - serializers.serialize(object.twitterScope, specifiedType: const FullType(String)), - 'organisation', - serializers.serialize(object.organisation, specifiedType: const FullType(String)), - 'organisationScope', - serializers.serialize(object.organisationScope, specifiedType: const FullType(String)), - 'role', - serializers.serialize(object.role, specifiedType: const FullType(String)), - 'roleScope', - serializers.serialize(object.roleScope, specifiedType: const FullType(String)), - 'headline', - serializers.serialize(object.headline, specifiedType: const FullType(String)), - 'headlineScope', - serializers.serialize(object.headlineScope, specifiedType: const FullType(String)), - 'biography', - serializers.serialize(object.biography, specifiedType: const FullType(String)), - 'biographyScope', - serializers.serialize(object.biographyScope, specifiedType: const FullType(String)), - 'profile_enabled', - serializers.serialize(object.profileEnabled, specifiedType: const FullType(String)), - 'profile_enabledScope', - serializers.serialize(object.profileEnabledScope, specifiedType: const FullType(String)), - 'fediverse', - serializers.serialize(object.fediverse, specifiedType: const FullType(String)), - 'fediverseScope', - serializers.serialize(object.fediverseScope, specifiedType: const FullType(String)), - 'groups', - serializers.serialize(object.groups, specifiedType: const FullType(BuiltList, [FullType(String)])), - 'language', - serializers.serialize(object.language, specifiedType: const FullType(String)), - 'locale', - serializers.serialize(object.locale, specifiedType: const FullType(String)), - 'backendCapabilities', - serializers.serialize(object.backendCapabilities, - specifiedType: const FullType(ProvisioningApiUserDetails_BackendCapabilities)), - 'display-name', - serializers.serialize(object.displayName, specifiedType: const FullType(String)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs)), ]; - Object? value; - value = object.enabled; - if (value != null) { - result - ..add('enabled') - ..add(serializers.serialize(value, specifiedType: const FullType(bool))); - } - value = object.storageLocation; - if (value != null) { - result - ..add('storageLocation') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.email; - if (value != null) { - result - ..add('email') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } - value = object.notifyEmail; - if (value != null) { - result - ..add('notify_email') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); - } + return result; } @override - ProvisioningApiUserDetails deserialize(Serializers serializers, Iterable serialized, + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ProvisioningApiUserDetailsBuilder(); + final result = ProvisioningApiAppConfigGetAppsResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -317,132 +526,10 @@ class _$ProvisioningApiUserDetailsSerializer implements StructuredSerializer); - break; - case 'quota': - result.quota.replace(serializers.deserialize(value, - specifiedType: const FullType(ProvisioningApiUserDetails_Quota))! as ProvisioningApiUserDetails_Quota); - break; - case 'avatarScope': - result.avatarScope = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'email': - result.email = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - case 'emailScope': - result.emailScope = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'additional_mail': - result.additionalMail.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); - break; - case 'additional_mailScope': - result.additionalMailScope.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); - break; - case 'displayname': - result.displayname = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'displaynameScope': - result.displaynameScope = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'phone': - result.phone = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'phoneScope': - result.phoneScope = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'address': - result.address = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'addressScope': - result.addressScope = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'website': - result.website = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'websiteScope': - result.websiteScope = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'twitter': - result.twitter = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'twitterScope': - result.twitterScope = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'organisation': - result.organisation = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'organisationScope': - result.organisationScope = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'role': - result.role = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'roleScope': - result.roleScope = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'headline': - result.headline = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'headlineScope': - result.headlineScope = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'biography': - result.biography = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'biographyScope': - result.biographyScope = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'profile_enabled': - result.profileEnabled = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'profile_enabledScope': - result.profileEnabledScope = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'fediverse': - result.fediverse = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'fediverseScope': - result.fediverseScope = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'groups': - result.groups.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); - break; - case 'language': - result.language = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'locale': - result.locale = serializers.deserialize(value, specifiedType: const FullType(String))! as String; - break; - case 'notify_email': - result.notifyEmail = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; - break; - case 'backendCapabilities': - result.backendCapabilities.replace(serializers.deserialize(value, - specifiedType: const FullType(ProvisioningApiUserDetails_BackendCapabilities))! - as ProvisioningApiUserDetails_BackendCapabilities); - break; - case 'display-name': - result.displayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs))! + as ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs); break; } } @@ -451,29 +538,33 @@ class _$ProvisioningApiUserDetailsSerializer implements StructuredSerializer { +class _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override - final Iterable types = const [ProvisioningApiUser_Ocs, _$ProvisioningApiUser_Ocs]; + final Iterable types = const [ + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data, + _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data + ]; @override - final String wireName = 'ProvisioningApiUser_Ocs'; + final String wireName = 'ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, ProvisioningApiUser_Ocs object, + Iterable serialize( + Serializers serializers, ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(ProvisioningApiUserDetails)), + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(String)])), ]; return result; } @override - ProvisioningApiUser_Ocs deserialize(Serializers serializers, Iterable serialized, + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ProvisioningApiUser_OcsBuilder(); + final result = ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -481,13 +572,9 @@ class _$ProvisioningApiUser_OcsSerializer implements StructuredSerializer); break; } } @@ -496,27 +583,36 @@ class _$ProvisioningApiUser_OcsSerializer implements StructuredSerializer { +class _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [ProvisioningApiUser, _$ProvisioningApiUser]; + final Iterable types = const [ + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs, + _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs + ]; @override - final String wireName = 'ProvisioningApiUser'; + final String wireName = 'ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, ProvisioningApiUser object, + Iterable serialize( + Serializers serializers, ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(ProvisioningApiUser_Ocs)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data)), ]; return result; } @override - ProvisioningApiUser deserialize(Serializers serializers, Iterable serialized, + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ProvisioningApiUserBuilder(); + final result = ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -524,40 +620,49 @@ class _$ProvisioningApiUserSerializer implements StructuredSerializer { +class _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [ProvisioningApiEmptyOCS_Ocs, _$ProvisioningApiEmptyOCS_Ocs]; + final Iterable types = const [ + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson, + _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson + ]; @override - final String wireName = 'ProvisioningApiEmptyOCS_Ocs'; + final String wireName = 'ProvisioningApiAppConfigGetKeysResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, ProvisioningApiEmptyOCS_Ocs object, + Iterable serialize(Serializers serializers, ProvisioningApiAppConfigGetKeysResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(JsonObject)])), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs)), ]; return result; } @override - ProvisioningApiEmptyOCS_Ocs deserialize(Serializers serializers, Iterable serialized, + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ProvisioningApiEmptyOCS_OcsBuilder(); + final result = ProvisioningApiAppConfigGetKeysResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -565,13 +670,10 @@ class _$ProvisioningApiEmptyOCS_OcsSerializer implements StructuredSerializer); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs))! + as ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs); break; } } @@ -580,27 +682,33 @@ class _$ProvisioningApiEmptyOCS_OcsSerializer implements StructuredSerializer { +class _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override - final Iterable types = const [ProvisioningApiEmptyOCS, _$ProvisioningApiEmptyOCS]; + final Iterable types = const [ + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data, + _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data + ]; @override - final String wireName = 'ProvisioningApiEmptyOCS'; + final String wireName = 'ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data'; @override - Iterable serialize(Serializers serializers, ProvisioningApiEmptyOCS object, + Iterable serialize( + Serializers serializers, ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(ProvisioningApiEmptyOCS_Ocs)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(String)), ]; return result; } @override - ProvisioningApiEmptyOCS deserialize(Serializers serializers, Iterable serialized, + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = ProvisioningApiEmptyOCSBuilder(); + final result = ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_DataBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -608,9 +716,8 @@ class _$ProvisioningApiEmptyOCSSerializer implements StructuredSerializer { @override - final String status; - @override - final int statuscode; - @override - final String? message; - @override - final String? totalitems; + final Iterable types = const [ + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs, + _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs + ]; @override - final String? itemsperpage; + final String wireName = 'ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs'; - factory _$ProvisioningApiOCSMeta([void Function(ProvisioningApiOCSMetaBuilder)? updates]) => - (ProvisioningApiOCSMetaBuilder()..update(updates))._build(); + @override + Iterable serialize( + Serializers serializers, ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data)), + ]; - _$ProvisioningApiOCSMeta._( - {required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) - : super._() { - BuiltValueNullFieldError.checkNotNull(status, r'ProvisioningApiOCSMeta', 'status'); - BuiltValueNullFieldError.checkNotNull(statuscode, r'ProvisioningApiOCSMeta', 'statuscode'); + return result; } @override - ProvisioningApiOCSMeta rebuild(void Function(ProvisioningApiOCSMetaBuilder) updates) => - (toBuilder()..update(updates)).build(); + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiAppConfigGetValueResponse200ApplicationJson_OcsBuilder(); - @override - ProvisioningApiOCSMetaBuilder toBuilder() => ProvisioningApiOCSMetaBuilder()..replace(this); + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data))! + as ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data); + break; + } + } - @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is ProvisioningApiOCSMeta && - status == other.status && - statuscode == other.statuscode && - message == other.message && - totalitems == other.totalitems && - itemsperpage == other.itemsperpage; + return result.build(); } +} +class _$ProvisioningApiAppConfigGetValueResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override - int get hashCode { - var _$hash = 0; - _$hash = $jc(_$hash, status.hashCode); - _$hash = $jc(_$hash, statuscode.hashCode); - _$hash = $jc(_$hash, message.hashCode); - _$hash = $jc(_$hash, totalitems.hashCode); - _$hash = $jc(_$hash, itemsperpage.hashCode); - _$hash = $jf(_$hash); - return _$hash; - } - + final Iterable types = const [ + ProvisioningApiAppConfigGetValueResponse200ApplicationJson, + _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson + ]; @override - String toString() { - return (newBuiltValueToStringHelper(r'ProvisioningApiOCSMeta') - ..add('status', status) - ..add('statuscode', statuscode) - ..add('message', message) - ..add('totalitems', totalitems) - ..add('itemsperpage', itemsperpage)) - .toString(); - } -} - -class ProvisioningApiOCSMetaBuilder implements Builder { - _$ProvisioningApiOCSMeta? _$v; - - String? _status; - String? get status => _$this._status; - set status(String? status) => _$this._status = status; - - int? _statuscode; - int? get statuscode => _$this._statuscode; - set statuscode(int? statuscode) => _$this._statuscode = statuscode; - - String? _message; - String? get message => _$this._message; - set message(String? message) => _$this._message = message; + final String wireName = 'ProvisioningApiAppConfigGetValueResponse200ApplicationJson'; - String? _totalitems; - String? get totalitems => _$this._totalitems; - set totalitems(String? totalitems) => _$this._totalitems = totalitems; + @override + Iterable serialize( + Serializers serializers, ProvisioningApiAppConfigGetValueResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs)), + ]; - String? _itemsperpage; - String? get itemsperpage => _$this._itemsperpage; - set itemsperpage(String? itemsperpage) => _$this._itemsperpage = itemsperpage; + return result; + } - ProvisioningApiOCSMetaBuilder(); + @override + ProvisioningApiAppConfigGetValueResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiAppConfigGetValueResponse200ApplicationJsonBuilder(); - ProvisioningApiOCSMetaBuilder get _$this { - final $v = _$v; - if ($v != null) { - _status = $v.status; - _statuscode = $v.statuscode; - _message = $v.message; - _totalitems = $v.totalitems; - _itemsperpage = $v.itemsperpage; - _$v = null; + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs))! + as ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs); + break; + } } - return this; + + return result.build(); } +} +class _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override - void replace(ProvisioningApiOCSMeta other) { - ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ProvisioningApiOCSMeta; - } + final Iterable types = const [ + ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs, + _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs'; @override - void update(void Function(ProvisioningApiOCSMetaBuilder)? updates) { - if (updates != null) updates(this); + Iterable serialize( + Serializers serializers, ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; } @override - ProvisioningApiOCSMeta build() => _build(); + ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiAppConfigSetValueResponse200ApplicationJson_OcsBuilder(); - _$ProvisioningApiOCSMeta _build() { - final _$result = _$v ?? - _$ProvisioningApiOCSMeta._( - status: BuiltValueNullFieldError.checkNotNull(status, r'ProvisioningApiOCSMeta', 'status'), - statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'ProvisioningApiOCSMeta', 'statuscode'), - message: message, - totalitems: totalitems, - itemsperpage: itemsperpage); - replace(_$result); - return _$result; + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); } } -class _$ProvisioningApiUserDetails_Quota extends ProvisioningApiUserDetails_Quota { - @override - final int free; +class _$ProvisioningApiAppConfigSetValueResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override - final int used; + final Iterable types = const [ + ProvisioningApiAppConfigSetValueResponse200ApplicationJson, + _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson + ]; @override - final int total; + final String wireName = 'ProvisioningApiAppConfigSetValueResponse200ApplicationJson'; + @override - final num relative; + Iterable serialize( + Serializers serializers, ProvisioningApiAppConfigSetValueResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + @override - final int quota; + ProvisioningApiAppConfigSetValueResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiAppConfigSetValueResponse200ApplicationJsonBuilder(); - factory _$ProvisioningApiUserDetails_Quota([void Function(ProvisioningApiUserDetails_QuotaBuilder)? updates]) => - (ProvisioningApiUserDetails_QuotaBuilder()..update(updates))._build(); + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs))! + as ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs); + break; + } + } - _$ProvisioningApiUserDetails_Quota._( - {required this.free, required this.used, required this.total, required this.relative, required this.quota}) - : super._() { - BuiltValueNullFieldError.checkNotNull(free, r'ProvisioningApiUserDetails_Quota', 'free'); - BuiltValueNullFieldError.checkNotNull(used, r'ProvisioningApiUserDetails_Quota', 'used'); - BuiltValueNullFieldError.checkNotNull(total, r'ProvisioningApiUserDetails_Quota', 'total'); - BuiltValueNullFieldError.checkNotNull(relative, r'ProvisioningApiUserDetails_Quota', 'relative'); - BuiltValueNullFieldError.checkNotNull(quota, r'ProvisioningApiUserDetails_Quota', 'quota'); + return result.build(); } +} +class _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override - ProvisioningApiUserDetails_Quota rebuild(void Function(ProvisioningApiUserDetails_QuotaBuilder) updates) => - (toBuilder()..update(updates)).build(); - + final Iterable types = const [ + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs, + _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs + ]; @override - ProvisioningApiUserDetails_QuotaBuilder toBuilder() => ProvisioningApiUserDetails_QuotaBuilder()..replace(this); + final String wireName = 'ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs'; @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is ProvisioningApiUserDetails_Quota && - free == other.free && - used == other.used && - total == other.total && - relative == other.relative && - quota == other.quota; - } + Iterable serialize( + Serializers serializers, ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; - @override - int get hashCode { - var _$hash = 0; - _$hash = $jc(_$hash, free.hashCode); - _$hash = $jc(_$hash, used.hashCode); - _$hash = $jc(_$hash, total.hashCode); - _$hash = $jc(_$hash, relative.hashCode); - _$hash = $jc(_$hash, quota.hashCode); - _$hash = $jf(_$hash); - return _$hash; + return result; } @override - String toString() { - return (newBuiltValueToStringHelper(r'ProvisioningApiUserDetails_Quota') - ..add('free', free) - ..add('used', used) - ..add('total', total) - ..add('relative', relative) - ..add('quota', quota)) - .toString(); - } -} - -class ProvisioningApiUserDetails_QuotaBuilder - implements Builder { - _$ProvisioningApiUserDetails_Quota? _$v; - - int? _free; - int? get free => _$this._free; - set free(int? free) => _$this._free = free; - - int? _used; - int? get used => _$this._used; - set used(int? used) => _$this._used = used; - - int? _total; - int? get total => _$this._total; - set total(int? total) => _$this._total = total; - - num? _relative; - num? get relative => _$this._relative; - set relative(num? relative) => _$this._relative = relative; - - int? _quota; - int? get quota => _$this._quota; - set quota(int? quota) => _$this._quota = quota; - - ProvisioningApiUserDetails_QuotaBuilder(); + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_OcsBuilder(); - ProvisioningApiUserDetails_QuotaBuilder get _$this { - final $v = _$v; - if ($v != null) { - _free = $v.free; - _used = $v.used; - _total = $v.total; - _relative = $v.relative; - _quota = $v.quota; - _$v = null; + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } } - return this; - } - @override - void replace(ProvisioningApiUserDetails_Quota other) { - ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ProvisioningApiUserDetails_Quota; + return result.build(); } +} +class _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override - void update(void Function(ProvisioningApiUserDetails_QuotaBuilder)? updates) { - if (updates != null) updates(this); - } + final Iterable types = const [ + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson, + _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson'; @override - ProvisioningApiUserDetails_Quota build() => _build(); + Iterable serialize( + Serializers serializers, ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs)), + ]; - _$ProvisioningApiUserDetails_Quota _build() { - final _$result = _$v ?? - _$ProvisioningApiUserDetails_Quota._( - free: BuiltValueNullFieldError.checkNotNull(free, r'ProvisioningApiUserDetails_Quota', 'free'), - used: BuiltValueNullFieldError.checkNotNull(used, r'ProvisioningApiUserDetails_Quota', 'used'), - total: BuiltValueNullFieldError.checkNotNull(total, r'ProvisioningApiUserDetails_Quota', 'total'), - relative: BuiltValueNullFieldError.checkNotNull(relative, r'ProvisioningApiUserDetails_Quota', 'relative'), - quota: BuiltValueNullFieldError.checkNotNull(quota, r'ProvisioningApiUserDetails_Quota', 'quota')); - replace(_$result); - return _$result; + return result; } -} -class _$ProvisioningApiUserDetails_BackendCapabilities extends ProvisioningApiUserDetails_BackendCapabilities { - @override - final bool setDisplayName; @override - final bool setPassword; + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJsonBuilder(); - factory _$ProvisioningApiUserDetails_BackendCapabilities( - [void Function(ProvisioningApiUserDetails_BackendCapabilitiesBuilder)? updates]) => - (ProvisioningApiUserDetails_BackendCapabilitiesBuilder()..update(updates))._build(); + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs))! + as ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs); + break; + } + } - _$ProvisioningApiUserDetails_BackendCapabilities._({required this.setDisplayName, required this.setPassword}) - : super._() { - BuiltValueNullFieldError.checkNotNull( - setDisplayName, r'ProvisioningApiUserDetails_BackendCapabilities', 'setDisplayName'); - BuiltValueNullFieldError.checkNotNull( - setPassword, r'ProvisioningApiUserDetails_BackendCapabilities', 'setPassword'); + return result.build(); } +} +class _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { @override - ProvisioningApiUserDetails_BackendCapabilities rebuild( - void Function(ProvisioningApiUserDetails_BackendCapabilitiesBuilder) updates) => - (toBuilder()..update(updates)).build(); - + final Iterable types = const [ + ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data, + _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data + ]; @override - ProvisioningApiUserDetails_BackendCapabilitiesBuilder toBuilder() => - ProvisioningApiUserDetails_BackendCapabilitiesBuilder()..replace(this); + final String wireName = 'ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data'; @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is ProvisioningApiUserDetails_BackendCapabilities && - setDisplayName == other.setDisplayName && - setPassword == other.setPassword; - } + Iterable serialize( + Serializers serializers, ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'apps', + serializers.serialize(object.apps, specifiedType: const FullType(BuiltList, [FullType(String)])), + ]; - @override - int get hashCode { - var _$hash = 0; - _$hash = $jc(_$hash, setDisplayName.hashCode); - _$hash = $jc(_$hash, setPassword.hashCode); - _$hash = $jf(_$hash); - return _$hash; + return result; } @override - String toString() { - return (newBuiltValueToStringHelper(r'ProvisioningApiUserDetails_BackendCapabilities') - ..add('setDisplayName', setDisplayName) - ..add('setPassword', setPassword)) - .toString(); + ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'apps': + result.apps.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + } + } + + return result.build(); } } -class ProvisioningApiUserDetails_BackendCapabilitiesBuilder - implements - Builder { - _$ProvisioningApiUserDetails_BackendCapabilities? _$v; +class _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs, + _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs'; - bool? _setDisplayName; - bool? get setDisplayName => _$this._setDisplayName; - set setDisplayName(bool? setDisplayName) => _$this._setDisplayName = setDisplayName; + @override + Iterable serialize(Serializers serializers, ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data)), + ]; - bool? _setPassword; - bool? get setPassword => _$this._setPassword; - set setPassword(bool? setPassword) => _$this._setPassword = setPassword; + return result; + } - ProvisioningApiUserDetails_BackendCapabilitiesBuilder(); + @override + ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiAppsGetAppsResponse200ApplicationJson_OcsBuilder(); - ProvisioningApiUserDetails_BackendCapabilitiesBuilder get _$this { - final $v = _$v; - if ($v != null) { - _setDisplayName = $v.setDisplayName; - _setPassword = $v.setPassword; - _$v = null; + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data))! + as ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data); + break; + } } - return this; + + return result.build(); } +} +class _$ProvisioningApiAppsGetAppsResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override - void replace(ProvisioningApiUserDetails_BackendCapabilities other) { - ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ProvisioningApiUserDetails_BackendCapabilities; - } + final Iterable types = const [ + ProvisioningApiAppsGetAppsResponse200ApplicationJson, + _$ProvisioningApiAppsGetAppsResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiAppsGetAppsResponse200ApplicationJson'; @override - void update(void Function(ProvisioningApiUserDetails_BackendCapabilitiesBuilder)? updates) { - if (updates != null) updates(this); + Iterable serialize(Serializers serializers, ProvisioningApiAppsGetAppsResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs)), + ]; + + return result; } @override - ProvisioningApiUserDetails_BackendCapabilities build() => _build(); + ProvisioningApiAppsGetAppsResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiAppsGetAppsResponse200ApplicationJsonBuilder(); - _$ProvisioningApiUserDetails_BackendCapabilities _build() { - final _$result = _$v ?? - _$ProvisioningApiUserDetails_BackendCapabilities._( - setDisplayName: BuiltValueNullFieldError.checkNotNull( - setDisplayName, r'ProvisioningApiUserDetails_BackendCapabilities', 'setDisplayName'), - setPassword: BuiltValueNullFieldError.checkNotNull( - setPassword, r'ProvisioningApiUserDetails_BackendCapabilities', 'setPassword')); - replace(_$result); - return _$result; + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs))! + as ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); } } -class _$ProvisioningApiUserDetails extends ProvisioningApiUserDetails { - @override - final bool? enabled; - @override - final String? storageLocation; - @override - final String id; - @override - final int lastLogin; - @override - final String backend; - @override - final BuiltList subadmin; - @override - final ProvisioningApiUserDetails_Quota quota; - @override - final String avatarScope; - @override - final String? email; - @override - final String emailScope; - @override - final BuiltList additionalMail; - @override - final BuiltList additionalMailScope; - @override - final String displayname; - @override - final String displaynameScope; - @override - final String phone; +class _$ProvisioningApiAppInfoSerializer implements StructuredSerializer { @override - final String phoneScope; + final Iterable types = const [ProvisioningApiAppInfo, _$ProvisioningApiAppInfo]; @override - final String address; - @override - final String addressScope; - @override - final String website; - @override - final String websiteScope; - @override - final String twitter; - @override - final String twitterScope; - @override - final String organisation; - @override - final String organisationScope; - @override - final String role; - @override - final String roleScope; + final String wireName = 'ProvisioningApiAppInfo'; + @override - final String headline; + Iterable serialize(Serializers serializers, ProvisioningApiAppInfo object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'description', + serializers.serialize(object.description, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'summary', + serializers.serialize(object.summary, specifiedType: const FullType(String)), + 'version', + serializers.serialize(object.version, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.active; + if (value != null) { + result + ..add('active') + ..add(serializers.serialize(value, specifiedType: const FullType(bool))); + } + value = object.activity; + if (value != null) { + result + ..add('activity') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.author; + if (value != null) { + result + ..add('author') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.backgroundJobs; + if (value != null) { + result + ..add('background-jobs') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.bugs; + if (value != null) { + result + ..add('bugs') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.category; + if (value != null) { + result + ..add('category') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.collaboration; + if (value != null) { + result + ..add('collaboration') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.commands; + if (value != null) { + result + ..add('commands') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.defaultEnable; + if (value != null) { + result + ..add('default_enable') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.dependencies; + if (value != null) { + result + ..add('dependencies') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.discussion; + if (value != null) { + result + ..add('discussion') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.documentation; + if (value != null) { + result + ..add('documentation') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.groups; + if (value != null) { + result + ..add('groups') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.info; + if (value != null) { + result + ..add('info') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.internal; + if (value != null) { + result + ..add('internal') + ..add(serializers.serialize(value, specifiedType: const FullType(bool))); + } + value = object.level; + if (value != null) { + result + ..add('level') + ..add(serializers.serialize(value, specifiedType: const FullType(int))); + } + value = object.licence; + if (value != null) { + result + ..add('licence') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.namespace; + if (value != null) { + result + ..add('namespace') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.navigations; + if (value != null) { + result + ..add('navigations') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.preview; + if (value != null) { + result + ..add('preview') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.previewAsIcon; + if (value != null) { + result + ..add('previewAsIcon') + ..add(serializers.serialize(value, specifiedType: const FullType(bool))); + } + value = object.public; + if (value != null) { + result + ..add('public') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.remote; + if (value != null) { + result + ..add('remote') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.removable; + if (value != null) { + result + ..add('removable') + ..add(serializers.serialize(value, specifiedType: const FullType(bool))); + } + value = object.repairSteps; + if (value != null) { + result + ..add('repair-steps') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.repository; + if (value != null) { + result + ..add('repository') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.sabre; + if (value != null) { + result + ..add('sabre') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.screenshot; + if (value != null) { + result + ..add('screenshot') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.settings; + if (value != null) { + result + ..add('settings') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.trash; + if (value != null) { + result + ..add('trash') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.twoFactorProviders; + if (value != null) { + result + ..add('two-factor-providers') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.types; + if (value != null) { + result + ..add('types') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.versions; + if (value != null) { + result + ..add('versions') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + value = object.website; + if (value != null) { + result + ..add('website') + ..add(serializers.serialize(value, specifiedType: const FullType(JsonObject))); + } + return result; + } + + @override + ProvisioningApiAppInfo deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiAppInfoBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'active': + result.active = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + break; + case 'activity': + result.activity = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'author': + result.author = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'background-jobs': + result.backgroundJobs = + serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'bugs': + result.bugs = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'category': + result.category = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'collaboration': + result.collaboration = + serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'commands': + result.commands = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'default_enable': + result.defaultEnable = + serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'dependencies': + result.dependencies = + serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'description': + result.description = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'discussion': + result.discussion = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'documentation': + result.documentation = + serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'groups': + result.groups = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'info': + result.info = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'internal': + result.internal = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + break; + case 'level': + result.level = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; + break; + case 'licence': + result.licence = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'namespace': + result.namespace = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'navigations': + result.navigations = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'preview': + result.preview = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'previewAsIcon': + result.previewAsIcon = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + break; + case 'public': + result.public = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'remote': + result.remote = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'removable': + result.removable = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + break; + case 'repair-steps': + result.repairSteps = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'repository': + result.repository = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'sabre': + result.sabre = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'screenshot': + result.screenshot = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'settings': + result.settings = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'summary': + result.summary = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'trash': + result.trash = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'two-factor-providers': + result.twoFactorProviders = + serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'types': + result.types = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'version': + result.version = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'versions': + result.versions = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + case 'website': + result.website = serializers.deserialize(value, specifiedType: const FullType(JsonObject)) as JsonObject?; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs, + _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(ProvisioningApiAppInfo)), + ]; + + return result; + } + + @override + ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiAppInfo))! + as ProvisioningApiAppInfo); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiAppsGetAppInfoResponse200ApplicationJson, + _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiAppsGetAppInfoResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiAppsGetAppInfoResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiAppsGetAppInfoResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiAppsGetAppInfoResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs))! + as ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiAppsEnableResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs, + _$ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiAppsEnableResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiAppsEnableResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiAppsEnableResponse200ApplicationJson, + _$ProvisioningApiAppsEnableResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiAppsEnableResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiAppsEnableResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiAppsEnableResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiAppsEnableResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs))! + as ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiAppsDisableResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs, + _$ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiAppsDisableResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiAppsDisableResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiAppsDisableResponse200ApplicationJson, + _$ProvisioningApiAppsDisableResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiAppsDisableResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiAppsDisableResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiAppsDisableResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiAppsDisableResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs))! + as ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data, + _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'groups', + serializers.serialize(object.groups, specifiedType: const FullType(BuiltList, [FullType(String)])), + ]; + + return result; + } + + @override + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'groups': + result.groups.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs, + _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data))! + as ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson, + _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiGroupsGetGroupsResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiGroupsGetGroupsResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsGetGroupsResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs))! + as ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs, + _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsAddGroupResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsAddGroupResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsAddGroupResponse200ApplicationJson, + _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiGroupsAddGroupResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiGroupsAddGroupResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiGroupsAddGroupResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsAddGroupResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs))! + as ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupDetailsSerializer implements StructuredSerializer { + @override + final Iterable types = const [ProvisioningApiGroupDetails, _$ProvisioningApiGroupDetails]; + @override + final String wireName = 'ProvisioningApiGroupDetails'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiGroupDetails object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'displayname', + serializers.serialize(object.displayname, specifiedType: const FullType(String)), + 'usercount', + serializers.serialize(object.usercount, specifiedType: const FullType(ProvisioningApiGroupDetails_Usercount)), + 'disabled', + serializers.serialize(object.disabled, specifiedType: const FullType(ProvisioningApiGroupDetails_Disabled)), + 'canAdd', + serializers.serialize(object.canAdd, specifiedType: const FullType(bool)), + 'canRemove', + serializers.serialize(object.canRemove, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + ProvisioningApiGroupDetails deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupDetailsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'displayname': + result.displayname = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'usercount': + result.usercount.replace( + serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiGroupDetails_Usercount))! + as ProvisioningApiGroupDetails_Usercount); + break; + case 'disabled': + result.disabled.replace( + serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiGroupDetails_Disabled))! + as ProvisioningApiGroupDetails_Disabled); + break; + case 'canAdd': + result.canAdd = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'canRemove': + result.canRemove = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data, + _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'groups', + serializers.serialize(object.groups, + specifiedType: const FullType(BuiltList, [FullType(ProvisioningApiGroupDetails)])), + ]; + + return result; + } + + @override + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'groups': + result.groups.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(ProvisioningApiGroupDetails)]))! + as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs, + _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: + const FullType(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data))! + as ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson, + _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs))! + as ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data, + _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'users', + serializers.serialize(object.users, specifiedType: const FullType(BuiltList, [FullType(String)])), + ]; + + return result; + } + + @override + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'users': + result.users.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs, + _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data))! + as ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson, + _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs))! + as ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUserDetails_BackendCapabilitiesSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUserDetails_BackendCapabilities, + _$ProvisioningApiUserDetails_BackendCapabilities + ]; + @override + final String wireName = 'ProvisioningApiUserDetails_BackendCapabilities'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiUserDetails_BackendCapabilities object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'setDisplayName', + serializers.serialize(object.setDisplayName, specifiedType: const FullType(bool)), + 'setPassword', + serializers.serialize(object.setPassword, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + ProvisioningApiUserDetails_BackendCapabilities deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUserDetails_BackendCapabilitiesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'setDisplayName': + result.setDisplayName = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'setPassword': + result.setPassword = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUserDetailsQuotaSerializer implements StructuredSerializer { + @override + final Iterable types = const [ProvisioningApiUserDetailsQuota, _$ProvisioningApiUserDetailsQuota]; + @override + final String wireName = 'ProvisioningApiUserDetailsQuota'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiUserDetailsQuota object, + {FullType specifiedType = FullType.unspecified}) { + final result = []; + Object? value; + value = object.free; + if (value != null) { + result + ..add('free') + ..add(serializers.serialize(value, specifiedType: const FullType(num))); + } + value = object.quota; + if (value != null) { + result + ..add('quota') + ..add(serializers.serialize(value, specifiedType: const FullType(ProvisioningApiUserDetailsQuota_Quota))); + } + value = object.relative; + if (value != null) { + result + ..add('relative') + ..add(serializers.serialize(value, specifiedType: const FullType(num))); + } + value = object.total; + if (value != null) { + result + ..add('total') + ..add(serializers.serialize(value, specifiedType: const FullType(num))); + } + value = object.used; + if (value != null) { + result + ..add('used') + ..add(serializers.serialize(value, specifiedType: const FullType(num))); + } + return result; + } + + @override + ProvisioningApiUserDetailsQuota deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUserDetailsQuotaBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'free': + result.free = serializers.deserialize(value, specifiedType: const FullType(num)) as num?; + break; + case 'quota': + result.quota.replace( + serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiUserDetailsQuota_Quota))! + as ProvisioningApiUserDetailsQuota_Quota); + break; + case 'relative': + result.relative = serializers.deserialize(value, specifiedType: const FullType(num)) as num?; + break; + case 'total': + result.total = serializers.deserialize(value, specifiedType: const FullType(num)) as num?; + break; + case 'used': + result.used = serializers.deserialize(value, specifiedType: const FullType(num)) as num?; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUserDetailsSerializer implements StructuredSerializer { + @override + final Iterable types = const [ProvisioningApiUserDetails, _$ProvisioningApiUserDetails]; + @override + final String wireName = 'ProvisioningApiUserDetails'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiUserDetails object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'additional_mail', + serializers.serialize(object.additionalMail, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'address', + serializers.serialize(object.address, specifiedType: const FullType(String)), + 'backend', + serializers.serialize(object.backend, specifiedType: const FullType(String)), + 'backendCapabilities', + serializers.serialize(object.backendCapabilities, + specifiedType: const FullType(ProvisioningApiUserDetails_BackendCapabilities)), + 'biography', + serializers.serialize(object.biography, specifiedType: const FullType(String)), + 'display-name', + serializers.serialize(object.displayName, specifiedType: const FullType(String)), + 'displayname', + serializers.serialize(object.displayname, specifiedType: const FullType(String)), + 'fediverse', + serializers.serialize(object.fediverse, specifiedType: const FullType(String)), + 'groups', + serializers.serialize(object.groups, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'headline', + serializers.serialize(object.headline, specifiedType: const FullType(String)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'language', + serializers.serialize(object.language, specifiedType: const FullType(String)), + 'lastLogin', + serializers.serialize(object.lastLogin, specifiedType: const FullType(int)), + 'locale', + serializers.serialize(object.locale, specifiedType: const FullType(String)), + 'manager', + serializers.serialize(object.manager, specifiedType: const FullType(String)), + 'organisation', + serializers.serialize(object.organisation, specifiedType: const FullType(String)), + 'phone', + serializers.serialize(object.phone, specifiedType: const FullType(String)), + 'profile_enabled', + serializers.serialize(object.profileEnabled, specifiedType: const FullType(String)), + 'quota', + serializers.serialize(object.quota, specifiedType: const FullType(ProvisioningApiUserDetailsQuota)), + 'role', + serializers.serialize(object.role, specifiedType: const FullType(String)), + 'subadmin', + serializers.serialize(object.subadmin, specifiedType: const FullType(BuiltList, [FullType(String)])), + 'twitter', + serializers.serialize(object.twitter, specifiedType: const FullType(String)), + 'website', + serializers.serialize(object.website, specifiedType: const FullType(String)), + ]; + Object? value; + value = object.additionalMailScope; + if (value != null) { + result + ..add('additional_mailScope') + ..add(serializers.serialize(value, specifiedType: const FullType(BuiltList, [FullType(String)]))); + } + value = object.addressScope; + if (value != null) { + result + ..add('addressScope') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.avatarScope; + if (value != null) { + result + ..add('avatarScope') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.biographyScope; + if (value != null) { + result + ..add('biographyScope') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.displaynameScope; + if (value != null) { + result + ..add('displaynameScope') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.email; + if (value != null) { + result + ..add('email') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.emailScope; + if (value != null) { + result + ..add('emailScope') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.enabled; + if (value != null) { + result + ..add('enabled') + ..add(serializers.serialize(value, specifiedType: const FullType(bool))); + } + value = object.fediverseScope; + if (value != null) { + result + ..add('fediverseScope') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.headlineScope; + if (value != null) { + result + ..add('headlineScope') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.notifyEmail; + if (value != null) { + result + ..add('notify_email') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.organisationScope; + if (value != null) { + result + ..add('organisationScope') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.phoneScope; + if (value != null) { + result + ..add('phoneScope') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.profileEnabledScope; + if (value != null) { + result + ..add('profile_enabledScope') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.roleScope; + if (value != null) { + result + ..add('roleScope') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.storageLocation; + if (value != null) { + result + ..add('storageLocation') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.twitterScope; + if (value != null) { + result + ..add('twitterScope') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.websiteScope; + if (value != null) { + result + ..add('websiteScope') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + ProvisioningApiUserDetails deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUserDetailsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'additional_mail': + result.additionalMail.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'additional_mailScope': + result.additionalMailScope.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'address': + result.address = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'addressScope': + result.addressScope = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'avatarScope': + result.avatarScope = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'backend': + result.backend = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'backendCapabilities': + result.backendCapabilities.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUserDetails_BackendCapabilities))! + as ProvisioningApiUserDetails_BackendCapabilities); + break; + case 'biography': + result.biography = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'biographyScope': + result.biographyScope = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'display-name': + result.displayName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'displayname': + result.displayname = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'displaynameScope': + result.displaynameScope = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'email': + result.email = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'emailScope': + result.emailScope = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; + break; + case 'fediverse': + result.fediverse = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'fediverseScope': + result.fediverseScope = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'groups': + result.groups.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'headline': + result.headline = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'headlineScope': + result.headlineScope = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'language': + result.language = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'lastLogin': + result.lastLogin = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'locale': + result.locale = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'manager': + result.manager = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'notify_email': + result.notifyEmail = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'organisation': + result.organisation = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'organisationScope': + result.organisationScope = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'phone': + result.phone = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'phoneScope': + result.phoneScope = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'profile_enabled': + result.profileEnabled = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'profile_enabledScope': + result.profileEnabledScope = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'quota': + result.quota.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUserDetailsQuota))! as ProvisioningApiUserDetailsQuota); + break; + case 'role': + result.role = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'roleScope': + result.roleScope = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'storageLocation': + result.storageLocation = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'subadmin': + result.subadmin.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + case 'twitter': + result.twitter = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'twitterScope': + result.twitterScope = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'website': + result.website = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'websiteScope': + result.websiteScope = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Serializer + implements + StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1, + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 + ]; + @override + final String wireName = 'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1'; + + @override + Iterable serialize(Serializers serializers, + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data, + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'users', + serializers.serialize(object.users, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users) + ])), + ]; + + return result; + } + + @override + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'users': + result.users.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users) + ]))!); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs, + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: + const FullType(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data))! + as ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson, + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: + const FullType(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs))! + as ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs, + _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(String)])), + ]; + + return result; + } + + @override + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson, + _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: + const FullType(ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs))! + as ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data, + _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'users', + serializers.serialize(object.users, specifiedType: const FullType(BuiltList, [FullType(String)])), + ]; + + return result; + } + + @override + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'users': + result.users.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs, + _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsGetGroupResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data))! + as ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsGetGroupResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsGetGroupResponse200ApplicationJson, + _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiGroupsGetGroupResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiGroupsGetGroupResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiGroupsGetGroupResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsGetGroupResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs))! + as ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs, + _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson, + _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsUpdateGroupResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs))! + as ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs, + _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson, + _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiGroupsDeleteGroupResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs))! + as ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs, + _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson, + _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs))! + as ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs, + _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson, + _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: + const FullType(ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs))! + as ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs, + _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson, + _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: + const FullType(ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: + const FullType(ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs))! + as ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs, + _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson, + _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: + const FullType(ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: + const FullType(ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs))! + as ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data, + _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'users', + serializers.serialize(object.users, specifiedType: const FullType(BuiltList, [FullType(String)])), + ]; + + return result; + } + + @override + ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'users': + result.users.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersGetUsersResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data))! + as ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersGetUsersResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetUsersResponse200ApplicationJson, + _$ProvisioningApiUsersGetUsersResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersGetUsersResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiUsersGetUsersResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersGetUsersResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersGetUsersResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data, + _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersAddUserResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersAddUserResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data))! + as ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersAddUserResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersAddUserResponse200ApplicationJson, + _$ProvisioningApiUsersAddUserResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersAddUserResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiUsersAddUserResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersAddUserResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersAddUserResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Serializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1, + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 + ]; + @override + final String wireName = 'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'id': + result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data, + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'users', + serializers.serialize(object.users, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users) + ])), + ]; + + return result; + } + + @override + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'users': + result.users.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [ + FullType(String), + FullType(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users) + ]))!); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: + const FullType(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data))! + as ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson, + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltMap, [FullType(String), FullType(String)])), + ]; + + return result; + } + + @override + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltMap, [FullType(String), FullType(String)]))!); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson, + _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: + const FullType(ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersGetUserResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(ProvisioningApiUserDetails)), + ]; + + return result; + } + + @override + ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersGetUserResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiUserDetails))! + as ProvisioningApiUserDetails); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersGetUserResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetUserResponse200ApplicationJson, + _$ProvisioningApiUsersGetUserResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersGetUserResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiUsersGetUserResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersGetUserResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersGetUserResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersEditUserResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersEditUserResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersEditUserResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersEditUserResponse200ApplicationJson, + _$ProvisioningApiUsersEditUserResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersEditUserResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiUsersEditUserResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersEditUserResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersEditUserResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersDeleteUserResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersDeleteUserResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersDeleteUserResponse200ApplicationJson, + _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersDeleteUserResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiUsersDeleteUserResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersDeleteUserResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersDeleteUserResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(ProvisioningApiUserDetails)), + ]; + + return result; + } + + @override + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiUserDetails))! + as ProvisioningApiUserDetails); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson, + _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersGetCurrentUserResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(String)])), + ]; + + return result; + } + + @override + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson, + _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(String)])), + ]; + + return result; + } + + @override + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson, + _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: + const FullType(ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson, + _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson, + _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersEnableUserResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersEnableUserResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersEnableUserResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersEnableUserResponse200ApplicationJson, + _$ProvisioningApiUsersEnableUserResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersEnableUserResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiUsersEnableUserResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersEnableUserResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersEnableUserResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersDisableUserResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersDisableUserResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersDisableUserResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersDisableUserResponse200ApplicationJson, + _$ProvisioningApiUsersDisableUserResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersDisableUserResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiUsersDisableUserResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersDisableUserResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersDisableUserResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_DataSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data, + _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data + ]; + @override + final String wireName = 'ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'groups', + serializers.serialize(object.groups, specifiedType: const FullType(BuiltList, [FullType(String)])), + ]; + + return result; + } + + @override + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_DataBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'groups': + result.groups.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data))! + as ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson, + _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersAddToGroupResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersAddToGroupResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersAddToGroupResponse200ApplicationJson, + _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersAddToGroupResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiUsersAddToGroupResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersAddToGroupResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersAddToGroupResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson, + _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(String)])), + ]; + + return result; + } + + @override + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(String)]))! as BuiltList); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson, + _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: + const FullType(ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersAddSubAdminResponse200ApplicationJson, + _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersAddSubAdminResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiUsersAddSubAdminResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersAddSubAdminResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersAddSubAdminResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson, + _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs, + _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ProvisioningApiOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace(serializers.deserialize(value, specifiedType: const FullType(ProvisioningApiOCSMeta))! + as ProvisioningApiOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson, + _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson + ]; + @override + final String wireName = 'ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: + const FullType(ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs))! + as ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiCapabilities_ProvisioningApiSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ProvisioningApiCapabilities_ProvisioningApi, + _$ProvisioningApiCapabilities_ProvisioningApi + ]; + @override + final String wireName = 'ProvisioningApiCapabilities_ProvisioningApi'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiCapabilities_ProvisioningApi object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'version', + serializers.serialize(object.version, specifiedType: const FullType(String)), + 'AccountPropertyScopesVersion', + serializers.serialize(object.accountPropertyScopesVersion, specifiedType: const FullType(int)), + 'AccountPropertyScopesFederatedEnabled', + serializers.serialize(object.accountPropertyScopesFederatedEnabled, specifiedType: const FullType(bool)), + 'AccountPropertyScopesPublishedEnabled', + serializers.serialize(object.accountPropertyScopesPublishedEnabled, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + ProvisioningApiCapabilities_ProvisioningApi deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiCapabilities_ProvisioningApiBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'version': + result.version = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'AccountPropertyScopesVersion': + result.accountPropertyScopesVersion = + serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'AccountPropertyScopesFederatedEnabled': + result.accountPropertyScopesFederatedEnabled = + serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'AccountPropertyScopesPublishedEnabled': + result.accountPropertyScopesPublishedEnabled = + serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiCapabilitiesSerializer implements StructuredSerializer { + @override + final Iterable types = const [ProvisioningApiCapabilities, _$ProvisioningApiCapabilities]; + @override + final String wireName = 'ProvisioningApiCapabilities'; + + @override + Iterable serialize(Serializers serializers, ProvisioningApiCapabilities object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'provisioning_api', + serializers.serialize(object.provisioningApi, + specifiedType: const FullType(ProvisioningApiCapabilities_ProvisioningApi)), + ]; + + return result; + } + + @override + ProvisioningApiCapabilities deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ProvisioningApiCapabilitiesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'provisioning_api': + result.provisioningApi.replace(serializers.deserialize(value, + specifiedType: const FullType(ProvisioningApiCapabilities_ProvisioningApi))! + as ProvisioningApiCapabilities_ProvisioningApi); + break; + } + } + + return result.build(); + } +} + +class _$ProvisioningApiOCSMeta extends ProvisioningApiOCSMeta { + @override + final String status; + @override + final int statuscode; + @override + final String? message; + @override + final String? totalitems; + @override + final String? itemsperpage; + + factory _$ProvisioningApiOCSMeta([void Function(ProvisioningApiOCSMetaBuilder)? updates]) => + (ProvisioningApiOCSMetaBuilder()..update(updates))._build(); + + _$ProvisioningApiOCSMeta._( + {required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) + : super._() { + BuiltValueNullFieldError.checkNotNull(status, r'ProvisioningApiOCSMeta', 'status'); + BuiltValueNullFieldError.checkNotNull(statuscode, r'ProvisioningApiOCSMeta', 'statuscode'); + } + + @override + ProvisioningApiOCSMeta rebuild(void Function(ProvisioningApiOCSMetaBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiOCSMetaBuilder toBuilder() => ProvisioningApiOCSMetaBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiOCSMeta && + status == other.status && + statuscode == other.statuscode && + message == other.message && + totalitems == other.totalitems && + itemsperpage == other.itemsperpage; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, statuscode.hashCode); + _$hash = $jc(_$hash, message.hashCode); + _$hash = $jc(_$hash, totalitems.hashCode); + _$hash = $jc(_$hash, itemsperpage.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiOCSMeta') + ..add('status', status) + ..add('statuscode', statuscode) + ..add('message', message) + ..add('totalitems', totalitems) + ..add('itemsperpage', itemsperpage)) + .toString(); + } +} + +class ProvisioningApiOCSMetaBuilder implements Builder { + _$ProvisioningApiOCSMeta? _$v; + + String? _status; + String? get status => _$this._status; + set status(String? status) => _$this._status = status; + + int? _statuscode; + int? get statuscode => _$this._statuscode; + set statuscode(int? statuscode) => _$this._statuscode = statuscode; + + String? _message; + String? get message => _$this._message; + set message(String? message) => _$this._message = message; + + String? _totalitems; + String? get totalitems => _$this._totalitems; + set totalitems(String? totalitems) => _$this._totalitems = totalitems; + + String? _itemsperpage; + String? get itemsperpage => _$this._itemsperpage; + set itemsperpage(String? itemsperpage) => _$this._itemsperpage = itemsperpage; + + ProvisioningApiOCSMetaBuilder(); + + ProvisioningApiOCSMetaBuilder get _$this { + final $v = _$v; + if ($v != null) { + _status = $v.status; + _statuscode = $v.statuscode; + _message = $v.message; + _totalitems = $v.totalitems; + _itemsperpage = $v.itemsperpage; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiOCSMeta other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiOCSMeta; + } + + @override + void update(void Function(ProvisioningApiOCSMetaBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiOCSMeta build() => _build(); + + _$ProvisioningApiOCSMeta _build() { + final _$result = _$v ?? + _$ProvisioningApiOCSMeta._( + status: BuiltValueNullFieldError.checkNotNull(status, r'ProvisioningApiOCSMeta', 'status'), + statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'ProvisioningApiOCSMeta', 'statuscode'), + message: message, + totalitems: totalitems, + itemsperpage: itemsperpage); + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data + extends ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data { + @override + final BuiltList data; + + factory _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data( + [void Function(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data._({required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data', 'data'); + } + + @override + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data rebuild( + void Function(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data') + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data? _$v; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; + + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_DataBuilder(); + + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data; + } + + @override + void update(void Function(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data build() => _build(); + + _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data _build() { + _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data _$result; + try { + _$result = _$v ?? _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data._(data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs + extends ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_Data data; + + factory _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_DataBuilder? _data; + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_DataBuilder(); + set data(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson + extends ProvisioningApiAppConfigGetAppsResponse200ApplicationJson { + @override + final ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson( + [void Function(ProvisioningApiAppConfigGetAppsResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiAppConfigGetAppsResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiAppConfigGetAppsResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson rebuild( + void Function(ProvisioningApiAppConfigGetAppsResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppConfigGetAppsResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiAppConfigGetAppsResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppConfigGetAppsResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppConfigGetAppsResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiAppConfigGetAppsResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson? _$v; + + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiAppConfigGetAppsResponse200ApplicationJsonBuilder(); + + ProvisioningApiAppConfigGetAppsResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppConfigGetAppsResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiAppConfigGetAppsResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppConfigGetAppsResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson _build() { + _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiAppConfigGetAppsResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppConfigGetAppsResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data + extends ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data { + @override + final BuiltList data; + + factory _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data( + [void Function(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data._({required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data', 'data'); + } + + @override + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data rebuild( + void Function(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data') + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data? _$v; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; + + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_DataBuilder(); + + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data; + } + + @override + void update(void Function(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data build() => _build(); + + _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data _build() { + _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data _$result; + try { + _$result = _$v ?? _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data._(data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs + extends ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_Data data; + + factory _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_DataBuilder? _data; + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_DataBuilder(); + set data(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson + extends ProvisioningApiAppConfigGetKeysResponse200ApplicationJson { + @override + final ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson( + [void Function(ProvisioningApiAppConfigGetKeysResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiAppConfigGetKeysResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiAppConfigGetKeysResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson rebuild( + void Function(ProvisioningApiAppConfigGetKeysResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppConfigGetKeysResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiAppConfigGetKeysResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppConfigGetKeysResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppConfigGetKeysResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiAppConfigGetKeysResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson? _$v; + + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiAppConfigGetKeysResponse200ApplicationJsonBuilder(); + + ProvisioningApiAppConfigGetKeysResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppConfigGetKeysResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiAppConfigGetKeysResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppConfigGetKeysResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson _build() { + _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiAppConfigGetKeysResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppConfigGetKeysResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data + extends ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data { + @override + final String data; + + factory _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data( + [void Function(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data._({required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data', 'data'); + } + + @override + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data rebuild( + void Function(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data') + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data? _$v; + + String? _data; + String? get data => _$this._data; + set data(String? data) => _$this._data = data; + + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_DataBuilder(); + + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data; + } + + @override + void update(void Function(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data build() => _build(); + + _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data._( + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data', 'data')); + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs + extends ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_Data data; + + factory _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiAppConfigGetValueResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiAppConfigGetValueResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_DataBuilder? _data; + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_DataBuilder(); + set data(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson + extends ProvisioningApiAppConfigGetValueResponse200ApplicationJson { + @override + final ProvisioningApiAppConfigGetValueResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson( + [void Function(ProvisioningApiAppConfigGetValueResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiAppConfigGetValueResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiAppConfigGetValueResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiAppConfigGetValueResponse200ApplicationJson rebuild( + void Function(ProvisioningApiAppConfigGetValueResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppConfigGetValueResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiAppConfigGetValueResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppConfigGetValueResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppConfigGetValueResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiAppConfigGetValueResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson? _$v; + + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiAppConfigGetValueResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiAppConfigGetValueResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiAppConfigGetValueResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiAppConfigGetValueResponse200ApplicationJsonBuilder(); + + ProvisioningApiAppConfigGetValueResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppConfigGetValueResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiAppConfigGetValueResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppConfigGetValueResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson _build() { + _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiAppConfigGetValueResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppConfigGetValueResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs + extends ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final JsonObject data; + + factory _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiAppConfigSetValueResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiAppConfigSetValueResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiAppConfigSetValueResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppConfigSetValueResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiAppConfigSetValueResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiAppConfigSetValueResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiAppConfigSetValueResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiAppConfigSetValueResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiAppConfigSetValueResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson + extends ProvisioningApiAppConfigSetValueResponse200ApplicationJson { + @override + final ProvisioningApiAppConfigSetValueResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson( + [void Function(ProvisioningApiAppConfigSetValueResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiAppConfigSetValueResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiAppConfigSetValueResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiAppConfigSetValueResponse200ApplicationJson rebuild( + void Function(ProvisioningApiAppConfigSetValueResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppConfigSetValueResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiAppConfigSetValueResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppConfigSetValueResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppConfigSetValueResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiAppConfigSetValueResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson? _$v; + + ProvisioningApiAppConfigSetValueResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiAppConfigSetValueResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiAppConfigSetValueResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiAppConfigSetValueResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiAppConfigSetValueResponse200ApplicationJsonBuilder(); + + ProvisioningApiAppConfigSetValueResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppConfigSetValueResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiAppConfigSetValueResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppConfigSetValueResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson _build() { + _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiAppConfigSetValueResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppConfigSetValueResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs + extends ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final JsonObject data; + + factory _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson + extends ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson { + @override + final ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson( + [void Function(ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson rebuild( + void Function(ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson? _$v; + + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJsonBuilder(); + + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson _build() { + _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppConfigDeleteKeyResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data + extends ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data { + @override + final BuiltList apps; + + factory _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data( + [void Function(ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data._({required this.apps}) : super._() { + BuiltValueNullFieldError.checkNotNull( + apps, r'ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data', 'apps'); + } + + @override + ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data rebuild( + void Function(ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data && apps == other.apps; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, apps.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data') + ..add('apps', apps)) + .toString(); + } +} + +class ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data? _$v; + + ListBuilder? _apps; + ListBuilder get apps => _$this._apps ??= ListBuilder(); + set apps(ListBuilder? apps) => _$this._apps = apps; + + ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_DataBuilder(); + + ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _apps = $v.apps.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data; + } + + @override + void update(void Function(ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data build() => _build(); + + _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data _build() { + _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data _$result; + try { + _$result = _$v ?? _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data._(apps: apps.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'apps'; + apps.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs + extends ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_Data data; + + factory _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiAppsGetAppsResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiAppsGetAppsResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiAppsGetAppsResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppsGetAppsResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiAppsGetAppsResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiAppsGetAppsResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_DataBuilder? _data; + ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_DataBuilder(); + set data(ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + ProvisioningApiAppsGetAppsResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiAppsGetAppsResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiAppsGetAppsResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppsGetAppsResponse200ApplicationJson + extends ProvisioningApiAppsGetAppsResponse200ApplicationJson { + @override + final ProvisioningApiAppsGetAppsResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiAppsGetAppsResponse200ApplicationJson( + [void Function(ProvisioningApiAppsGetAppsResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiAppsGetAppsResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiAppsGetAppsResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiAppsGetAppsResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiAppsGetAppsResponse200ApplicationJson rebuild( + void Function(ProvisioningApiAppsGetAppsResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppsGetAppsResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiAppsGetAppsResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppsGetAppsResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppsGetAppsResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiAppsGetAppsResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiAppsGetAppsResponse200ApplicationJson? _$v; + + ProvisioningApiAppsGetAppsResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiAppsGetAppsResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiAppsGetAppsResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiAppsGetAppsResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiAppsGetAppsResponse200ApplicationJsonBuilder(); + + ProvisioningApiAppsGetAppsResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppsGetAppsResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppsGetAppsResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiAppsGetAppsResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppsGetAppsResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiAppsGetAppsResponse200ApplicationJson _build() { + _$ProvisioningApiAppsGetAppsResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiAppsGetAppsResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppsGetAppsResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppInfo extends ProvisioningApiAppInfo { + @override + final bool? active; + @override + final JsonObject? activity; + @override + final JsonObject? author; + @override + final JsonObject? backgroundJobs; + @override + final JsonObject? bugs; + @override + final JsonObject? category; + @override + final JsonObject? collaboration; + @override + final JsonObject? commands; + @override + final JsonObject? defaultEnable; + @override + final JsonObject? dependencies; + @override + final String description; + @override + final JsonObject? discussion; + @override + final JsonObject? documentation; + @override + final JsonObject? groups; + @override + final String id; + @override + final JsonObject? info; + @override + final bool? internal; + @override + final int? level; + @override + final JsonObject? licence; + @override + final String name; + @override + final JsonObject? namespace; + @override + final JsonObject? navigations; + @override + final JsonObject? preview; + @override + final bool? previewAsIcon; + @override + final JsonObject? public; + @override + final JsonObject? remote; + @override + final bool? removable; + @override + final JsonObject? repairSteps; + @override + final JsonObject? repository; + @override + final JsonObject? sabre; + @override + final JsonObject? screenshot; + @override + final JsonObject? settings; + @override + final String summary; + @override + final JsonObject? trash; + @override + final JsonObject? twoFactorProviders; + @override + final JsonObject? types; + @override + final String version; + @override + final JsonObject? versions; + @override + final JsonObject? website; + + factory _$ProvisioningApiAppInfo([void Function(ProvisioningApiAppInfoBuilder)? updates]) => + (ProvisioningApiAppInfoBuilder()..update(updates))._build(); + + _$ProvisioningApiAppInfo._( + {this.active, + this.activity, + this.author, + this.backgroundJobs, + this.bugs, + this.category, + this.collaboration, + this.commands, + this.defaultEnable, + this.dependencies, + required this.description, + this.discussion, + this.documentation, + this.groups, + required this.id, + this.info, + this.internal, + this.level, + this.licence, + required this.name, + this.namespace, + this.navigations, + this.preview, + this.previewAsIcon, + this.public, + this.remote, + this.removable, + this.repairSteps, + this.repository, + this.sabre, + this.screenshot, + this.settings, + required this.summary, + this.trash, + this.twoFactorProviders, + this.types, + required this.version, + this.versions, + this.website}) + : super._() { + BuiltValueNullFieldError.checkNotNull(description, r'ProvisioningApiAppInfo', 'description'); + BuiltValueNullFieldError.checkNotNull(id, r'ProvisioningApiAppInfo', 'id'); + BuiltValueNullFieldError.checkNotNull(name, r'ProvisioningApiAppInfo', 'name'); + BuiltValueNullFieldError.checkNotNull(summary, r'ProvisioningApiAppInfo', 'summary'); + BuiltValueNullFieldError.checkNotNull(version, r'ProvisioningApiAppInfo', 'version'); + } + + @override + ProvisioningApiAppInfo rebuild(void Function(ProvisioningApiAppInfoBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppInfoBuilder toBuilder() => ProvisioningApiAppInfoBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppInfo && + active == other.active && + activity == other.activity && + author == other.author && + backgroundJobs == other.backgroundJobs && + bugs == other.bugs && + category == other.category && + collaboration == other.collaboration && + commands == other.commands && + defaultEnable == other.defaultEnable && + dependencies == other.dependencies && + description == other.description && + discussion == other.discussion && + documentation == other.documentation && + groups == other.groups && + id == other.id && + info == other.info && + internal == other.internal && + level == other.level && + licence == other.licence && + name == other.name && + namespace == other.namespace && + navigations == other.navigations && + preview == other.preview && + previewAsIcon == other.previewAsIcon && + public == other.public && + remote == other.remote && + removable == other.removable && + repairSteps == other.repairSteps && + repository == other.repository && + sabre == other.sabre && + screenshot == other.screenshot && + settings == other.settings && + summary == other.summary && + trash == other.trash && + twoFactorProviders == other.twoFactorProviders && + types == other.types && + version == other.version && + versions == other.versions && + website == other.website; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, active.hashCode); + _$hash = $jc(_$hash, activity.hashCode); + _$hash = $jc(_$hash, author.hashCode); + _$hash = $jc(_$hash, backgroundJobs.hashCode); + _$hash = $jc(_$hash, bugs.hashCode); + _$hash = $jc(_$hash, category.hashCode); + _$hash = $jc(_$hash, collaboration.hashCode); + _$hash = $jc(_$hash, commands.hashCode); + _$hash = $jc(_$hash, defaultEnable.hashCode); + _$hash = $jc(_$hash, dependencies.hashCode); + _$hash = $jc(_$hash, description.hashCode); + _$hash = $jc(_$hash, discussion.hashCode); + _$hash = $jc(_$hash, documentation.hashCode); + _$hash = $jc(_$hash, groups.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, info.hashCode); + _$hash = $jc(_$hash, internal.hashCode); + _$hash = $jc(_$hash, level.hashCode); + _$hash = $jc(_$hash, licence.hashCode); + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, namespace.hashCode); + _$hash = $jc(_$hash, navigations.hashCode); + _$hash = $jc(_$hash, preview.hashCode); + _$hash = $jc(_$hash, previewAsIcon.hashCode); + _$hash = $jc(_$hash, public.hashCode); + _$hash = $jc(_$hash, remote.hashCode); + _$hash = $jc(_$hash, removable.hashCode); + _$hash = $jc(_$hash, repairSteps.hashCode); + _$hash = $jc(_$hash, repository.hashCode); + _$hash = $jc(_$hash, sabre.hashCode); + _$hash = $jc(_$hash, screenshot.hashCode); + _$hash = $jc(_$hash, settings.hashCode); + _$hash = $jc(_$hash, summary.hashCode); + _$hash = $jc(_$hash, trash.hashCode); + _$hash = $jc(_$hash, twoFactorProviders.hashCode); + _$hash = $jc(_$hash, types.hashCode); + _$hash = $jc(_$hash, version.hashCode); + _$hash = $jc(_$hash, versions.hashCode); + _$hash = $jc(_$hash, website.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppInfo') + ..add('active', active) + ..add('activity', activity) + ..add('author', author) + ..add('backgroundJobs', backgroundJobs) + ..add('bugs', bugs) + ..add('category', category) + ..add('collaboration', collaboration) + ..add('commands', commands) + ..add('defaultEnable', defaultEnable) + ..add('dependencies', dependencies) + ..add('description', description) + ..add('discussion', discussion) + ..add('documentation', documentation) + ..add('groups', groups) + ..add('id', id) + ..add('info', info) + ..add('internal', internal) + ..add('level', level) + ..add('licence', licence) + ..add('name', name) + ..add('namespace', namespace) + ..add('navigations', navigations) + ..add('preview', preview) + ..add('previewAsIcon', previewAsIcon) + ..add('public', public) + ..add('remote', remote) + ..add('removable', removable) + ..add('repairSteps', repairSteps) + ..add('repository', repository) + ..add('sabre', sabre) + ..add('screenshot', screenshot) + ..add('settings', settings) + ..add('summary', summary) + ..add('trash', trash) + ..add('twoFactorProviders', twoFactorProviders) + ..add('types', types) + ..add('version', version) + ..add('versions', versions) + ..add('website', website)) + .toString(); + } +} + +class ProvisioningApiAppInfoBuilder implements Builder { + _$ProvisioningApiAppInfo? _$v; + + bool? _active; + bool? get active => _$this._active; + set active(bool? active) => _$this._active = active; + + JsonObject? _activity; + JsonObject? get activity => _$this._activity; + set activity(JsonObject? activity) => _$this._activity = activity; + + JsonObject? _author; + JsonObject? get author => _$this._author; + set author(JsonObject? author) => _$this._author = author; + + JsonObject? _backgroundJobs; + JsonObject? get backgroundJobs => _$this._backgroundJobs; + set backgroundJobs(JsonObject? backgroundJobs) => _$this._backgroundJobs = backgroundJobs; + + JsonObject? _bugs; + JsonObject? get bugs => _$this._bugs; + set bugs(JsonObject? bugs) => _$this._bugs = bugs; + + JsonObject? _category; + JsonObject? get category => _$this._category; + set category(JsonObject? category) => _$this._category = category; + + JsonObject? _collaboration; + JsonObject? get collaboration => _$this._collaboration; + set collaboration(JsonObject? collaboration) => _$this._collaboration = collaboration; + + JsonObject? _commands; + JsonObject? get commands => _$this._commands; + set commands(JsonObject? commands) => _$this._commands = commands; + + JsonObject? _defaultEnable; + JsonObject? get defaultEnable => _$this._defaultEnable; + set defaultEnable(JsonObject? defaultEnable) => _$this._defaultEnable = defaultEnable; + + JsonObject? _dependencies; + JsonObject? get dependencies => _$this._dependencies; + set dependencies(JsonObject? dependencies) => _$this._dependencies = dependencies; + + String? _description; + String? get description => _$this._description; + set description(String? description) => _$this._description = description; + + JsonObject? _discussion; + JsonObject? get discussion => _$this._discussion; + set discussion(JsonObject? discussion) => _$this._discussion = discussion; + + JsonObject? _documentation; + JsonObject? get documentation => _$this._documentation; + set documentation(JsonObject? documentation) => _$this._documentation = documentation; + + JsonObject? _groups; + JsonObject? get groups => _$this._groups; + set groups(JsonObject? groups) => _$this._groups = groups; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + JsonObject? _info; + JsonObject? get info => _$this._info; + set info(JsonObject? info) => _$this._info = info; + + bool? _internal; + bool? get internal => _$this._internal; + set internal(bool? internal) => _$this._internal = internal; + + int? _level; + int? get level => _$this._level; + set level(int? level) => _$this._level = level; + + JsonObject? _licence; + JsonObject? get licence => _$this._licence; + set licence(JsonObject? licence) => _$this._licence = licence; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + JsonObject? _namespace; + JsonObject? get namespace => _$this._namespace; + set namespace(JsonObject? namespace) => _$this._namespace = namespace; + + JsonObject? _navigations; + JsonObject? get navigations => _$this._navigations; + set navigations(JsonObject? navigations) => _$this._navigations = navigations; + + JsonObject? _preview; + JsonObject? get preview => _$this._preview; + set preview(JsonObject? preview) => _$this._preview = preview; + + bool? _previewAsIcon; + bool? get previewAsIcon => _$this._previewAsIcon; + set previewAsIcon(bool? previewAsIcon) => _$this._previewAsIcon = previewAsIcon; + + JsonObject? _public; + JsonObject? get public => _$this._public; + set public(JsonObject? public) => _$this._public = public; + + JsonObject? _remote; + JsonObject? get remote => _$this._remote; + set remote(JsonObject? remote) => _$this._remote = remote; + + bool? _removable; + bool? get removable => _$this._removable; + set removable(bool? removable) => _$this._removable = removable; + + JsonObject? _repairSteps; + JsonObject? get repairSteps => _$this._repairSteps; + set repairSteps(JsonObject? repairSteps) => _$this._repairSteps = repairSteps; + + JsonObject? _repository; + JsonObject? get repository => _$this._repository; + set repository(JsonObject? repository) => _$this._repository = repository; + + JsonObject? _sabre; + JsonObject? get sabre => _$this._sabre; + set sabre(JsonObject? sabre) => _$this._sabre = sabre; + + JsonObject? _screenshot; + JsonObject? get screenshot => _$this._screenshot; + set screenshot(JsonObject? screenshot) => _$this._screenshot = screenshot; + + JsonObject? _settings; + JsonObject? get settings => _$this._settings; + set settings(JsonObject? settings) => _$this._settings = settings; + + String? _summary; + String? get summary => _$this._summary; + set summary(String? summary) => _$this._summary = summary; + + JsonObject? _trash; + JsonObject? get trash => _$this._trash; + set trash(JsonObject? trash) => _$this._trash = trash; + + JsonObject? _twoFactorProviders; + JsonObject? get twoFactorProviders => _$this._twoFactorProviders; + set twoFactorProviders(JsonObject? twoFactorProviders) => _$this._twoFactorProviders = twoFactorProviders; + + JsonObject? _types; + JsonObject? get types => _$this._types; + set types(JsonObject? types) => _$this._types = types; + + String? _version; + String? get version => _$this._version; + set version(String? version) => _$this._version = version; + + JsonObject? _versions; + JsonObject? get versions => _$this._versions; + set versions(JsonObject? versions) => _$this._versions = versions; + + JsonObject? _website; + JsonObject? get website => _$this._website; + set website(JsonObject? website) => _$this._website = website; + + ProvisioningApiAppInfoBuilder(); + + ProvisioningApiAppInfoBuilder get _$this { + final $v = _$v; + if ($v != null) { + _active = $v.active; + _activity = $v.activity; + _author = $v.author; + _backgroundJobs = $v.backgroundJobs; + _bugs = $v.bugs; + _category = $v.category; + _collaboration = $v.collaboration; + _commands = $v.commands; + _defaultEnable = $v.defaultEnable; + _dependencies = $v.dependencies; + _description = $v.description; + _discussion = $v.discussion; + _documentation = $v.documentation; + _groups = $v.groups; + _id = $v.id; + _info = $v.info; + _internal = $v.internal; + _level = $v.level; + _licence = $v.licence; + _name = $v.name; + _namespace = $v.namespace; + _navigations = $v.navigations; + _preview = $v.preview; + _previewAsIcon = $v.previewAsIcon; + _public = $v.public; + _remote = $v.remote; + _removable = $v.removable; + _repairSteps = $v.repairSteps; + _repository = $v.repository; + _sabre = $v.sabre; + _screenshot = $v.screenshot; + _settings = $v.settings; + _summary = $v.summary; + _trash = $v.trash; + _twoFactorProviders = $v.twoFactorProviders; + _types = $v.types; + _version = $v.version; + _versions = $v.versions; + _website = $v.website; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppInfo other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppInfo; + } + + @override + void update(void Function(ProvisioningApiAppInfoBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppInfo build() => _build(); + + _$ProvisioningApiAppInfo _build() { + final _$result = _$v ?? + _$ProvisioningApiAppInfo._( + active: active, + activity: activity, + author: author, + backgroundJobs: backgroundJobs, + bugs: bugs, + category: category, + collaboration: collaboration, + commands: commands, + defaultEnable: defaultEnable, + dependencies: dependencies, + description: BuiltValueNullFieldError.checkNotNull(description, r'ProvisioningApiAppInfo', 'description'), + discussion: discussion, + documentation: documentation, + groups: groups, + id: BuiltValueNullFieldError.checkNotNull(id, r'ProvisioningApiAppInfo', 'id'), + info: info, + internal: internal, + level: level, + licence: licence, + name: BuiltValueNullFieldError.checkNotNull(name, r'ProvisioningApiAppInfo', 'name'), + namespace: namespace, + navigations: navigations, + preview: preview, + previewAsIcon: previewAsIcon, + public: public, + remote: remote, + removable: removable, + repairSteps: repairSteps, + repository: repository, + sabre: sabre, + screenshot: screenshot, + settings: settings, + summary: BuiltValueNullFieldError.checkNotNull(summary, r'ProvisioningApiAppInfo', 'summary'), + trash: trash, + twoFactorProviders: twoFactorProviders, + types: types, + version: BuiltValueNullFieldError.checkNotNull(version, r'ProvisioningApiAppInfo', 'version'), + versions: versions, + website: website); + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs + extends ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final ProvisioningApiAppInfo data; + + factory _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + ProvisioningApiAppInfoBuilder? _data; + ProvisioningApiAppInfoBuilder get data => _$this._data ??= ProvisioningApiAppInfoBuilder(); + set data(ProvisioningApiAppInfoBuilder? data) => _$this._data = data; + + ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson + extends ProvisioningApiAppsGetAppInfoResponse200ApplicationJson { + @override + final ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson( + [void Function(ProvisioningApiAppsGetAppInfoResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiAppsGetAppInfoResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiAppsGetAppInfoResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiAppsGetAppInfoResponse200ApplicationJson rebuild( + void Function(ProvisioningApiAppsGetAppInfoResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppsGetAppInfoResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiAppsGetAppInfoResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppsGetAppInfoResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppsGetAppInfoResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiAppsGetAppInfoResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson? _$v; + + ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiAppsGetAppInfoResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiAppsGetAppInfoResponse200ApplicationJsonBuilder(); + + ProvisioningApiAppsGetAppInfoResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppsGetAppInfoResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiAppsGetAppInfoResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppsGetAppInfoResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson _build() { + _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiAppsGetAppInfoResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppsGetAppInfoResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs + extends ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final JsonObject data; + + factory _$ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiAppsEnableResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiAppsEnableResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiAppsEnableResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppsEnableResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiAppsEnableResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiAppsEnableResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiAppsEnableResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiAppsEnableResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiAppsEnableResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppsEnableResponse200ApplicationJson + extends ProvisioningApiAppsEnableResponse200ApplicationJson { + @override + final ProvisioningApiAppsEnableResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiAppsEnableResponse200ApplicationJson( + [void Function(ProvisioningApiAppsEnableResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiAppsEnableResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiAppsEnableResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiAppsEnableResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiAppsEnableResponse200ApplicationJson rebuild( + void Function(ProvisioningApiAppsEnableResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppsEnableResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiAppsEnableResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppsEnableResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppsEnableResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiAppsEnableResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiAppsEnableResponse200ApplicationJson? _$v; + + ProvisioningApiAppsEnableResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiAppsEnableResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiAppsEnableResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiAppsEnableResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiAppsEnableResponse200ApplicationJsonBuilder(); + + ProvisioningApiAppsEnableResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppsEnableResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppsEnableResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiAppsEnableResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppsEnableResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiAppsEnableResponse200ApplicationJson _build() { + _$ProvisioningApiAppsEnableResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiAppsEnableResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppsEnableResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs + extends ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final JsonObject data; + + factory _$ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiAppsDisableResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiAppsDisableResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiAppsDisableResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppsDisableResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiAppsDisableResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiAppsDisableResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiAppsDisableResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiAppsDisableResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiAppsDisableResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiAppsDisableResponse200ApplicationJson + extends ProvisioningApiAppsDisableResponse200ApplicationJson { + @override + final ProvisioningApiAppsDisableResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiAppsDisableResponse200ApplicationJson( + [void Function(ProvisioningApiAppsDisableResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiAppsDisableResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiAppsDisableResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiAppsDisableResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiAppsDisableResponse200ApplicationJson rebuild( + void Function(ProvisioningApiAppsDisableResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiAppsDisableResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiAppsDisableResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiAppsDisableResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiAppsDisableResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiAppsDisableResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiAppsDisableResponse200ApplicationJson? _$v; + + ProvisioningApiAppsDisableResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiAppsDisableResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiAppsDisableResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiAppsDisableResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiAppsDisableResponse200ApplicationJsonBuilder(); + + ProvisioningApiAppsDisableResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiAppsDisableResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiAppsDisableResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiAppsDisableResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiAppsDisableResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiAppsDisableResponse200ApplicationJson _build() { + _$ProvisioningApiAppsDisableResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiAppsDisableResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiAppsDisableResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data + extends ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data { + @override + final BuiltList groups; + + factory _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data( + [void Function(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data._({required this.groups}) : super._() { + BuiltValueNullFieldError.checkNotNull( + groups, r'ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data', 'groups'); + } + + @override + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data rebuild( + void Function(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data && groups == other.groups; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, groups.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data') + ..add('groups', groups)) + .toString(); + } +} + +class ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data? _$v; + + ListBuilder? _groups; + ListBuilder get groups => _$this._groups ??= ListBuilder(); + set groups(ListBuilder? groups) => _$this._groups = groups; + + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_DataBuilder(); + + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _groups = $v.groups.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data; + } + + @override + void update(void Function(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data build() => _build(); + + _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data _build() { + _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data _$result; + try { + _$result = _$v ?? _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data._(groups: groups.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'groups'; + groups.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs + extends ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_Data data; + + factory _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_DataBuilder? _data; + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_DataBuilder(); + set data(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson + extends ProvisioningApiGroupsGetGroupsResponse200ApplicationJson { + @override + final ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson( + [void Function(ProvisioningApiGroupsGetGroupsResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiGroupsGetGroupsResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiGroupsGetGroupsResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson rebuild( + void Function(ProvisioningApiGroupsGetGroupsResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsGetGroupsResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiGroupsGetGroupsResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsGetGroupsResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsGetGroupsResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiGroupsGetGroupsResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson? _$v; + + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiGroupsGetGroupsResponse200ApplicationJsonBuilder(); + + ProvisioningApiGroupsGetGroupsResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsGetGroupsResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiGroupsGetGroupsResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsGetGroupsResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson _build() { + _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiGroupsGetGroupsResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsGetGroupsResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs + extends ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final JsonObject data; + + factory _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiGroupsAddGroupResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiGroupsAddGroupResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiGroupsAddGroupResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsAddGroupResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiGroupsAddGroupResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiGroupsAddGroupResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiGroupsAddGroupResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiGroupsAddGroupResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiGroupsAddGroupResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson + extends ProvisioningApiGroupsAddGroupResponse200ApplicationJson { + @override + final ProvisioningApiGroupsAddGroupResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson( + [void Function(ProvisioningApiGroupsAddGroupResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiGroupsAddGroupResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiGroupsAddGroupResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiGroupsAddGroupResponse200ApplicationJson rebuild( + void Function(ProvisioningApiGroupsAddGroupResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsAddGroupResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiGroupsAddGroupResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsAddGroupResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsAddGroupResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiGroupsAddGroupResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson? _$v; + + ProvisioningApiGroupsAddGroupResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiGroupsAddGroupResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiGroupsAddGroupResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiGroupsAddGroupResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiGroupsAddGroupResponse200ApplicationJsonBuilder(); + + ProvisioningApiGroupsAddGroupResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsAddGroupResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiGroupsAddGroupResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsAddGroupResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson _build() { + _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiGroupsAddGroupResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsAddGroupResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupDetails_Usercount extends ProvisioningApiGroupDetails_Usercount { + @override + final JsonObject data; + @override + final bool? $bool; + @override + final int? $int; + + factory _$ProvisioningApiGroupDetails_Usercount( + [void Function(ProvisioningApiGroupDetails_UsercountBuilder)? updates]) => + (ProvisioningApiGroupDetails_UsercountBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupDetails_Usercount._({required this.data, this.$bool, this.$int}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'ProvisioningApiGroupDetails_Usercount', 'data'); + } + + @override + ProvisioningApiGroupDetails_Usercount rebuild(void Function(ProvisioningApiGroupDetails_UsercountBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupDetails_UsercountBuilder toBuilder() => + ProvisioningApiGroupDetails_UsercountBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupDetails_Usercount && + data == other.data && + $bool == other.$bool && + $int == other.$int; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, $bool.hashCode); + _$hash = $jc(_$hash, $int.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupDetails_Usercount') + ..add('data', data) + ..add('\$bool', $bool) + ..add('\$int', $int)) + .toString(); + } +} + +class ProvisioningApiGroupDetails_UsercountBuilder + implements Builder { + _$ProvisioningApiGroupDetails_Usercount? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + bool? _$bool; + bool? get $bool => _$this._$bool; + set $bool(bool? $bool) => _$this._$bool = $bool; + + int? _$int; + int? get $int => _$this._$int; + set $int(int? $int) => _$this._$int = $int; + + ProvisioningApiGroupDetails_UsercountBuilder(); + + ProvisioningApiGroupDetails_UsercountBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _$bool = $v.$bool; + _$int = $v.$int; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupDetails_Usercount other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupDetails_Usercount; + } + + @override + void update(void Function(ProvisioningApiGroupDetails_UsercountBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupDetails_Usercount build() => _build(); + + _$ProvisioningApiGroupDetails_Usercount _build() { + final _$result = _$v ?? + _$ProvisioningApiGroupDetails_Usercount._( + data: BuiltValueNullFieldError.checkNotNull(data, r'ProvisioningApiGroupDetails_Usercount', 'data'), + $bool: $bool, + $int: $int); + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupDetails_Disabled extends ProvisioningApiGroupDetails_Disabled { + @override + final JsonObject data; + @override + final bool? $bool; + @override + final int? $int; + + factory _$ProvisioningApiGroupDetails_Disabled( + [void Function(ProvisioningApiGroupDetails_DisabledBuilder)? updates]) => + (ProvisioningApiGroupDetails_DisabledBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupDetails_Disabled._({required this.data, this.$bool, this.$int}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'ProvisioningApiGroupDetails_Disabled', 'data'); + } + + @override + ProvisioningApiGroupDetails_Disabled rebuild(void Function(ProvisioningApiGroupDetails_DisabledBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupDetails_DisabledBuilder toBuilder() => + ProvisioningApiGroupDetails_DisabledBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupDetails_Disabled && + data == other.data && + $bool == other.$bool && + $int == other.$int; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, $bool.hashCode); + _$hash = $jc(_$hash, $int.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupDetails_Disabled') + ..add('data', data) + ..add('\$bool', $bool) + ..add('\$int', $int)) + .toString(); + } +} + +class ProvisioningApiGroupDetails_DisabledBuilder + implements Builder { + _$ProvisioningApiGroupDetails_Disabled? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + bool? _$bool; + bool? get $bool => _$this._$bool; + set $bool(bool? $bool) => _$this._$bool = $bool; + + int? _$int; + int? get $int => _$this._$int; + set $int(int? $int) => _$this._$int = $int; + + ProvisioningApiGroupDetails_DisabledBuilder(); + + ProvisioningApiGroupDetails_DisabledBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _$bool = $v.$bool; + _$int = $v.$int; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupDetails_Disabled other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupDetails_Disabled; + } + + @override + void update(void Function(ProvisioningApiGroupDetails_DisabledBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupDetails_Disabled build() => _build(); + + _$ProvisioningApiGroupDetails_Disabled _build() { + final _$result = _$v ?? + _$ProvisioningApiGroupDetails_Disabled._( + data: BuiltValueNullFieldError.checkNotNull(data, r'ProvisioningApiGroupDetails_Disabled', 'data'), + $bool: $bool, + $int: $int); + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupDetails extends ProvisioningApiGroupDetails { + @override + final String id; + @override + final String displayname; + @override + final ProvisioningApiGroupDetails_Usercount usercount; + @override + final ProvisioningApiGroupDetails_Disabled disabled; + @override + final bool canAdd; + @override + final bool canRemove; + + factory _$ProvisioningApiGroupDetails([void Function(ProvisioningApiGroupDetailsBuilder)? updates]) => + (ProvisioningApiGroupDetailsBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupDetails._( + {required this.id, + required this.displayname, + required this.usercount, + required this.disabled, + required this.canAdd, + required this.canRemove}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'ProvisioningApiGroupDetails', 'id'); + BuiltValueNullFieldError.checkNotNull(displayname, r'ProvisioningApiGroupDetails', 'displayname'); + BuiltValueNullFieldError.checkNotNull(usercount, r'ProvisioningApiGroupDetails', 'usercount'); + BuiltValueNullFieldError.checkNotNull(disabled, r'ProvisioningApiGroupDetails', 'disabled'); + BuiltValueNullFieldError.checkNotNull(canAdd, r'ProvisioningApiGroupDetails', 'canAdd'); + BuiltValueNullFieldError.checkNotNull(canRemove, r'ProvisioningApiGroupDetails', 'canRemove'); + } + + @override + ProvisioningApiGroupDetails rebuild(void Function(ProvisioningApiGroupDetailsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupDetailsBuilder toBuilder() => ProvisioningApiGroupDetailsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupDetails && + id == other.id && + displayname == other.displayname && + usercount == other.usercount && + disabled == other.disabled && + canAdd == other.canAdd && + canRemove == other.canRemove; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, displayname.hashCode); + _$hash = $jc(_$hash, usercount.hashCode); + _$hash = $jc(_$hash, disabled.hashCode); + _$hash = $jc(_$hash, canAdd.hashCode); + _$hash = $jc(_$hash, canRemove.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupDetails') + ..add('id', id) + ..add('displayname', displayname) + ..add('usercount', usercount) + ..add('disabled', disabled) + ..add('canAdd', canAdd) + ..add('canRemove', canRemove)) + .toString(); + } +} + +class ProvisioningApiGroupDetailsBuilder + implements Builder { + _$ProvisioningApiGroupDetails? _$v; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _displayname; + String? get displayname => _$this._displayname; + set displayname(String? displayname) => _$this._displayname = displayname; + + ProvisioningApiGroupDetails_UsercountBuilder? _usercount; + ProvisioningApiGroupDetails_UsercountBuilder get usercount => + _$this._usercount ??= ProvisioningApiGroupDetails_UsercountBuilder(); + set usercount(ProvisioningApiGroupDetails_UsercountBuilder? usercount) => _$this._usercount = usercount; + + ProvisioningApiGroupDetails_DisabledBuilder? _disabled; + ProvisioningApiGroupDetails_DisabledBuilder get disabled => + _$this._disabled ??= ProvisioningApiGroupDetails_DisabledBuilder(); + set disabled(ProvisioningApiGroupDetails_DisabledBuilder? disabled) => _$this._disabled = disabled; + + bool? _canAdd; + bool? get canAdd => _$this._canAdd; + set canAdd(bool? canAdd) => _$this._canAdd = canAdd; + + bool? _canRemove; + bool? get canRemove => _$this._canRemove; + set canRemove(bool? canRemove) => _$this._canRemove = canRemove; + + ProvisioningApiGroupDetailsBuilder(); + + ProvisioningApiGroupDetailsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _id = $v.id; + _displayname = $v.displayname; + _usercount = $v.usercount.toBuilder(); + _disabled = $v.disabled.toBuilder(); + _canAdd = $v.canAdd; + _canRemove = $v.canRemove; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupDetails other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupDetails; + } + + @override + void update(void Function(ProvisioningApiGroupDetailsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupDetails build() => _build(); + + _$ProvisioningApiGroupDetails _build() { + _$ProvisioningApiGroupDetails _$result; + try { + _$result = _$v ?? + _$ProvisioningApiGroupDetails._( + id: BuiltValueNullFieldError.checkNotNull(id, r'ProvisioningApiGroupDetails', 'id'), + displayname: + BuiltValueNullFieldError.checkNotNull(displayname, r'ProvisioningApiGroupDetails', 'displayname'), + usercount: usercount.build(), + disabled: disabled.build(), + canAdd: BuiltValueNullFieldError.checkNotNull(canAdd, r'ProvisioningApiGroupDetails', 'canAdd'), + canRemove: BuiltValueNullFieldError.checkNotNull(canRemove, r'ProvisioningApiGroupDetails', 'canRemove')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'usercount'; + usercount.build(); + _$failedField = 'disabled'; + disabled.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ProvisioningApiGroupDetails', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data + extends ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data { + @override + final BuiltList groups; + + factory _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data( + [void Function(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data._({required this.groups}) : super._() { + BuiltValueNullFieldError.checkNotNull( + groups, r'ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data', 'groups'); + } + + @override + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data rebuild( + void Function(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data && groups == other.groups; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, groups.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data') + ..add('groups', groups)) + .toString(); + } +} + +class ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data? _$v; + + ListBuilder? _groups; + ListBuilder get groups => _$this._groups ??= ListBuilder(); + set groups(ListBuilder? groups) => _$this._groups = groups; + + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_DataBuilder(); + + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _groups = $v.groups.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data; + } + + @override + void update(void Function(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data build() => _build(); + + _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data _build() { + _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data _$result; + try { + _$result = + _$v ?? _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data._(groups: groups.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'groups'; + groups.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs + extends ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_Data data; + + factory _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_DataBuilder? _data; + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_DataBuilder(); + set data(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs_DataBuilder? data) => + _$this._data = data; + + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson + extends ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson { + @override + final ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson( + [void Function(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson rebuild( + void Function(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson? _$v; + + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonBuilder(); + + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson _build() { + _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsGetGroupsDetailsResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data + extends ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data { + @override + final BuiltList users; + + factory _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data( + [void Function(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data._({required this.users}) : super._() { + BuiltValueNullFieldError.checkNotNull( + users, r'ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data', 'users'); + } + + @override + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data rebuild( + void Function(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data && users == other.users; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, users.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data') + ..add('users', users)) + .toString(); + } +} + +class ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data? _$v; + + ListBuilder? _users; + ListBuilder get users => _$this._users ??= ListBuilder(); + set users(ListBuilder? users) => _$this._users = users; + + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_DataBuilder(); + + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _users = $v.users.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data; + } + + @override + void update(void Function(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data build() => _build(); + + _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data _build() { + _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data _$result; + try { + _$result = _$v ?? _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data._(users: users.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'users'; + users.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs + extends ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_Data data; + + factory _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_DataBuilder? _data; + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_DataBuilder(); + set data(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson + extends ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson { + @override + final ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson( + [void Function(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson rebuild( + void Function(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson? _$v; + + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJsonBuilder(); + + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson _build() { + _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsGetGroupUsersResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUserDetails_BackendCapabilities extends ProvisioningApiUserDetails_BackendCapabilities { + @override + final bool setDisplayName; + @override + final bool setPassword; + + factory _$ProvisioningApiUserDetails_BackendCapabilities( + [void Function(ProvisioningApiUserDetails_BackendCapabilitiesBuilder)? updates]) => + (ProvisioningApiUserDetails_BackendCapabilitiesBuilder()..update(updates))._build(); + + _$ProvisioningApiUserDetails_BackendCapabilities._({required this.setDisplayName, required this.setPassword}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + setDisplayName, r'ProvisioningApiUserDetails_BackendCapabilities', 'setDisplayName'); + BuiltValueNullFieldError.checkNotNull( + setPassword, r'ProvisioningApiUserDetails_BackendCapabilities', 'setPassword'); + } + + @override + ProvisioningApiUserDetails_BackendCapabilities rebuild( + void Function(ProvisioningApiUserDetails_BackendCapabilitiesBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUserDetails_BackendCapabilitiesBuilder toBuilder() => + ProvisioningApiUserDetails_BackendCapabilitiesBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUserDetails_BackendCapabilities && + setDisplayName == other.setDisplayName && + setPassword == other.setPassword; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, setDisplayName.hashCode); + _$hash = $jc(_$hash, setPassword.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUserDetails_BackendCapabilities') + ..add('setDisplayName', setDisplayName) + ..add('setPassword', setPassword)) + .toString(); + } +} + +class ProvisioningApiUserDetails_BackendCapabilitiesBuilder + implements + Builder { + _$ProvisioningApiUserDetails_BackendCapabilities? _$v; + + bool? _setDisplayName; + bool? get setDisplayName => _$this._setDisplayName; + set setDisplayName(bool? setDisplayName) => _$this._setDisplayName = setDisplayName; + + bool? _setPassword; + bool? get setPassword => _$this._setPassword; + set setPassword(bool? setPassword) => _$this._setPassword = setPassword; + + ProvisioningApiUserDetails_BackendCapabilitiesBuilder(); + + ProvisioningApiUserDetails_BackendCapabilitiesBuilder get _$this { + final $v = _$v; + if ($v != null) { + _setDisplayName = $v.setDisplayName; + _setPassword = $v.setPassword; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUserDetails_BackendCapabilities other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUserDetails_BackendCapabilities; + } + + @override + void update(void Function(ProvisioningApiUserDetails_BackendCapabilitiesBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUserDetails_BackendCapabilities build() => _build(); + + _$ProvisioningApiUserDetails_BackendCapabilities _build() { + final _$result = _$v ?? + _$ProvisioningApiUserDetails_BackendCapabilities._( + setDisplayName: BuiltValueNullFieldError.checkNotNull( + setDisplayName, r'ProvisioningApiUserDetails_BackendCapabilities', 'setDisplayName'), + setPassword: BuiltValueNullFieldError.checkNotNull( + setPassword, r'ProvisioningApiUserDetails_BackendCapabilities', 'setPassword')); + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUserDetailsQuota_Quota extends ProvisioningApiUserDetailsQuota_Quota { + @override + final JsonObject data; + @override + final num? $num; + @override + final String? string; + + factory _$ProvisioningApiUserDetailsQuota_Quota( + [void Function(ProvisioningApiUserDetailsQuota_QuotaBuilder)? updates]) => + (ProvisioningApiUserDetailsQuota_QuotaBuilder()..update(updates))._build(); + + _$ProvisioningApiUserDetailsQuota_Quota._({required this.data, this.$num, this.string}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'ProvisioningApiUserDetailsQuota_Quota', 'data'); + } + + @override + ProvisioningApiUserDetailsQuota_Quota rebuild(void Function(ProvisioningApiUserDetailsQuota_QuotaBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUserDetailsQuota_QuotaBuilder toBuilder() => + ProvisioningApiUserDetailsQuota_QuotaBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUserDetailsQuota_Quota && + data == other.data && + $num == other.$num && + string == other.string; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, $num.hashCode); + _$hash = $jc(_$hash, string.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUserDetailsQuota_Quota') + ..add('data', data) + ..add('\$num', $num) + ..add('string', string)) + .toString(); + } +} + +class ProvisioningApiUserDetailsQuota_QuotaBuilder + implements Builder { + _$ProvisioningApiUserDetailsQuota_Quota? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + num? _$num; + num? get $num => _$this._$num; + set $num(num? $num) => _$this._$num = $num; + + String? _string; + String? get string => _$this._string; + set string(String? string) => _$this._string = string; + + ProvisioningApiUserDetailsQuota_QuotaBuilder(); + + ProvisioningApiUserDetailsQuota_QuotaBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _$num = $v.$num; + _string = $v.string; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUserDetailsQuota_Quota other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUserDetailsQuota_Quota; + } + + @override + void update(void Function(ProvisioningApiUserDetailsQuota_QuotaBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUserDetailsQuota_Quota build() => _build(); + + _$ProvisioningApiUserDetailsQuota_Quota _build() { + final _$result = _$v ?? + _$ProvisioningApiUserDetailsQuota_Quota._( + data: BuiltValueNullFieldError.checkNotNull(data, r'ProvisioningApiUserDetailsQuota_Quota', 'data'), + $num: $num, + string: string); + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUserDetailsQuota extends ProvisioningApiUserDetailsQuota { + @override + final num? free; + @override + final ProvisioningApiUserDetailsQuota_Quota? quota; + @override + final num? relative; + @override + final num? total; + @override + final num? used; + + factory _$ProvisioningApiUserDetailsQuota([void Function(ProvisioningApiUserDetailsQuotaBuilder)? updates]) => + (ProvisioningApiUserDetailsQuotaBuilder()..update(updates))._build(); + + _$ProvisioningApiUserDetailsQuota._({this.free, this.quota, this.relative, this.total, this.used}) : super._(); + + @override + ProvisioningApiUserDetailsQuota rebuild(void Function(ProvisioningApiUserDetailsQuotaBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUserDetailsQuotaBuilder toBuilder() => ProvisioningApiUserDetailsQuotaBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUserDetailsQuota && + free == other.free && + quota == other.quota && + relative == other.relative && + total == other.total && + used == other.used; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, free.hashCode); + _$hash = $jc(_$hash, quota.hashCode); + _$hash = $jc(_$hash, relative.hashCode); + _$hash = $jc(_$hash, total.hashCode); + _$hash = $jc(_$hash, used.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUserDetailsQuota') + ..add('free', free) + ..add('quota', quota) + ..add('relative', relative) + ..add('total', total) + ..add('used', used)) + .toString(); + } +} + +class ProvisioningApiUserDetailsQuotaBuilder + implements Builder { + _$ProvisioningApiUserDetailsQuota? _$v; + + num? _free; + num? get free => _$this._free; + set free(num? free) => _$this._free = free; + + ProvisioningApiUserDetailsQuota_QuotaBuilder? _quota; + ProvisioningApiUserDetailsQuota_QuotaBuilder get quota => + _$this._quota ??= ProvisioningApiUserDetailsQuota_QuotaBuilder(); + set quota(ProvisioningApiUserDetailsQuota_QuotaBuilder? quota) => _$this._quota = quota; + + num? _relative; + num? get relative => _$this._relative; + set relative(num? relative) => _$this._relative = relative; + + num? _total; + num? get total => _$this._total; + set total(num? total) => _$this._total = total; + + num? _used; + num? get used => _$this._used; + set used(num? used) => _$this._used = used; + + ProvisioningApiUserDetailsQuotaBuilder(); + + ProvisioningApiUserDetailsQuotaBuilder get _$this { + final $v = _$v; + if ($v != null) { + _free = $v.free; + _quota = $v.quota?.toBuilder(); + _relative = $v.relative; + _total = $v.total; + _used = $v.used; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUserDetailsQuota other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUserDetailsQuota; + } + + @override + void update(void Function(ProvisioningApiUserDetailsQuotaBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUserDetailsQuota build() => _build(); + + _$ProvisioningApiUserDetailsQuota _build() { + _$ProvisioningApiUserDetailsQuota _$result; + try { + _$result = _$v ?? + _$ProvisioningApiUserDetailsQuota._( + free: free, quota: _quota?.build(), relative: relative, total: total, used: used); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'quota'; + _quota?.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ProvisioningApiUserDetailsQuota', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUserDetails extends ProvisioningApiUserDetails { + @override + final BuiltList additionalMail; + @override + final BuiltList? additionalMailScope; + @override + final String address; + @override + final String? addressScope; + @override + final String? avatarScope; + @override + final String backend; + @override + final ProvisioningApiUserDetails_BackendCapabilities backendCapabilities; + @override + final String biography; + @override + final String? biographyScope; + @override + final String displayName; + @override + final String displayname; + @override + final String? displaynameScope; + @override + final String? email; + @override + final String? emailScope; + @override + final bool? enabled; + @override + final String fediverse; + @override + final String? fediverseScope; + @override + final BuiltList groups; + @override + final String headline; + @override + final String? headlineScope; + @override + final String id; + @override + final String language; + @override + final int lastLogin; + @override + final String locale; + @override + final String manager; + @override + final String? notifyEmail; + @override + final String organisation; + @override + final String? organisationScope; + @override + final String phone; + @override + final String? phoneScope; + @override + final String profileEnabled; + @override + final String? profileEnabledScope; + @override + final ProvisioningApiUserDetailsQuota quota; + @override + final String role; + @override + final String? roleScope; + @override + final String? storageLocation; + @override + final BuiltList subadmin; + @override + final String twitter; + @override + final String? twitterScope; + @override + final String website; + @override + final String? websiteScope; + + factory _$ProvisioningApiUserDetails([void Function(ProvisioningApiUserDetailsBuilder)? updates]) => + (ProvisioningApiUserDetailsBuilder()..update(updates))._build(); + + _$ProvisioningApiUserDetails._( + {required this.additionalMail, + this.additionalMailScope, + required this.address, + this.addressScope, + this.avatarScope, + required this.backend, + required this.backendCapabilities, + required this.biography, + this.biographyScope, + required this.displayName, + required this.displayname, + this.displaynameScope, + this.email, + this.emailScope, + this.enabled, + required this.fediverse, + this.fediverseScope, + required this.groups, + required this.headline, + this.headlineScope, + required this.id, + required this.language, + required this.lastLogin, + required this.locale, + required this.manager, + this.notifyEmail, + required this.organisation, + this.organisationScope, + required this.phone, + this.phoneScope, + required this.profileEnabled, + this.profileEnabledScope, + required this.quota, + required this.role, + this.roleScope, + this.storageLocation, + required this.subadmin, + required this.twitter, + this.twitterScope, + required this.website, + this.websiteScope}) + : super._() { + BuiltValueNullFieldError.checkNotNull(additionalMail, r'ProvisioningApiUserDetails', 'additionalMail'); + BuiltValueNullFieldError.checkNotNull(address, r'ProvisioningApiUserDetails', 'address'); + BuiltValueNullFieldError.checkNotNull(backend, r'ProvisioningApiUserDetails', 'backend'); + BuiltValueNullFieldError.checkNotNull(backendCapabilities, r'ProvisioningApiUserDetails', 'backendCapabilities'); + BuiltValueNullFieldError.checkNotNull(biography, r'ProvisioningApiUserDetails', 'biography'); + BuiltValueNullFieldError.checkNotNull(displayName, r'ProvisioningApiUserDetails', 'displayName'); + BuiltValueNullFieldError.checkNotNull(displayname, r'ProvisioningApiUserDetails', 'displayname'); + BuiltValueNullFieldError.checkNotNull(fediverse, r'ProvisioningApiUserDetails', 'fediverse'); + BuiltValueNullFieldError.checkNotNull(groups, r'ProvisioningApiUserDetails', 'groups'); + BuiltValueNullFieldError.checkNotNull(headline, r'ProvisioningApiUserDetails', 'headline'); + BuiltValueNullFieldError.checkNotNull(id, r'ProvisioningApiUserDetails', 'id'); + BuiltValueNullFieldError.checkNotNull(language, r'ProvisioningApiUserDetails', 'language'); + BuiltValueNullFieldError.checkNotNull(lastLogin, r'ProvisioningApiUserDetails', 'lastLogin'); + BuiltValueNullFieldError.checkNotNull(locale, r'ProvisioningApiUserDetails', 'locale'); + BuiltValueNullFieldError.checkNotNull(manager, r'ProvisioningApiUserDetails', 'manager'); + BuiltValueNullFieldError.checkNotNull(organisation, r'ProvisioningApiUserDetails', 'organisation'); + BuiltValueNullFieldError.checkNotNull(phone, r'ProvisioningApiUserDetails', 'phone'); + BuiltValueNullFieldError.checkNotNull(profileEnabled, r'ProvisioningApiUserDetails', 'profileEnabled'); + BuiltValueNullFieldError.checkNotNull(quota, r'ProvisioningApiUserDetails', 'quota'); + BuiltValueNullFieldError.checkNotNull(role, r'ProvisioningApiUserDetails', 'role'); + BuiltValueNullFieldError.checkNotNull(subadmin, r'ProvisioningApiUserDetails', 'subadmin'); + BuiltValueNullFieldError.checkNotNull(twitter, r'ProvisioningApiUserDetails', 'twitter'); + BuiltValueNullFieldError.checkNotNull(website, r'ProvisioningApiUserDetails', 'website'); + } + + @override + ProvisioningApiUserDetails rebuild(void Function(ProvisioningApiUserDetailsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUserDetailsBuilder toBuilder() => ProvisioningApiUserDetailsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUserDetails && + additionalMail == other.additionalMail && + additionalMailScope == other.additionalMailScope && + address == other.address && + addressScope == other.addressScope && + avatarScope == other.avatarScope && + backend == other.backend && + backendCapabilities == other.backendCapabilities && + biography == other.biography && + biographyScope == other.biographyScope && + displayName == other.displayName && + displayname == other.displayname && + displaynameScope == other.displaynameScope && + email == other.email && + emailScope == other.emailScope && + enabled == other.enabled && + fediverse == other.fediverse && + fediverseScope == other.fediverseScope && + groups == other.groups && + headline == other.headline && + headlineScope == other.headlineScope && + id == other.id && + language == other.language && + lastLogin == other.lastLogin && + locale == other.locale && + manager == other.manager && + notifyEmail == other.notifyEmail && + organisation == other.organisation && + organisationScope == other.organisationScope && + phone == other.phone && + phoneScope == other.phoneScope && + profileEnabled == other.profileEnabled && + profileEnabledScope == other.profileEnabledScope && + quota == other.quota && + role == other.role && + roleScope == other.roleScope && + storageLocation == other.storageLocation && + subadmin == other.subadmin && + twitter == other.twitter && + twitterScope == other.twitterScope && + website == other.website && + websiteScope == other.websiteScope; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, additionalMail.hashCode); + _$hash = $jc(_$hash, additionalMailScope.hashCode); + _$hash = $jc(_$hash, address.hashCode); + _$hash = $jc(_$hash, addressScope.hashCode); + _$hash = $jc(_$hash, avatarScope.hashCode); + _$hash = $jc(_$hash, backend.hashCode); + _$hash = $jc(_$hash, backendCapabilities.hashCode); + _$hash = $jc(_$hash, biography.hashCode); + _$hash = $jc(_$hash, biographyScope.hashCode); + _$hash = $jc(_$hash, displayName.hashCode); + _$hash = $jc(_$hash, displayname.hashCode); + _$hash = $jc(_$hash, displaynameScope.hashCode); + _$hash = $jc(_$hash, email.hashCode); + _$hash = $jc(_$hash, emailScope.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, fediverse.hashCode); + _$hash = $jc(_$hash, fediverseScope.hashCode); + _$hash = $jc(_$hash, groups.hashCode); + _$hash = $jc(_$hash, headline.hashCode); + _$hash = $jc(_$hash, headlineScope.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, language.hashCode); + _$hash = $jc(_$hash, lastLogin.hashCode); + _$hash = $jc(_$hash, locale.hashCode); + _$hash = $jc(_$hash, manager.hashCode); + _$hash = $jc(_$hash, notifyEmail.hashCode); + _$hash = $jc(_$hash, organisation.hashCode); + _$hash = $jc(_$hash, organisationScope.hashCode); + _$hash = $jc(_$hash, phone.hashCode); + _$hash = $jc(_$hash, phoneScope.hashCode); + _$hash = $jc(_$hash, profileEnabled.hashCode); + _$hash = $jc(_$hash, profileEnabledScope.hashCode); + _$hash = $jc(_$hash, quota.hashCode); + _$hash = $jc(_$hash, role.hashCode); + _$hash = $jc(_$hash, roleScope.hashCode); + _$hash = $jc(_$hash, storageLocation.hashCode); + _$hash = $jc(_$hash, subadmin.hashCode); + _$hash = $jc(_$hash, twitter.hashCode); + _$hash = $jc(_$hash, twitterScope.hashCode); + _$hash = $jc(_$hash, website.hashCode); + _$hash = $jc(_$hash, websiteScope.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUserDetails') + ..add('additionalMail', additionalMail) + ..add('additionalMailScope', additionalMailScope) + ..add('address', address) + ..add('addressScope', addressScope) + ..add('avatarScope', avatarScope) + ..add('backend', backend) + ..add('backendCapabilities', backendCapabilities) + ..add('biography', biography) + ..add('biographyScope', biographyScope) + ..add('displayName', displayName) + ..add('displayname', displayname) + ..add('displaynameScope', displaynameScope) + ..add('email', email) + ..add('emailScope', emailScope) + ..add('enabled', enabled) + ..add('fediverse', fediverse) + ..add('fediverseScope', fediverseScope) + ..add('groups', groups) + ..add('headline', headline) + ..add('headlineScope', headlineScope) + ..add('id', id) + ..add('language', language) + ..add('lastLogin', lastLogin) + ..add('locale', locale) + ..add('manager', manager) + ..add('notifyEmail', notifyEmail) + ..add('organisation', organisation) + ..add('organisationScope', organisationScope) + ..add('phone', phone) + ..add('phoneScope', phoneScope) + ..add('profileEnabled', profileEnabled) + ..add('profileEnabledScope', profileEnabledScope) + ..add('quota', quota) + ..add('role', role) + ..add('roleScope', roleScope) + ..add('storageLocation', storageLocation) + ..add('subadmin', subadmin) + ..add('twitter', twitter) + ..add('twitterScope', twitterScope) + ..add('website', website) + ..add('websiteScope', websiteScope)) + .toString(); + } +} + +class ProvisioningApiUserDetailsBuilder + implements Builder { + _$ProvisioningApiUserDetails? _$v; + + ListBuilder? _additionalMail; + ListBuilder get additionalMail => _$this._additionalMail ??= ListBuilder(); + set additionalMail(ListBuilder? additionalMail) => _$this._additionalMail = additionalMail; + + ListBuilder? _additionalMailScope; + ListBuilder get additionalMailScope => _$this._additionalMailScope ??= ListBuilder(); + set additionalMailScope(ListBuilder? additionalMailScope) => + _$this._additionalMailScope = additionalMailScope; + + String? _address; + String? get address => _$this._address; + set address(String? address) => _$this._address = address; + + String? _addressScope; + String? get addressScope => _$this._addressScope; + set addressScope(String? addressScope) => _$this._addressScope = addressScope; + + String? _avatarScope; + String? get avatarScope => _$this._avatarScope; + set avatarScope(String? avatarScope) => _$this._avatarScope = avatarScope; + + String? _backend; + String? get backend => _$this._backend; + set backend(String? backend) => _$this._backend = backend; + + ProvisioningApiUserDetails_BackendCapabilitiesBuilder? _backendCapabilities; + ProvisioningApiUserDetails_BackendCapabilitiesBuilder get backendCapabilities => + _$this._backendCapabilities ??= ProvisioningApiUserDetails_BackendCapabilitiesBuilder(); + set backendCapabilities(ProvisioningApiUserDetails_BackendCapabilitiesBuilder? backendCapabilities) => + _$this._backendCapabilities = backendCapabilities; + + String? _biography; + String? get biography => _$this._biography; + set biography(String? biography) => _$this._biography = biography; + + String? _biographyScope; + String? get biographyScope => _$this._biographyScope; + set biographyScope(String? biographyScope) => _$this._biographyScope = biographyScope; + + String? _displayName; + String? get displayName => _$this._displayName; + set displayName(String? displayName) => _$this._displayName = displayName; + + String? _displayname; + String? get displayname => _$this._displayname; + set displayname(String? displayname) => _$this._displayname = displayname; + + String? _displaynameScope; + String? get displaynameScope => _$this._displaynameScope; + set displaynameScope(String? displaynameScope) => _$this._displaynameScope = displaynameScope; + + String? _email; + String? get email => _$this._email; + set email(String? email) => _$this._email = email; + + String? _emailScope; + String? get emailScope => _$this._emailScope; + set emailScope(String? emailScope) => _$this._emailScope = emailScope; + + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; + + String? _fediverse; + String? get fediverse => _$this._fediverse; + set fediverse(String? fediverse) => _$this._fediverse = fediverse; + + String? _fediverseScope; + String? get fediverseScope => _$this._fediverseScope; + set fediverseScope(String? fediverseScope) => _$this._fediverseScope = fediverseScope; + + ListBuilder? _groups; + ListBuilder get groups => _$this._groups ??= ListBuilder(); + set groups(ListBuilder? groups) => _$this._groups = groups; + + String? _headline; + String? get headline => _$this._headline; + set headline(String? headline) => _$this._headline = headline; + + String? _headlineScope; + String? get headlineScope => _$this._headlineScope; + set headlineScope(String? headlineScope) => _$this._headlineScope = headlineScope; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _language; + String? get language => _$this._language; + set language(String? language) => _$this._language = language; + + int? _lastLogin; + int? get lastLogin => _$this._lastLogin; + set lastLogin(int? lastLogin) => _$this._lastLogin = lastLogin; + + String? _locale; + String? get locale => _$this._locale; + set locale(String? locale) => _$this._locale = locale; + + String? _manager; + String? get manager => _$this._manager; + set manager(String? manager) => _$this._manager = manager; + + String? _notifyEmail; + String? get notifyEmail => _$this._notifyEmail; + set notifyEmail(String? notifyEmail) => _$this._notifyEmail = notifyEmail; + + String? _organisation; + String? get organisation => _$this._organisation; + set organisation(String? organisation) => _$this._organisation = organisation; + + String? _organisationScope; + String? get organisationScope => _$this._organisationScope; + set organisationScope(String? organisationScope) => _$this._organisationScope = organisationScope; + + String? _phone; + String? get phone => _$this._phone; + set phone(String? phone) => _$this._phone = phone; + + String? _phoneScope; + String? get phoneScope => _$this._phoneScope; + set phoneScope(String? phoneScope) => _$this._phoneScope = phoneScope; + + String? _profileEnabled; + String? get profileEnabled => _$this._profileEnabled; + set profileEnabled(String? profileEnabled) => _$this._profileEnabled = profileEnabled; + + String? _profileEnabledScope; + String? get profileEnabledScope => _$this._profileEnabledScope; + set profileEnabledScope(String? profileEnabledScope) => _$this._profileEnabledScope = profileEnabledScope; + + ProvisioningApiUserDetailsQuotaBuilder? _quota; + ProvisioningApiUserDetailsQuotaBuilder get quota => _$this._quota ??= ProvisioningApiUserDetailsQuotaBuilder(); + set quota(ProvisioningApiUserDetailsQuotaBuilder? quota) => _$this._quota = quota; + + String? _role; + String? get role => _$this._role; + set role(String? role) => _$this._role = role; + + String? _roleScope; + String? get roleScope => _$this._roleScope; + set roleScope(String? roleScope) => _$this._roleScope = roleScope; + + String? _storageLocation; + String? get storageLocation => _$this._storageLocation; + set storageLocation(String? storageLocation) => _$this._storageLocation = storageLocation; + + ListBuilder? _subadmin; + ListBuilder get subadmin => _$this._subadmin ??= ListBuilder(); + set subadmin(ListBuilder? subadmin) => _$this._subadmin = subadmin; + + String? _twitter; + String? get twitter => _$this._twitter; + set twitter(String? twitter) => _$this._twitter = twitter; + + String? _twitterScope; + String? get twitterScope => _$this._twitterScope; + set twitterScope(String? twitterScope) => _$this._twitterScope = twitterScope; + + String? _website; + String? get website => _$this._website; + set website(String? website) => _$this._website = website; + + String? _websiteScope; + String? get websiteScope => _$this._websiteScope; + set websiteScope(String? websiteScope) => _$this._websiteScope = websiteScope; + + ProvisioningApiUserDetailsBuilder(); + + ProvisioningApiUserDetailsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _additionalMail = $v.additionalMail.toBuilder(); + _additionalMailScope = $v.additionalMailScope?.toBuilder(); + _address = $v.address; + _addressScope = $v.addressScope; + _avatarScope = $v.avatarScope; + _backend = $v.backend; + _backendCapabilities = $v.backendCapabilities.toBuilder(); + _biography = $v.biography; + _biographyScope = $v.biographyScope; + _displayName = $v.displayName; + _displayname = $v.displayname; + _displaynameScope = $v.displaynameScope; + _email = $v.email; + _emailScope = $v.emailScope; + _enabled = $v.enabled; + _fediverse = $v.fediverse; + _fediverseScope = $v.fediverseScope; + _groups = $v.groups.toBuilder(); + _headline = $v.headline; + _headlineScope = $v.headlineScope; + _id = $v.id; + _language = $v.language; + _lastLogin = $v.lastLogin; + _locale = $v.locale; + _manager = $v.manager; + _notifyEmail = $v.notifyEmail; + _organisation = $v.organisation; + _organisationScope = $v.organisationScope; + _phone = $v.phone; + _phoneScope = $v.phoneScope; + _profileEnabled = $v.profileEnabled; + _profileEnabledScope = $v.profileEnabledScope; + _quota = $v.quota.toBuilder(); + _role = $v.role; + _roleScope = $v.roleScope; + _storageLocation = $v.storageLocation; + _subadmin = $v.subadmin.toBuilder(); + _twitter = $v.twitter; + _twitterScope = $v.twitterScope; + _website = $v.website; + _websiteScope = $v.websiteScope; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUserDetails other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUserDetails; + } + + @override + void update(void Function(ProvisioningApiUserDetailsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUserDetails build() => _build(); + + _$ProvisioningApiUserDetails _build() { + _$ProvisioningApiUserDetails _$result; + try { + _$result = _$v ?? + _$ProvisioningApiUserDetails._( + additionalMail: additionalMail.build(), + additionalMailScope: _additionalMailScope?.build(), + address: BuiltValueNullFieldError.checkNotNull(address, r'ProvisioningApiUserDetails', 'address'), + addressScope: addressScope, + avatarScope: avatarScope, + backend: BuiltValueNullFieldError.checkNotNull(backend, r'ProvisioningApiUserDetails', 'backend'), + backendCapabilities: backendCapabilities.build(), + biography: BuiltValueNullFieldError.checkNotNull(biography, r'ProvisioningApiUserDetails', 'biography'), + biographyScope: biographyScope, + displayName: + BuiltValueNullFieldError.checkNotNull(displayName, r'ProvisioningApiUserDetails', 'displayName'), + displayname: + BuiltValueNullFieldError.checkNotNull(displayname, r'ProvisioningApiUserDetails', 'displayname'), + displaynameScope: displaynameScope, + email: email, + emailScope: emailScope, + enabled: enabled, + fediverse: BuiltValueNullFieldError.checkNotNull(fediverse, r'ProvisioningApiUserDetails', 'fediverse'), + fediverseScope: fediverseScope, + groups: groups.build(), + headline: BuiltValueNullFieldError.checkNotNull(headline, r'ProvisioningApiUserDetails', 'headline'), + headlineScope: headlineScope, + id: BuiltValueNullFieldError.checkNotNull(id, r'ProvisioningApiUserDetails', 'id'), + language: BuiltValueNullFieldError.checkNotNull(language, r'ProvisioningApiUserDetails', 'language'), + lastLogin: BuiltValueNullFieldError.checkNotNull(lastLogin, r'ProvisioningApiUserDetails', 'lastLogin'), + locale: BuiltValueNullFieldError.checkNotNull(locale, r'ProvisioningApiUserDetails', 'locale'), + manager: BuiltValueNullFieldError.checkNotNull(manager, r'ProvisioningApiUserDetails', 'manager'), + notifyEmail: notifyEmail, + organisation: + BuiltValueNullFieldError.checkNotNull(organisation, r'ProvisioningApiUserDetails', 'organisation'), + organisationScope: organisationScope, + phone: BuiltValueNullFieldError.checkNotNull(phone, r'ProvisioningApiUserDetails', 'phone'), + phoneScope: phoneScope, + profileEnabled: BuiltValueNullFieldError.checkNotNull( + profileEnabled, r'ProvisioningApiUserDetails', 'profileEnabled'), + profileEnabledScope: profileEnabledScope, + quota: quota.build(), + role: BuiltValueNullFieldError.checkNotNull(role, r'ProvisioningApiUserDetails', 'role'), + roleScope: roleScope, + storageLocation: storageLocation, + subadmin: subadmin.build(), + twitter: BuiltValueNullFieldError.checkNotNull(twitter, r'ProvisioningApiUserDetails', 'twitter'), + twitterScope: twitterScope, + website: BuiltValueNullFieldError.checkNotNull(website, r'ProvisioningApiUserDetails', 'website'), + websiteScope: websiteScope); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'additionalMail'; + additionalMail.build(); + _$failedField = 'additionalMailScope'; + _additionalMailScope?.build(); + + _$failedField = 'backendCapabilities'; + backendCapabilities.build(); + + _$failedField = 'groups'; + groups.build(); + + _$failedField = 'quota'; + quota.build(); + + _$failedField = 'subadmin'; + subadmin.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ProvisioningApiUserDetails', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 + extends ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 { + @override + final String id; + + factory _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1( + [void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder)? + updates]) => + (ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder()..update(updates)) + ._build(); + + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1._({required this.id}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + id, r'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1', 'id'); + } + + @override + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 rebuild( + void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder toBuilder() => + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 && + id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1') + ..add('id', id)) + .toString(); + } +} + +class ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder + implements + Builder { + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1? _$v; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder(); + + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder get _$this { + final $v = _$v; + if ($v != null) { + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1; + } + + @override + void update( + void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder)? + updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 build() => _build(); + + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 _build() { + final _$result = _$v ?? + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1._( + id: BuiltValueNullFieldError.checkNotNull( + id, r'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1', 'id')); + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users + extends ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users { + @override + final JsonObject data; + @override + final ProvisioningApiUserDetails? userDetails; + @override + final ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1? + groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1; + + factory _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users( + [void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder)? + updates]) => + (ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder()..update(updates)) + ._build(); + + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users._( + {required this.data, this.userDetails, this.groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users', 'data'); + } + + @override + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users rebuild( + void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder toBuilder() => + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users && + data == other.data && + userDetails == other.userDetails && + groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1 == + other.groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, userDetails.hashCode); + _$hash = $jc(_$hash, groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users') + ..add('data', data) + ..add('userDetails', userDetails) + ..add('groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1', + groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1)) + .toString(); + } +} + +class ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder + implements + Builder { + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiUserDetailsBuilder? _userDetails; + ProvisioningApiUserDetailsBuilder get userDetails => _$this._userDetails ??= ProvisioningApiUserDetailsBuilder(); + set userDetails(ProvisioningApiUserDetailsBuilder? userDetails) => _$this._userDetails = userDetails; + + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder? + _groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1; + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder + get groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1 => + _$this._groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1 ??= + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder(); + set groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1( + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder? + groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1) => + _$this._groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1 = + groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1; + + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder(); + + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _userDetails = $v.userDetails?.toBuilder(); + _groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1 = + $v.groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users; + } + + @override + void update( + void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder)? + updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users build() => _build(); + + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users _build() { + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users _$result; + try { + _$result = _$v ?? + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users._( + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users', 'data'), + userDetails: _userDetails?.build(), + groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1: + _groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'userDetails'; + _userDetails?.build(); + _$failedField = 'groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1'; + _groupsGetGroupUsersDetailsResponse200ApplicationJsonOcsDataUsers1?.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data_Users', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data + extends ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data { + @override + final BuiltMap users; + + factory _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data( + [void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder)? + updates]) => + (ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data._({required this.users}) : super._() { + BuiltValueNullFieldError.checkNotNull( + users, r'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data', 'users'); + } + + @override + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data rebuild( + void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data && + users == other.users; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, users.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data') + ..add('users', users)) + .toString(); + } +} + +class ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data? _$v; + + MapBuilder? _users; + MapBuilder get users => + _$this._users ??= + MapBuilder(); + set users( + MapBuilder? + users) => + _$this._users = users; + + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder(); + + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _users = $v.users.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data; + } + + @override + void update( + void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data build() => _build(); + + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data _build() { + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data _$result; + try { + _$result = + _$v ?? _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data._(users: users.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'users'; + users.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs + extends ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_Data data; + + factory _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder? _data; + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder(); + set data(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder? data) => + _$this._data = data; + + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson + extends ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson { + @override + final ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson( + [void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson rebuild( + void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson? _$v; + + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonBuilder(); + + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson _build() { + _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsGetGroupUsersDetailsResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs + extends ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final BuiltList data; + + factory _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; + + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson + extends ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson { + @override + final ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson( + [void Function(ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson rebuild( + void Function(ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson? _$v; + + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJsonBuilder(); + + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson _build() { + _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsGetSubAdminsOfGroupResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data + extends ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data { + @override + final BuiltList users; + + factory _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data( + [void Function(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data._({required this.users}) : super._() { + BuiltValueNullFieldError.checkNotNull( + users, r'ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data', 'users'); + } + + @override + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data rebuild( + void Function(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data && users == other.users; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, users.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data') + ..add('users', users)) + .toString(); + } +} + +class ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data? _$v; + + ListBuilder? _users; + ListBuilder get users => _$this._users ??= ListBuilder(); + set users(ListBuilder? users) => _$this._users = users; + + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_DataBuilder(); + + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _users = $v.users.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data; + } + + @override + void update(void Function(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data build() => _build(); + + _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data _build() { + _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data _$result; + try { + _$result = _$v ?? _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data._(users: users.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'users'; + users.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs + extends ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_Data data; + + factory _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiGroupsGetGroupResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiGroupsGetGroupResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_DataBuilder? _data; + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_DataBuilder(); + set data(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson + extends ProvisioningApiGroupsGetGroupResponse200ApplicationJson { + @override + final ProvisioningApiGroupsGetGroupResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson( + [void Function(ProvisioningApiGroupsGetGroupResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiGroupsGetGroupResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiGroupsGetGroupResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiGroupsGetGroupResponse200ApplicationJson rebuild( + void Function(ProvisioningApiGroupsGetGroupResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsGetGroupResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiGroupsGetGroupResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsGetGroupResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsGetGroupResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiGroupsGetGroupResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson? _$v; + + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiGroupsGetGroupResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiGroupsGetGroupResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiGroupsGetGroupResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiGroupsGetGroupResponse200ApplicationJsonBuilder(); + + ProvisioningApiGroupsGetGroupResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsGetGroupResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiGroupsGetGroupResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsGetGroupResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson _build() { + _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiGroupsGetGroupResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsGetGroupResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs + extends ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final JsonObject data; + + factory _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson + extends ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson { + @override + final ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson( + [void Function(ProvisioningApiGroupsUpdateGroupResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiGroupsUpdateGroupResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson rebuild( + void Function(ProvisioningApiGroupsUpdateGroupResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiGroupsUpdateGroupResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson? _$v; + + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJsonBuilder(); + + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiGroupsUpdateGroupResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson _build() { + _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsUpdateGroupResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs + extends ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final JsonObject data; + + factory _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson + extends ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson { + @override + final ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson( + [void Function(ProvisioningApiGroupsDeleteGroupResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiGroupsDeleteGroupResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson rebuild( + void Function(ProvisioningApiGroupsDeleteGroupResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiGroupsDeleteGroupResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson? _$v; + + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJsonBuilder(); + + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiGroupsDeleteGroupResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson _build() { + _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiGroupsDeleteGroupResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs + extends ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final JsonObject data; + + factory _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson + extends ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson { + @override + final ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson( + [void Function(ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson rebuild( + void Function(ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson? _$v; + + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJsonBuilder(); + + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson _build() { + _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiPreferencesSetPreferenceResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs + extends ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final JsonObject data; + + factory _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson + extends ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson { + @override + final ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson( + [void Function(ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson rebuild( + void Function(ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson? _$v; + + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJsonBuilder(); + + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson _build() { + _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiPreferencesDeletePreferenceResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs + extends ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final JsonObject data; + + factory _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_OcsBuilder)? + updates]) => + (ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_OcsBuilder()..update(updates)) + ._build(); + + _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_OcsBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs; + } + + @override + void update( + void Function(ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson + extends ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson { + @override + final ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson( + [void Function(ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJsonBuilder)? + updates]) => + (ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson rebuild( + void Function(ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson? _$v; + + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson_OcsBuilder? ocs) => + _$this._ocs = ocs; + + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJsonBuilder(); + + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson; + } + + @override + void update( + void Function(ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson _build() { + _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson _$result; + try { + _$result = + _$v ?? _$ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiPreferencesSetMultiplePreferencesResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs + extends ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final JsonObject data; + + factory _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_OcsBuilder)? + updates]) => + (ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_OcsBuilder()..update(updates)) + ._build(); + + _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_OcsBuilder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs; + } + + @override + void update( + void Function(ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson + extends ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson { + @override + final ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson( + [void Function(ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJsonBuilder)? + updates]) => + (ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson rebuild( + void Function(ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson? _$v; + + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson_OcsBuilder? ocs) => + _$this._ocs = ocs; + + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJsonBuilder(); + + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson; + } + + @override + void update( + void Function(ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson _build() { + _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson _$result; + try { + _$result = + _$v ?? _$ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiPreferencesDeleteMultiplePreferenceResponse200ApplicationJson', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data + extends ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data { + @override + final BuiltList users; + + factory _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data( + [void Function(ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data._({required this.users}) : super._() { + BuiltValueNullFieldError.checkNotNull( + users, r'ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data', 'users'); + } + + @override + ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data rebuild( + void Function(ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data && users == other.users; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, users.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data') + ..add('users', users)) + .toString(); + } +} + +class ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data? _$v; + + ListBuilder? _users; + ListBuilder get users => _$this._users ??= ListBuilder(); + set users(ListBuilder? users) => _$this._users = users; + + ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_DataBuilder(); + + ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _users = $v.users.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data; + } + + @override + void update(void Function(ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data build() => _build(); + + _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data _build() { + _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data _$result; + try { + _$result = _$v ?? _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data._(users: users.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'users'; + users.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs + extends ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_Data data; + + factory _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersGetUsersResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiUsersGetUsersResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersGetUsersResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersGetUsersResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersGetUsersResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiUsersGetUsersResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_DataBuilder? _data; + ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_DataBuilder(); + set data(ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + ProvisioningApiUsersGetUsersResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiUsersGetUsersResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiUsersGetUsersResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetUsersResponse200ApplicationJson + extends ProvisioningApiUsersGetUsersResponse200ApplicationJson { + @override + final ProvisioningApiUsersGetUsersResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiUsersGetUsersResponse200ApplicationJson( + [void Function(ProvisioningApiUsersGetUsersResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersGetUsersResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersGetUsersResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiUsersGetUsersResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiUsersGetUsersResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersGetUsersResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersGetUsersResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersGetUsersResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersGetUsersResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersGetUsersResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiUsersGetUsersResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersGetUsersResponse200ApplicationJson? _$v; + + ProvisioningApiUsersGetUsersResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersGetUsersResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersGetUsersResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersGetUsersResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiUsersGetUsersResponse200ApplicationJsonBuilder(); + + ProvisioningApiUsersGetUsersResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersGetUsersResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetUsersResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiUsersGetUsersResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersGetUsersResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiUsersGetUsersResponse200ApplicationJson _build() { + _$ProvisioningApiUsersGetUsersResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiUsersGetUsersResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersGetUsersResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data + extends ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data { + @override + final String id; + + factory _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data( + [void Function(ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data._({required this.id}) : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data', 'id'); + } + + @override + ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data rebuild( + void Function(ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data && id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data') + ..add('id', id)) + .toString(); + } +} + +class ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data? _$v; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_DataBuilder(); + + ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data; + } + + @override + void update(void Function(ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data build() => _build(); + + _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data _build() { + final _$result = _$v ?? + _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data._( + id: BuiltValueNullFieldError.checkNotNull( + id, r'ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data', 'id')); + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs + extends ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_Data data; + + factory _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersAddUserResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiUsersAddUserResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersAddUserResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersAddUserResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersAddUserResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiUsersAddUserResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_DataBuilder? _data; + ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_DataBuilder(); + set data(ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + ProvisioningApiUsersAddUserResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiUsersAddUserResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiUsersAddUserResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersAddUserResponse200ApplicationJson + extends ProvisioningApiUsersAddUserResponse200ApplicationJson { + @override + final ProvisioningApiUsersAddUserResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiUsersAddUserResponse200ApplicationJson( + [void Function(ProvisioningApiUsersAddUserResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersAddUserResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersAddUserResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiUsersAddUserResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiUsersAddUserResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersAddUserResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersAddUserResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersAddUserResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersAddUserResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersAddUserResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiUsersAddUserResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersAddUserResponse200ApplicationJson? _$v; + + ProvisioningApiUsersAddUserResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersAddUserResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersAddUserResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersAddUserResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiUsersAddUserResponse200ApplicationJsonBuilder(); + + ProvisioningApiUsersAddUserResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersAddUserResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersAddUserResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiUsersAddUserResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersAddUserResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiUsersAddUserResponse200ApplicationJson _build() { + _$ProvisioningApiUsersAddUserResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiUsersAddUserResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersAddUserResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 + extends ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 { + @override + final String id; + + factory _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1( + [void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder)? + updates]) => + (ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder()..update(updates)) + ._build(); + + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1._({required this.id}) : super._() { + BuiltValueNullFieldError.checkNotNull( + id, r'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1', 'id'); + } + + @override + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 rebuild( + void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder) + updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder toBuilder() => + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 && id == other.id; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper( + r'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1') + ..add('id', id)) + .toString(); + } +} + +class ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder + implements + Builder { + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1? _$v; + + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder(); + + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder get _$this { + final $v = _$v; + if ($v != null) { + _id = $v.id; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1; + } + + @override + void update( + void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 build() => _build(); + + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1 _build() { + final _$result = _$v ?? + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1._( + id: BuiltValueNullFieldError.checkNotNull( + id, r'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1', 'id')); + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users + extends ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users { + @override + final JsonObject data; + @override + final ProvisioningApiUserDetails? userDetails; + @override + final ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1? + usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1; + + factory _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users( + [void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder)? + updates]) => + (ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users._( + {required this.data, this.userDetails, this.usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users', 'data'); + } + + @override + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users rebuild( + void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder toBuilder() => + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users && + data == other.data && + userDetails == other.userDetails && + usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1 == + other.usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, userDetails.hashCode); + _$hash = $jc(_$hash, usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users') + ..add('data', data) + ..add('userDetails', userDetails) + ..add('usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1', + usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1)) + .toString(); + } +} + +class ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder + implements + Builder { + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiUserDetailsBuilder? _userDetails; + ProvisioningApiUserDetailsBuilder get userDetails => _$this._userDetails ??= ProvisioningApiUserDetailsBuilder(); + set userDetails(ProvisioningApiUserDetailsBuilder? userDetails) => _$this._userDetails = userDetails; + + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder? + _usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1; + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder + get usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1 => + _$this._usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1 ??= + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder(); + set usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1( + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users1Builder? + usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1) => + _$this._usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1 = + usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1; + + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder(); + + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _userDetails = $v.userDetails?.toBuilder(); + _usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1 = + $v.usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1?.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users; + } + + @override + void update( + void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_UsersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users build() => _build(); + + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users _build() { + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users _$result; + try { + _$result = _$v ?? + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users._( + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users', 'data'), + userDetails: _userDetails?.build(), + usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1: + _usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1?.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'userDetails'; + _userDetails?.build(); + _$failedField = 'usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1'; + _usersGetUsersDetailsResponse200ApplicationJsonOcsDataUsers1?.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data_Users', + _$failedField, + e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data + extends ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data { + @override + final BuiltMap users; + + factory _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data( + [void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data._({required this.users}) : super._() { + BuiltValueNullFieldError.checkNotNull( + users, r'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data', 'users'); + } + + @override + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data rebuild( + void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data && users == other.users; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, users.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data') + ..add('users', users)) + .toString(); + } +} + +class ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data? _$v; + + MapBuilder? _users; + MapBuilder get users => + _$this._users ??= + MapBuilder(); + set users(MapBuilder? users) => + _$this._users = users; + + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder(); + + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _users = $v.users.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data; + } + + @override + void update(void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data build() => _build(); + + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data _build() { + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data _$result; + try { + _$result = + _$v ?? _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data._(users: users.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'users'; + users.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs + extends ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_Data data; + + factory _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder? _data; + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder(); + set data(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson + extends ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson { + @override + final ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson( + [void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson? _$v; + + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJsonBuilder(); + + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson _build() { + _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersGetUsersDetailsResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs + extends ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final BuiltMap data; + + factory _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + MapBuilder? _data; + MapBuilder get data => _$this._data ??= MapBuilder(); + set data(MapBuilder? data) => _$this._data = data; + + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson + extends ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson { + @override + final ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson( + [void Function(ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson? _$v; + + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJsonBuilder(); + + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson _build() { + _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersSearchByPhoneNumbersResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs + extends ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final ProvisioningApiUserDetails data; + + factory _$ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersGetUserResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiUsersGetUserResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersGetUserResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersGetUserResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersGetUserResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiUsersGetUserResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + ProvisioningApiUserDetailsBuilder? _data; + ProvisioningApiUserDetailsBuilder get data => _$this._data ??= ProvisioningApiUserDetailsBuilder(); + set data(ProvisioningApiUserDetailsBuilder? data) => _$this._data = data; + + ProvisioningApiUsersGetUserResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiUsersGetUserResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiUsersGetUserResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetUserResponse200ApplicationJson + extends ProvisioningApiUsersGetUserResponse200ApplicationJson { + @override + final ProvisioningApiUsersGetUserResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiUsersGetUserResponse200ApplicationJson( + [void Function(ProvisioningApiUsersGetUserResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersGetUserResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersGetUserResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiUsersGetUserResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiUsersGetUserResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersGetUserResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersGetUserResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersGetUserResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersGetUserResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersGetUserResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiUsersGetUserResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersGetUserResponse200ApplicationJson? _$v; + + ProvisioningApiUsersGetUserResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersGetUserResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersGetUserResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersGetUserResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiUsersGetUserResponse200ApplicationJsonBuilder(); + + ProvisioningApiUsersGetUserResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersGetUserResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetUserResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiUsersGetUserResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersGetUserResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiUsersGetUserResponse200ApplicationJson _build() { + _$ProvisioningApiUsersGetUserResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiUsersGetUserResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersGetUserResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs + extends ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final JsonObject data; + + factory _$ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersEditUserResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiUsersEditUserResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersEditUserResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersEditUserResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersEditUserResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiUsersEditUserResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiUsersEditUserResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiUsersEditUserResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiUsersEditUserResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersEditUserResponse200ApplicationJson + extends ProvisioningApiUsersEditUserResponse200ApplicationJson { + @override + final ProvisioningApiUsersEditUserResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiUsersEditUserResponse200ApplicationJson( + [void Function(ProvisioningApiUsersEditUserResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersEditUserResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersEditUserResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiUsersEditUserResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiUsersEditUserResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersEditUserResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersEditUserResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersEditUserResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersEditUserResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersEditUserResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiUsersEditUserResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersEditUserResponse200ApplicationJson? _$v; + + ProvisioningApiUsersEditUserResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersEditUserResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersEditUserResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersEditUserResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiUsersEditUserResponse200ApplicationJsonBuilder(); + + ProvisioningApiUsersEditUserResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersEditUserResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersEditUserResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiUsersEditUserResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersEditUserResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiUsersEditUserResponse200ApplicationJson _build() { + _$ProvisioningApiUsersEditUserResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiUsersEditUserResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersEditUserResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs + extends ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final JsonObject data; + + factory _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersDeleteUserResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiUsersDeleteUserResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersDeleteUserResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersDeleteUserResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersDeleteUserResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiUsersDeleteUserResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiUsersDeleteUserResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiUsersDeleteUserResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiUsersDeleteUserResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson + extends ProvisioningApiUsersDeleteUserResponse200ApplicationJson { + @override + final ProvisioningApiUsersDeleteUserResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson( + [void Function(ProvisioningApiUsersDeleteUserResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersDeleteUserResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiUsersDeleteUserResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiUsersDeleteUserResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersDeleteUserResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersDeleteUserResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersDeleteUserResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersDeleteUserResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersDeleteUserResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiUsersDeleteUserResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson? _$v; + + ProvisioningApiUsersDeleteUserResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersDeleteUserResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersDeleteUserResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersDeleteUserResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiUsersDeleteUserResponse200ApplicationJsonBuilder(); + + ProvisioningApiUsersDeleteUserResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersDeleteUserResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiUsersDeleteUserResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersDeleteUserResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson _build() { + _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiUsersDeleteUserResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersDeleteUserResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs + extends ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final ProvisioningApiUserDetails data; + + factory _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + ProvisioningApiUserDetailsBuilder? _data; + ProvisioningApiUserDetailsBuilder get data => _$this._data ??= ProvisioningApiUserDetailsBuilder(); + set data(ProvisioningApiUserDetailsBuilder? data) => _$this._data = data; + + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson + extends ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson { + @override + final ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson( + [void Function(ProvisioningApiUsersGetCurrentUserResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersGetCurrentUserResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersGetCurrentUserResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiUsersGetCurrentUserResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson? _$v; + + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJsonBuilder(); + + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiUsersGetCurrentUserResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson _build() { + _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersGetCurrentUserResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs + extends ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final BuiltList data; + + factory _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; + + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson + extends ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson { + @override + final ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson( + [void Function(ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson? _$v; + + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJsonBuilder(); + + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson _build() { + _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersGetEditableFieldsResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs + extends ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final BuiltList data; + + factory _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_OcsBuilder)? + updates]) => + (ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs._( + {required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; + + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs; + } + + @override + void update( + void Function(ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson + extends ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson { + @override + final ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson( + [void Function(ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson? _$v; + + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJsonBuilder(); + + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson _build() { + _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersGetEditableFieldsForUserResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs + extends ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final JsonObject data; + + factory _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson + extends ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson { + @override + final ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson( + [void Function(ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson? _$v; + + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJsonBuilder(); + + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson _build() { + _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersEditUserMultiValueResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs + extends ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final JsonObject data; + + factory _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson + extends ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson { + @override + final ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson( + [void Function(ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson? _$v; + + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJsonBuilder(); + + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson _build() { + _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersWipeUserDevicesResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs + extends ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final JsonObject data; + + factory _$ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersEnableUserResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiUsersEnableUserResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersEnableUserResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersEnableUserResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersEnableUserResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiUsersEnableUserResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiUsersEnableUserResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiUsersEnableUserResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiUsersEnableUserResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersEnableUserResponse200ApplicationJson + extends ProvisioningApiUsersEnableUserResponse200ApplicationJson { + @override + final ProvisioningApiUsersEnableUserResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiUsersEnableUserResponse200ApplicationJson( + [void Function(ProvisioningApiUsersEnableUserResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersEnableUserResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersEnableUserResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiUsersEnableUserResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiUsersEnableUserResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersEnableUserResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersEnableUserResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersEnableUserResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersEnableUserResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersEnableUserResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiUsersEnableUserResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersEnableUserResponse200ApplicationJson? _$v; + + ProvisioningApiUsersEnableUserResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersEnableUserResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersEnableUserResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersEnableUserResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiUsersEnableUserResponse200ApplicationJsonBuilder(); + + ProvisioningApiUsersEnableUserResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersEnableUserResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersEnableUserResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiUsersEnableUserResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersEnableUserResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiUsersEnableUserResponse200ApplicationJson _build() { + _$ProvisioningApiUsersEnableUserResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiUsersEnableUserResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersEnableUserResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs + extends ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final JsonObject data; + + factory _$ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersDisableUserResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiUsersDisableUserResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersDisableUserResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersDisableUserResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersDisableUserResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiUsersDisableUserResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiUsersDisableUserResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiUsersDisableUserResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiUsersDisableUserResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersDisableUserResponse200ApplicationJson + extends ProvisioningApiUsersDisableUserResponse200ApplicationJson { + @override + final ProvisioningApiUsersDisableUserResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiUsersDisableUserResponse200ApplicationJson( + [void Function(ProvisioningApiUsersDisableUserResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersDisableUserResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersDisableUserResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiUsersDisableUserResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiUsersDisableUserResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersDisableUserResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersDisableUserResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersDisableUserResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersDisableUserResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersDisableUserResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiUsersDisableUserResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersDisableUserResponse200ApplicationJson? _$v; + + ProvisioningApiUsersDisableUserResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersDisableUserResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersDisableUserResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersDisableUserResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiUsersDisableUserResponse200ApplicationJsonBuilder(); + + ProvisioningApiUsersDisableUserResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersDisableUserResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersDisableUserResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiUsersDisableUserResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersDisableUserResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiUsersDisableUserResponse200ApplicationJson _build() { + _$ProvisioningApiUsersDisableUserResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiUsersDisableUserResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersDisableUserResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data + extends ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data { + @override + final BuiltList groups; + + factory _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data( + [void Function(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data._({required this.groups}) : super._() { + BuiltValueNullFieldError.checkNotNull( + groups, r'ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data', 'groups'); + } + + @override + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data rebuild( + void Function(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_DataBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data && groups == other.groups; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, groups.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data') + ..add('groups', groups)) + .toString(); + } +} + +class ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data? _$v; + + ListBuilder? _groups; + ListBuilder get groups => _$this._groups ??= ListBuilder(); + set groups(ListBuilder? groups) => _$this._groups = groups; + + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_DataBuilder(); + + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_DataBuilder get _$this { + final $v = _$v; + if ($v != null) { + _groups = $v.groups.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data; + } + + @override + void update(void Function(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_DataBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data build() => _build(); + + _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data _build() { + _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data _$result; + try { + _$result = + _$v ?? _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data._(groups: groups.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'groups'; + groups.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs + extends ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_Data data; + + factory _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_DataBuilder? _data; + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_DataBuilder(); + set data(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; + + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson + extends ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson { + @override + final ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson( + [void Function(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson? _$v; + + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJsonBuilder(); + + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson _build() { + _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersGetUsersGroupsResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs + extends ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs { @override - final String headlineScope; + final ProvisioningApiOCSMeta meta; @override - final String biography; + final JsonObject data; + + factory _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersAddToGroupResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiUsersAddToGroupResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs', 'data'); + } + @override - final String biographyScope; + ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersAddToGroupResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + @override - final String profileEnabled; + ProvisioningApiUsersAddToGroupResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersAddToGroupResponse200ApplicationJson_OcsBuilder()..replace(this); + @override - final String profileEnabledScope; + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + @override - final String fediverse; + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + @override - final String fediverseScope; + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiUsersAddToGroupResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiUsersAddToGroupResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiUsersAddToGroupResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + @override - final BuiltList groups; + void replace(ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiUsersAddToGroupResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson + extends ProvisioningApiUsersAddToGroupResponse200ApplicationJson { + @override + final ProvisioningApiUsersAddToGroupResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson( + [void Function(ProvisioningApiUsersAddToGroupResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersAddToGroupResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiUsersAddToGroupResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiUsersAddToGroupResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersAddToGroupResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersAddToGroupResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersAddToGroupResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersAddToGroupResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersAddToGroupResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiUsersAddToGroupResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson? _$v; + + ProvisioningApiUsersAddToGroupResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersAddToGroupResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersAddToGroupResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersAddToGroupResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiUsersAddToGroupResponse200ApplicationJsonBuilder(); + + ProvisioningApiUsersAddToGroupResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersAddToGroupResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson; + } + + @override + void update(void Function(ProvisioningApiUsersAddToGroupResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersAddToGroupResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson _build() { + _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiUsersAddToGroupResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersAddToGroupResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs + extends ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final JsonObject data; + + factory _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson + extends ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson { + @override + final ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_Ocs ocs; + + factory _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson( + [void Function(ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson', 'ocs'); + } + + @override + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} + +class ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson? _$v; + + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJsonBuilder(); + + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + @override - final String language; + void replace(ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson; + } + @override - final String locale; + void update(void Function(ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + @override - final String? notifyEmail; + ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson build() => _build(); + + _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson _build() { + _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersRemoveFromGroupResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs + extends ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs { @override - final ProvisioningApiUserDetails_BackendCapabilities backendCapabilities; + final ProvisioningApiOCSMeta meta; @override - final String displayName; + final BuiltList data; - factory _$ProvisioningApiUserDetails([void Function(ProvisioningApiUserDetailsBuilder)? updates]) => - (ProvisioningApiUserDetailsBuilder()..update(updates))._build(); + factory _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$ProvisioningApiUserDetails._( - {this.enabled, - this.storageLocation, - required this.id, - required this.lastLogin, - required this.backend, - required this.subadmin, - required this.quota, - required this.avatarScope, - this.email, - required this.emailScope, - required this.additionalMail, - required this.additionalMailScope, - required this.displayname, - required this.displaynameScope, - required this.phone, - required this.phoneScope, - required this.address, - required this.addressScope, - required this.website, - required this.websiteScope, - required this.twitter, - required this.twitterScope, - required this.organisation, - required this.organisationScope, - required this.role, - required this.roleScope, - required this.headline, - required this.headlineScope, - required this.biography, - required this.biographyScope, - required this.profileEnabled, - required this.profileEnabledScope, - required this.fediverse, - required this.fediverseScope, - required this.groups, - required this.language, - required this.locale, - this.notifyEmail, - required this.backendCapabilities, - required this.displayName}) + _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'ProvisioningApiUserDetails', 'id'); - BuiltValueNullFieldError.checkNotNull(lastLogin, r'ProvisioningApiUserDetails', 'lastLogin'); - BuiltValueNullFieldError.checkNotNull(backend, r'ProvisioningApiUserDetails', 'backend'); - BuiltValueNullFieldError.checkNotNull(subadmin, r'ProvisioningApiUserDetails', 'subadmin'); - BuiltValueNullFieldError.checkNotNull(quota, r'ProvisioningApiUserDetails', 'quota'); - BuiltValueNullFieldError.checkNotNull(avatarScope, r'ProvisioningApiUserDetails', 'avatarScope'); - BuiltValueNullFieldError.checkNotNull(emailScope, r'ProvisioningApiUserDetails', 'emailScope'); - BuiltValueNullFieldError.checkNotNull(additionalMail, r'ProvisioningApiUserDetails', 'additionalMail'); - BuiltValueNullFieldError.checkNotNull(additionalMailScope, r'ProvisioningApiUserDetails', 'additionalMailScope'); - BuiltValueNullFieldError.checkNotNull(displayname, r'ProvisioningApiUserDetails', 'displayname'); - BuiltValueNullFieldError.checkNotNull(displaynameScope, r'ProvisioningApiUserDetails', 'displaynameScope'); - BuiltValueNullFieldError.checkNotNull(phone, r'ProvisioningApiUserDetails', 'phone'); - BuiltValueNullFieldError.checkNotNull(phoneScope, r'ProvisioningApiUserDetails', 'phoneScope'); - BuiltValueNullFieldError.checkNotNull(address, r'ProvisioningApiUserDetails', 'address'); - BuiltValueNullFieldError.checkNotNull(addressScope, r'ProvisioningApiUserDetails', 'addressScope'); - BuiltValueNullFieldError.checkNotNull(website, r'ProvisioningApiUserDetails', 'website'); - BuiltValueNullFieldError.checkNotNull(websiteScope, r'ProvisioningApiUserDetails', 'websiteScope'); - BuiltValueNullFieldError.checkNotNull(twitter, r'ProvisioningApiUserDetails', 'twitter'); - BuiltValueNullFieldError.checkNotNull(twitterScope, r'ProvisioningApiUserDetails', 'twitterScope'); - BuiltValueNullFieldError.checkNotNull(organisation, r'ProvisioningApiUserDetails', 'organisation'); - BuiltValueNullFieldError.checkNotNull(organisationScope, r'ProvisioningApiUserDetails', 'organisationScope'); - BuiltValueNullFieldError.checkNotNull(role, r'ProvisioningApiUserDetails', 'role'); - BuiltValueNullFieldError.checkNotNull(roleScope, r'ProvisioningApiUserDetails', 'roleScope'); - BuiltValueNullFieldError.checkNotNull(headline, r'ProvisioningApiUserDetails', 'headline'); - BuiltValueNullFieldError.checkNotNull(headlineScope, r'ProvisioningApiUserDetails', 'headlineScope'); - BuiltValueNullFieldError.checkNotNull(biography, r'ProvisioningApiUserDetails', 'biography'); - BuiltValueNullFieldError.checkNotNull(biographyScope, r'ProvisioningApiUserDetails', 'biographyScope'); - BuiltValueNullFieldError.checkNotNull(profileEnabled, r'ProvisioningApiUserDetails', 'profileEnabled'); - BuiltValueNullFieldError.checkNotNull(profileEnabledScope, r'ProvisioningApiUserDetails', 'profileEnabledScope'); - BuiltValueNullFieldError.checkNotNull(fediverse, r'ProvisioningApiUserDetails', 'fediverse'); - BuiltValueNullFieldError.checkNotNull(fediverseScope, r'ProvisioningApiUserDetails', 'fediverseScope'); - BuiltValueNullFieldError.checkNotNull(groups, r'ProvisioningApiUserDetails', 'groups'); - BuiltValueNullFieldError.checkNotNull(language, r'ProvisioningApiUserDetails', 'language'); - BuiltValueNullFieldError.checkNotNull(locale, r'ProvisioningApiUserDetails', 'locale'); - BuiltValueNullFieldError.checkNotNull(backendCapabilities, r'ProvisioningApiUserDetails', 'backendCapabilities'); - BuiltValueNullFieldError.checkNotNull(displayName, r'ProvisioningApiUserDetails', 'displayName'); + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs', 'data'); } @override - ProvisioningApiUserDetails rebuild(void Function(ProvisioningApiUserDetailsBuilder) updates) => + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ProvisioningApiUserDetailsBuilder toBuilder() => ProvisioningApiUserDetailsBuilder()..replace(this); + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ProvisioningApiUserDetails && - enabled == other.enabled && - storageLocation == other.storageLocation && - id == other.id && - lastLogin == other.lastLogin && - backend == other.backend && - subadmin == other.subadmin && - quota == other.quota && - avatarScope == other.avatarScope && - email == other.email && - emailScope == other.emailScope && - additionalMail == other.additionalMail && - additionalMailScope == other.additionalMailScope && - displayname == other.displayname && - displaynameScope == other.displaynameScope && - phone == other.phone && - phoneScope == other.phoneScope && - address == other.address && - addressScope == other.addressScope && - website == other.website && - websiteScope == other.websiteScope && - twitter == other.twitter && - twitterScope == other.twitterScope && - organisation == other.organisation && - organisationScope == other.organisationScope && - role == other.role && - roleScope == other.roleScope && - headline == other.headline && - headlineScope == other.headlineScope && - biography == other.biography && - biographyScope == other.biographyScope && - profileEnabled == other.profileEnabled && - profileEnabledScope == other.profileEnabledScope && - fediverse == other.fediverse && - fediverseScope == other.fediverseScope && - groups == other.groups && - language == other.language && - locale == other.locale && - notifyEmail == other.notifyEmail && - backendCapabilities == other.backendCapabilities && - displayName == other.displayName; + return other is ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, enabled.hashCode); - _$hash = $jc(_$hash, storageLocation.hashCode); - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, lastLogin.hashCode); - _$hash = $jc(_$hash, backend.hashCode); - _$hash = $jc(_$hash, subadmin.hashCode); - _$hash = $jc(_$hash, quota.hashCode); - _$hash = $jc(_$hash, avatarScope.hashCode); - _$hash = $jc(_$hash, email.hashCode); - _$hash = $jc(_$hash, emailScope.hashCode); - _$hash = $jc(_$hash, additionalMail.hashCode); - _$hash = $jc(_$hash, additionalMailScope.hashCode); - _$hash = $jc(_$hash, displayname.hashCode); - _$hash = $jc(_$hash, displaynameScope.hashCode); - _$hash = $jc(_$hash, phone.hashCode); - _$hash = $jc(_$hash, phoneScope.hashCode); - _$hash = $jc(_$hash, address.hashCode); - _$hash = $jc(_$hash, addressScope.hashCode); - _$hash = $jc(_$hash, website.hashCode); - _$hash = $jc(_$hash, websiteScope.hashCode); - _$hash = $jc(_$hash, twitter.hashCode); - _$hash = $jc(_$hash, twitterScope.hashCode); - _$hash = $jc(_$hash, organisation.hashCode); - _$hash = $jc(_$hash, organisationScope.hashCode); - _$hash = $jc(_$hash, role.hashCode); - _$hash = $jc(_$hash, roleScope.hashCode); - _$hash = $jc(_$hash, headline.hashCode); - _$hash = $jc(_$hash, headlineScope.hashCode); - _$hash = $jc(_$hash, biography.hashCode); - _$hash = $jc(_$hash, biographyScope.hashCode); - _$hash = $jc(_$hash, profileEnabled.hashCode); - _$hash = $jc(_$hash, profileEnabledScope.hashCode); - _$hash = $jc(_$hash, fediverse.hashCode); - _$hash = $jc(_$hash, fediverseScope.hashCode); - _$hash = $jc(_$hash, groups.hashCode); - _$hash = $jc(_$hash, language.hashCode); - _$hash = $jc(_$hash, locale.hashCode); - _$hash = $jc(_$hash, notifyEmail.hashCode); - _$hash = $jc(_$hash, backendCapabilities.hashCode); - _$hash = $jc(_$hash, displayName.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'ProvisioningApiUserDetails') - ..add('enabled', enabled) - ..add('storageLocation', storageLocation) - ..add('id', id) - ..add('lastLogin', lastLogin) - ..add('backend', backend) - ..add('subadmin', subadmin) - ..add('quota', quota) - ..add('avatarScope', avatarScope) - ..add('email', email) - ..add('emailScope', emailScope) - ..add('additionalMail', additionalMail) - ..add('additionalMailScope', additionalMailScope) - ..add('displayname', displayname) - ..add('displaynameScope', displaynameScope) - ..add('phone', phone) - ..add('phoneScope', phoneScope) - ..add('address', address) - ..add('addressScope', addressScope) - ..add('website', website) - ..add('websiteScope', websiteScope) - ..add('twitter', twitter) - ..add('twitterScope', twitterScope) - ..add('organisation', organisation) - ..add('organisationScope', organisationScope) - ..add('role', role) - ..add('roleScope', roleScope) - ..add('headline', headline) - ..add('headlineScope', headlineScope) - ..add('biography', biography) - ..add('biographyScope', biographyScope) - ..add('profileEnabled', profileEnabled) - ..add('profileEnabledScope', profileEnabledScope) - ..add('fediverse', fediverse) - ..add('fediverseScope', fediverseScope) - ..add('groups', groups) - ..add('language', language) - ..add('locale', locale) - ..add('notifyEmail', notifyEmail) - ..add('backendCapabilities', backendCapabilities) - ..add('displayName', displayName)) + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class ProvisioningApiUserDetailsBuilder - implements Builder { - _$ProvisioningApiUserDetails? _$v; +class ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs? _$v; + + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; + + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; + + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_OcsBuilder(); + + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs build() => _build(); + + _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson + extends ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson { + @override + final ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_Ocs ocs; - bool? _enabled; - bool? get enabled => _$this._enabled; - set enabled(bool? enabled) => _$this._enabled = enabled; + factory _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson( + [void Function(ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJsonBuilder()..update(updates))._build(); - String? _storageLocation; - String? get storageLocation => _$this._storageLocation; - set storageLocation(String? storageLocation) => _$this._storageLocation = storageLocation; + _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson', 'ocs'); + } - String? _id; - String? get id => _$this._id; - set id(String? id) => _$this._id = id; + @override + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); - int? _lastLogin; - int? get lastLogin => _$this._lastLogin; - set lastLogin(int? lastLogin) => _$this._lastLogin = lastLogin; + @override + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJsonBuilder()..replace(this); - String? _backend; - String? get backend => _$this._backend; - set backend(String? backend) => _$this._backend = backend; + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson && ocs == other.ocs; + } - ListBuilder? _subadmin; - ListBuilder get subadmin => _$this._subadmin ??= ListBuilder(); - set subadmin(ListBuilder? subadmin) => _$this._subadmin = subadmin; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } - ProvisioningApiUserDetails_QuotaBuilder? _quota; - ProvisioningApiUserDetails_QuotaBuilder get quota => _$this._quota ??= ProvisioningApiUserDetails_QuotaBuilder(); - set quota(ProvisioningApiUserDetails_QuotaBuilder? quota) => _$this._quota = quota; + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} - String? _avatarScope; - String? get avatarScope => _$this._avatarScope; - set avatarScope(String? avatarScope) => _$this._avatarScope = avatarScope; +class ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson? _$v; - String? _email; - String? get email => _$this._email; - set email(String? email) => _$this._email = email; + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - String? _emailScope; - String? get emailScope => _$this._emailScope; - set emailScope(String? emailScope) => _$this._emailScope = emailScope; + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJsonBuilder(); - ListBuilder? _additionalMail; - ListBuilder get additionalMail => _$this._additionalMail ??= ListBuilder(); - set additionalMail(ListBuilder? additionalMail) => _$this._additionalMail = additionalMail; + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } - ListBuilder? _additionalMailScope; - ListBuilder get additionalMailScope => _$this._additionalMailScope ??= ListBuilder(); - set additionalMailScope(ListBuilder? additionalMailScope) => - _$this._additionalMailScope = additionalMailScope; + @override + void replace(ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson; + } - String? _displayname; - String? get displayname => _$this._displayname; - set displayname(String? displayname) => _$this._displayname = displayname; + @override + void update(void Function(ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } - String? _displaynameScope; - String? get displaynameScope => _$this._displaynameScope; - set displaynameScope(String? displaynameScope) => _$this._displaynameScope = displaynameScope; + @override + ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson build() => _build(); - String? _phone; - String? get phone => _$this._phone; - set phone(String? phone) => _$this._phone = phone; + _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson _build() { + _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersGetUserSubAdminGroupsResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} - String? _phoneScope; - String? get phoneScope => _$this._phoneScope; - set phoneScope(String? phoneScope) => _$this._phoneScope = phoneScope; +class _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs + extends ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs { + @override + final ProvisioningApiOCSMeta meta; + @override + final JsonObject data; - String? _address; - String? get address => _$this._address; - set address(String? address) => _$this._address = address; + factory _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - String? _addressScope; - String? get addressScope => _$this._addressScope; - set addressScope(String? addressScope) => _$this._addressScope = addressScope; + _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs', 'data'); + } - String? _website; - String? get website => _$this._website; - set website(String? website) => _$this._website = website; + @override + ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); - String? _websiteScope; - String? get websiteScope => _$this._websiteScope; - set websiteScope(String? websiteScope) => _$this._websiteScope = websiteScope; + @override + ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_OcsBuilder()..replace(this); - String? _twitter; - String? get twitter => _$this._twitter; - set twitter(String? twitter) => _$this._twitter = twitter; + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } - String? _twitterScope; - String? get twitterScope => _$this._twitterScope; - set twitterScope(String? twitterScope) => _$this._twitterScope = twitterScope; + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } - String? _organisation; - String? get organisation => _$this._organisation; - set organisation(String? organisation) => _$this._organisation = organisation; + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} - String? _organisationScope; - String? get organisationScope => _$this._organisationScope; - set organisationScope(String? organisationScope) => _$this._organisationScope = organisationScope; +class ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs? _$v; - String? _role; - String? get role => _$this._role; - set role(String? role) => _$this._role = role; + ProvisioningApiOCSMetaBuilder? _meta; + ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); + set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; - String? _roleScope; - String? get roleScope => _$this._roleScope; - set roleScope(String? roleScope) => _$this._roleScope = roleScope; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; - String? _headline; - String? get headline => _$this._headline; - set headline(String? headline) => _$this._headline = headline; + ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_OcsBuilder(); - String? _headlineScope; - String? get headlineScope => _$this._headlineScope; - set headlineScope(String? headlineScope) => _$this._headlineScope = headlineScope; + ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } - String? _biography; - String? get biography => _$this._biography; - set biography(String? biography) => _$this._biography = biography; + @override + void replace(ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs; + } - String? _biographyScope; - String? get biographyScope => _$this._biographyScope; - set biographyScope(String? biographyScope) => _$this._biographyScope = biographyScope; + @override + void update(void Function(ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } - String? _profileEnabled; - String? get profileEnabled => _$this._profileEnabled; - set profileEnabled(String? profileEnabled) => _$this._profileEnabled = profileEnabled; + @override + ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs build() => _build(); - String? _profileEnabledScope; - String? get profileEnabledScope => _$this._profileEnabledScope; - set profileEnabledScope(String? profileEnabledScope) => _$this._profileEnabledScope = profileEnabledScope; + _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} - String? _fediverse; - String? get fediverse => _$this._fediverse; - set fediverse(String? fediverse) => _$this._fediverse = fediverse; +class _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson + extends ProvisioningApiUsersAddSubAdminResponse200ApplicationJson { + @override + final ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_Ocs ocs; - String? _fediverseScope; - String? get fediverseScope => _$this._fediverseScope; - set fediverseScope(String? fediverseScope) => _$this._fediverseScope = fediverseScope; + factory _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson( + [void Function(ProvisioningApiUsersAddSubAdminResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersAddSubAdminResponse200ApplicationJsonBuilder()..update(updates))._build(); - ListBuilder? _groups; - ListBuilder get groups => _$this._groups ??= ListBuilder(); - set groups(ListBuilder? groups) => _$this._groups = groups; + _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiUsersAddSubAdminResponse200ApplicationJson', 'ocs'); + } - String? _language; - String? get language => _$this._language; - set language(String? language) => _$this._language = language; + @override + ProvisioningApiUsersAddSubAdminResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersAddSubAdminResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); - String? _locale; - String? get locale => _$this._locale; - set locale(String? locale) => _$this._locale = locale; + @override + ProvisioningApiUsersAddSubAdminResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersAddSubAdminResponse200ApplicationJsonBuilder()..replace(this); - String? _notifyEmail; - String? get notifyEmail => _$this._notifyEmail; - set notifyEmail(String? notifyEmail) => _$this._notifyEmail = notifyEmail; + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiUsersAddSubAdminResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersAddSubAdminResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} - ProvisioningApiUserDetails_BackendCapabilitiesBuilder? _backendCapabilities; - ProvisioningApiUserDetails_BackendCapabilitiesBuilder get backendCapabilities => - _$this._backendCapabilities ??= ProvisioningApiUserDetails_BackendCapabilitiesBuilder(); - set backendCapabilities(ProvisioningApiUserDetails_BackendCapabilitiesBuilder? backendCapabilities) => - _$this._backendCapabilities = backendCapabilities; +class ProvisioningApiUsersAddSubAdminResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson? _$v; - String? _displayName; - String? get displayName => _$this._displayName; - set displayName(String? displayName) => _$this._displayName = displayName; + ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersAddSubAdminResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - ProvisioningApiUserDetailsBuilder(); + ProvisioningApiUsersAddSubAdminResponse200ApplicationJsonBuilder(); - ProvisioningApiUserDetailsBuilder get _$this { + ProvisioningApiUsersAddSubAdminResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _enabled = $v.enabled; - _storageLocation = $v.storageLocation; - _id = $v.id; - _lastLogin = $v.lastLogin; - _backend = $v.backend; - _subadmin = $v.subadmin.toBuilder(); - _quota = $v.quota.toBuilder(); - _avatarScope = $v.avatarScope; - _email = $v.email; - _emailScope = $v.emailScope; - _additionalMail = $v.additionalMail.toBuilder(); - _additionalMailScope = $v.additionalMailScope.toBuilder(); - _displayname = $v.displayname; - _displaynameScope = $v.displaynameScope; - _phone = $v.phone; - _phoneScope = $v.phoneScope; - _address = $v.address; - _addressScope = $v.addressScope; - _website = $v.website; - _websiteScope = $v.websiteScope; - _twitter = $v.twitter; - _twitterScope = $v.twitterScope; - _organisation = $v.organisation; - _organisationScope = $v.organisationScope; - _role = $v.role; - _roleScope = $v.roleScope; - _headline = $v.headline; - _headlineScope = $v.headlineScope; - _biography = $v.biography; - _biographyScope = $v.biographyScope; - _profileEnabled = $v.profileEnabled; - _profileEnabledScope = $v.profileEnabledScope; - _fediverse = $v.fediverse; - _fediverseScope = $v.fediverseScope; - _groups = $v.groups.toBuilder(); - _language = $v.language; - _locale = $v.locale; - _notifyEmail = $v.notifyEmail; - _backendCapabilities = $v.backendCapabilities.toBuilder(); - _displayName = $v.displayName; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(ProvisioningApiUserDetails other) { + void replace(ProvisioningApiUsersAddSubAdminResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ProvisioningApiUserDetails; + _$v = other as _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson; } @override - void update(void Function(ProvisioningApiUserDetailsBuilder)? updates) { + void update(void Function(ProvisioningApiUsersAddSubAdminResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - ProvisioningApiUserDetails build() => _build(); + ProvisioningApiUsersAddSubAdminResponse200ApplicationJson build() => _build(); - _$ProvisioningApiUserDetails _build() { - _$ProvisioningApiUserDetails _$result; + _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson _build() { + _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson _$result; try { - _$result = _$v ?? - _$ProvisioningApiUserDetails._( - enabled: enabled, - storageLocation: storageLocation, - id: BuiltValueNullFieldError.checkNotNull(id, r'ProvisioningApiUserDetails', 'id'), - lastLogin: BuiltValueNullFieldError.checkNotNull(lastLogin, r'ProvisioningApiUserDetails', 'lastLogin'), - backend: BuiltValueNullFieldError.checkNotNull(backend, r'ProvisioningApiUserDetails', 'backend'), - subadmin: subadmin.build(), - quota: quota.build(), - avatarScope: - BuiltValueNullFieldError.checkNotNull(avatarScope, r'ProvisioningApiUserDetails', 'avatarScope'), - email: email, - emailScope: - BuiltValueNullFieldError.checkNotNull(emailScope, r'ProvisioningApiUserDetails', 'emailScope'), - additionalMail: additionalMail.build(), - additionalMailScope: additionalMailScope.build(), - displayname: - BuiltValueNullFieldError.checkNotNull(displayname, r'ProvisioningApiUserDetails', 'displayname'), - displaynameScope: BuiltValueNullFieldError.checkNotNull( - displaynameScope, r'ProvisioningApiUserDetails', 'displaynameScope'), - phone: BuiltValueNullFieldError.checkNotNull(phone, r'ProvisioningApiUserDetails', 'phone'), - phoneScope: - BuiltValueNullFieldError.checkNotNull(phoneScope, r'ProvisioningApiUserDetails', 'phoneScope'), - address: BuiltValueNullFieldError.checkNotNull(address, r'ProvisioningApiUserDetails', 'address'), - addressScope: - BuiltValueNullFieldError.checkNotNull(addressScope, r'ProvisioningApiUserDetails', 'addressScope'), - website: BuiltValueNullFieldError.checkNotNull(website, r'ProvisioningApiUserDetails', 'website'), - websiteScope: - BuiltValueNullFieldError.checkNotNull(websiteScope, r'ProvisioningApiUserDetails', 'websiteScope'), - twitter: BuiltValueNullFieldError.checkNotNull(twitter, r'ProvisioningApiUserDetails', 'twitter'), - twitterScope: - BuiltValueNullFieldError.checkNotNull(twitterScope, r'ProvisioningApiUserDetails', 'twitterScope'), - organisation: - BuiltValueNullFieldError.checkNotNull(organisation, r'ProvisioningApiUserDetails', 'organisation'), - organisationScope: BuiltValueNullFieldError.checkNotNull( - organisationScope, r'ProvisioningApiUserDetails', 'organisationScope'), - role: BuiltValueNullFieldError.checkNotNull(role, r'ProvisioningApiUserDetails', 'role'), - roleScope: BuiltValueNullFieldError.checkNotNull(roleScope, r'ProvisioningApiUserDetails', 'roleScope'), - headline: BuiltValueNullFieldError.checkNotNull(headline, r'ProvisioningApiUserDetails', 'headline'), - headlineScope: - BuiltValueNullFieldError.checkNotNull(headlineScope, r'ProvisioningApiUserDetails', 'headlineScope'), - biography: BuiltValueNullFieldError.checkNotNull(biography, r'ProvisioningApiUserDetails', 'biography'), - biographyScope: BuiltValueNullFieldError.checkNotNull( - biographyScope, r'ProvisioningApiUserDetails', 'biographyScope'), - profileEnabled: BuiltValueNullFieldError.checkNotNull( - profileEnabled, r'ProvisioningApiUserDetails', 'profileEnabled'), - profileEnabledScope: BuiltValueNullFieldError.checkNotNull( - profileEnabledScope, r'ProvisioningApiUserDetails', 'profileEnabledScope'), - fediverse: BuiltValueNullFieldError.checkNotNull(fediverse, r'ProvisioningApiUserDetails', 'fediverse'), - fediverseScope: BuiltValueNullFieldError.checkNotNull( - fediverseScope, r'ProvisioningApiUserDetails', 'fediverseScope'), - groups: groups.build(), - language: BuiltValueNullFieldError.checkNotNull(language, r'ProvisioningApiUserDetails', 'language'), - locale: BuiltValueNullFieldError.checkNotNull(locale, r'ProvisioningApiUserDetails', 'locale'), - notifyEmail: notifyEmail, - backendCapabilities: backendCapabilities.build(), - displayName: - BuiltValueNullFieldError.checkNotNull(displayName, r'ProvisioningApiUserDetails', 'displayName')); + _$result = _$v ?? _$ProvisioningApiUsersAddSubAdminResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'subadmin'; - subadmin.build(); - _$failedField = 'quota'; - quota.build(); - - _$failedField = 'additionalMail'; - additionalMail.build(); - _$failedField = 'additionalMailScope'; - additionalMailScope.build(); - - _$failedField = 'groups'; - groups.build(); - - _$failedField = 'backendCapabilities'; - backendCapabilities.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'ProvisioningApiUserDetails', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersAddSubAdminResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -1617,31 +19007,40 @@ class ProvisioningApiUserDetailsBuilder } } -class _$ProvisioningApiUser_Ocs extends ProvisioningApiUser_Ocs { +class _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs + extends ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs { @override final ProvisioningApiOCSMeta meta; @override - final ProvisioningApiUserDetails data; + final JsonObject data; - factory _$ProvisioningApiUser_Ocs([void Function(ProvisioningApiUser_OcsBuilder)? updates]) => - (ProvisioningApiUser_OcsBuilder()..update(updates))._build(); + factory _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$ProvisioningApiUser_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'ProvisioningApiUser_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'ProvisioningApiUser_Ocs', 'data'); + _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs', 'data'); } @override - ProvisioningApiUser_Ocs rebuild(void Function(ProvisioningApiUser_OcsBuilder) updates) => + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ProvisioningApiUser_OcsBuilder toBuilder() => ProvisioningApiUser_OcsBuilder()..replace(this); + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ProvisioningApiUser_Ocs && meta == other.meta && data == other.data; + return other is ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -1655,63 +19054,69 @@ class _$ProvisioningApiUser_Ocs extends ProvisioningApiUser_Ocs { @override String toString() { - return (newBuiltValueToStringHelper(r'ProvisioningApiUser_Ocs') + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class ProvisioningApiUser_OcsBuilder implements Builder { - _$ProvisioningApiUser_Ocs? _$v; +class ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs? _$v; ProvisioningApiOCSMetaBuilder? _meta; ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; - ProvisioningApiUserDetailsBuilder? _data; - ProvisioningApiUserDetailsBuilder get data => _$this._data ??= ProvisioningApiUserDetailsBuilder(); - set data(ProvisioningApiUserDetailsBuilder? data) => _$this._data = data; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; - ProvisioningApiUser_OcsBuilder(); + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_OcsBuilder(); - ProvisioningApiUser_OcsBuilder get _$this { + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _data = $v.data; _$v = null; } return this; } @override - void replace(ProvisioningApiUser_Ocs other) { + void replace(ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ProvisioningApiUser_Ocs; + _$v = other as _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs; } @override - void update(void Function(ProvisioningApiUser_OcsBuilder)? updates) { + void update(void Function(ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - ProvisioningApiUser_Ocs build() => _build(); + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs build() => _build(); - _$ProvisioningApiUser_Ocs _build() { - _$ProvisioningApiUser_Ocs _$result; + _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$ProvisioningApiUser_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs', 'data')); } catch (_) { late String _$failedField; try { _$failedField = 'meta'; meta.build(); - _$failedField = 'data'; - data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'ProvisioningApiUser_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -1720,28 +19125,32 @@ class ProvisioningApiUser_OcsBuilder implements Builder - (ProvisioningApiUserBuilder()..update(updates))._build(); + factory _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson( + [void Function(ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$ProvisioningApiUser._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiUser', 'ocs'); + _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson', 'ocs'); } @override - ProvisioningApiUser rebuild(void Function(ProvisioningApiUserBuilder) updates) => + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ProvisioningApiUserBuilder toBuilder() => ProvisioningApiUserBuilder()..replace(this); + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ProvisioningApiUser && ocs == other.ocs; + return other is ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson && ocs == other.ocs; } @override @@ -1754,20 +19163,26 @@ class _$ProvisioningApiUser extends ProvisioningApiUser { @override String toString() { - return (newBuiltValueToStringHelper(r'ProvisioningApiUser')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); } } -class ProvisioningApiUserBuilder implements Builder { - _$ProvisioningApiUser? _$v; +class ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson? _$v; - ProvisioningApiUser_OcsBuilder? _ocs; - ProvisioningApiUser_OcsBuilder get ocs => _$this._ocs ??= ProvisioningApiUser_OcsBuilder(); - set ocs(ProvisioningApiUser_OcsBuilder? ocs) => _$this._ocs = ocs; + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - ProvisioningApiUserBuilder(); + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJsonBuilder(); - ProvisioningApiUserBuilder get _$this { + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -1777,30 +19192,31 @@ class ProvisioningApiUserBuilder implements Builder _build(); + ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson build() => _build(); - _$ProvisioningApiUser _build() { - _$ProvisioningApiUser _$result; + _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson _build() { + _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$ProvisioningApiUser._(ocs: ocs.build()); + _$result = _$v ?? _$ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'ProvisioningApiUser', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersRemoveSubAdminResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -1809,31 +19225,40 @@ class ProvisioningApiUserBuilder implements Builder data; + final JsonObject data; - factory _$ProvisioningApiEmptyOCS_Ocs([void Function(ProvisioningApiEmptyOCS_OcsBuilder)? updates]) => - (ProvisioningApiEmptyOCS_OcsBuilder()..update(updates))._build(); + factory _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs( + [void Function(ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_OcsBuilder)? updates]) => + (ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$ProvisioningApiEmptyOCS_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'ProvisioningApiEmptyOCS_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'ProvisioningApiEmptyOCS_Ocs', 'data'); + _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs', 'data'); } @override - ProvisioningApiEmptyOCS_Ocs rebuild(void Function(ProvisioningApiEmptyOCS_OcsBuilder) updates) => + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs rebuild( + void Function(ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ProvisioningApiEmptyOCS_OcsBuilder toBuilder() => ProvisioningApiEmptyOCS_OcsBuilder()..replace(this); + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_OcsBuilder toBuilder() => + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ProvisioningApiEmptyOCS_Ocs && meta == other.meta && data == other.data; + return other is ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -1847,64 +19272,69 @@ class _$ProvisioningApiEmptyOCS_Ocs extends ProvisioningApiEmptyOCS_Ocs { @override String toString() { - return (newBuiltValueToStringHelper(r'ProvisioningApiEmptyOCS_Ocs') + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class ProvisioningApiEmptyOCS_OcsBuilder - implements Builder { - _$ProvisioningApiEmptyOCS_Ocs? _$v; +class ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs? _$v; ProvisioningApiOCSMetaBuilder? _meta; ProvisioningApiOCSMetaBuilder get meta => _$this._meta ??= ProvisioningApiOCSMetaBuilder(); set meta(ProvisioningApiOCSMetaBuilder? meta) => _$this._meta = meta; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(ListBuilder? data) => _$this._data = data; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; - ProvisioningApiEmptyOCS_OcsBuilder(); + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_OcsBuilder(); - ProvisioningApiEmptyOCS_OcsBuilder get _$this { + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _data = $v.data; _$v = null; } return this; } @override - void replace(ProvisioningApiEmptyOCS_Ocs other) { + void replace(ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$ProvisioningApiEmptyOCS_Ocs; + _$v = other as _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs; } @override - void update(void Function(ProvisioningApiEmptyOCS_OcsBuilder)? updates) { + void update(void Function(ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - ProvisioningApiEmptyOCS_Ocs build() => _build(); + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs build() => _build(); - _$ProvisioningApiEmptyOCS_Ocs _build() { - _$ProvisioningApiEmptyOCS_Ocs _$result; + _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs _build() { + _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$ProvisioningApiEmptyOCS_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs', 'data')); } catch (_) { late String _$failedField; try { _$failedField = 'meta'; meta.build(); - _$failedField = 'data'; - data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'ProvisioningApiEmptyOCS_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -1913,28 +19343,33 @@ class ProvisioningApiEmptyOCS_OcsBuilder } } -class _$ProvisioningApiEmptyOCS extends ProvisioningApiEmptyOCS { +class _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson + extends ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson { @override - final ProvisioningApiEmptyOCS_Ocs ocs; + final ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_Ocs ocs; - factory _$ProvisioningApiEmptyOCS([void Function(ProvisioningApiEmptyOCSBuilder)? updates]) => - (ProvisioningApiEmptyOCSBuilder()..update(updates))._build(); + factory _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson( + [void Function(ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJsonBuilder)? updates]) => + (ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$ProvisioningApiEmptyOCS._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'ProvisioningApiEmptyOCS', 'ocs'); + _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson', 'ocs'); } @override - ProvisioningApiEmptyOCS rebuild(void Function(ProvisioningApiEmptyOCSBuilder) updates) => + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson rebuild( + void Function(ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - ProvisioningApiEmptyOCSBuilder toBuilder() => ProvisioningApiEmptyOCSBuilder()..replace(this); + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJsonBuilder toBuilder() => + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is ProvisioningApiEmptyOCS && ocs == other.ocs; + return other is ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson && ocs == other.ocs; } @override @@ -1947,20 +19382,26 @@ class _$ProvisioningApiEmptyOCS extends ProvisioningApiEmptyOCS { @override String toString() { - return (newBuiltValueToStringHelper(r'ProvisioningApiEmptyOCS')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); } } -class ProvisioningApiEmptyOCSBuilder implements Builder { - _$ProvisioningApiEmptyOCS? _$v; +class ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJsonBuilder + implements + Builder { + _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson? _$v; - ProvisioningApiEmptyOCS_OcsBuilder? _ocs; - ProvisioningApiEmptyOCS_OcsBuilder get ocs => _$this._ocs ??= ProvisioningApiEmptyOCS_OcsBuilder(); - set ocs(ProvisioningApiEmptyOCS_OcsBuilder? ocs) => _$this._ocs = ocs; + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_OcsBuilder? _ocs; + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_OcsBuilder(); + set ocs(ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - ProvisioningApiEmptyOCSBuilder(); + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJsonBuilder(); - ProvisioningApiEmptyOCSBuilder get _$this { + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -1970,30 +19411,266 @@ class ProvisioningApiEmptyOCSBuilder implements Builder _build(); + ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson build() => _build(); - _$ProvisioningApiEmptyOCS _build() { - _$ProvisioningApiEmptyOCS _$result; + _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson _build() { + _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$ProvisioningApiEmptyOCS._(ocs: ocs.build()); + _$result = _$v ?? _$ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'ProvisioningApiEmptyOCS', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'ProvisioningApiUsersResendWelcomeMessageResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiCapabilities_ProvisioningApi extends ProvisioningApiCapabilities_ProvisioningApi { + @override + final String version; + @override + final int accountPropertyScopesVersion; + @override + final bool accountPropertyScopesFederatedEnabled; + @override + final bool accountPropertyScopesPublishedEnabled; + + factory _$ProvisioningApiCapabilities_ProvisioningApi( + [void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder)? updates]) => + (ProvisioningApiCapabilities_ProvisioningApiBuilder()..update(updates))._build(); + + _$ProvisioningApiCapabilities_ProvisioningApi._( + {required this.version, + required this.accountPropertyScopesVersion, + required this.accountPropertyScopesFederatedEnabled, + required this.accountPropertyScopesPublishedEnabled}) + : super._() { + BuiltValueNullFieldError.checkNotNull(version, r'ProvisioningApiCapabilities_ProvisioningApi', 'version'); + BuiltValueNullFieldError.checkNotNull( + accountPropertyScopesVersion, r'ProvisioningApiCapabilities_ProvisioningApi', 'accountPropertyScopesVersion'); + BuiltValueNullFieldError.checkNotNull(accountPropertyScopesFederatedEnabled, + r'ProvisioningApiCapabilities_ProvisioningApi', 'accountPropertyScopesFederatedEnabled'); + BuiltValueNullFieldError.checkNotNull(accountPropertyScopesPublishedEnabled, + r'ProvisioningApiCapabilities_ProvisioningApi', 'accountPropertyScopesPublishedEnabled'); + } + + @override + ProvisioningApiCapabilities_ProvisioningApi rebuild( + void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiCapabilities_ProvisioningApiBuilder toBuilder() => + ProvisioningApiCapabilities_ProvisioningApiBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiCapabilities_ProvisioningApi && + version == other.version && + accountPropertyScopesVersion == other.accountPropertyScopesVersion && + accountPropertyScopesFederatedEnabled == other.accountPropertyScopesFederatedEnabled && + accountPropertyScopesPublishedEnabled == other.accountPropertyScopesPublishedEnabled; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, version.hashCode); + _$hash = $jc(_$hash, accountPropertyScopesVersion.hashCode); + _$hash = $jc(_$hash, accountPropertyScopesFederatedEnabled.hashCode); + _$hash = $jc(_$hash, accountPropertyScopesPublishedEnabled.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiCapabilities_ProvisioningApi') + ..add('version', version) + ..add('accountPropertyScopesVersion', accountPropertyScopesVersion) + ..add('accountPropertyScopesFederatedEnabled', accountPropertyScopesFederatedEnabled) + ..add('accountPropertyScopesPublishedEnabled', accountPropertyScopesPublishedEnabled)) + .toString(); + } +} + +class ProvisioningApiCapabilities_ProvisioningApiBuilder + implements + Builder { + _$ProvisioningApiCapabilities_ProvisioningApi? _$v; + + String? _version; + String? get version => _$this._version; + set version(String? version) => _$this._version = version; + + int? _accountPropertyScopesVersion; + int? get accountPropertyScopesVersion => _$this._accountPropertyScopesVersion; + set accountPropertyScopesVersion(int? accountPropertyScopesVersion) => + _$this._accountPropertyScopesVersion = accountPropertyScopesVersion; + + bool? _accountPropertyScopesFederatedEnabled; + bool? get accountPropertyScopesFederatedEnabled => _$this._accountPropertyScopesFederatedEnabled; + set accountPropertyScopesFederatedEnabled(bool? accountPropertyScopesFederatedEnabled) => + _$this._accountPropertyScopesFederatedEnabled = accountPropertyScopesFederatedEnabled; + + bool? _accountPropertyScopesPublishedEnabled; + bool? get accountPropertyScopesPublishedEnabled => _$this._accountPropertyScopesPublishedEnabled; + set accountPropertyScopesPublishedEnabled(bool? accountPropertyScopesPublishedEnabled) => + _$this._accountPropertyScopesPublishedEnabled = accountPropertyScopesPublishedEnabled; + + ProvisioningApiCapabilities_ProvisioningApiBuilder(); + + ProvisioningApiCapabilities_ProvisioningApiBuilder get _$this { + final $v = _$v; + if ($v != null) { + _version = $v.version; + _accountPropertyScopesVersion = $v.accountPropertyScopesVersion; + _accountPropertyScopesFederatedEnabled = $v.accountPropertyScopesFederatedEnabled; + _accountPropertyScopesPublishedEnabled = $v.accountPropertyScopesPublishedEnabled; + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiCapabilities_ProvisioningApi other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiCapabilities_ProvisioningApi; + } + + @override + void update(void Function(ProvisioningApiCapabilities_ProvisioningApiBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiCapabilities_ProvisioningApi build() => _build(); + + _$ProvisioningApiCapabilities_ProvisioningApi _build() { + final _$result = _$v ?? + _$ProvisioningApiCapabilities_ProvisioningApi._( + version: BuiltValueNullFieldError.checkNotNull( + version, r'ProvisioningApiCapabilities_ProvisioningApi', 'version'), + accountPropertyScopesVersion: BuiltValueNullFieldError.checkNotNull(accountPropertyScopesVersion, + r'ProvisioningApiCapabilities_ProvisioningApi', 'accountPropertyScopesVersion'), + accountPropertyScopesFederatedEnabled: BuiltValueNullFieldError.checkNotNull( + accountPropertyScopesFederatedEnabled, + r'ProvisioningApiCapabilities_ProvisioningApi', + 'accountPropertyScopesFederatedEnabled'), + accountPropertyScopesPublishedEnabled: BuiltValueNullFieldError.checkNotNull( + accountPropertyScopesPublishedEnabled, + r'ProvisioningApiCapabilities_ProvisioningApi', + 'accountPropertyScopesPublishedEnabled')); + replace(_$result); + return _$result; + } +} + +class _$ProvisioningApiCapabilities extends ProvisioningApiCapabilities { + @override + final ProvisioningApiCapabilities_ProvisioningApi provisioningApi; + + factory _$ProvisioningApiCapabilities([void Function(ProvisioningApiCapabilitiesBuilder)? updates]) => + (ProvisioningApiCapabilitiesBuilder()..update(updates))._build(); + + _$ProvisioningApiCapabilities._({required this.provisioningApi}) : super._() { + BuiltValueNullFieldError.checkNotNull(provisioningApi, r'ProvisioningApiCapabilities', 'provisioningApi'); + } + + @override + ProvisioningApiCapabilities rebuild(void Function(ProvisioningApiCapabilitiesBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ProvisioningApiCapabilitiesBuilder toBuilder() => ProvisioningApiCapabilitiesBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ProvisioningApiCapabilities && provisioningApi == other.provisioningApi; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, provisioningApi.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ProvisioningApiCapabilities')..add('provisioningApi', provisioningApi)) + .toString(); + } +} + +class ProvisioningApiCapabilitiesBuilder + implements Builder { + _$ProvisioningApiCapabilities? _$v; + + ProvisioningApiCapabilities_ProvisioningApiBuilder? _provisioningApi; + ProvisioningApiCapabilities_ProvisioningApiBuilder get provisioningApi => + _$this._provisioningApi ??= ProvisioningApiCapabilities_ProvisioningApiBuilder(); + set provisioningApi(ProvisioningApiCapabilities_ProvisioningApiBuilder? provisioningApi) => + _$this._provisioningApi = provisioningApi; + + ProvisioningApiCapabilitiesBuilder(); + + ProvisioningApiCapabilitiesBuilder get _$this { + final $v = _$v; + if ($v != null) { + _provisioningApi = $v.provisioningApi.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ProvisioningApiCapabilities other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ProvisioningApiCapabilities; + } + + @override + void update(void Function(ProvisioningApiCapabilitiesBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ProvisioningApiCapabilities build() => _build(); + + _$ProvisioningApiCapabilities _build() { + _$ProvisioningApiCapabilities _$result; + try { + _$result = _$v ?? _$ProvisioningApiCapabilities._(provisioningApi: provisioningApi.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'provisioningApi'; + provisioningApi.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ProvisioningApiCapabilities', _$failedField, e.toString()); } rethrow; } diff --git a/packages/nextcloud/lib/src/api/provisioning_api.openapi.json b/packages/nextcloud/lib/src/api/provisioning_api.openapi.json index a1df3d6c..f679397f 100644 --- a/packages/nextcloud/lib/src/api/provisioning_api.openapi.json +++ b/packages/nextcloud/lib/src/api/provisioning_api.openapi.json @@ -3479,7 +3479,7 @@ { "name": "app", "in": "path", - "description": "ID if the app", + "description": "ID of the app", "required": true, "schema": { "type": "string" diff --git a/packages/nextcloud/lib/src/api/settings.openapi.dart b/packages/nextcloud/lib/src/api/settings.openapi.dart new file mode 100644 index 00000000..9c3aa2cc --- /dev/null +++ b/packages/nextcloud/lib/src/api/settings.openapi.dart @@ -0,0 +1,203 @@ +// ignore_for_file: camel_case_types +// ignore_for_file: public_member_api_docs +import 'dart:convert'; +import 'dart:typed_data'; + +import 'package:built_value/built_value.dart'; +import 'package:built_value/serializer.dart'; +import 'package:built_value/standard_json_plugin.dart'; +import 'package:dynamite_runtime/content_string.dart'; +import 'package:dynamite_runtime/http_client.dart'; +import 'package:universal_io/io.dart'; + +export 'package:dynamite_runtime/http_client.dart'; + +part 'settings.openapi.g.dart'; + +class SettingsResponse extends DynamiteResponse { + SettingsResponse( + super.data, + super.headers, + ); + + @override + String toString() => 'SettingsResponse(data: $data, headers: $headers)'; +} + +class SettingsApiException extends DynamiteApiException { + SettingsApiException( + super.statusCode, + super.headers, + super.body, + ); + + static Future fromResponse(final HttpClientResponse response) async { + final data = await response.bodyBytes; + + String body; + try { + body = utf8.decode(data); + } on FormatException { + body = 'binary'; + } + + return SettingsApiException( + response.statusCode, + response.responseHeaders, + body, + ); + } + + @override + String toString() => 'SettingsApiException(statusCode: $statusCode, headers: $headers, body: $body)'; +} + +class SettingsClient extends DynamiteClient { + SettingsClient( + super.baseURL, { + super.baseHeaders, + super.userAgent, + super.httpClient, + super.cookieJar, + super.authentications, + }); + + SettingsClient.fromClient(final DynamiteClient client) + : super( + client.baseURL, + baseHeaders: client.baseHeaders, + httpClient: client.httpClient, + cookieJar: client.cookieJar, + authentications: client.authentications, + ); + + SettingsLogSettingsClient get logSettings => SettingsLogSettingsClient(this); +} + +class SettingsLogSettingsClient { + SettingsLogSettingsClient(this.rootClient); + + final SettingsClient rootClient; + + /// download logfile + /// + /// This endpoint requires admin access + Future> download() async { + const path = '/index.php/settings/admin/log/download'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/octet-stream', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return SettingsResponse( + await response.bodyBytes, + _jsonSerializers.deserialize( + response.responseHeaders, + specifiedType: const FullType(SettingsLogSettingsLogSettingsDownloadHeaders), + )! as SettingsLogSettingsLogSettingsDownloadHeaders, + ); + } + throw await SettingsApiException.fromResponse(response); // coverage:ignore-line + } +} + +abstract class SettingsLogSettingsLogSettingsDownloadHeaders + implements + Built { + factory SettingsLogSettingsLogSettingsDownloadHeaders([ + final void Function(SettingsLogSettingsLogSettingsDownloadHeadersBuilder)? b, + ]) = _$SettingsLogSettingsLogSettingsDownloadHeaders; + const SettingsLogSettingsLogSettingsDownloadHeaders._(); + + factory SettingsLogSettingsLogSettingsDownloadHeaders.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueField(wireName: 'content-disposition') + String? get contentDisposition; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => + _$SettingsLogSettingsLogSettingsDownloadHeadersSerializer(); +} + +class _$SettingsLogSettingsLogSettingsDownloadHeadersSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + SettingsLogSettingsLogSettingsDownloadHeaders, + _$SettingsLogSettingsLogSettingsDownloadHeaders + ]; + + @override + final String wireName = 'SettingsLogSettingsLogSettingsDownloadHeaders'; + + @override + Iterable serialize( + final Serializers serializers, + final SettingsLogSettingsLogSettingsDownloadHeaders object, { + final FullType specifiedType = FullType.unspecified, + }) { + throw UnimplementedError(); + } + + @override + SettingsLogSettingsLogSettingsDownloadHeaders deserialize( + final Serializers serializers, + final Iterable serialized, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = SettingsLogSettingsLogSettingsDownloadHeadersBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final value = iterator.current! as String; + switch (key) { + case 'content-disposition': + result.contentDisposition = value; + break; + } + } + + return result.build(); + } +} + +final Serializers _serializers = (Serializers().toBuilder() + ..addBuilderFactory( + const FullType(SettingsLogSettingsLogSettingsDownloadHeaders), + SettingsLogSettingsLogSettingsDownloadHeaders.new, + ) + ..add(SettingsLogSettingsLogSettingsDownloadHeaders.serializer)) + .build(); + +Serializers get settingsSerializers => _serializers; + +final Serializers _jsonSerializers = (_serializers.toBuilder() + ..addPlugin(StandardJsonPlugin()) + ..addPlugin(const ContentStringPlugin())) + .build(); + +// coverage:ignore-start +T deserializeSettings(final Object data) => _serializers.deserialize(data, specifiedType: FullType(T))! as T; + +Object? serializeSettings(final T data) => _serializers.serialize(data, specifiedType: FullType(T)); +// coverage:ignore-end diff --git a/packages/nextcloud/lib/src/api/settings.openapi.g.dart b/packages/nextcloud/lib/src/api/settings.openapi.g.dart new file mode 100644 index 00000000..da2b691a --- /dev/null +++ b/packages/nextcloud/lib/src/api/settings.openapi.g.dart @@ -0,0 +1,91 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'settings.openapi.dart'; + +// ************************************************************************** +// BuiltValueGenerator +// ************************************************************************** + +class _$SettingsLogSettingsLogSettingsDownloadHeaders extends SettingsLogSettingsLogSettingsDownloadHeaders { + @override + final String? contentDisposition; + + factory _$SettingsLogSettingsLogSettingsDownloadHeaders( + [void Function(SettingsLogSettingsLogSettingsDownloadHeadersBuilder)? updates]) => + (SettingsLogSettingsLogSettingsDownloadHeadersBuilder()..update(updates))._build(); + + _$SettingsLogSettingsLogSettingsDownloadHeaders._({this.contentDisposition}) : super._(); + + @override + SettingsLogSettingsLogSettingsDownloadHeaders rebuild( + void Function(SettingsLogSettingsLogSettingsDownloadHeadersBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + SettingsLogSettingsLogSettingsDownloadHeadersBuilder toBuilder() => + SettingsLogSettingsLogSettingsDownloadHeadersBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is SettingsLogSettingsLogSettingsDownloadHeaders && contentDisposition == other.contentDisposition; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, contentDisposition.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'SettingsLogSettingsLogSettingsDownloadHeaders') + ..add('contentDisposition', contentDisposition)) + .toString(); + } +} + +class SettingsLogSettingsLogSettingsDownloadHeadersBuilder + implements + Builder { + _$SettingsLogSettingsLogSettingsDownloadHeaders? _$v; + + String? _contentDisposition; + String? get contentDisposition => _$this._contentDisposition; + set contentDisposition(String? contentDisposition) => _$this._contentDisposition = contentDisposition; + + SettingsLogSettingsLogSettingsDownloadHeadersBuilder(); + + SettingsLogSettingsLogSettingsDownloadHeadersBuilder get _$this { + final $v = _$v; + if ($v != null) { + _contentDisposition = $v.contentDisposition; + _$v = null; + } + return this; + } + + @override + void replace(SettingsLogSettingsLogSettingsDownloadHeaders other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$SettingsLogSettingsLogSettingsDownloadHeaders; + } + + @override + void update(void Function(SettingsLogSettingsLogSettingsDownloadHeadersBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + SettingsLogSettingsLogSettingsDownloadHeaders build() => _build(); + + _$SettingsLogSettingsLogSettingsDownloadHeaders _build() { + final _$result = _$v ?? _$SettingsLogSettingsLogSettingsDownloadHeaders._(contentDisposition: contentDisposition); + replace(_$result); + return _$result; + } +} + +// ignore_for_file: deprecated_member_use_from_same_package,type=lint diff --git a/packages/nextcloud/lib/src/api/theming.openapi.dart b/packages/nextcloud/lib/src/api/theming.openapi.dart new file mode 100644 index 00000000..dba1d21a --- /dev/null +++ b/packages/nextcloud/lib/src/api/theming.openapi.dart @@ -0,0 +1,739 @@ +// ignore_for_file: camel_case_types +// ignore_for_file: public_member_api_docs +import 'dart:convert'; +import 'dart:typed_data'; + +import 'package:built_collection/built_collection.dart'; +import 'package:built_value/built_value.dart'; +import 'package:built_value/json_object.dart'; +import 'package:built_value/serializer.dart'; +import 'package:built_value/standard_json_plugin.dart'; +import 'package:dynamite_runtime/content_string.dart'; +import 'package:dynamite_runtime/http_client.dart'; +import 'package:universal_io/io.dart'; + +export 'package:dynamite_runtime/http_client.dart'; + +part 'theming.openapi.g.dart'; + +class ThemingResponse extends DynamiteResponse { + ThemingResponse( + super.data, + super.headers, + ); + + @override + String toString() => 'ThemingResponse(data: $data, headers: $headers)'; +} + +class ThemingApiException extends DynamiteApiException { + ThemingApiException( + super.statusCode, + super.headers, + super.body, + ); + + static Future fromResponse(final HttpClientResponse response) async { + final data = await response.bodyBytes; + + String body; + try { + body = utf8.decode(data); + } on FormatException { + body = 'binary'; + } + + return ThemingApiException( + response.statusCode, + response.responseHeaders, + body, + ); + } + + @override + String toString() => 'ThemingApiException(statusCode: $statusCode, headers: $headers, body: $body)'; +} + +class ThemingClient extends DynamiteClient { + ThemingClient( + super.baseURL, { + super.baseHeaders, + super.userAgent, + super.httpClient, + super.cookieJar, + super.authentications, + }); + + ThemingClient.fromClient(final DynamiteClient client) + : super( + client.baseURL, + baseHeaders: client.baseHeaders, + httpClient: client.httpClient, + cookieJar: client.cookieJar, + authentications: client.authentications, + ); + + ThemingIconClient get icon => ThemingIconClient(this); + ThemingThemingClient get theming => ThemingThemingClient(this); + ThemingUserThemeClient get userTheme => ThemingUserThemeClient(this); +} + +class ThemingIconClient { + ThemingIconClient(this.rootClient); + + final ThemingClient rootClient; + + /// Return a 32x32 favicon as png + Future getFavicon({final String app = 'core'}) async { + var path = '/index.php/apps/theming/favicon/{app}'; + final queryParameters = {}; + final headers = { + 'Accept': 'image/x-icon', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return response.bodyBytes; + } + throw await ThemingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Return a 512x512 icon for touch devices + Future getTouchIcon({final String app = 'core'}) async { + var path = '/index.php/apps/theming/icon/{app}'; + final queryParameters = {}; + final headers = { + 'Accept': 'image/png', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return response.bodyBytes; + } + throw await ThemingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get a themed icon + Future getThemedIcon({ + required final String app, + required final String image, + }) async { + var path = '/index.php/apps/theming/img/{app}/{image}'; + final queryParameters = {}; + final headers = { + 'Accept': 'image/svg+xml', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); + if (!RegExp(r'^.+$').hasMatch(image)) { + throw Exception('Invalid value "$image" for parameter "image" with pattern "${r'^.+$'}"'); // coverage:ignore-line + } + path = path.replaceAll('{image}', Uri.encodeQueryComponent(image)); + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return response.bodyBytes; + } + throw await ThemingApiException.fromResponse(response); // coverage:ignore-line + } +} + +/// Class ThemingController +/// handle ajax requests to update the theme +class ThemingThemingClient { + ThemingThemingClient(this.rootClient); + + final ThemingClient rootClient; + + /// Get the CSS stylesheet for a theme + Future getThemeStylesheet({ + required final String themeId, + final int plain = 0, + final int withCustomCss = 0, + }) async { + var path = '/index.php/apps/theming/theme/{themeId}.css'; + final queryParameters = {}; + final headers = { + 'Accept': 'text/css', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + path = path.replaceAll('{themeId}', Uri.encodeQueryComponent(themeId)); + if (plain != 0) { + queryParameters['plain'] = plain.toString(); + } + if (withCustomCss != 0) { + queryParameters['withCustomCss'] = withCustomCss.toString(); + } + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return response.body; + } + throw await ThemingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get an image + Future getImage({ + required final String key, + final int useSvg = 1, + }) async { + var path = '/index.php/apps/theming/image/{key}'; + final queryParameters = {}; + final headers = { + 'Accept': '*/*', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + path = path.replaceAll('{key}', Uri.encodeQueryComponent(key)); + if (useSvg != 1) { + queryParameters['useSvg'] = useSvg.toString(); + } + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return response.bodyBytes; + } + throw await ThemingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Get the manifest for an app + Future getManifest({required final String app}) async { + var path = '/index.php/apps/theming/manifest/{app}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } + path = path.replaceAll('{app}', Uri.encodeQueryComponent(app)); + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ThemingThemingGetManifestResponse200ApplicationJson), + )! as ThemingThemingGetManifestResponse200ApplicationJson; + } + throw await ThemingApiException.fromResponse(response); // coverage:ignore-line + } +} + +class ThemingUserThemeClient { + ThemingUserThemeClient(this.rootClient); + + final ThemingClient rootClient; + + /// Get the background image + Future getBackground({final String oCSAPIRequest = 'true'}) async { + const path = '/index.php/apps/theming/background'; + final queryParameters = {}; + final headers = { + 'Accept': '*/*', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return response.bodyBytes; + } + throw await ThemingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Set the background + Future setBackground({ + required final String type, + final String value = '', + final String? color, + final String oCSAPIRequest = 'true', + }) async { + var path = '/index.php/apps/theming/background/{type}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{type}', Uri.encodeQueryComponent(type)); + if (value != '') { + queryParameters['value'] = value; + } + if (color != null) { + queryParameters['color'] = color; + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'post', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize(await response.jsonBody, specifiedType: const FullType(ThemingBackground))! + as ThemingBackground; + } + throw await ThemingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Delete the background + Future deleteBackground({final String oCSAPIRequest = 'true'}) async { + const path = '/index.php/apps/theming/background/custom'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'delete', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize(await response.jsonBody, specifiedType: const FullType(ThemingBackground))! + as ThemingBackground; + } + throw await ThemingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Enable theme + Future enableTheme({ + required final String themeId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/apps/theming/api/v1/theme/{themeId}/enable'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{themeId}', Uri.encodeQueryComponent(themeId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'put', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ThemingUserThemeEnableThemeResponse200ApplicationJson), + )! as ThemingUserThemeEnableThemeResponse200ApplicationJson; + } + throw await ThemingApiException.fromResponse(response); // coverage:ignore-line + } + + /// Disable theme + Future disableTheme({ + required final String themeId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/apps/theming/api/v1/theme/{themeId}'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + path = path.replaceAll('{themeId}', Uri.encodeQueryComponent(themeId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'delete', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(ThemingUserThemeDisableThemeResponse200ApplicationJson), + )! as ThemingUserThemeDisableThemeResponse200ApplicationJson; + } + throw await ThemingApiException.fromResponse(response); // coverage:ignore-line + } +} + +abstract class ThemingThemingGetManifestResponse200ApplicationJson_Icons + implements + Built { + factory ThemingThemingGetManifestResponse200ApplicationJson_Icons([ + final void Function(ThemingThemingGetManifestResponse200ApplicationJson_IconsBuilder)? b, + ]) = _$ThemingThemingGetManifestResponse200ApplicationJson_Icons; + const ThemingThemingGetManifestResponse200ApplicationJson_Icons._(); + + factory ThemingThemingGetManifestResponse200ApplicationJson_Icons.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get src; + String get type; + String get sizes; + static Serializer get serializer => + _$themingThemingGetManifestResponse200ApplicationJsonIconsSerializer; +} + +abstract class ThemingThemingGetManifestResponse200ApplicationJson + implements + Built { + factory ThemingThemingGetManifestResponse200ApplicationJson([ + final void Function(ThemingThemingGetManifestResponse200ApplicationJsonBuilder)? b, + ]) = _$ThemingThemingGetManifestResponse200ApplicationJson; + const ThemingThemingGetManifestResponse200ApplicationJson._(); + + factory ThemingThemingGetManifestResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get name; + @BuiltValueField(wireName: 'short_name') + String get shortName; + @BuiltValueField(wireName: 'start_url') + String get startUrl; + @BuiltValueField(wireName: 'theme_color') + String get themeColor; + @BuiltValueField(wireName: 'background_color') + String get backgroundColor; + String get description; + BuiltList get icons; + String get display; + static Serializer get serializer => + _$themingThemingGetManifestResponse200ApplicationJsonSerializer; +} + +abstract class ThemingBackground implements Built { + factory ThemingBackground([final void Function(ThemingBackgroundBuilder)? b]) = _$ThemingBackground; + const ThemingBackground._(); + + factory ThemingBackground.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String? get backgroundImage; + String get backgroundColor; + int get version; + static Serializer get serializer => _$themingBackgroundSerializer; +} + +abstract class ThemingOCSMeta implements Built { + factory ThemingOCSMeta([final void Function(ThemingOCSMetaBuilder)? b]) = _$ThemingOCSMeta; + const ThemingOCSMeta._(); + + factory ThemingOCSMeta.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get status; + int get statuscode; + String? get message; + String? get totalitems; + String? get itemsperpage; + static Serializer get serializer => _$themingOCSMetaSerializer; +} + +abstract class ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs + implements + Built { + factory ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs([ + final void Function(ThemingUserThemeEnableThemeResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs; + const ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs._(); + + factory ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ThemingOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$themingUserThemeEnableThemeResponse200ApplicationJsonOcsSerializer; +} + +abstract class ThemingUserThemeEnableThemeResponse200ApplicationJson + implements + Built { + factory ThemingUserThemeEnableThemeResponse200ApplicationJson([ + final void Function(ThemingUserThemeEnableThemeResponse200ApplicationJsonBuilder)? b, + ]) = _$ThemingUserThemeEnableThemeResponse200ApplicationJson; + const ThemingUserThemeEnableThemeResponse200ApplicationJson._(); + + factory ThemingUserThemeEnableThemeResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$themingUserThemeEnableThemeResponse200ApplicationJsonSerializer; +} + +abstract class ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs + implements + Built { + factory ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs([ + final void Function(ThemingUserThemeDisableThemeResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs; + const ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs._(); + + factory ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ThemingOCSMeta get meta; + JsonObject get data; + static Serializer get serializer => + _$themingUserThemeDisableThemeResponse200ApplicationJsonOcsSerializer; +} + +abstract class ThemingUserThemeDisableThemeResponse200ApplicationJson + implements + Built { + factory ThemingUserThemeDisableThemeResponse200ApplicationJson([ + final void Function(ThemingUserThemeDisableThemeResponse200ApplicationJsonBuilder)? b, + ]) = _$ThemingUserThemeDisableThemeResponse200ApplicationJson; + const ThemingUserThemeDisableThemeResponse200ApplicationJson._(); + + factory ThemingUserThemeDisableThemeResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$themingUserThemeDisableThemeResponse200ApplicationJsonSerializer; +} + +abstract class ThemingPublicCapabilities_Theming + implements Built { + factory ThemingPublicCapabilities_Theming([final void Function(ThemingPublicCapabilities_ThemingBuilder)? b]) = + _$ThemingPublicCapabilities_Theming; + const ThemingPublicCapabilities_Theming._(); + + factory ThemingPublicCapabilities_Theming.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get name; + String get url; + String get slogan; + String get color; + @BuiltValueField(wireName: 'color-text') + String get colorText; + @BuiltValueField(wireName: 'color-element') + String get colorElement; + @BuiltValueField(wireName: 'color-element-bright') + String get colorElementBright; + @BuiltValueField(wireName: 'color-element-dark') + String get colorElementDark; + String get logo; + String get background; + @BuiltValueField(wireName: 'background-plain') + bool get backgroundPlain; + @BuiltValueField(wireName: 'background-default') + bool get backgroundDefault; + String get logoheader; + String get favicon; + static Serializer get serializer => _$themingPublicCapabilitiesThemingSerializer; +} + +abstract class ThemingPublicCapabilities implements Built { + factory ThemingPublicCapabilities([final void Function(ThemingPublicCapabilitiesBuilder)? b]) = + _$ThemingPublicCapabilities; + const ThemingPublicCapabilities._(); + + factory ThemingPublicCapabilities.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + ThemingPublicCapabilities_Theming get theming; + static Serializer get serializer => _$themingPublicCapabilitiesSerializer; +} + +final Serializers _serializers = (Serializers().toBuilder() + ..addBuilderFactory( + const FullType(ThemingThemingGetManifestResponse200ApplicationJson), + ThemingThemingGetManifestResponse200ApplicationJson.new, + ) + ..add(ThemingThemingGetManifestResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ThemingThemingGetManifestResponse200ApplicationJson_Icons), + ThemingThemingGetManifestResponse200ApplicationJson_Icons.new, + ) + ..add(ThemingThemingGetManifestResponse200ApplicationJson_Icons.serializer) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(ThemingThemingGetManifestResponse200ApplicationJson_Icons)]), + ListBuilder.new, + ) + ..addBuilderFactory(const FullType(ThemingBackground), ThemingBackground.new) + ..add(ThemingBackground.serializer) + ..addBuilderFactory( + const FullType(ThemingUserThemeEnableThemeResponse200ApplicationJson), + ThemingUserThemeEnableThemeResponse200ApplicationJson.new, + ) + ..add(ThemingUserThemeEnableThemeResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs), + ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs.new, + ) + ..add(ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(ThemingOCSMeta), ThemingOCSMeta.new) + ..add(ThemingOCSMeta.serializer) + ..addBuilderFactory( + const FullType(ThemingUserThemeDisableThemeResponse200ApplicationJson), + ThemingUserThemeDisableThemeResponse200ApplicationJson.new, + ) + ..add(ThemingUserThemeDisableThemeResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs), + ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs.new, + ) + ..add(ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(ThemingPublicCapabilities), ThemingPublicCapabilities.new) + ..add(ThemingPublicCapabilities.serializer) + ..addBuilderFactory(const FullType(ThemingPublicCapabilities_Theming), ThemingPublicCapabilities_Theming.new) + ..add(ThemingPublicCapabilities_Theming.serializer)) + .build(); + +Serializers get themingSerializers => _serializers; + +final Serializers _jsonSerializers = (_serializers.toBuilder() + ..addPlugin(StandardJsonPlugin()) + ..addPlugin(const ContentStringPlugin())) + .build(); + +// coverage:ignore-start +T deserializeTheming(final Object data) => _serializers.deserialize(data, specifiedType: FullType(T))! as T; + +Object? serializeTheming(final T data) => _serializers.serialize(data, specifiedType: FullType(T)); +// coverage:ignore-end diff --git a/packages/nextcloud/lib/src/api/theming.openapi.g.dart b/packages/nextcloud/lib/src/api/theming.openapi.g.dart new file mode 100644 index 00000000..01075e89 --- /dev/null +++ b/packages/nextcloud/lib/src/api/theming.openapi.g.dart @@ -0,0 +1,1961 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'theming.openapi.dart'; + +// ************************************************************************** +// BuiltValueGenerator +// ************************************************************************** + +Serializer + _$themingThemingGetManifestResponse200ApplicationJsonIconsSerializer = + _$ThemingThemingGetManifestResponse200ApplicationJson_IconsSerializer(); +Serializer + _$themingThemingGetManifestResponse200ApplicationJsonSerializer = + _$ThemingThemingGetManifestResponse200ApplicationJsonSerializer(); +Serializer _$themingBackgroundSerializer = _$ThemingBackgroundSerializer(); +Serializer _$themingOCSMetaSerializer = _$ThemingOCSMetaSerializer(); +Serializer + _$themingUserThemeEnableThemeResponse200ApplicationJsonOcsSerializer = + _$ThemingUserThemeEnableThemeResponse200ApplicationJson_OcsSerializer(); +Serializer + _$themingUserThemeEnableThemeResponse200ApplicationJsonSerializer = + _$ThemingUserThemeEnableThemeResponse200ApplicationJsonSerializer(); +Serializer + _$themingUserThemeDisableThemeResponse200ApplicationJsonOcsSerializer = + _$ThemingUserThemeDisableThemeResponse200ApplicationJson_OcsSerializer(); +Serializer + _$themingUserThemeDisableThemeResponse200ApplicationJsonSerializer = + _$ThemingUserThemeDisableThemeResponse200ApplicationJsonSerializer(); +Serializer _$themingPublicCapabilitiesThemingSerializer = + _$ThemingPublicCapabilities_ThemingSerializer(); +Serializer _$themingPublicCapabilitiesSerializer = _$ThemingPublicCapabilitiesSerializer(); + +class _$ThemingThemingGetManifestResponse200ApplicationJson_IconsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ThemingThemingGetManifestResponse200ApplicationJson_Icons, + _$ThemingThemingGetManifestResponse200ApplicationJson_Icons + ]; + @override + final String wireName = 'ThemingThemingGetManifestResponse200ApplicationJson_Icons'; + + @override + Iterable serialize(Serializers serializers, ThemingThemingGetManifestResponse200ApplicationJson_Icons object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'src', + serializers.serialize(object.src, specifiedType: const FullType(String)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(String)), + 'sizes', + serializers.serialize(object.sizes, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + ThemingThemingGetManifestResponse200ApplicationJson_Icons deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ThemingThemingGetManifestResponse200ApplicationJson_IconsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'src': + result.src = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'type': + result.type = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'sizes': + result.sizes = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$ThemingThemingGetManifestResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ThemingThemingGetManifestResponse200ApplicationJson, + _$ThemingThemingGetManifestResponse200ApplicationJson + ]; + @override + final String wireName = 'ThemingThemingGetManifestResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ThemingThemingGetManifestResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'short_name', + serializers.serialize(object.shortName, specifiedType: const FullType(String)), + 'start_url', + serializers.serialize(object.startUrl, specifiedType: const FullType(String)), + 'theme_color', + serializers.serialize(object.themeColor, specifiedType: const FullType(String)), + 'background_color', + serializers.serialize(object.backgroundColor, specifiedType: const FullType(String)), + 'description', + serializers.serialize(object.description, specifiedType: const FullType(String)), + 'icons', + serializers.serialize(object.icons, + specifiedType: + const FullType(BuiltList, [FullType(ThemingThemingGetManifestResponse200ApplicationJson_Icons)])), + 'display', + serializers.serialize(object.display, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + ThemingThemingGetManifestResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ThemingThemingGetManifestResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'short_name': + result.shortName = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'start_url': + result.startUrl = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'theme_color': + result.themeColor = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'background_color': + result.backgroundColor = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'description': + result.description = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'icons': + result.icons.replace(serializers.deserialize(value, + specifiedType: + const FullType(BuiltList, [FullType(ThemingThemingGetManifestResponse200ApplicationJson_Icons)]))! + as BuiltList); + break; + case 'display': + result.display = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$ThemingBackgroundSerializer implements StructuredSerializer { + @override + final Iterable types = const [ThemingBackground, _$ThemingBackground]; + @override + final String wireName = 'ThemingBackground'; + + @override + Iterable serialize(Serializers serializers, ThemingBackground object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'backgroundColor', + serializers.serialize(object.backgroundColor, specifiedType: const FullType(String)), + 'version', + serializers.serialize(object.version, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.backgroundImage; + if (value != null) { + result + ..add('backgroundImage') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + ThemingBackground deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ThemingBackgroundBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'backgroundImage': + result.backgroundImage = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'backgroundColor': + result.backgroundColor = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'version': + result.version = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + } + } + + return result.build(); + } +} + +class _$ThemingOCSMetaSerializer implements StructuredSerializer { + @override + final Iterable types = const [ThemingOCSMeta, _$ThemingOCSMeta]; + @override + final String wireName = 'ThemingOCSMeta'; + + @override + Iterable serialize(Serializers serializers, ThemingOCSMeta object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'status', + serializers.serialize(object.status, specifiedType: const FullType(String)), + 'statuscode', + serializers.serialize(object.statuscode, specifiedType: const FullType(int)), + ]; + Object? value; + value = object.message; + if (value != null) { + result + ..add('message') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.totalitems; + if (value != null) { + result + ..add('totalitems') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + value = object.itemsperpage; + if (value != null) { + result + ..add('itemsperpage') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } + return result; + } + + @override + ThemingOCSMeta deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ThemingOCSMetaBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'status': + result.status = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'statuscode': + result.statuscode = serializers.deserialize(value, specifiedType: const FullType(int))! as int; + break; + case 'message': + result.message = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'totalitems': + result.totalitems = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + case 'itemsperpage': + result.itemsperpage = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; + break; + } + } + + return result.build(); + } +} + +class _$ThemingUserThemeEnableThemeResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs, + _$ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ThemingOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ThemingUserThemeEnableThemeResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace( + serializers.deserialize(value, specifiedType: const FullType(ThemingOCSMeta))! as ThemingOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ThemingUserThemeEnableThemeResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ThemingUserThemeEnableThemeResponse200ApplicationJson, + _$ThemingUserThemeEnableThemeResponse200ApplicationJson + ]; + @override + final String wireName = 'ThemingUserThemeEnableThemeResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ThemingUserThemeEnableThemeResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ThemingUserThemeEnableThemeResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ThemingUserThemeEnableThemeResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs))! + as ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ThemingUserThemeDisableThemeResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs, + _$ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(ThemingOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; + } + + @override + ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ThemingUserThemeDisableThemeResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace( + serializers.deserialize(value, specifiedType: const FullType(ThemingOCSMeta))! as ThemingOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$ThemingUserThemeDisableThemeResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + ThemingUserThemeDisableThemeResponse200ApplicationJson, + _$ThemingUserThemeDisableThemeResponse200ApplicationJson + ]; + @override + final String wireName = 'ThemingUserThemeDisableThemeResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, ThemingUserThemeDisableThemeResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + ThemingUserThemeDisableThemeResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ThemingUserThemeDisableThemeResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs))! + as ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$ThemingPublicCapabilities_ThemingSerializer implements StructuredSerializer { + @override + final Iterable types = const [ThemingPublicCapabilities_Theming, _$ThemingPublicCapabilities_Theming]; + @override + final String wireName = 'ThemingPublicCapabilities_Theming'; + + @override + Iterable serialize(Serializers serializers, ThemingPublicCapabilities_Theming object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'name', + serializers.serialize(object.name, specifiedType: const FullType(String)), + 'url', + serializers.serialize(object.url, specifiedType: const FullType(String)), + 'slogan', + serializers.serialize(object.slogan, specifiedType: const FullType(String)), + 'color', + serializers.serialize(object.color, specifiedType: const FullType(String)), + 'color-text', + serializers.serialize(object.colorText, specifiedType: const FullType(String)), + 'color-element', + serializers.serialize(object.colorElement, specifiedType: const FullType(String)), + 'color-element-bright', + serializers.serialize(object.colorElementBright, specifiedType: const FullType(String)), + 'color-element-dark', + serializers.serialize(object.colorElementDark, specifiedType: const FullType(String)), + 'logo', + serializers.serialize(object.logo, specifiedType: const FullType(String)), + 'background', + serializers.serialize(object.background, specifiedType: const FullType(String)), + 'background-plain', + serializers.serialize(object.backgroundPlain, specifiedType: const FullType(bool)), + 'background-default', + serializers.serialize(object.backgroundDefault, specifiedType: const FullType(bool)), + 'logoheader', + serializers.serialize(object.logoheader, specifiedType: const FullType(String)), + 'favicon', + serializers.serialize(object.favicon, specifiedType: const FullType(String)), + ]; + + return result; + } + + @override + ThemingPublicCapabilities_Theming deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ThemingPublicCapabilities_ThemingBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'name': + result.name = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'url': + result.url = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'slogan': + result.slogan = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'color': + result.color = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'color-text': + result.colorText = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'color-element': + result.colorElement = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'color-element-bright': + result.colorElementBright = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'color-element-dark': + result.colorElementDark = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'logo': + result.logo = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'background': + result.background = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'background-plain': + result.backgroundPlain = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'background-default': + result.backgroundDefault = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'logoheader': + result.logoheader = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + case 'favicon': + result.favicon = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + break; + } + } + + return result.build(); + } +} + +class _$ThemingPublicCapabilitiesSerializer implements StructuredSerializer { + @override + final Iterable types = const [ThemingPublicCapabilities, _$ThemingPublicCapabilities]; + @override + final String wireName = 'ThemingPublicCapabilities'; + + @override + Iterable serialize(Serializers serializers, ThemingPublicCapabilities object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'theming', + serializers.serialize(object.theming, specifiedType: const FullType(ThemingPublicCapabilities_Theming)), + ]; + + return result; + } + + @override + ThemingPublicCapabilities deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = ThemingPublicCapabilitiesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'theming': + result.theming.replace(serializers.deserialize(value, + specifiedType: const FullType(ThemingPublicCapabilities_Theming))! as ThemingPublicCapabilities_Theming); + break; + } + } + + return result.build(); + } +} + +class _$ThemingThemingGetManifestResponse200ApplicationJson_Icons + extends ThemingThemingGetManifestResponse200ApplicationJson_Icons { + @override + final String src; + @override + final String type; + @override + final String sizes; + + factory _$ThemingThemingGetManifestResponse200ApplicationJson_Icons( + [void Function(ThemingThemingGetManifestResponse200ApplicationJson_IconsBuilder)? updates]) => + (ThemingThemingGetManifestResponse200ApplicationJson_IconsBuilder()..update(updates))._build(); + + _$ThemingThemingGetManifestResponse200ApplicationJson_Icons._( + {required this.src, required this.type, required this.sizes}) + : super._() { + BuiltValueNullFieldError.checkNotNull(src, r'ThemingThemingGetManifestResponse200ApplicationJson_Icons', 'src'); + BuiltValueNullFieldError.checkNotNull(type, r'ThemingThemingGetManifestResponse200ApplicationJson_Icons', 'type'); + BuiltValueNullFieldError.checkNotNull(sizes, r'ThemingThemingGetManifestResponse200ApplicationJson_Icons', 'sizes'); + } + + @override + ThemingThemingGetManifestResponse200ApplicationJson_Icons rebuild( + void Function(ThemingThemingGetManifestResponse200ApplicationJson_IconsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ThemingThemingGetManifestResponse200ApplicationJson_IconsBuilder toBuilder() => + ThemingThemingGetManifestResponse200ApplicationJson_IconsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ThemingThemingGetManifestResponse200ApplicationJson_Icons && + src == other.src && + type == other.type && + sizes == other.sizes; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, src.hashCode); + _$hash = $jc(_$hash, type.hashCode); + _$hash = $jc(_$hash, sizes.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ThemingThemingGetManifestResponse200ApplicationJson_Icons') + ..add('src', src) + ..add('type', type) + ..add('sizes', sizes)) + .toString(); + } +} + +class ThemingThemingGetManifestResponse200ApplicationJson_IconsBuilder + implements + Builder { + _$ThemingThemingGetManifestResponse200ApplicationJson_Icons? _$v; + + String? _src; + String? get src => _$this._src; + set src(String? src) => _$this._src = src; + + String? _type; + String? get type => _$this._type; + set type(String? type) => _$this._type = type; + + String? _sizes; + String? get sizes => _$this._sizes; + set sizes(String? sizes) => _$this._sizes = sizes; + + ThemingThemingGetManifestResponse200ApplicationJson_IconsBuilder(); + + ThemingThemingGetManifestResponse200ApplicationJson_IconsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _src = $v.src; + _type = $v.type; + _sizes = $v.sizes; + _$v = null; + } + return this; + } + + @override + void replace(ThemingThemingGetManifestResponse200ApplicationJson_Icons other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ThemingThemingGetManifestResponse200ApplicationJson_Icons; + } + + @override + void update(void Function(ThemingThemingGetManifestResponse200ApplicationJson_IconsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ThemingThemingGetManifestResponse200ApplicationJson_Icons build() => _build(); + + _$ThemingThemingGetManifestResponse200ApplicationJson_Icons _build() { + final _$result = _$v ?? + _$ThemingThemingGetManifestResponse200ApplicationJson_Icons._( + src: BuiltValueNullFieldError.checkNotNull( + src, r'ThemingThemingGetManifestResponse200ApplicationJson_Icons', 'src'), + type: BuiltValueNullFieldError.checkNotNull( + type, r'ThemingThemingGetManifestResponse200ApplicationJson_Icons', 'type'), + sizes: BuiltValueNullFieldError.checkNotNull( + sizes, r'ThemingThemingGetManifestResponse200ApplicationJson_Icons', 'sizes')); + replace(_$result); + return _$result; + } +} + +class _$ThemingThemingGetManifestResponse200ApplicationJson + extends ThemingThemingGetManifestResponse200ApplicationJson { + @override + final String name; + @override + final String shortName; + @override + final String startUrl; + @override + final String themeColor; + @override + final String backgroundColor; + @override + final String description; + @override + final BuiltList icons; + @override + final String display; + + factory _$ThemingThemingGetManifestResponse200ApplicationJson( + [void Function(ThemingThemingGetManifestResponse200ApplicationJsonBuilder)? updates]) => + (ThemingThemingGetManifestResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ThemingThemingGetManifestResponse200ApplicationJson._( + {required this.name, + required this.shortName, + required this.startUrl, + required this.themeColor, + required this.backgroundColor, + required this.description, + required this.icons, + required this.display}) + : super._() { + BuiltValueNullFieldError.checkNotNull(name, r'ThemingThemingGetManifestResponse200ApplicationJson', 'name'); + BuiltValueNullFieldError.checkNotNull( + shortName, r'ThemingThemingGetManifestResponse200ApplicationJson', 'shortName'); + BuiltValueNullFieldError.checkNotNull(startUrl, r'ThemingThemingGetManifestResponse200ApplicationJson', 'startUrl'); + BuiltValueNullFieldError.checkNotNull( + themeColor, r'ThemingThemingGetManifestResponse200ApplicationJson', 'themeColor'); + BuiltValueNullFieldError.checkNotNull( + backgroundColor, r'ThemingThemingGetManifestResponse200ApplicationJson', 'backgroundColor'); + BuiltValueNullFieldError.checkNotNull( + description, r'ThemingThemingGetManifestResponse200ApplicationJson', 'description'); + BuiltValueNullFieldError.checkNotNull(icons, r'ThemingThemingGetManifestResponse200ApplicationJson', 'icons'); + BuiltValueNullFieldError.checkNotNull(display, r'ThemingThemingGetManifestResponse200ApplicationJson', 'display'); + } + + @override + ThemingThemingGetManifestResponse200ApplicationJson rebuild( + void Function(ThemingThemingGetManifestResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ThemingThemingGetManifestResponse200ApplicationJsonBuilder toBuilder() => + ThemingThemingGetManifestResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ThemingThemingGetManifestResponse200ApplicationJson && + name == other.name && + shortName == other.shortName && + startUrl == other.startUrl && + themeColor == other.themeColor && + backgroundColor == other.backgroundColor && + description == other.description && + icons == other.icons && + display == other.display; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, shortName.hashCode); + _$hash = $jc(_$hash, startUrl.hashCode); + _$hash = $jc(_$hash, themeColor.hashCode); + _$hash = $jc(_$hash, backgroundColor.hashCode); + _$hash = $jc(_$hash, description.hashCode); + _$hash = $jc(_$hash, icons.hashCode); + _$hash = $jc(_$hash, display.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ThemingThemingGetManifestResponse200ApplicationJson') + ..add('name', name) + ..add('shortName', shortName) + ..add('startUrl', startUrl) + ..add('themeColor', themeColor) + ..add('backgroundColor', backgroundColor) + ..add('description', description) + ..add('icons', icons) + ..add('display', display)) + .toString(); + } +} + +class ThemingThemingGetManifestResponse200ApplicationJsonBuilder + implements + Builder { + _$ThemingThemingGetManifestResponse200ApplicationJson? _$v; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + String? _shortName; + String? get shortName => _$this._shortName; + set shortName(String? shortName) => _$this._shortName = shortName; + + String? _startUrl; + String? get startUrl => _$this._startUrl; + set startUrl(String? startUrl) => _$this._startUrl = startUrl; + + String? _themeColor; + String? get themeColor => _$this._themeColor; + set themeColor(String? themeColor) => _$this._themeColor = themeColor; + + String? _backgroundColor; + String? get backgroundColor => _$this._backgroundColor; + set backgroundColor(String? backgroundColor) => _$this._backgroundColor = backgroundColor; + + String? _description; + String? get description => _$this._description; + set description(String? description) => _$this._description = description; + + ListBuilder? _icons; + ListBuilder get icons => + _$this._icons ??= ListBuilder(); + set icons(ListBuilder? icons) => _$this._icons = icons; + + String? _display; + String? get display => _$this._display; + set display(String? display) => _$this._display = display; + + ThemingThemingGetManifestResponse200ApplicationJsonBuilder(); + + ThemingThemingGetManifestResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _name = $v.name; + _shortName = $v.shortName; + _startUrl = $v.startUrl; + _themeColor = $v.themeColor; + _backgroundColor = $v.backgroundColor; + _description = $v.description; + _icons = $v.icons.toBuilder(); + _display = $v.display; + _$v = null; + } + return this; + } + + @override + void replace(ThemingThemingGetManifestResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ThemingThemingGetManifestResponse200ApplicationJson; + } + + @override + void update(void Function(ThemingThemingGetManifestResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ThemingThemingGetManifestResponse200ApplicationJson build() => _build(); + + _$ThemingThemingGetManifestResponse200ApplicationJson _build() { + _$ThemingThemingGetManifestResponse200ApplicationJson _$result; + try { + _$result = _$v ?? + _$ThemingThemingGetManifestResponse200ApplicationJson._( + name: BuiltValueNullFieldError.checkNotNull( + name, r'ThemingThemingGetManifestResponse200ApplicationJson', 'name'), + shortName: BuiltValueNullFieldError.checkNotNull( + shortName, r'ThemingThemingGetManifestResponse200ApplicationJson', 'shortName'), + startUrl: BuiltValueNullFieldError.checkNotNull( + startUrl, r'ThemingThemingGetManifestResponse200ApplicationJson', 'startUrl'), + themeColor: BuiltValueNullFieldError.checkNotNull( + themeColor, r'ThemingThemingGetManifestResponse200ApplicationJson', 'themeColor'), + backgroundColor: BuiltValueNullFieldError.checkNotNull( + backgroundColor, r'ThemingThemingGetManifestResponse200ApplicationJson', 'backgroundColor'), + description: BuiltValueNullFieldError.checkNotNull( + description, r'ThemingThemingGetManifestResponse200ApplicationJson', 'description'), + icons: icons.build(), + display: BuiltValueNullFieldError.checkNotNull( + display, r'ThemingThemingGetManifestResponse200ApplicationJson', 'display')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'icons'; + icons.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ThemingThemingGetManifestResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ThemingBackground extends ThemingBackground { + @override + final String? backgroundImage; + @override + final String backgroundColor; + @override + final int version; + + factory _$ThemingBackground([void Function(ThemingBackgroundBuilder)? updates]) => + (ThemingBackgroundBuilder()..update(updates))._build(); + + _$ThemingBackground._({this.backgroundImage, required this.backgroundColor, required this.version}) : super._() { + BuiltValueNullFieldError.checkNotNull(backgroundColor, r'ThemingBackground', 'backgroundColor'); + BuiltValueNullFieldError.checkNotNull(version, r'ThemingBackground', 'version'); + } + + @override + ThemingBackground rebuild(void Function(ThemingBackgroundBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + ThemingBackgroundBuilder toBuilder() => ThemingBackgroundBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ThemingBackground && + backgroundImage == other.backgroundImage && + backgroundColor == other.backgroundColor && + version == other.version; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, backgroundImage.hashCode); + _$hash = $jc(_$hash, backgroundColor.hashCode); + _$hash = $jc(_$hash, version.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ThemingBackground') + ..add('backgroundImage', backgroundImage) + ..add('backgroundColor', backgroundColor) + ..add('version', version)) + .toString(); + } +} + +class ThemingBackgroundBuilder implements Builder { + _$ThemingBackground? _$v; + + String? _backgroundImage; + String? get backgroundImage => _$this._backgroundImage; + set backgroundImage(String? backgroundImage) => _$this._backgroundImage = backgroundImage; + + String? _backgroundColor; + String? get backgroundColor => _$this._backgroundColor; + set backgroundColor(String? backgroundColor) => _$this._backgroundColor = backgroundColor; + + int? _version; + int? get version => _$this._version; + set version(int? version) => _$this._version = version; + + ThemingBackgroundBuilder(); + + ThemingBackgroundBuilder get _$this { + final $v = _$v; + if ($v != null) { + _backgroundImage = $v.backgroundImage; + _backgroundColor = $v.backgroundColor; + _version = $v.version; + _$v = null; + } + return this; + } + + @override + void replace(ThemingBackground other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ThemingBackground; + } + + @override + void update(void Function(ThemingBackgroundBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ThemingBackground build() => _build(); + + _$ThemingBackground _build() { + final _$result = _$v ?? + _$ThemingBackground._( + backgroundImage: backgroundImage, + backgroundColor: + BuiltValueNullFieldError.checkNotNull(backgroundColor, r'ThemingBackground', 'backgroundColor'), + version: BuiltValueNullFieldError.checkNotNull(version, r'ThemingBackground', 'version')); + replace(_$result); + return _$result; + } +} + +class _$ThemingOCSMeta extends ThemingOCSMeta { + @override + final String status; + @override + final int statuscode; + @override + final String? message; + @override + final String? totalitems; + @override + final String? itemsperpage; + + factory _$ThemingOCSMeta([void Function(ThemingOCSMetaBuilder)? updates]) => + (ThemingOCSMetaBuilder()..update(updates))._build(); + + _$ThemingOCSMeta._({required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) + : super._() { + BuiltValueNullFieldError.checkNotNull(status, r'ThemingOCSMeta', 'status'); + BuiltValueNullFieldError.checkNotNull(statuscode, r'ThemingOCSMeta', 'statuscode'); + } + + @override + ThemingOCSMeta rebuild(void Function(ThemingOCSMetaBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + ThemingOCSMetaBuilder toBuilder() => ThemingOCSMetaBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ThemingOCSMeta && + status == other.status && + statuscode == other.statuscode && + message == other.message && + totalitems == other.totalitems && + itemsperpage == other.itemsperpage; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, statuscode.hashCode); + _$hash = $jc(_$hash, message.hashCode); + _$hash = $jc(_$hash, totalitems.hashCode); + _$hash = $jc(_$hash, itemsperpage.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ThemingOCSMeta') + ..add('status', status) + ..add('statuscode', statuscode) + ..add('message', message) + ..add('totalitems', totalitems) + ..add('itemsperpage', itemsperpage)) + .toString(); + } +} + +class ThemingOCSMetaBuilder implements Builder { + _$ThemingOCSMeta? _$v; + + String? _status; + String? get status => _$this._status; + set status(String? status) => _$this._status = status; + + int? _statuscode; + int? get statuscode => _$this._statuscode; + set statuscode(int? statuscode) => _$this._statuscode = statuscode; + + String? _message; + String? get message => _$this._message; + set message(String? message) => _$this._message = message; + + String? _totalitems; + String? get totalitems => _$this._totalitems; + set totalitems(String? totalitems) => _$this._totalitems = totalitems; + + String? _itemsperpage; + String? get itemsperpage => _$this._itemsperpage; + set itemsperpage(String? itemsperpage) => _$this._itemsperpage = itemsperpage; + + ThemingOCSMetaBuilder(); + + ThemingOCSMetaBuilder get _$this { + final $v = _$v; + if ($v != null) { + _status = $v.status; + _statuscode = $v.statuscode; + _message = $v.message; + _totalitems = $v.totalitems; + _itemsperpage = $v.itemsperpage; + _$v = null; + } + return this; + } + + @override + void replace(ThemingOCSMeta other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ThemingOCSMeta; + } + + @override + void update(void Function(ThemingOCSMetaBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ThemingOCSMeta build() => _build(); + + _$ThemingOCSMeta _build() { + final _$result = _$v ?? + _$ThemingOCSMeta._( + status: BuiltValueNullFieldError.checkNotNull(status, r'ThemingOCSMeta', 'status'), + statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'ThemingOCSMeta', 'statuscode'), + message: message, + totalitems: totalitems, + itemsperpage: itemsperpage); + replace(_$result); + return _$result; + } +} + +class _$ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs + extends ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs { + @override + final ThemingOCSMeta meta; + @override + final JsonObject data; + + factory _$ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs( + [void Function(ThemingUserThemeEnableThemeResponse200ApplicationJson_OcsBuilder)? updates]) => + (ThemingUserThemeEnableThemeResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs rebuild( + void Function(ThemingUserThemeEnableThemeResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ThemingUserThemeEnableThemeResponse200ApplicationJson_OcsBuilder toBuilder() => + ThemingUserThemeEnableThemeResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ThemingUserThemeEnableThemeResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs? _$v; + + ThemingOCSMetaBuilder? _meta; + ThemingOCSMetaBuilder get meta => _$this._meta ??= ThemingOCSMetaBuilder(); + set meta(ThemingOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ThemingUserThemeEnableThemeResponse200ApplicationJson_OcsBuilder(); + + ThemingUserThemeEnableThemeResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ThemingUserThemeEnableThemeResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs build() => _build(); + + _$ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs _build() { + _$ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ThemingUserThemeEnableThemeResponse200ApplicationJson + extends ThemingUserThemeEnableThemeResponse200ApplicationJson { + @override + final ThemingUserThemeEnableThemeResponse200ApplicationJson_Ocs ocs; + + factory _$ThemingUserThemeEnableThemeResponse200ApplicationJson( + [void Function(ThemingUserThemeEnableThemeResponse200ApplicationJsonBuilder)? updates]) => + (ThemingUserThemeEnableThemeResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ThemingUserThemeEnableThemeResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ThemingUserThemeEnableThemeResponse200ApplicationJson', 'ocs'); + } + + @override + ThemingUserThemeEnableThemeResponse200ApplicationJson rebuild( + void Function(ThemingUserThemeEnableThemeResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ThemingUserThemeEnableThemeResponse200ApplicationJsonBuilder toBuilder() => + ThemingUserThemeEnableThemeResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ThemingUserThemeEnableThemeResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ThemingUserThemeEnableThemeResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ThemingUserThemeEnableThemeResponse200ApplicationJsonBuilder + implements + Builder { + _$ThemingUserThemeEnableThemeResponse200ApplicationJson? _$v; + + ThemingUserThemeEnableThemeResponse200ApplicationJson_OcsBuilder? _ocs; + ThemingUserThemeEnableThemeResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ThemingUserThemeEnableThemeResponse200ApplicationJson_OcsBuilder(); + set ocs(ThemingUserThemeEnableThemeResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ThemingUserThemeEnableThemeResponse200ApplicationJsonBuilder(); + + ThemingUserThemeEnableThemeResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ThemingUserThemeEnableThemeResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ThemingUserThemeEnableThemeResponse200ApplicationJson; + } + + @override + void update(void Function(ThemingUserThemeEnableThemeResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ThemingUserThemeEnableThemeResponse200ApplicationJson build() => _build(); + + _$ThemingUserThemeEnableThemeResponse200ApplicationJson _build() { + _$ThemingUserThemeEnableThemeResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ThemingUserThemeEnableThemeResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ThemingUserThemeEnableThemeResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs + extends ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs { + @override + final ThemingOCSMeta meta; + @override + final JsonObject data; + + factory _$ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs( + [void Function(ThemingUserThemeDisableThemeResponse200ApplicationJson_OcsBuilder)? updates]) => + (ThemingUserThemeDisableThemeResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs', 'data'); + } + + @override + ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs rebuild( + void Function(ThemingUserThemeDisableThemeResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ThemingUserThemeDisableThemeResponse200ApplicationJson_OcsBuilder toBuilder() => + ThemingUserThemeDisableThemeResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class ThemingUserThemeDisableThemeResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs? _$v; + + ThemingOCSMetaBuilder? _meta; + ThemingOCSMetaBuilder get meta => _$this._meta ??= ThemingOCSMetaBuilder(); + set meta(ThemingOCSMetaBuilder? meta) => _$this._meta = meta; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + ThemingUserThemeDisableThemeResponse200ApplicationJson_OcsBuilder(); + + ThemingUserThemeDisableThemeResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data; + _$v = null; + } + return this; + } + + @override + void replace(ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(ThemingUserThemeDisableThemeResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs build() => _build(); + + _$ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs _build() { + _$ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs', 'data')); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ThemingUserThemeDisableThemeResponse200ApplicationJson + extends ThemingUserThemeDisableThemeResponse200ApplicationJson { + @override + final ThemingUserThemeDisableThemeResponse200ApplicationJson_Ocs ocs; + + factory _$ThemingUserThemeDisableThemeResponse200ApplicationJson( + [void Function(ThemingUserThemeDisableThemeResponse200ApplicationJsonBuilder)? updates]) => + (ThemingUserThemeDisableThemeResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$ThemingUserThemeDisableThemeResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'ThemingUserThemeDisableThemeResponse200ApplicationJson', 'ocs'); + } + + @override + ThemingUserThemeDisableThemeResponse200ApplicationJson rebuild( + void Function(ThemingUserThemeDisableThemeResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ThemingUserThemeDisableThemeResponse200ApplicationJsonBuilder toBuilder() => + ThemingUserThemeDisableThemeResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ThemingUserThemeDisableThemeResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ThemingUserThemeDisableThemeResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); + } +} + +class ThemingUserThemeDisableThemeResponse200ApplicationJsonBuilder + implements + Builder { + _$ThemingUserThemeDisableThemeResponse200ApplicationJson? _$v; + + ThemingUserThemeDisableThemeResponse200ApplicationJson_OcsBuilder? _ocs; + ThemingUserThemeDisableThemeResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= ThemingUserThemeDisableThemeResponse200ApplicationJson_OcsBuilder(); + set ocs(ThemingUserThemeDisableThemeResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; + + ThemingUserThemeDisableThemeResponse200ApplicationJsonBuilder(); + + ThemingUserThemeDisableThemeResponse200ApplicationJsonBuilder get _$this { + final $v = _$v; + if ($v != null) { + _ocs = $v.ocs.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ThemingUserThemeDisableThemeResponse200ApplicationJson other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ThemingUserThemeDisableThemeResponse200ApplicationJson; + } + + @override + void update(void Function(ThemingUserThemeDisableThemeResponse200ApplicationJsonBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ThemingUserThemeDisableThemeResponse200ApplicationJson build() => _build(); + + _$ThemingUserThemeDisableThemeResponse200ApplicationJson _build() { + _$ThemingUserThemeDisableThemeResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$ThemingUserThemeDisableThemeResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'ThemingUserThemeDisableThemeResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$ThemingPublicCapabilities_Theming extends ThemingPublicCapabilities_Theming { + @override + final String name; + @override + final String url; + @override + final String slogan; + @override + final String color; + @override + final String colorText; + @override + final String colorElement; + @override + final String colorElementBright; + @override + final String colorElementDark; + @override + final String logo; + @override + final String background; + @override + final bool backgroundPlain; + @override + final bool backgroundDefault; + @override + final String logoheader; + @override + final String favicon; + + factory _$ThemingPublicCapabilities_Theming([void Function(ThemingPublicCapabilities_ThemingBuilder)? updates]) => + (ThemingPublicCapabilities_ThemingBuilder()..update(updates))._build(); + + _$ThemingPublicCapabilities_Theming._( + {required this.name, + required this.url, + required this.slogan, + required this.color, + required this.colorText, + required this.colorElement, + required this.colorElementBright, + required this.colorElementDark, + required this.logo, + required this.background, + required this.backgroundPlain, + required this.backgroundDefault, + required this.logoheader, + required this.favicon}) + : super._() { + BuiltValueNullFieldError.checkNotNull(name, r'ThemingPublicCapabilities_Theming', 'name'); + BuiltValueNullFieldError.checkNotNull(url, r'ThemingPublicCapabilities_Theming', 'url'); + BuiltValueNullFieldError.checkNotNull(slogan, r'ThemingPublicCapabilities_Theming', 'slogan'); + BuiltValueNullFieldError.checkNotNull(color, r'ThemingPublicCapabilities_Theming', 'color'); + BuiltValueNullFieldError.checkNotNull(colorText, r'ThemingPublicCapabilities_Theming', 'colorText'); + BuiltValueNullFieldError.checkNotNull(colorElement, r'ThemingPublicCapabilities_Theming', 'colorElement'); + BuiltValueNullFieldError.checkNotNull( + colorElementBright, r'ThemingPublicCapabilities_Theming', 'colorElementBright'); + BuiltValueNullFieldError.checkNotNull(colorElementDark, r'ThemingPublicCapabilities_Theming', 'colorElementDark'); + BuiltValueNullFieldError.checkNotNull(logo, r'ThemingPublicCapabilities_Theming', 'logo'); + BuiltValueNullFieldError.checkNotNull(background, r'ThemingPublicCapabilities_Theming', 'background'); + BuiltValueNullFieldError.checkNotNull(backgroundPlain, r'ThemingPublicCapabilities_Theming', 'backgroundPlain'); + BuiltValueNullFieldError.checkNotNull(backgroundDefault, r'ThemingPublicCapabilities_Theming', 'backgroundDefault'); + BuiltValueNullFieldError.checkNotNull(logoheader, r'ThemingPublicCapabilities_Theming', 'logoheader'); + BuiltValueNullFieldError.checkNotNull(favicon, r'ThemingPublicCapabilities_Theming', 'favicon'); + } + + @override + ThemingPublicCapabilities_Theming rebuild(void Function(ThemingPublicCapabilities_ThemingBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ThemingPublicCapabilities_ThemingBuilder toBuilder() => ThemingPublicCapabilities_ThemingBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ThemingPublicCapabilities_Theming && + name == other.name && + url == other.url && + slogan == other.slogan && + color == other.color && + colorText == other.colorText && + colorElement == other.colorElement && + colorElementBright == other.colorElementBright && + colorElementDark == other.colorElementDark && + logo == other.logo && + background == other.background && + backgroundPlain == other.backgroundPlain && + backgroundDefault == other.backgroundDefault && + logoheader == other.logoheader && + favicon == other.favicon; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, name.hashCode); + _$hash = $jc(_$hash, url.hashCode); + _$hash = $jc(_$hash, slogan.hashCode); + _$hash = $jc(_$hash, color.hashCode); + _$hash = $jc(_$hash, colorText.hashCode); + _$hash = $jc(_$hash, colorElement.hashCode); + _$hash = $jc(_$hash, colorElementBright.hashCode); + _$hash = $jc(_$hash, colorElementDark.hashCode); + _$hash = $jc(_$hash, logo.hashCode); + _$hash = $jc(_$hash, background.hashCode); + _$hash = $jc(_$hash, backgroundPlain.hashCode); + _$hash = $jc(_$hash, backgroundDefault.hashCode); + _$hash = $jc(_$hash, logoheader.hashCode); + _$hash = $jc(_$hash, favicon.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ThemingPublicCapabilities_Theming') + ..add('name', name) + ..add('url', url) + ..add('slogan', slogan) + ..add('color', color) + ..add('colorText', colorText) + ..add('colorElement', colorElement) + ..add('colorElementBright', colorElementBright) + ..add('colorElementDark', colorElementDark) + ..add('logo', logo) + ..add('background', background) + ..add('backgroundPlain', backgroundPlain) + ..add('backgroundDefault', backgroundDefault) + ..add('logoheader', logoheader) + ..add('favicon', favicon)) + .toString(); + } +} + +class ThemingPublicCapabilities_ThemingBuilder + implements Builder { + _$ThemingPublicCapabilities_Theming? _$v; + + String? _name; + String? get name => _$this._name; + set name(String? name) => _$this._name = name; + + String? _url; + String? get url => _$this._url; + set url(String? url) => _$this._url = url; + + String? _slogan; + String? get slogan => _$this._slogan; + set slogan(String? slogan) => _$this._slogan = slogan; + + String? _color; + String? get color => _$this._color; + set color(String? color) => _$this._color = color; + + String? _colorText; + String? get colorText => _$this._colorText; + set colorText(String? colorText) => _$this._colorText = colorText; + + String? _colorElement; + String? get colorElement => _$this._colorElement; + set colorElement(String? colorElement) => _$this._colorElement = colorElement; + + String? _colorElementBright; + String? get colorElementBright => _$this._colorElementBright; + set colorElementBright(String? colorElementBright) => _$this._colorElementBright = colorElementBright; + + String? _colorElementDark; + String? get colorElementDark => _$this._colorElementDark; + set colorElementDark(String? colorElementDark) => _$this._colorElementDark = colorElementDark; + + String? _logo; + String? get logo => _$this._logo; + set logo(String? logo) => _$this._logo = logo; + + String? _background; + String? get background => _$this._background; + set background(String? background) => _$this._background = background; + + bool? _backgroundPlain; + bool? get backgroundPlain => _$this._backgroundPlain; + set backgroundPlain(bool? backgroundPlain) => _$this._backgroundPlain = backgroundPlain; + + bool? _backgroundDefault; + bool? get backgroundDefault => _$this._backgroundDefault; + set backgroundDefault(bool? backgroundDefault) => _$this._backgroundDefault = backgroundDefault; + + String? _logoheader; + String? get logoheader => _$this._logoheader; + set logoheader(String? logoheader) => _$this._logoheader = logoheader; + + String? _favicon; + String? get favicon => _$this._favicon; + set favicon(String? favicon) => _$this._favicon = favicon; + + ThemingPublicCapabilities_ThemingBuilder(); + + ThemingPublicCapabilities_ThemingBuilder get _$this { + final $v = _$v; + if ($v != null) { + _name = $v.name; + _url = $v.url; + _slogan = $v.slogan; + _color = $v.color; + _colorText = $v.colorText; + _colorElement = $v.colorElement; + _colorElementBright = $v.colorElementBright; + _colorElementDark = $v.colorElementDark; + _logo = $v.logo; + _background = $v.background; + _backgroundPlain = $v.backgroundPlain; + _backgroundDefault = $v.backgroundDefault; + _logoheader = $v.logoheader; + _favicon = $v.favicon; + _$v = null; + } + return this; + } + + @override + void replace(ThemingPublicCapabilities_Theming other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ThemingPublicCapabilities_Theming; + } + + @override + void update(void Function(ThemingPublicCapabilities_ThemingBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ThemingPublicCapabilities_Theming build() => _build(); + + _$ThemingPublicCapabilities_Theming _build() { + final _$result = _$v ?? + _$ThemingPublicCapabilities_Theming._( + name: BuiltValueNullFieldError.checkNotNull(name, r'ThemingPublicCapabilities_Theming', 'name'), + url: BuiltValueNullFieldError.checkNotNull(url, r'ThemingPublicCapabilities_Theming', 'url'), + slogan: BuiltValueNullFieldError.checkNotNull(slogan, r'ThemingPublicCapabilities_Theming', 'slogan'), + color: BuiltValueNullFieldError.checkNotNull(color, r'ThemingPublicCapabilities_Theming', 'color'), + colorText: + BuiltValueNullFieldError.checkNotNull(colorText, r'ThemingPublicCapabilities_Theming', 'colorText'), + colorElement: BuiltValueNullFieldError.checkNotNull( + colorElement, r'ThemingPublicCapabilities_Theming', 'colorElement'), + colorElementBright: BuiltValueNullFieldError.checkNotNull( + colorElementBright, r'ThemingPublicCapabilities_Theming', 'colorElementBright'), + colorElementDark: BuiltValueNullFieldError.checkNotNull( + colorElementDark, r'ThemingPublicCapabilities_Theming', 'colorElementDark'), + logo: BuiltValueNullFieldError.checkNotNull(logo, r'ThemingPublicCapabilities_Theming', 'logo'), + background: + BuiltValueNullFieldError.checkNotNull(background, r'ThemingPublicCapabilities_Theming', 'background'), + backgroundPlain: BuiltValueNullFieldError.checkNotNull( + backgroundPlain, r'ThemingPublicCapabilities_Theming', 'backgroundPlain'), + backgroundDefault: BuiltValueNullFieldError.checkNotNull( + backgroundDefault, r'ThemingPublicCapabilities_Theming', 'backgroundDefault'), + logoheader: + BuiltValueNullFieldError.checkNotNull(logoheader, r'ThemingPublicCapabilities_Theming', 'logoheader'), + favicon: BuiltValueNullFieldError.checkNotNull(favicon, r'ThemingPublicCapabilities_Theming', 'favicon')); + replace(_$result); + return _$result; + } +} + +class _$ThemingPublicCapabilities extends ThemingPublicCapabilities { + @override + final ThemingPublicCapabilities_Theming theming; + + factory _$ThemingPublicCapabilities([void Function(ThemingPublicCapabilitiesBuilder)? updates]) => + (ThemingPublicCapabilitiesBuilder()..update(updates))._build(); + + _$ThemingPublicCapabilities._({required this.theming}) : super._() { + BuiltValueNullFieldError.checkNotNull(theming, r'ThemingPublicCapabilities', 'theming'); + } + + @override + ThemingPublicCapabilities rebuild(void Function(ThemingPublicCapabilitiesBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + ThemingPublicCapabilitiesBuilder toBuilder() => ThemingPublicCapabilitiesBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is ThemingPublicCapabilities && theming == other.theming; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, theming.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'ThemingPublicCapabilities')..add('theming', theming)).toString(); + } +} + +class ThemingPublicCapabilitiesBuilder implements Builder { + _$ThemingPublicCapabilities? _$v; + + ThemingPublicCapabilities_ThemingBuilder? _theming; + ThemingPublicCapabilities_ThemingBuilder get theming => + _$this._theming ??= ThemingPublicCapabilities_ThemingBuilder(); + set theming(ThemingPublicCapabilities_ThemingBuilder? theming) => _$this._theming = theming; + + ThemingPublicCapabilitiesBuilder(); + + ThemingPublicCapabilitiesBuilder get _$this { + final $v = _$v; + if ($v != null) { + _theming = $v.theming.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(ThemingPublicCapabilities other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$ThemingPublicCapabilities; + } + + @override + void update(void Function(ThemingPublicCapabilitiesBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + ThemingPublicCapabilities build() => _build(); + + _$ThemingPublicCapabilities _build() { + _$ThemingPublicCapabilities _$result; + try { + _$result = _$v ?? _$ThemingPublicCapabilities._(theming: theming.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'theming'; + theming.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'ThemingPublicCapabilities', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +// ignore_for_file: deprecated_member_use_from_same_package,type=lint diff --git a/packages/nextcloud/lib/src/api/user_status.openapi.dart b/packages/nextcloud/lib/src/api/user_status.openapi.dart index 25e97465..6e732449 100644 --- a/packages/nextcloud/lib/src/api/user_status.openapi.dart +++ b/packages/nextcloud/lib/src/api/user_status.openapi.dart @@ -73,19 +73,133 @@ class UserStatusClient extends DynamiteClient { authentications: client.authentications, ); - Future getPublicStatuses() async { + UserStatusHeartbeatClient get heartbeat => UserStatusHeartbeatClient(this); + UserStatusPredefinedStatusClient get predefinedStatus => UserStatusPredefinedStatusClient(this); + UserStatusStatusesClient get statuses => UserStatusStatusesClient(this); + UserStatusUserStatusClient get userStatus => UserStatusUserStatusClient(this); +} + +class UserStatusHeartbeatClient { + UserStatusHeartbeatClient(this.rootClient); + + final UserStatusClient rootClient; + + /// Keep the status alive + Future heartbeat({ + required final String status, + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/apps/user_status/api/v1/heartbeat'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + queryParameters['status'] = status; + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'put', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(UserStatusHeartbeatHeartbeatResponse200ApplicationJson), + )! as UserStatusHeartbeatHeartbeatResponse200ApplicationJson; + } + throw await UserStatusApiException.fromResponse(response); // coverage:ignore-line + } +} + +class UserStatusPredefinedStatusClient { + UserStatusPredefinedStatusClient(this.rootClient); + + final UserStatusClient rootClient; + + /// Get all predefined messages + Future findAll({ + final String oCSAPIRequest = 'true', + }) async { + const path = '/ocs/v2.php/apps/user_status/api/v1/predefined_statuses'; + final queryParameters = {}; + final headers = { + 'Accept': 'application/json', + }; + Uint8List? body; + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + } else { + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'get', + Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), + headers, + body, + ); + if (response.statusCode == 200) { + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(UserStatusPredefinedStatusFindAllResponse200ApplicationJson), + )! as UserStatusPredefinedStatusFindAllResponse200ApplicationJson; + } + throw await UserStatusApiException.fromResponse(response); // coverage:ignore-line + } +} + +class UserStatusStatusesClient { + UserStatusStatusesClient(this.rootClient); + + final UserStatusClient rootClient; + + /// Find statuses of users + Future findAll({ + final int? limit, + final int? offset, + final String oCSAPIRequest = 'true', + }) async { const path = '/ocs/v2.php/apps/user_status/api/v1/statuses'; final queryParameters = {}; final headers = { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line + } + if (limit != null) { + queryParameters['limit'] = limit.toString(); } - final response = await doRequest( + if (offset != null) { + queryParameters['offset'] = offset.toString(); + } + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), headers, @@ -94,26 +208,36 @@ class UserStatusClient extends DynamiteClient { if (response.statusCode == 200) { return _jsonSerializers.deserialize( await response.jsonBody, - specifiedType: const FullType(UserStatusGetPublicStatuses), - )! as UserStatusGetPublicStatuses; + specifiedType: const FullType(UserStatusStatusesFindAllResponse200ApplicationJson), + )! as UserStatusStatusesFindAllResponse200ApplicationJson; } throw await UserStatusApiException.fromResponse(response); // coverage:ignore-line } - Future getPublicStatus({required final String userId}) async { + /// Find the status of a user + Future find({ + required final String userId, + final String oCSAPIRequest = 'true', + }) async { var path = '/ocs/v2.php/apps/user_status/api/v1/statuses/{userId}'; final queryParameters = {}; final headers = { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line } path = path.replaceAll('{userId}', Uri.encodeQueryComponent(userId)); - final response = await doRequest( + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), headers, @@ -122,66 +246,97 @@ class UserStatusClient extends DynamiteClient { if (response.statusCode == 200) { return _jsonSerializers.deserialize( await response.jsonBody, - specifiedType: const FullType(UserStatusGetPublicStatus), - )! as UserStatusGetPublicStatus; + specifiedType: const FullType(UserStatusStatusesFindResponse200ApplicationJson), + )! as UserStatusStatusesFindResponse200ApplicationJson; } throw await UserStatusApiException.fromResponse(response); // coverage:ignore-line } +} - Future getStatus() async { +class UserStatusUserStatusClient { + UserStatusUserStatusClient(this.rootClient); + + final UserStatusClient rootClient; + + /// Get the status of the current user + Future getStatus({ + final String oCSAPIRequest = 'true', + }) async { const path = '/ocs/v2.php/apps/user_status/api/v1/user_status'; final queryParameters = {}; final headers = { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line } - final response = await doRequest( + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( 'get', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), headers, body, ); if (response.statusCode == 200) { - return _jsonSerializers.deserialize(await response.jsonBody, specifiedType: const FullType(UserStatusGetStatus))! - as UserStatusGetStatus; + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(UserStatusUserStatusGetStatusResponse200ApplicationJson), + )! as UserStatusUserStatusGetStatusResponse200ApplicationJson; } throw await UserStatusApiException.fromResponse(response); // coverage:ignore-line } - Future setStatus({required final UserStatusType statusType}) async { + /// Update the status type of the current user + Future setStatus({ + required final String statusType, + final String oCSAPIRequest = 'true', + }) async { const path = '/ocs/v2.php/apps/user_status/api/v1/user_status/status'; final queryParameters = {}; final headers = { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line } - queryParameters['statusType'] = statusType.name; - final response = await doRequest( + queryParameters['statusType'] = statusType; + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( 'put', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), headers, body, ); if (response.statusCode == 200) { - return _jsonSerializers.deserialize(await response.jsonBody, specifiedType: const FullType(UserStatusGetStatus))! - as UserStatusGetStatus; + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(UserStatusUserStatusSetStatusResponse200ApplicationJson), + )! as UserStatusUserStatusSetStatusResponse200ApplicationJson; } throw await UserStatusApiException.fromResponse(response); // coverage:ignore-line } - Future setPredefinedMessage({ + /// Set the message to a predefined message for the current user + Future setPredefinedMessage({ required final String messageId, final int? clearAt, + final String oCSAPIRequest = 'true', }) async { const path = '/ocs/v2.php/apps/user_status/api/v1/user_status/message/predefined'; final queryParameters = {}; @@ -189,32 +344,42 @@ class UserStatusClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line } queryParameters['messageId'] = messageId; if (clearAt != null) { queryParameters['clearAt'] = clearAt.toString(); } - final response = await doRequest( + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( 'put', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), headers, body, ); if (response.statusCode == 200) { - return _jsonSerializers.deserialize(await response.jsonBody, specifiedType: const FullType(UserStatusGetStatus))! - as UserStatusGetStatus; + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson), + )! as UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson; } throw await UserStatusApiException.fromResponse(response); // coverage:ignore-line } - Future setCustomMessage({ + /// Set the message to a custom message for the current user + Future setCustomMessage({ final String? statusIcon, final String? message, final int? clearAt, + final String oCSAPIRequest = 'true', }) async { const path = '/ocs/v2.php/apps/user_status/api/v1/user_status/message/custom'; final queryParameters = {}; @@ -222,10 +387,15 @@ class UserStatusClient extends DynamiteClient { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line } if (statusIcon != null) { queryParameters['statusIcon'] = statusIcon; @@ -236,55 +406,45 @@ class UserStatusClient extends DynamiteClient { if (clearAt != null) { queryParameters['clearAt'] = clearAt.toString(); } - final response = await doRequest( + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( 'put', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), headers, body, ); if (response.statusCode == 200) { - return _jsonSerializers.deserialize(await response.jsonBody, specifiedType: const FullType(UserStatusGetStatus))! - as UserStatusGetStatus; + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(UserStatusUserStatusSetCustomMessageResponse200ApplicationJson), + )! as UserStatusUserStatusSetCustomMessageResponse200ApplicationJson; } throw await UserStatusApiException.fromResponse(response); // coverage:ignore-line } - Future clearMessage() async { + /// Clear the message of the current user + Future clearMessage({ + final String oCSAPIRequest = 'true', + }) async { const path = '/ocs/v2.php/apps/user_status/api/v1/user_status/message'; final queryParameters = {}; - final headers = {}; - Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); - } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line - } - final response = await doRequest( - 'delete', - Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), - headers, - body, - ); - if (response.statusCode == 200) { - return; - } - throw await UserStatusApiException.fromResponse(response); // coverage:ignore-line - } - - Future getPredefinedStatuses() async { - const path = '/ocs/v2.php/apps/user_status/api/v1/predefined_statuses'; - final queryParameters = {}; final headers = { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line } - final response = await doRequest( - 'get', + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'delete', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), headers, body, @@ -292,34 +452,46 @@ class UserStatusClient extends DynamiteClient { if (response.statusCode == 200) { return _jsonSerializers.deserialize( await response.jsonBody, - specifiedType: const FullType(UserStatusPredefinedStatuses), - )! as UserStatusPredefinedStatuses; + specifiedType: const FullType(UserStatusUserStatusClearMessageResponse200ApplicationJson), + )! as UserStatusUserStatusClearMessageResponse200ApplicationJson; } throw await UserStatusApiException.fromResponse(response); // coverage:ignore-line } - Future heartbeat({required final UserStatusType status}) async { - const path = '/ocs/v2.php/apps/user_status/api/v1/heartbeat'; + /// Revert the status to the previous status + Future revertStatus({ + required final String messageId, + final String oCSAPIRequest = 'true', + }) async { + var path = '/ocs/v2.php/apps/user_status/api/v1/user_status/revert/{messageId}'; final queryParameters = {}; final headers = { 'Accept': 'application/json', }; Uint8List? body; - if (authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { - headers.addAll(authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); + if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'bearer').isNotEmpty) { + headers.addAll( + rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'bearer').headers, + ); + } else if (rootClient.authentications.where((final a) => a.type == 'http' && a.scheme == 'basic').isNotEmpty) { + headers + .addAll(rootClient.authentications.singleWhere((final a) => a.type == 'http' && a.scheme == 'basic').headers); } else { - throw Exception('Missing authentication for basic_auth'); // coverage:ignore-line + throw Exception('Missing authentication for bearer_auth or basic_auth'); // coverage:ignore-line } - queryParameters['status'] = status.name; - final response = await doRequest( - 'put', + path = path.replaceAll('{messageId}', Uri.encodeQueryComponent(messageId)); + headers['OCS-APIRequest'] = oCSAPIRequest; + final response = await rootClient.doRequest( + 'delete', Uri(path: path, queryParameters: queryParameters.isNotEmpty ? queryParameters : null).toString(), headers, body, ); if (response.statusCode == 200) { - return _jsonSerializers.deserialize(await response.jsonBody, specifiedType: const FullType(UserStatusHeartbeat))! - as UserStatusHeartbeat; + return _jsonSerializers.deserialize( + await response.jsonBody, + specifiedType: const FullType(UserStatusUserStatusRevertStatusResponse200ApplicationJson), + )! as UserStatusUserStatusRevertStatusResponse200ApplicationJson; } throw await UserStatusApiException.fromResponse(response); // coverage:ignore-line } @@ -341,6 +513,118 @@ abstract class UserStatusOCSMeta implements Built get serializer => _$userStatusOCSMetaSerializer; } +abstract class UserStatusPublic implements Built { + factory UserStatusPublic([final void Function(UserStatusPublicBuilder)? b]) = _$UserStatusPublic; + const UserStatusPublic._(); + + factory UserStatusPublic.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get userId; + String? get message; + String? get icon; + int? get clearAt; + String get status; + static Serializer get serializer => _$userStatusPublicSerializer; +} + +abstract class UserStatusPrivate1 implements Built { + factory UserStatusPrivate1([final void Function(UserStatusPrivate1Builder)? b]) = _$UserStatusPrivate1; + const UserStatusPrivate1._(); + + factory UserStatusPrivate1.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String? get messageId; + bool get messageIsPredefined; + bool get statusIsUserDefined; + static Serializer get serializer => _$userStatusPrivate1Serializer; +} + +abstract class UserStatusPrivate implements Built { + factory UserStatusPrivate([final void Function(UserStatusPrivateBuilder)? b]) = _$UserStatusPrivate; + const UserStatusPrivate._(); + + JsonObject get data; + UserStatusPublic get public; + UserStatusPrivate1 get private1; + static UserStatusPrivate fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + @BuiltValueSerializer(custom: true) + static Serializer get serializer => _$UserStatusPrivateSerializer(); +} + +class _$UserStatusPrivateSerializer implements PrimitiveSerializer { + @override + final Iterable types = const [UserStatusPrivate, _$UserStatusPrivate]; + + @override + final String wireName = 'UserStatusPrivate'; + + @override + Object serialize( + final Serializers serializers, + final UserStatusPrivate object, { + final FullType specifiedType = FullType.unspecified, + }) => + object.data.value; + + @override + UserStatusPrivate deserialize( + final Serializers serializers, + final Object data, { + final FullType specifiedType = FullType.unspecified, + }) { + final result = UserStatusPrivateBuilder()..data = JsonObject(data); + result.public.replace( + _jsonSerializers.deserialize(data, specifiedType: const FullType(UserStatusPublic))! as UserStatusPublic, + ); + result.private1.replace( + _jsonSerializers.deserialize(data, specifiedType: const FullType(UserStatusPrivate1))! as UserStatusPrivate1, + ); + return result.build(); + } +} + +abstract class UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs + implements + Built { + factory UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs([ + final void Function(UserStatusHeartbeatHeartbeatResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs; + const UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs._(); + + factory UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + UserStatusOCSMeta get meta; + UserStatusPrivate get data; + static Serializer get serializer => + _$userStatusHeartbeatHeartbeatResponse200ApplicationJsonOcsSerializer; +} + +abstract class UserStatusHeartbeatHeartbeatResponse200ApplicationJson + implements + Built { + factory UserStatusHeartbeatHeartbeatResponse200ApplicationJson([ + final void Function(UserStatusHeartbeatHeartbeatResponse200ApplicationJsonBuilder)? b, + ]) = _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson; + const UserStatusHeartbeatHeartbeatResponse200ApplicationJson._(); + + factory UserStatusHeartbeatHeartbeatResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; + + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$userStatusHeartbeatHeartbeatResponse200ApplicationJsonSerializer; +} + class UserStatusClearAt_Type extends EnumClass { const UserStatusClearAt_Type._(super.name); @@ -354,16 +638,16 @@ class UserStatusClearAt_Type extends EnumClass { static Serializer get serializer => _$userStatusClearAtTypeSerializer; } -class UserStatusClearAt_Time0 extends EnumClass { - const UserStatusClearAt_Time0._(super.name); +class UserStatusClearAtTimeType extends EnumClass { + const UserStatusClearAtTimeType._(super.name); - static const UserStatusClearAt_Time0 day = _$userStatusClearAtTime0Day; + static const UserStatusClearAtTimeType day = _$userStatusClearAtTimeTypeDay; - static const UserStatusClearAt_Time0 week = _$userStatusClearAtTime0Week; + static const UserStatusClearAtTimeType week = _$userStatusClearAtTimeTypeWeek; - static BuiltSet get values => _$userStatusClearAtTime0Values; - static UserStatusClearAt_Time0 valueOf(final String name) => _$valueOfUserStatusClearAt_Time0(name); - static Serializer get serializer => _$userStatusClearAtTime0Serializer; + static BuiltSet get values => _$userStatusClearAtTimeTypeValues; + static UserStatusClearAtTimeType valueOf(final String name) => _$valueOfUserStatusClearAtTimeType(name); + static Serializer get serializer => _$userStatusClearAtTimeTypeSerializer; } abstract class UserStatusClearAt_Time implements Built { @@ -371,10 +655,8 @@ abstract class UserStatusClearAt_Time implements Built _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; @BuiltValueSerializer(custom: true) @@ -404,16 +686,16 @@ class _$UserStatusClearAt_TimeSerializer implements PrimitiveSerializer x != null).isNotEmpty, + [result._$int, result._clearAtTimeType].where((final x) => x != null).isNotEmpty, 'Need oneOf for ${result._data}', ); return result.build(); @@ -433,625 +715,585 @@ abstract class UserStatusClearAt implements Built get serializer => _$userStatusClearAtSerializer; } -abstract class UserStatusPublicStatus_ClearAt - implements Built { - factory UserStatusPublicStatus_ClearAt([final void Function(UserStatusPublicStatus_ClearAtBuilder)? b]) = - _$UserStatusPublicStatus_ClearAt; - const UserStatusPublicStatus_ClearAt._(); - - JsonObject get data; - UserStatusClearAt? get clearAt; +abstract class UserStatusPredefined implements Built { + factory UserStatusPredefined([final void Function(UserStatusPredefinedBuilder)? b]) = _$UserStatusPredefined; + const UserStatusPredefined._(); - /// Time as unix timestamp - int? get $int; - static UserStatusPublicStatus_ClearAt fromJson(final Object json) => + factory UserStatusPredefined.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - @BuiltValueSerializer(custom: true) - static Serializer get serializer => _$UserStatusPublicStatus_ClearAtSerializer(); -} - -class _$UserStatusPublicStatus_ClearAtSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [UserStatusPublicStatus_ClearAt, _$UserStatusPublicStatus_ClearAt]; - @override - final String wireName = 'UserStatusPublicStatus_ClearAt'; - - @override - Object serialize( - final Serializers serializers, - final UserStatusPublicStatus_ClearAt object, { - final FullType specifiedType = FullType.unspecified, - }) => - object.data.value; - - @override - UserStatusPublicStatus_ClearAt deserialize( - final Serializers serializers, - final Object data, { - final FullType specifiedType = FullType.unspecified, - }) { - final result = UserStatusPublicStatus_ClearAtBuilder()..data = JsonObject(data); - try { - result._clearAt = - (_jsonSerializers.deserialize(data, specifiedType: const FullType(UserStatusClearAt))! as UserStatusClearAt) - .toBuilder(); - } catch (_) {} - try { - result._$int = data as int?; - } catch (_) {} - assert([result._clearAt, result._$int].where((final x) => x != null).isNotEmpty, 'Need oneOf for ${result._data}'); - return result.build(); - } + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + String get id; + String get icon; + String get message; + UserStatusClearAt? get clearAt; + bool? get visible; + static Serializer get serializer => _$userStatusPredefinedSerializer; } -class UserStatusType extends EnumClass { - const UserStatusType._(super.name); - - static const UserStatusType online = _$userStatusTypeOnline; - - static const UserStatusType offline = _$userStatusTypeOffline; - - static const UserStatusType dnd = _$userStatusTypeDnd; +abstract class UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs + implements + Built { + factory UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs([ + final void Function(UserStatusPredefinedStatusFindAllResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs; + const UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs._(); - static const UserStatusType away = _$userStatusTypeAway; - - static const UserStatusType invisible = _$userStatusTypeInvisible; + factory UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; - static BuiltSet get values => _$userStatusTypeValues; - static UserStatusType valueOf(final String name) => _$valueOfUserStatusType(name); - static Serializer get serializer => _$userStatusTypeSerializer; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + UserStatusOCSMeta get meta; + BuiltList get data; + static Serializer get serializer => + _$userStatusPredefinedStatusFindAllResponse200ApplicationJsonOcsSerializer; } -abstract class UserStatusPublicStatus implements Built { - factory UserStatusPublicStatus([final void Function(UserStatusPublicStatusBuilder)? b]) = _$UserStatusPublicStatus; - const UserStatusPublicStatus._(); +abstract class UserStatusPredefinedStatusFindAllResponse200ApplicationJson + implements + Built { + factory UserStatusPredefinedStatusFindAllResponse200ApplicationJson([ + final void Function(UserStatusPredefinedStatusFindAllResponse200ApplicationJsonBuilder)? b, + ]) = _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson; + const UserStatusPredefinedStatusFindAllResponse200ApplicationJson._(); - factory UserStatusPublicStatus.fromJson(final Map json) => + factory UserStatusPredefinedStatusFindAllResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - String get userId; - String? get message; - String? get icon; - UserStatusPublicStatus_ClearAt? get clearAt; - UserStatusType get status; - static Serializer get serializer => _$userStatusPublicStatusSerializer; + UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$userStatusPredefinedStatusFindAllResponse200ApplicationJsonSerializer; } -abstract class UserStatusGetPublicStatuses_Ocs - implements Built { - factory UserStatusGetPublicStatuses_Ocs([final void Function(UserStatusGetPublicStatuses_OcsBuilder)? b]) = - _$UserStatusGetPublicStatuses_Ocs; - const UserStatusGetPublicStatuses_Ocs._(); +abstract class UserStatusStatusesFindAllResponse200ApplicationJson_Ocs + implements + Built { + factory UserStatusStatusesFindAllResponse200ApplicationJson_Ocs([ + final void Function(UserStatusStatusesFindAllResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$UserStatusStatusesFindAllResponse200ApplicationJson_Ocs; + const UserStatusStatusesFindAllResponse200ApplicationJson_Ocs._(); - factory UserStatusGetPublicStatuses_Ocs.fromJson(final Map json) => + factory UserStatusStatusesFindAllResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; UserStatusOCSMeta get meta; - BuiltList get data; - static Serializer get serializer => _$userStatusGetPublicStatusesOcsSerializer; + BuiltList get data; + static Serializer get serializer => + _$userStatusStatusesFindAllResponse200ApplicationJsonOcsSerializer; } -abstract class UserStatusGetPublicStatuses - implements Built { - factory UserStatusGetPublicStatuses([final void Function(UserStatusGetPublicStatusesBuilder)? b]) = - _$UserStatusGetPublicStatuses; - const UserStatusGetPublicStatuses._(); +abstract class UserStatusStatusesFindAllResponse200ApplicationJson + implements + Built { + factory UserStatusStatusesFindAllResponse200ApplicationJson([ + final void Function(UserStatusStatusesFindAllResponse200ApplicationJsonBuilder)? b, + ]) = _$UserStatusStatusesFindAllResponse200ApplicationJson; + const UserStatusStatusesFindAllResponse200ApplicationJson._(); - factory UserStatusGetPublicStatuses.fromJson(final Map json) => + factory UserStatusStatusesFindAllResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - UserStatusGetPublicStatuses_Ocs get ocs; - static Serializer get serializer => _$userStatusGetPublicStatusesSerializer; + UserStatusStatusesFindAllResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$userStatusStatusesFindAllResponse200ApplicationJsonSerializer; } -abstract class UserStatusGetPublicStatus_Ocs_Data - implements Built { - factory UserStatusGetPublicStatus_Ocs_Data([final void Function(UserStatusGetPublicStatus_Ocs_DataBuilder)? b]) = - _$UserStatusGetPublicStatus_Ocs_Data; - const UserStatusGetPublicStatus_Ocs_Data._(); +abstract class UserStatusStatusesFindResponse200ApplicationJson_Ocs + implements + Built { + factory UserStatusStatusesFindResponse200ApplicationJson_Ocs([ + final void Function(UserStatusStatusesFindResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$UserStatusStatusesFindResponse200ApplicationJson_Ocs; + const UserStatusStatusesFindResponse200ApplicationJson_Ocs._(); - JsonObject get data; - BuiltList? get builtListJsonObject; - UserStatusPublicStatus? get publicStatus; - static UserStatusGetPublicStatus_Ocs_Data fromJson(final Object json) => + factory UserStatusStatusesFindResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - @BuiltValueSerializer(custom: true) - static Serializer get serializer => - _$UserStatusGetPublicStatus_Ocs_DataSerializer(); + UserStatusOCSMeta get meta; + UserStatusPublic get data; + static Serializer get serializer => + _$userStatusStatusesFindResponse200ApplicationJsonOcsSerializer; } -class _$UserStatusGetPublicStatus_Ocs_DataSerializer - implements PrimitiveSerializer { - @override - final Iterable types = const [UserStatusGetPublicStatus_Ocs_Data, _$UserStatusGetPublicStatus_Ocs_Data]; - - @override - final String wireName = 'UserStatusGetPublicStatus_Ocs_Data'; +abstract class UserStatusStatusesFindResponse200ApplicationJson + implements + Built { + factory UserStatusStatusesFindResponse200ApplicationJson([ + final void Function(UserStatusStatusesFindResponse200ApplicationJsonBuilder)? b, + ]) = _$UserStatusStatusesFindResponse200ApplicationJson; + const UserStatusStatusesFindResponse200ApplicationJson._(); - @override - Object serialize( - final Serializers serializers, - final UserStatusGetPublicStatus_Ocs_Data object, { - final FullType specifiedType = FullType.unspecified, - }) => - object.data.value; + factory UserStatusStatusesFindResponse200ApplicationJson.fromJson(final Map json) => + _jsonSerializers.deserializeWith(serializer, json)!; - @override - UserStatusGetPublicStatus_Ocs_Data deserialize( - final Serializers serializers, - final Object data, { - final FullType specifiedType = FullType.unspecified, - }) { - final result = UserStatusGetPublicStatus_Ocs_DataBuilder()..data = JsonObject(data); - try { - result._builtListJsonObject = (_jsonSerializers.deserialize( - data, - specifiedType: const FullType(BuiltList, [FullType(JsonObject)]), - )! as BuiltList) - .toBuilder(); - } catch (_) {} - try { - result._publicStatus = (_jsonSerializers.deserialize(data, specifiedType: const FullType(UserStatusPublicStatus))! - as UserStatusPublicStatus) - .toBuilder(); - } catch (_) {} - assert( - [result._builtListJsonObject, result._publicStatus].where((final x) => x != null).isNotEmpty, - 'Need oneOf for ${result._data}', - ); - return result.build(); - } + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + UserStatusStatusesFindResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$userStatusStatusesFindResponse200ApplicationJsonSerializer; } -abstract class UserStatusGetPublicStatus_Ocs - implements Built { - factory UserStatusGetPublicStatus_Ocs([final void Function(UserStatusGetPublicStatus_OcsBuilder)? b]) = - _$UserStatusGetPublicStatus_Ocs; - const UserStatusGetPublicStatus_Ocs._(); +abstract class UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs + implements + Built { + factory UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs([ + final void Function(UserStatusUserStatusGetStatusResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs; + const UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs._(); - factory UserStatusGetPublicStatus_Ocs.fromJson(final Map json) => + factory UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; UserStatusOCSMeta get meta; - UserStatusGetPublicStatus_Ocs_Data get data; - static Serializer get serializer => _$userStatusGetPublicStatusOcsSerializer; + UserStatusPrivate get data; + static Serializer get serializer => + _$userStatusUserStatusGetStatusResponse200ApplicationJsonOcsSerializer; } -abstract class UserStatusGetPublicStatus implements Built { - factory UserStatusGetPublicStatus([final void Function(UserStatusGetPublicStatusBuilder)? b]) = - _$UserStatusGetPublicStatus; - const UserStatusGetPublicStatus._(); +abstract class UserStatusUserStatusGetStatusResponse200ApplicationJson + implements + Built { + factory UserStatusUserStatusGetStatusResponse200ApplicationJson([ + final void Function(UserStatusUserStatusGetStatusResponse200ApplicationJsonBuilder)? b, + ]) = _$UserStatusUserStatusGetStatusResponse200ApplicationJson; + const UserStatusUserStatusGetStatusResponse200ApplicationJson._(); - factory UserStatusGetPublicStatus.fromJson(final Map json) => + factory UserStatusUserStatusGetStatusResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - UserStatusGetPublicStatus_Ocs get ocs; - static Serializer get serializer => _$userStatusGetPublicStatusSerializer; + UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$userStatusUserStatusGetStatusResponse200ApplicationJsonSerializer; } -abstract class UserStatusStatus1 implements Built { - factory UserStatusStatus1([final void Function(UserStatusStatus1Builder)? b]) = _$UserStatusStatus1; - const UserStatusStatus1._(); +abstract class UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs + implements + Built { + factory UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs([ + final void Function(UserStatusUserStatusSetStatusResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs; + const UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs._(); - factory UserStatusStatus1.fromJson(final Map json) => + factory UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - String? get messageId; - bool get messageIsPredefined; - bool get statusIsUserDefined; - static Serializer get serializer => _$userStatusStatus1Serializer; -} - -abstract class UserStatusStatus implements Built { - factory UserStatusStatus([final void Function(UserStatusStatusBuilder)? b]) = _$UserStatusStatus; - const UserStatusStatus._(); - - JsonObject get data; - UserStatusPublicStatus get publicStatus; - UserStatusStatus1 get status1; - static UserStatusStatus fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - @BuiltValueSerializer(custom: true) - static Serializer get serializer => _$UserStatusStatusSerializer(); -} - -class _$UserStatusStatusSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [UserStatusStatus, _$UserStatusStatus]; - - @override - final String wireName = 'UserStatusStatus'; - - @override - Object serialize( - final Serializers serializers, - final UserStatusStatus object, { - final FullType specifiedType = FullType.unspecified, - }) => - object.data.value; - - @override - UserStatusStatus deserialize( - final Serializers serializers, - final Object data, { - final FullType specifiedType = FullType.unspecified, - }) { - final result = UserStatusStatusBuilder()..data = JsonObject(data); - result.publicStatus.replace( - _jsonSerializers.deserialize( - data, - specifiedType: const FullType(UserStatusPublicStatus), - )! as UserStatusPublicStatus, - ); - result.status1.replace( - _jsonSerializers.deserialize(data, specifiedType: const FullType(UserStatusStatus1))! as UserStatusStatus1, - ); - return result.build(); - } + UserStatusOCSMeta get meta; + UserStatusPrivate get data; + static Serializer get serializer => + _$userStatusUserStatusSetStatusResponse200ApplicationJsonOcsSerializer; } -abstract class UserStatusGetStatus_Ocs_Data - implements Built { - factory UserStatusGetStatus_Ocs_Data([final void Function(UserStatusGetStatus_Ocs_DataBuilder)? b]) = - _$UserStatusGetStatus_Ocs_Data; - const UserStatusGetStatus_Ocs_Data._(); +abstract class UserStatusUserStatusSetStatusResponse200ApplicationJson + implements + Built { + factory UserStatusUserStatusSetStatusResponse200ApplicationJson([ + final void Function(UserStatusUserStatusSetStatusResponse200ApplicationJsonBuilder)? b, + ]) = _$UserStatusUserStatusSetStatusResponse200ApplicationJson; + const UserStatusUserStatusSetStatusResponse200ApplicationJson._(); - JsonObject get data; - BuiltList? get builtListJsonObject; - UserStatusStatus? get status; - static UserStatusGetStatus_Ocs_Data fromJson(final Object json) => + factory UserStatusUserStatusSetStatusResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - @BuiltValueSerializer(custom: true) - static Serializer get serializer => _$UserStatusGetStatus_Ocs_DataSerializer(); -} - -class _$UserStatusGetStatus_Ocs_DataSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [UserStatusGetStatus_Ocs_Data, _$UserStatusGetStatus_Ocs_Data]; - - @override - final String wireName = 'UserStatusGetStatus_Ocs_Data'; - @override - Object serialize( - final Serializers serializers, - final UserStatusGetStatus_Ocs_Data object, { - final FullType specifiedType = FullType.unspecified, - }) => - object.data.value; - - @override - UserStatusGetStatus_Ocs_Data deserialize( - final Serializers serializers, - final Object data, { - final FullType specifiedType = FullType.unspecified, - }) { - final result = UserStatusGetStatus_Ocs_DataBuilder()..data = JsonObject(data); - try { - result._builtListJsonObject = (_jsonSerializers.deserialize( - data, - specifiedType: const FullType(BuiltList, [FullType(JsonObject)]), - )! as BuiltList) - .toBuilder(); - } catch (_) {} - try { - result._status = - (_jsonSerializers.deserialize(data, specifiedType: const FullType(UserStatusStatus))! as UserStatusStatus) - .toBuilder(); - } catch (_) {} - assert( - [result._builtListJsonObject, result._status].where((final x) => x != null).isNotEmpty, - 'Need oneOf for ${result._data}', - ); - return result.build(); - } + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$userStatusUserStatusSetStatusResponse200ApplicationJsonSerializer; } -abstract class UserStatusGetStatus_Ocs implements Built { - factory UserStatusGetStatus_Ocs([final void Function(UserStatusGetStatus_OcsBuilder)? b]) = _$UserStatusGetStatus_Ocs; - const UserStatusGetStatus_Ocs._(); - - factory UserStatusGetStatus_Ocs.fromJson(final Map json) => +abstract class UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs + implements + Built { + factory UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs([ + final void Function(UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs; + const UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs._(); + + factory UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; UserStatusOCSMeta get meta; - UserStatusGetStatus_Ocs_Data get data; - static Serializer get serializer => _$userStatusGetStatusOcsSerializer; + UserStatusPrivate get data; + static Serializer get serializer => + _$userStatusUserStatusSetPredefinedMessageResponse200ApplicationJsonOcsSerializer; } -abstract class UserStatusGetStatus implements Built { - factory UserStatusGetStatus([final void Function(UserStatusGetStatusBuilder)? b]) = _$UserStatusGetStatus; - const UserStatusGetStatus._(); - - factory UserStatusGetStatus.fromJson(final Map json) => +abstract class UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson + implements + Built { + factory UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson([ + final void Function(UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJsonBuilder)? b, + ]) = _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson; + const UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson._(); + + factory UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - UserStatusGetStatus_Ocs get ocs; - static Serializer get serializer => _$userStatusGetStatusSerializer; + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$userStatusUserStatusSetPredefinedMessageResponse200ApplicationJsonSerializer; } -abstract class UserStatusPredefinedStatus_ClearAt - implements Built { - factory UserStatusPredefinedStatus_ClearAt([final void Function(UserStatusPredefinedStatus_ClearAtBuilder)? b]) = - _$UserStatusPredefinedStatus_ClearAt; - const UserStatusPredefinedStatus_ClearAt._(); - - JsonObject get data; - UserStatusClearAt? get clearAt; - - /// Time as unix timestamp - int? get $int; - static UserStatusPredefinedStatus_ClearAt fromJson(final Object json) => +abstract class UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs + implements + Built { + factory UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs([ + final void Function(UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs; + const UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs._(); + + factory UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs.fromJson( + final Map json, + ) => _jsonSerializers.deserializeWith(serializer, json)!; - Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - @BuiltValueSerializer(custom: true) - static Serializer get serializer => - _$UserStatusPredefinedStatus_ClearAtSerializer(); -} - -class _$UserStatusPredefinedStatus_ClearAtSerializer - implements PrimitiveSerializer { - @override - final Iterable types = const [UserStatusPredefinedStatus_ClearAt, _$UserStatusPredefinedStatus_ClearAt]; - @override - final String wireName = 'UserStatusPredefinedStatus_ClearAt'; - - @override - Object serialize( - final Serializers serializers, - final UserStatusPredefinedStatus_ClearAt object, { - final FullType specifiedType = FullType.unspecified, - }) => - object.data.value; - - @override - UserStatusPredefinedStatus_ClearAt deserialize( - final Serializers serializers, - final Object data, { - final FullType specifiedType = FullType.unspecified, - }) { - final result = UserStatusPredefinedStatus_ClearAtBuilder()..data = JsonObject(data); - try { - result._clearAt = - (_jsonSerializers.deserialize(data, specifiedType: const FullType(UserStatusClearAt))! as UserStatusClearAt) - .toBuilder(); - } catch (_) {} - try { - result._$int = data as int?; - } catch (_) {} - assert([result._clearAt, result._$int].where((final x) => x != null).isNotEmpty, 'Need oneOf for ${result._data}'); - return result.build(); - } + Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; + UserStatusOCSMeta get meta; + UserStatusPrivate get data; + static Serializer get serializer => + _$userStatusUserStatusSetCustomMessageResponse200ApplicationJsonOcsSerializer; } -abstract class UserStatusPredefinedStatus - implements Built { - factory UserStatusPredefinedStatus([final void Function(UserStatusPredefinedStatusBuilder)? b]) = - _$UserStatusPredefinedStatus; - const UserStatusPredefinedStatus._(); +abstract class UserStatusUserStatusSetCustomMessageResponse200ApplicationJson + implements + Built { + factory UserStatusUserStatusSetCustomMessageResponse200ApplicationJson([ + final void Function(UserStatusUserStatusSetCustomMessageResponse200ApplicationJsonBuilder)? b, + ]) = _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson; + const UserStatusUserStatusSetCustomMessageResponse200ApplicationJson._(); - factory UserStatusPredefinedStatus.fromJson(final Map json) => + factory UserStatusUserStatusSetCustomMessageResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - String get id; - String get icon; - String get message; - UserStatusPredefinedStatus_ClearAt? get clearAt; - static Serializer get serializer => _$userStatusPredefinedStatusSerializer; + UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$userStatusUserStatusSetCustomMessageResponse200ApplicationJsonSerializer; } -abstract class UserStatusPredefinedStatuses_Ocs - implements Built { - factory UserStatusPredefinedStatuses_Ocs([final void Function(UserStatusPredefinedStatuses_OcsBuilder)? b]) = - _$UserStatusPredefinedStatuses_Ocs; - const UserStatusPredefinedStatuses_Ocs._(); +abstract class UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs + implements + Built { + factory UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs([ + final void Function(UserStatusUserStatusClearMessageResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs; + const UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs._(); - factory UserStatusPredefinedStatuses_Ocs.fromJson(final Map json) => + factory UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; UserStatusOCSMeta get meta; - BuiltList get data; - static Serializer get serializer => _$userStatusPredefinedStatusesOcsSerializer; + JsonObject get data; + static Serializer get serializer => + _$userStatusUserStatusClearMessageResponse200ApplicationJsonOcsSerializer; } -abstract class UserStatusPredefinedStatuses - implements Built { - factory UserStatusPredefinedStatuses([final void Function(UserStatusPredefinedStatusesBuilder)? b]) = - _$UserStatusPredefinedStatuses; - const UserStatusPredefinedStatuses._(); +abstract class UserStatusUserStatusClearMessageResponse200ApplicationJson + implements + Built { + factory UserStatusUserStatusClearMessageResponse200ApplicationJson([ + final void Function(UserStatusUserStatusClearMessageResponse200ApplicationJsonBuilder)? b, + ]) = _$UserStatusUserStatusClearMessageResponse200ApplicationJson; + const UserStatusUserStatusClearMessageResponse200ApplicationJson._(); - factory UserStatusPredefinedStatuses.fromJson(final Map json) => + factory UserStatusUserStatusClearMessageResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - UserStatusPredefinedStatuses_Ocs get ocs; - static Serializer get serializer => _$userStatusPredefinedStatusesSerializer; + UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$userStatusUserStatusClearMessageResponse200ApplicationJsonSerializer; } -abstract class UserStatusHeartbeat_Ocs_Data - implements Built { - factory UserStatusHeartbeat_Ocs_Data([final void Function(UserStatusHeartbeat_Ocs_DataBuilder)? b]) = - _$UserStatusHeartbeat_Ocs_Data; - const UserStatusHeartbeat_Ocs_Data._(); +abstract class UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data + implements + Built { + factory UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data([ + final void Function(UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataBuilder)? b, + ]) = _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data; + const UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data._(); JsonObject get data; - BuiltList? get builtListJsonObject; - UserStatusStatus? get status; - static UserStatusHeartbeat_Ocs_Data fromJson(final Object json) => + UserStatusPrivate? get private; + JsonObject? get jsonObject; + static UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data fromJson(final Object json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; @BuiltValueSerializer(custom: true) - static Serializer get serializer => _$UserStatusHeartbeat_Ocs_DataSerializer(); + static Serializer get serializer => + _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataSerializer(); } -class _$UserStatusHeartbeat_Ocs_DataSerializer implements PrimitiveSerializer { +class _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataSerializer + implements PrimitiveSerializer { @override - final Iterable types = const [UserStatusHeartbeat_Ocs_Data, _$UserStatusHeartbeat_Ocs_Data]; + final Iterable types = const [ + UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data, + _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data + ]; @override - final String wireName = 'UserStatusHeartbeat_Ocs_Data'; + final String wireName = 'UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data'; @override Object serialize( final Serializers serializers, - final UserStatusHeartbeat_Ocs_Data object, { + final UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data object, { final FullType specifiedType = FullType.unspecified, }) => object.data.value; @override - UserStatusHeartbeat_Ocs_Data deserialize( + UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data deserialize( final Serializers serializers, final Object data, { final FullType specifiedType = FullType.unspecified, }) { - final result = UserStatusHeartbeat_Ocs_DataBuilder()..data = JsonObject(data); + final result = UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataBuilder() + ..data = JsonObject(data); try { - result._builtListJsonObject = (_jsonSerializers.deserialize( - data, - specifiedType: const FullType(BuiltList, [FullType(JsonObject)]), - )! as BuiltList) - .toBuilder(); + result._private = + (_jsonSerializers.deserialize(data, specifiedType: const FullType(UserStatusPrivate))! as UserStatusPrivate) + .toBuilder(); } catch (_) {} try { - result._status = - (_jsonSerializers.deserialize(data, specifiedType: const FullType(UserStatusStatus))! as UserStatusStatus) - .toBuilder(); + result._jsonObject = data as JsonObject?; } catch (_) {} assert( - [result._builtListJsonObject, result._status].where((final x) => x != null).isNotEmpty, + [result._private, result._jsonObject].where((final x) => x != null).isNotEmpty, 'Need oneOf for ${result._data}', ); return result.build(); } } -abstract class UserStatusHeartbeat_Ocs implements Built { - factory UserStatusHeartbeat_Ocs([final void Function(UserStatusHeartbeat_OcsBuilder)? b]) = _$UserStatusHeartbeat_Ocs; - const UserStatusHeartbeat_Ocs._(); +abstract class UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs + implements + Built { + factory UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs([ + final void Function(UserStatusUserStatusRevertStatusResponse200ApplicationJson_OcsBuilder)? b, + ]) = _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs; + const UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs._(); - factory UserStatusHeartbeat_Ocs.fromJson(final Map json) => + factory UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; UserStatusOCSMeta get meta; - UserStatusHeartbeat_Ocs_Data get data; - static Serializer get serializer => _$userStatusHeartbeatOcsSerializer; + UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data get data; + static Serializer get serializer => + _$userStatusUserStatusRevertStatusResponse200ApplicationJsonOcsSerializer; } -abstract class UserStatusHeartbeat implements Built { - factory UserStatusHeartbeat([final void Function(UserStatusHeartbeatBuilder)? b]) = _$UserStatusHeartbeat; - const UserStatusHeartbeat._(); +abstract class UserStatusUserStatusRevertStatusResponse200ApplicationJson + implements + Built { + factory UserStatusUserStatusRevertStatusResponse200ApplicationJson([ + final void Function(UserStatusUserStatusRevertStatusResponse200ApplicationJsonBuilder)? b, + ]) = _$UserStatusUserStatusRevertStatusResponse200ApplicationJson; + const UserStatusUserStatusRevertStatusResponse200ApplicationJson._(); - factory UserStatusHeartbeat.fromJson(final Map json) => + factory UserStatusUserStatusRevertStatusResponse200ApplicationJson.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - UserStatusHeartbeat_Ocs get ocs; - static Serializer get serializer => _$userStatusHeartbeatSerializer; + UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs get ocs; + static Serializer get serializer => + _$userStatusUserStatusRevertStatusResponse200ApplicationJsonSerializer; } -abstract class UserStatusEmptyOCS_Ocs implements Built { - factory UserStatusEmptyOCS_Ocs([final void Function(UserStatusEmptyOCS_OcsBuilder)? b]) = _$UserStatusEmptyOCS_Ocs; - const UserStatusEmptyOCS_Ocs._(); +abstract class UserStatusCapabilities_UserStatus + implements Built { + factory UserStatusCapabilities_UserStatus([final void Function(UserStatusCapabilities_UserStatusBuilder)? b]) = + _$UserStatusCapabilities_UserStatus; + const UserStatusCapabilities_UserStatus._(); - factory UserStatusEmptyOCS_Ocs.fromJson(final Map json) => + factory UserStatusCapabilities_UserStatus.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - UserStatusOCSMeta get meta; - BuiltList get data; - static Serializer get serializer => _$userStatusEmptyOCSOcsSerializer; + bool get enabled; + bool get restore; + @BuiltValueField(wireName: 'supports_emoji') + bool get supportsEmoji; + static Serializer get serializer => _$userStatusCapabilitiesUserStatusSerializer; } -abstract class UserStatusEmptyOCS implements Built { - factory UserStatusEmptyOCS([final void Function(UserStatusEmptyOCSBuilder)? b]) = _$UserStatusEmptyOCS; - const UserStatusEmptyOCS._(); +abstract class UserStatusCapabilities implements Built { + factory UserStatusCapabilities([final void Function(UserStatusCapabilitiesBuilder)? b]) = _$UserStatusCapabilities; + const UserStatusCapabilities._(); - factory UserStatusEmptyOCS.fromJson(final Map json) => + factory UserStatusCapabilities.fromJson(final Map json) => _jsonSerializers.deserializeWith(serializer, json)!; Map toJson() => _jsonSerializers.serializeWith(serializer, this)! as Map; - UserStatusEmptyOCS_Ocs get ocs; - static Serializer get serializer => _$userStatusEmptyOCSSerializer; + @BuiltValueField(wireName: 'user_status') + UserStatusCapabilities_UserStatus get userStatus; + static Serializer get serializer => _$userStatusCapabilitiesSerializer; } final Serializers _serializers = (Serializers().toBuilder() - ..addBuilderFactory(const FullType(UserStatusGetPublicStatuses), UserStatusGetPublicStatuses.new) - ..add(UserStatusGetPublicStatuses.serializer) - ..addBuilderFactory(const FullType(UserStatusGetPublicStatuses_Ocs), UserStatusGetPublicStatuses_Ocs.new) - ..add(UserStatusGetPublicStatuses_Ocs.serializer) + ..addBuilderFactory( + const FullType(UserStatusHeartbeatHeartbeatResponse200ApplicationJson), + UserStatusHeartbeatHeartbeatResponse200ApplicationJson.new, + ) + ..add(UserStatusHeartbeatHeartbeatResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs), + UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs.new, + ) + ..add(UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs.serializer) ..addBuilderFactory(const FullType(UserStatusOCSMeta), UserStatusOCSMeta.new) ..add(UserStatusOCSMeta.serializer) - ..addBuilderFactory(const FullType(UserStatusPublicStatus), UserStatusPublicStatus.new) - ..add(UserStatusPublicStatus.serializer) - ..addBuilderFactory(const FullType(UserStatusPublicStatus_ClearAt), UserStatusPublicStatus_ClearAt.new) - ..add(UserStatusPublicStatus_ClearAt.serializer) + ..addBuilderFactory(const FullType(UserStatusPrivate), UserStatusPrivate.new) + ..add(UserStatusPrivate.serializer) + ..addBuilderFactory(const FullType(UserStatusPublic), UserStatusPublic.new) + ..add(UserStatusPublic.serializer) + ..addBuilderFactory(const FullType(UserStatusPrivate1), UserStatusPrivate1.new) + ..add(UserStatusPrivate1.serializer) + ..addBuilderFactory( + const FullType(UserStatusPredefinedStatusFindAllResponse200ApplicationJson), + UserStatusPredefinedStatusFindAllResponse200ApplicationJson.new, + ) + ..add(UserStatusPredefinedStatusFindAllResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs), + UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs.new, + ) + ..add(UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(UserStatusPredefined), UserStatusPredefined.new) + ..add(UserStatusPredefined.serializer) ..addBuilderFactory(const FullType(UserStatusClearAt), UserStatusClearAt.new) ..add(UserStatusClearAt.serializer) ..add(UserStatusClearAt_Type.serializer) ..addBuilderFactory(const FullType(UserStatusClearAt_Time), UserStatusClearAt_Time.new) ..add(UserStatusClearAt_Time.serializer) - ..add(UserStatusClearAt_Time0.serializer) - ..add(UserStatusType.serializer) + ..add(UserStatusClearAtTimeType.serializer) + ..addBuilderFactory( + const FullType(BuiltList, [FullType(UserStatusPredefined)]), + ListBuilder.new, + ) + ..addBuilderFactory( + const FullType(UserStatusStatusesFindAllResponse200ApplicationJson), + UserStatusStatusesFindAllResponse200ApplicationJson.new, + ) + ..add(UserStatusStatusesFindAllResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(UserStatusStatusesFindAllResponse200ApplicationJson_Ocs), + UserStatusStatusesFindAllResponse200ApplicationJson_Ocs.new, + ) + ..add(UserStatusStatusesFindAllResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory(const FullType(BuiltList, [FullType(UserStatusPublic)]), ListBuilder.new) + ..addBuilderFactory( + const FullType(UserStatusStatusesFindResponse200ApplicationJson), + UserStatusStatusesFindResponse200ApplicationJson.new, + ) + ..add(UserStatusStatusesFindResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(UserStatusStatusesFindResponse200ApplicationJson_Ocs), + UserStatusStatusesFindResponse200ApplicationJson_Ocs.new, + ) + ..add(UserStatusStatusesFindResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(UserStatusUserStatusGetStatusResponse200ApplicationJson), + UserStatusUserStatusGetStatusResponse200ApplicationJson.new, + ) + ..add(UserStatusUserStatusGetStatusResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs), + UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs.new, + ) + ..add(UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(UserStatusUserStatusSetStatusResponse200ApplicationJson), + UserStatusUserStatusSetStatusResponse200ApplicationJson.new, + ) + ..add(UserStatusUserStatusSetStatusResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs), + UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs.new, + ) + ..add(UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson), + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson.new, + ) + ..add(UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs), + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs.new, + ) + ..add(UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(UserStatusUserStatusSetCustomMessageResponse200ApplicationJson), + UserStatusUserStatusSetCustomMessageResponse200ApplicationJson.new, + ) + ..add(UserStatusUserStatusSetCustomMessageResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs), + UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs.new, + ) + ..add(UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(UserStatusUserStatusClearMessageResponse200ApplicationJson), + UserStatusUserStatusClearMessageResponse200ApplicationJson.new, + ) + ..add(UserStatusUserStatusClearMessageResponse200ApplicationJson.serializer) + ..addBuilderFactory( + const FullType(UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs), + UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs.new, + ) + ..add(UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs.serializer) + ..addBuilderFactory( + const FullType(UserStatusUserStatusRevertStatusResponse200ApplicationJson), + UserStatusUserStatusRevertStatusResponse200ApplicationJson.new, + ) + ..add(UserStatusUserStatusRevertStatusResponse200ApplicationJson.serializer) ..addBuilderFactory( - const FullType(BuiltList, [FullType(UserStatusPublicStatus)]), - ListBuilder.new, + const FullType(UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs), + UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs.new, ) - ..addBuilderFactory(const FullType(UserStatusGetPublicStatus), UserStatusGetPublicStatus.new) - ..add(UserStatusGetPublicStatus.serializer) - ..addBuilderFactory(const FullType(UserStatusGetPublicStatus_Ocs), UserStatusGetPublicStatus_Ocs.new) - ..add(UserStatusGetPublicStatus_Ocs.serializer) - ..addBuilderFactory(const FullType(UserStatusGetPublicStatus_Ocs_Data), UserStatusGetPublicStatus_Ocs_Data.new) - ..add(UserStatusGetPublicStatus_Ocs_Data.serializer) - ..addBuilderFactory(const FullType(BuiltList, [FullType(JsonObject)]), ListBuilder.new) - ..addBuilderFactory(const FullType(UserStatusGetStatus), UserStatusGetStatus.new) - ..add(UserStatusGetStatus.serializer) - ..addBuilderFactory(const FullType(UserStatusGetStatus_Ocs), UserStatusGetStatus_Ocs.new) - ..add(UserStatusGetStatus_Ocs.serializer) - ..addBuilderFactory(const FullType(UserStatusGetStatus_Ocs_Data), UserStatusGetStatus_Ocs_Data.new) - ..add(UserStatusGetStatus_Ocs_Data.serializer) - ..addBuilderFactory(const FullType(UserStatusStatus), UserStatusStatus.new) - ..add(UserStatusStatus.serializer) - ..addBuilderFactory(const FullType(UserStatusStatus1), UserStatusStatus1.new) - ..add(UserStatusStatus1.serializer) - ..addBuilderFactory(const FullType(UserStatusPredefinedStatuses), UserStatusPredefinedStatuses.new) - ..add(UserStatusPredefinedStatuses.serializer) - ..addBuilderFactory(const FullType(UserStatusPredefinedStatuses_Ocs), UserStatusPredefinedStatuses_Ocs.new) - ..add(UserStatusPredefinedStatuses_Ocs.serializer) - ..addBuilderFactory(const FullType(UserStatusPredefinedStatus), UserStatusPredefinedStatus.new) - ..add(UserStatusPredefinedStatus.serializer) - ..addBuilderFactory(const FullType(UserStatusPredefinedStatus_ClearAt), UserStatusPredefinedStatus_ClearAt.new) - ..add(UserStatusPredefinedStatus_ClearAt.serializer) + ..add(UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs.serializer) ..addBuilderFactory( - const FullType(BuiltList, [FullType(UserStatusPredefinedStatus)]), - ListBuilder.new, + const FullType(UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data), + UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data.new, ) - ..addBuilderFactory(const FullType(UserStatusHeartbeat), UserStatusHeartbeat.new) - ..add(UserStatusHeartbeat.serializer) - ..addBuilderFactory(const FullType(UserStatusHeartbeat_Ocs), UserStatusHeartbeat_Ocs.new) - ..add(UserStatusHeartbeat_Ocs.serializer) - ..addBuilderFactory(const FullType(UserStatusHeartbeat_Ocs_Data), UserStatusHeartbeat_Ocs_Data.new) - ..add(UserStatusHeartbeat_Ocs_Data.serializer) - ..addBuilderFactory(const FullType(UserStatusEmptyOCS), UserStatusEmptyOCS.new) - ..add(UserStatusEmptyOCS.serializer) - ..addBuilderFactory(const FullType(UserStatusEmptyOCS_Ocs), UserStatusEmptyOCS_Ocs.new) - ..add(UserStatusEmptyOCS_Ocs.serializer)) + ..add(UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data.serializer) + ..addBuilderFactory(const FullType(UserStatusCapabilities), UserStatusCapabilities.new) + ..add(UserStatusCapabilities.serializer) + ..addBuilderFactory(const FullType(UserStatusCapabilities_UserStatus), UserStatusCapabilities_UserStatus.new) + ..add(UserStatusCapabilities_UserStatus.serializer)) .build(); Serializers get userStatusSerializers => _serializers; diff --git a/packages/nextcloud/lib/src/api/user_status.openapi.g.dart b/packages/nextcloud/lib/src/api/user_status.openapi.g.dart index f11a4050..f7403166 100644 --- a/packages/nextcloud/lib/src/api/user_status.openapi.g.dart +++ b/packages/nextcloud/lib/src/api/user_status.openapi.g.dart @@ -26,83 +26,96 @@ final BuiltSet _$userStatusClearAtTypeValues = _$userStatusClearAtTypeEndOf, ]); -const UserStatusClearAt_Time0 _$userStatusClearAtTime0Day = UserStatusClearAt_Time0._('day'); -const UserStatusClearAt_Time0 _$userStatusClearAtTime0Week = UserStatusClearAt_Time0._('week'); +const UserStatusClearAtTimeType _$userStatusClearAtTimeTypeDay = UserStatusClearAtTimeType._('day'); +const UserStatusClearAtTimeType _$userStatusClearAtTimeTypeWeek = UserStatusClearAtTimeType._('week'); -UserStatusClearAt_Time0 _$valueOfUserStatusClearAt_Time0(String name) { +UserStatusClearAtTimeType _$valueOfUserStatusClearAtTimeType(String name) { switch (name) { case 'day': - return _$userStatusClearAtTime0Day; + return _$userStatusClearAtTimeTypeDay; case 'week': - return _$userStatusClearAtTime0Week; + return _$userStatusClearAtTimeTypeWeek; default: throw ArgumentError(name); } } -final BuiltSet _$userStatusClearAtTime0Values = - BuiltSet(const [ - _$userStatusClearAtTime0Day, - _$userStatusClearAtTime0Week, -]); - -const UserStatusType _$userStatusTypeOnline = UserStatusType._('online'); -const UserStatusType _$userStatusTypeOffline = UserStatusType._('offline'); -const UserStatusType _$userStatusTypeDnd = UserStatusType._('dnd'); -const UserStatusType _$userStatusTypeAway = UserStatusType._('away'); -const UserStatusType _$userStatusTypeInvisible = UserStatusType._('invisible'); - -UserStatusType _$valueOfUserStatusType(String name) { - switch (name) { - case 'online': - return _$userStatusTypeOnline; - case 'offline': - return _$userStatusTypeOffline; - case 'dnd': - return _$userStatusTypeDnd; - case 'away': - return _$userStatusTypeAway; - case 'invisible': - return _$userStatusTypeInvisible; - default: - throw ArgumentError(name); - } -} - -final BuiltSet _$userStatusTypeValues = BuiltSet(const [ - _$userStatusTypeOnline, - _$userStatusTypeOffline, - _$userStatusTypeDnd, - _$userStatusTypeAway, - _$userStatusTypeInvisible, +final BuiltSet _$userStatusClearAtTimeTypeValues = + BuiltSet(const [ + _$userStatusClearAtTimeTypeDay, + _$userStatusClearAtTimeTypeWeek, ]); Serializer _$userStatusOCSMetaSerializer = _$UserStatusOCSMetaSerializer(); +Serializer _$userStatusPublicSerializer = _$UserStatusPublicSerializer(); +Serializer _$userStatusPrivate1Serializer = _$UserStatusPrivate1Serializer(); +Serializer + _$userStatusHeartbeatHeartbeatResponse200ApplicationJsonOcsSerializer = + _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson_OcsSerializer(); +Serializer + _$userStatusHeartbeatHeartbeatResponse200ApplicationJsonSerializer = + _$UserStatusHeartbeatHeartbeatResponse200ApplicationJsonSerializer(); Serializer _$userStatusClearAtTypeSerializer = _$UserStatusClearAt_TypeSerializer(); -Serializer _$userStatusClearAtTime0Serializer = _$UserStatusClearAt_Time0Serializer(); +Serializer _$userStatusClearAtTimeTypeSerializer = _$UserStatusClearAtTimeTypeSerializer(); Serializer _$userStatusClearAtSerializer = _$UserStatusClearAtSerializer(); -Serializer _$userStatusTypeSerializer = _$UserStatusTypeSerializer(); -Serializer _$userStatusPublicStatusSerializer = _$UserStatusPublicStatusSerializer(); -Serializer _$userStatusGetPublicStatusesOcsSerializer = - _$UserStatusGetPublicStatuses_OcsSerializer(); -Serializer _$userStatusGetPublicStatusesSerializer = - _$UserStatusGetPublicStatusesSerializer(); -Serializer _$userStatusGetPublicStatusOcsSerializer = - _$UserStatusGetPublicStatus_OcsSerializer(); -Serializer _$userStatusGetPublicStatusSerializer = _$UserStatusGetPublicStatusSerializer(); -Serializer _$userStatusStatus1Serializer = _$UserStatusStatus1Serializer(); -Serializer _$userStatusGetStatusOcsSerializer = _$UserStatusGetStatus_OcsSerializer(); -Serializer _$userStatusGetStatusSerializer = _$UserStatusGetStatusSerializer(); -Serializer _$userStatusPredefinedStatusSerializer = - _$UserStatusPredefinedStatusSerializer(); -Serializer _$userStatusPredefinedStatusesOcsSerializer = - _$UserStatusPredefinedStatuses_OcsSerializer(); -Serializer _$userStatusPredefinedStatusesSerializer = - _$UserStatusPredefinedStatusesSerializer(); -Serializer _$userStatusHeartbeatOcsSerializer = _$UserStatusHeartbeat_OcsSerializer(); -Serializer _$userStatusHeartbeatSerializer = _$UserStatusHeartbeatSerializer(); -Serializer _$userStatusEmptyOCSOcsSerializer = _$UserStatusEmptyOCS_OcsSerializer(); -Serializer _$userStatusEmptyOCSSerializer = _$UserStatusEmptyOCSSerializer(); +Serializer _$userStatusPredefinedSerializer = _$UserStatusPredefinedSerializer(); +Serializer + _$userStatusPredefinedStatusFindAllResponse200ApplicationJsonOcsSerializer = + _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson_OcsSerializer(); +Serializer + _$userStatusPredefinedStatusFindAllResponse200ApplicationJsonSerializer = + _$UserStatusPredefinedStatusFindAllResponse200ApplicationJsonSerializer(); +Serializer + _$userStatusStatusesFindAllResponse200ApplicationJsonOcsSerializer = + _$UserStatusStatusesFindAllResponse200ApplicationJson_OcsSerializer(); +Serializer + _$userStatusStatusesFindAllResponse200ApplicationJsonSerializer = + _$UserStatusStatusesFindAllResponse200ApplicationJsonSerializer(); +Serializer + _$userStatusStatusesFindResponse200ApplicationJsonOcsSerializer = + _$UserStatusStatusesFindResponse200ApplicationJson_OcsSerializer(); +Serializer + _$userStatusStatusesFindResponse200ApplicationJsonSerializer = + _$UserStatusStatusesFindResponse200ApplicationJsonSerializer(); +Serializer + _$userStatusUserStatusGetStatusResponse200ApplicationJsonOcsSerializer = + _$UserStatusUserStatusGetStatusResponse200ApplicationJson_OcsSerializer(); +Serializer + _$userStatusUserStatusGetStatusResponse200ApplicationJsonSerializer = + _$UserStatusUserStatusGetStatusResponse200ApplicationJsonSerializer(); +Serializer + _$userStatusUserStatusSetStatusResponse200ApplicationJsonOcsSerializer = + _$UserStatusUserStatusSetStatusResponse200ApplicationJson_OcsSerializer(); +Serializer + _$userStatusUserStatusSetStatusResponse200ApplicationJsonSerializer = + _$UserStatusUserStatusSetStatusResponse200ApplicationJsonSerializer(); +Serializer + _$userStatusUserStatusSetPredefinedMessageResponse200ApplicationJsonOcsSerializer = + _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_OcsSerializer(); +Serializer + _$userStatusUserStatusSetPredefinedMessageResponse200ApplicationJsonSerializer = + _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJsonSerializer(); +Serializer + _$userStatusUserStatusSetCustomMessageResponse200ApplicationJsonOcsSerializer = + _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_OcsSerializer(); +Serializer + _$userStatusUserStatusSetCustomMessageResponse200ApplicationJsonSerializer = + _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJsonSerializer(); +Serializer + _$userStatusUserStatusClearMessageResponse200ApplicationJsonOcsSerializer = + _$UserStatusUserStatusClearMessageResponse200ApplicationJson_OcsSerializer(); +Serializer + _$userStatusUserStatusClearMessageResponse200ApplicationJsonSerializer = + _$UserStatusUserStatusClearMessageResponse200ApplicationJsonSerializer(); +Serializer + _$userStatusUserStatusRevertStatusResponse200ApplicationJsonOcsSerializer = + _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_OcsSerializer(); +Serializer + _$userStatusUserStatusRevertStatusResponse200ApplicationJsonSerializer = + _$UserStatusUserStatusRevertStatusResponse200ApplicationJsonSerializer(); +Serializer _$userStatusCapabilitiesUserStatusSerializer = + _$UserStatusCapabilities_UserStatusSerializer(); +Serializer _$userStatusCapabilitiesSerializer = _$UserStatusCapabilitiesSerializer(); class _$UserStatusOCSMetaSerializer implements StructuredSerializer { @override @@ -174,122 +187,20 @@ class _$UserStatusOCSMetaSerializer implements StructuredSerializer { - static const Map _toWire = { - 'endOf': 'end-of', - }; - static const Map _fromWire = { - 'end-of': 'endOf', - }; - - @override - final Iterable types = const [UserStatusClearAt_Type]; - @override - final String wireName = 'UserStatusClearAt_Type'; - - @override - Object serialize(Serializers serializers, UserStatusClearAt_Type object, - {FullType specifiedType = FullType.unspecified}) => - _toWire[object.name] ?? object.name; - - @override - UserStatusClearAt_Type deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - UserStatusClearAt_Type.valueOf(_fromWire[serialized] ?? (serialized is String ? serialized : '')); -} - -class _$UserStatusClearAt_Time0Serializer implements PrimitiveSerializer { - @override - final Iterable types = const [UserStatusClearAt_Time0]; - @override - final String wireName = 'UserStatusClearAt_Time0'; - - @override - Object serialize(Serializers serializers, UserStatusClearAt_Time0 object, - {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - UserStatusClearAt_Time0 deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - UserStatusClearAt_Time0.valueOf(serialized as String); -} - -class _$UserStatusClearAtSerializer implements StructuredSerializer { - @override - final Iterable types = const [UserStatusClearAt, _$UserStatusClearAt]; - @override - final String wireName = 'UserStatusClearAt'; - - @override - Iterable serialize(Serializers serializers, UserStatusClearAt object, - {FullType specifiedType = FullType.unspecified}) { - final result = [ - 'type', - serializers.serialize(object.type, specifiedType: const FullType(UserStatusClearAt_Type)), - 'time', - serializers.serialize(object.time, specifiedType: const FullType(UserStatusClearAt_Time)), - ]; - - return result; - } - - @override - UserStatusClearAt deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { - final result = UserStatusClearAtBuilder(); - - final iterator = serialized.iterator; - while (iterator.moveNext()) { - final key = iterator.current! as String; - iterator.moveNext(); - final Object? value = iterator.current; - switch (key) { - case 'type': - result.type = serializers.deserialize(value, specifiedType: const FullType(UserStatusClearAt_Type))! - as UserStatusClearAt_Type; - break; - case 'time': - result.time.replace(serializers.deserialize(value, specifiedType: const FullType(UserStatusClearAt_Time))! - as UserStatusClearAt_Time); - break; - } - } - - return result.build(); - } -} - -class _$UserStatusTypeSerializer implements PrimitiveSerializer { - @override - final Iterable types = const [UserStatusType]; - @override - final String wireName = 'UserStatusType'; - - @override - Object serialize(Serializers serializers, UserStatusType object, {FullType specifiedType = FullType.unspecified}) => - object.name; - - @override - UserStatusType deserialize(Serializers serializers, Object serialized, - {FullType specifiedType = FullType.unspecified}) => - UserStatusType.valueOf(serialized as String); -} - -class _$UserStatusPublicStatusSerializer implements StructuredSerializer { +class _$UserStatusPublicSerializer implements StructuredSerializer { @override - final Iterable types = const [UserStatusPublicStatus, _$UserStatusPublicStatus]; + final Iterable types = const [UserStatusPublic, _$UserStatusPublic]; @override - final String wireName = 'UserStatusPublicStatus'; + final String wireName = 'UserStatusPublic'; @override - Iterable serialize(Serializers serializers, UserStatusPublicStatus object, + Iterable serialize(Serializers serializers, UserStatusPublic object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'userId', serializers.serialize(object.userId, specifiedType: const FullType(String)), 'status', - serializers.serialize(object.status, specifiedType: const FullType(UserStatusType)), + serializers.serialize(object.status, specifiedType: const FullType(String)), ]; Object? value; value = object.message; @@ -308,15 +219,15 @@ class _$UserStatusPublicStatusSerializer implements StructuredSerializer serialized, + UserStatusPublic deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UserStatusPublicStatusBuilder(); + final result = UserStatusPublicBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -334,12 +245,10 @@ class _$UserStatusPublicStatusSerializer implements StructuredSerializer { +class _$UserStatusPrivate1Serializer implements StructuredSerializer { @override - final Iterable types = const [UserStatusGetPublicStatuses_Ocs, _$UserStatusGetPublicStatuses_Ocs]; + final Iterable types = const [UserStatusPrivate1, _$UserStatusPrivate1]; @override - final String wireName = 'UserStatusGetPublicStatuses_Ocs'; + final String wireName = 'UserStatusPrivate1'; @override - Iterable serialize(Serializers serializers, UserStatusGetPublicStatuses_Ocs object, + Iterable serialize(Serializers serializers, UserStatusPrivate1 object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(UserStatusOCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(UserStatusPublicStatus)])), + 'messageIsPredefined', + serializers.serialize(object.messageIsPredefined, specifiedType: const FullType(bool)), + 'statusIsUserDefined', + serializers.serialize(object.statusIsUserDefined, specifiedType: const FullType(bool)), ]; - + Object? value; + value = object.messageId; + if (value != null) { + result + ..add('messageId') + ..add(serializers.serialize(value, specifiedType: const FullType(String))); + } return result; } @override - UserStatusGetPublicStatuses_Ocs deserialize(Serializers serializers, Iterable serialized, + UserStatusPrivate1 deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UserStatusGetPublicStatuses_OcsBuilder(); + final result = UserStatusPrivate1Builder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -378,13 +293,14 @@ class _$UserStatusGetPublicStatuses_OcsSerializer implements StructuredSerialize iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace( - serializers.deserialize(value, specifiedType: const FullType(UserStatusOCSMeta))! as UserStatusOCSMeta); + case 'messageId': + result.messageId = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; - case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(UserStatusPublicStatus)]))! as BuiltList); + case 'messageIsPredefined': + result.messageIsPredefined = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'statusIsUserDefined': + result.statusIsUserDefined = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } @@ -393,27 +309,35 @@ class _$UserStatusGetPublicStatuses_OcsSerializer implements StructuredSerialize } } -class _$UserStatusGetPublicStatusesSerializer implements StructuredSerializer { +class _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [UserStatusGetPublicStatuses, _$UserStatusGetPublicStatuses]; + final Iterable types = const [ + UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs, + _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs + ]; @override - final String wireName = 'UserStatusGetPublicStatuses'; + final String wireName = 'UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, UserStatusGetPublicStatuses object, + Iterable serialize( + Serializers serializers, UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(UserStatusGetPublicStatuses_Ocs)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(UserStatusOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(UserStatusPrivate)), ]; return result; } @override - UserStatusGetPublicStatuses deserialize(Serializers serializers, Iterable serialized, + UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UserStatusGetPublicStatusesBuilder(); + final result = UserStatusHeartbeatHeartbeatResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -421,9 +345,13 @@ class _$UserStatusGetPublicStatusesSerializer implements StructuredSerializer { +class _$UserStatusHeartbeatHeartbeatResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [UserStatusGetPublicStatus_Ocs, _$UserStatusGetPublicStatus_Ocs]; + final Iterable types = const [ + UserStatusHeartbeatHeartbeatResponse200ApplicationJson, + _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson + ]; @override - final String wireName = 'UserStatusGetPublicStatus_Ocs'; + final String wireName = 'UserStatusHeartbeatHeartbeatResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, UserStatusGetPublicStatus_Ocs object, + Iterable serialize(Serializers serializers, UserStatusHeartbeatHeartbeatResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'meta', - serializers.serialize(object.meta, specifiedType: const FullType(UserStatusOCSMeta)), - 'data', - serializers.serialize(object.data, specifiedType: const FullType(UserStatusGetPublicStatus_Ocs_Data)), + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs)), ]; return result; } @override - UserStatusGetPublicStatus_Ocs deserialize(Serializers serializers, Iterable serialized, + UserStatusHeartbeatHeartbeatResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UserStatusGetPublicStatus_OcsBuilder(); + final result = UserStatusHeartbeatHeartbeatResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -462,14 +394,10 @@ class _$UserStatusGetPublicStatus_OcsSerializer implements StructuredSerializer< iterator.moveNext(); final Object? value = iterator.current; switch (key) { - case 'meta': - result.meta.replace( - serializers.deserialize(value, specifiedType: const FullType(UserStatusOCSMeta))! as UserStatusOCSMeta); - break; - case 'data': - result.data.replace( - serializers.deserialize(value, specifiedType: const FullType(UserStatusGetPublicStatus_Ocs_Data))! - as UserStatusGetPublicStatus_Ocs_Data); + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs))! + as UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs); break; } } @@ -478,27 +406,70 @@ class _$UserStatusGetPublicStatus_OcsSerializer implements StructuredSerializer< } } -class _$UserStatusGetPublicStatusSerializer implements StructuredSerializer { +class _$UserStatusClearAt_TypeSerializer implements PrimitiveSerializer { + static const Map _toWire = { + 'endOf': 'end-of', + }; + static const Map _fromWire = { + 'end-of': 'endOf', + }; + + @override + final Iterable types = const [UserStatusClearAt_Type]; + @override + final String wireName = 'UserStatusClearAt_Type'; + + @override + Object serialize(Serializers serializers, UserStatusClearAt_Type object, + {FullType specifiedType = FullType.unspecified}) => + _toWire[object.name] ?? object.name; + + @override + UserStatusClearAt_Type deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + UserStatusClearAt_Type.valueOf(_fromWire[serialized] ?? (serialized is String ? serialized : '')); +} + +class _$UserStatusClearAtTimeTypeSerializer implements PrimitiveSerializer { @override - final Iterable types = const [UserStatusGetPublicStatus, _$UserStatusGetPublicStatus]; + final Iterable types = const [UserStatusClearAtTimeType]; @override - final String wireName = 'UserStatusGetPublicStatus'; + final String wireName = 'UserStatusClearAtTimeType'; @override - Iterable serialize(Serializers serializers, UserStatusGetPublicStatus object, + Object serialize(Serializers serializers, UserStatusClearAtTimeType object, + {FullType specifiedType = FullType.unspecified}) => + object.name; + + @override + UserStatusClearAtTimeType deserialize(Serializers serializers, Object serialized, + {FullType specifiedType = FullType.unspecified}) => + UserStatusClearAtTimeType.valueOf(serialized as String); +} + +class _$UserStatusClearAtSerializer implements StructuredSerializer { + @override + final Iterable types = const [UserStatusClearAt, _$UserStatusClearAt]; + @override + final String wireName = 'UserStatusClearAt'; + + @override + Iterable serialize(Serializers serializers, UserStatusClearAt object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(UserStatusGetPublicStatus_Ocs)), + 'type', + serializers.serialize(object.type, specifiedType: const FullType(UserStatusClearAt_Type)), + 'time', + serializers.serialize(object.time, specifiedType: const FullType(UserStatusClearAt_Time)), ]; return result; } @override - UserStatusGetPublicStatus deserialize(Serializers serializers, Iterable serialized, + UserStatusClearAt deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UserStatusGetPublicStatusBuilder(); + final result = UserStatusClearAtBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -506,9 +477,13 @@ class _$UserStatusGetPublicStatusSerializer implements StructuredSerializer { +class _$UserStatusPredefinedSerializer implements StructuredSerializer { @override - final Iterable types = const [UserStatusStatus1, _$UserStatusStatus1]; + final Iterable types = const [UserStatusPredefined, _$UserStatusPredefined]; @override - final String wireName = 'UserStatusStatus1'; + final String wireName = 'UserStatusPredefined'; @override - Iterable serialize(Serializers serializers, UserStatusStatus1 object, + Iterable serialize(Serializers serializers, UserStatusPredefined object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'messageIsPredefined', - serializers.serialize(object.messageIsPredefined, specifiedType: const FullType(bool)), - 'statusIsUserDefined', - serializers.serialize(object.statusIsUserDefined, specifiedType: const FullType(bool)), + 'id', + serializers.serialize(object.id, specifiedType: const FullType(String)), + 'icon', + serializers.serialize(object.icon, specifiedType: const FullType(String)), + 'message', + serializers.serialize(object.message, specifiedType: const FullType(String)), ]; Object? value; - value = object.messageId; + value = object.clearAt; if (value != null) { result - ..add('messageId') - ..add(serializers.serialize(value, specifiedType: const FullType(String))); + ..add('clearAt') + ..add(serializers.serialize(value, specifiedType: const FullType(UserStatusClearAt))); + } + value = object.visible; + if (value != null) { + result + ..add('visible') + ..add(serializers.serialize(value, specifiedType: const FullType(bool))); } return result; } @override - UserStatusStatus1 deserialize(Serializers serializers, Iterable serialized, + UserStatusPredefined deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UserStatusStatus1Builder(); + final result = UserStatusPredefinedBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -553,14 +536,21 @@ class _$UserStatusStatus1Serializer implements StructuredSerializer { +class _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [UserStatusGetStatus_Ocs, _$UserStatusGetStatus_Ocs]; + final Iterable types = const [ + UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs, + _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs + ]; @override - final String wireName = 'UserStatusGetStatus_Ocs'; + final String wireName = 'UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, UserStatusGetStatus_Ocs object, + Iterable serialize( + Serializers serializers, UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(UserStatusOCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(UserStatusGetStatus_Ocs_Data)), + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(UserStatusPredefined)])), ]; return result; } @override - UserStatusGetStatus_Ocs deserialize(Serializers serializers, Iterable serialized, + UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UserStatusGetStatus_OcsBuilder(); + final result = UserStatusPredefinedStatusFindAllResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -605,7 +601,7 @@ class _$UserStatusGetStatus_OcsSerializer implements StructuredSerializer); break; } } @@ -614,27 +610,34 @@ class _$UserStatusGetStatus_OcsSerializer implements StructuredSerializer { +class _$UserStatusPredefinedStatusFindAllResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [UserStatusGetStatus, _$UserStatusGetStatus]; + final Iterable types = const [ + UserStatusPredefinedStatusFindAllResponse200ApplicationJson, + _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson + ]; @override - final String wireName = 'UserStatusGetStatus'; + final String wireName = 'UserStatusPredefinedStatusFindAllResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, UserStatusGetStatus object, + Iterable serialize( + Serializers serializers, UserStatusPredefinedStatusFindAllResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(UserStatusGetStatus_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs)), ]; return result; } @override - UserStatusGetStatus deserialize(Serializers serializers, Iterable serialized, + UserStatusPredefinedStatusFindAllResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UserStatusGetStatusBuilder(); + final result = UserStatusPredefinedStatusFindAllResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -643,8 +646,9 @@ class _$UserStatusGetStatusSerializer implements StructuredSerializer { +class _$UserStatusStatusesFindAllResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [UserStatusPredefinedStatus, _$UserStatusPredefinedStatus]; + final Iterable types = const [ + UserStatusStatusesFindAllResponse200ApplicationJson_Ocs, + _$UserStatusStatusesFindAllResponse200ApplicationJson_Ocs + ]; @override - final String wireName = 'UserStatusPredefinedStatus'; + final String wireName = 'UserStatusStatusesFindAllResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, UserStatusPredefinedStatus object, + Iterable serialize(Serializers serializers, UserStatusStatusesFindAllResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ - 'id', - serializers.serialize(object.id, specifiedType: const FullType(String)), - 'icon', - serializers.serialize(object.icon, specifiedType: const FullType(String)), - 'message', - serializers.serialize(object.message, specifiedType: const FullType(String)), + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(UserStatusOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(UserStatusPublic)])), ]; - Object? value; - value = object.clearAt; - if (value != null) { - result - ..add('clearAt') - ..add(serializers.serialize(value, specifiedType: const FullType(UserStatusPredefinedStatus_ClearAt))); + + return result; + } + + @override + UserStatusStatusesFindAllResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UserStatusStatusesFindAllResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace( + serializers.deserialize(value, specifiedType: const FullType(UserStatusOCSMeta))! as UserStatusOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(BuiltList, [FullType(UserStatusPublic)]))! as BuiltList); + break; + } } + + return result.build(); + } +} + +class _$UserStatusStatusesFindAllResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + UserStatusStatusesFindAllResponse200ApplicationJson, + _$UserStatusStatusesFindAllResponse200ApplicationJson + ]; + @override + final String wireName = 'UserStatusStatusesFindAllResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, UserStatusStatusesFindAllResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(UserStatusStatusesFindAllResponse200ApplicationJson_Ocs)), + ]; + return result; } @override - UserStatusPredefinedStatus deserialize(Serializers serializers, Iterable serialized, + UserStatusStatusesFindAllResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UserStatusPredefinedStatusBuilder(); + final result = UserStatusStatusesFindAllResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -691,19 +740,105 @@ class _$UserStatusPredefinedStatusSerializer implements StructuredSerializer { + @override + final Iterable types = const [ + UserStatusStatusesFindResponse200ApplicationJson_Ocs, + _$UserStatusStatusesFindResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'UserStatusStatusesFindResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize(Serializers serializers, UserStatusStatusesFindResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(UserStatusOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(UserStatusPublic)), + ]; + + return result; + } + + @override + UserStatusStatusesFindResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UserStatusStatusesFindResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace( + serializers.deserialize(value, specifiedType: const FullType(UserStatusOCSMeta))! as UserStatusOCSMeta); break; - case 'message': - result.message = serializers.deserialize(value, specifiedType: const FullType(String))! as String; + case 'data': + result.data.replace( + serializers.deserialize(value, specifiedType: const FullType(UserStatusPublic))! as UserStatusPublic); break; - case 'clearAt': - result.clearAt.replace( - serializers.deserialize(value, specifiedType: const FullType(UserStatusPredefinedStatus_ClearAt))! - as UserStatusPredefinedStatus_ClearAt); + } + } + + return result.build(); + } +} + +class _$UserStatusStatusesFindResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + UserStatusStatusesFindResponse200ApplicationJson, + _$UserStatusStatusesFindResponse200ApplicationJson + ]; + @override + final String wireName = 'UserStatusStatusesFindResponse200ApplicationJson'; + + @override + Iterable serialize(Serializers serializers, UserStatusStatusesFindResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(UserStatusStatusesFindResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + UserStatusStatusesFindResponse200ApplicationJson deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UserStatusStatusesFindResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(UserStatusStatusesFindResponse200ApplicationJson_Ocs))! + as UserStatusStatusesFindResponse200ApplicationJson_Ocs); break; } } @@ -712,30 +847,35 @@ class _$UserStatusPredefinedStatusSerializer implements StructuredSerializer { +class _$UserStatusUserStatusGetStatusResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [UserStatusPredefinedStatuses_Ocs, _$UserStatusPredefinedStatuses_Ocs]; + final Iterable types = const [ + UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs, + _$UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs + ]; @override - final String wireName = 'UserStatusPredefinedStatuses_Ocs'; + final String wireName = 'UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, UserStatusPredefinedStatuses_Ocs object, + Iterable serialize( + Serializers serializers, UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(UserStatusOCSMeta)), 'data', - serializers.serialize(object.data, - specifiedType: const FullType(BuiltList, [FullType(UserStatusPredefinedStatus)])), + serializers.serialize(object.data, specifiedType: const FullType(UserStatusPrivate)), ]; return result; } @override - UserStatusPredefinedStatuses_Ocs deserialize(Serializers serializers, Iterable serialized, + UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UserStatusPredefinedStatuses_OcsBuilder(); + final result = UserStatusUserStatusGetStatusResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -748,8 +888,8 @@ class _$UserStatusPredefinedStatuses_OcsSerializer implements StructuredSerializ serializers.deserialize(value, specifiedType: const FullType(UserStatusOCSMeta))! as UserStatusOCSMeta); break; case 'data': - result.data.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, [FullType(UserStatusPredefinedStatus)]))! as BuiltList); + result.data.replace( + serializers.deserialize(value, specifiedType: const FullType(UserStatusPrivate))! as UserStatusPrivate); break; } } @@ -758,27 +898,33 @@ class _$UserStatusPredefinedStatuses_OcsSerializer implements StructuredSerializ } } -class _$UserStatusPredefinedStatusesSerializer implements StructuredSerializer { +class _$UserStatusUserStatusGetStatusResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [UserStatusPredefinedStatuses, _$UserStatusPredefinedStatuses]; + final Iterable types = const [ + UserStatusUserStatusGetStatusResponse200ApplicationJson, + _$UserStatusUserStatusGetStatusResponse200ApplicationJson + ]; @override - final String wireName = 'UserStatusPredefinedStatuses'; + final String wireName = 'UserStatusUserStatusGetStatusResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, UserStatusPredefinedStatuses object, + Iterable serialize(Serializers serializers, UserStatusUserStatusGetStatusResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(UserStatusPredefinedStatuses_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs)), ]; return result; } @override - UserStatusPredefinedStatuses deserialize(Serializers serializers, Iterable serialized, + UserStatusUserStatusGetStatusResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UserStatusPredefinedStatusesBuilder(); + final result = UserStatusUserStatusGetStatusResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -788,7 +934,8 @@ class _$UserStatusPredefinedStatusesSerializer implements StructuredSerializer { +class _$UserStatusUserStatusSetStatusResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [UserStatusHeartbeat_Ocs, _$UserStatusHeartbeat_Ocs]; + final Iterable types = const [ + UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs, + _$UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs + ]; @override - final String wireName = 'UserStatusHeartbeat_Ocs'; + final String wireName = 'UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, UserStatusHeartbeat_Ocs object, + Iterable serialize( + Serializers serializers, UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(UserStatusOCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(UserStatusHeartbeat_Ocs_Data)), + serializers.serialize(object.data, specifiedType: const FullType(UserStatusPrivate)), ]; return result; } @override - UserStatusHeartbeat_Ocs deserialize(Serializers serializers, Iterable serialized, + UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UserStatusHeartbeat_OcsBuilder(); + final result = UserStatusUserStatusSetStatusResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -832,8 +985,8 @@ class _$UserStatusHeartbeat_OcsSerializer implements StructuredSerializer { +class _$UserStatusUserStatusSetStatusResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [UserStatusHeartbeat, _$UserStatusHeartbeat]; + final Iterable types = const [ + UserStatusUserStatusSetStatusResponse200ApplicationJson, + _$UserStatusUserStatusSetStatusResponse200ApplicationJson + ]; @override - final String wireName = 'UserStatusHeartbeat'; + final String wireName = 'UserStatusUserStatusSetStatusResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, UserStatusHeartbeat object, + Iterable serialize(Serializers serializers, UserStatusUserStatusSetStatusResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(UserStatusHeartbeat_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs)), ]; return result; } @override - UserStatusHeartbeat deserialize(Serializers serializers, Iterable serialized, + UserStatusUserStatusSetStatusResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UserStatusHeartbeatBuilder(); + final result = UserStatusUserStatusSetStatusResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -871,8 +1030,9 @@ class _$UserStatusHeartbeatSerializer implements StructuredSerializer { +class _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override - final Iterable types = const [UserStatusEmptyOCS_Ocs, _$UserStatusEmptyOCS_Ocs]; + final Iterable types = const [ + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs, + _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs + ]; @override - final String wireName = 'UserStatusEmptyOCS_Ocs'; + final String wireName = 'UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs'; @override - Iterable serialize(Serializers serializers, UserStatusEmptyOCS_Ocs object, + Iterable serialize( + Serializers serializers, UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'meta', serializers.serialize(object.meta, specifiedType: const FullType(UserStatusOCSMeta)), 'data', - serializers.serialize(object.data, specifiedType: const FullType(BuiltList, [FullType(JsonObject)])), + serializers.serialize(object.data, specifiedType: const FullType(UserStatusPrivate)), ]; return result; } @override - UserStatusEmptyOCS_Ocs deserialize(Serializers serializers, Iterable serialized, + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UserStatusEmptyOCS_OcsBuilder(); + final result = UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_OcsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -916,8 +1082,8 @@ class _$UserStatusEmptyOCS_OcsSerializer implements StructuredSerializer); + result.data.replace( + serializers.deserialize(value, specifiedType: const FullType(UserStatusPrivate))! as UserStatusPrivate); break; } } @@ -926,27 +1092,34 @@ class _$UserStatusEmptyOCS_OcsSerializer implements StructuredSerializer { +class _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override - final Iterable types = const [UserStatusEmptyOCS, _$UserStatusEmptyOCS]; + final Iterable types = const [ + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson, + _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson + ]; @override - final String wireName = 'UserStatusEmptyOCS'; + final String wireName = 'UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson'; @override - Iterable serialize(Serializers serializers, UserStatusEmptyOCS object, + Iterable serialize( + Serializers serializers, UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'ocs', - serializers.serialize(object.ocs, specifiedType: const FullType(UserStatusEmptyOCS_Ocs)), + serializers.serialize(object.ocs, + specifiedType: const FullType(UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs)), ]; return result; } @override - UserStatusEmptyOCS deserialize(Serializers serializers, Iterable serialized, + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { - final result = UserStatusEmptyOCSBuilder(); + final result = UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJsonBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { @@ -955,8 +1128,10 @@ class _$UserStatusEmptyOCSSerializer implements StructuredSerializer { @override - final String status; + final Iterable types = const [ + UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs, + _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs + ]; @override - final int statuscode; + final String wireName = 'UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs'; + @override - final String? message; + Iterable serialize( + Serializers serializers, UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(UserStatusOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(UserStatusPrivate)), + ]; + + return result; + } + @override - final String? totalitems; + UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace( + serializers.deserialize(value, specifiedType: const FullType(UserStatusOCSMeta))! as UserStatusOCSMeta); + break; + case 'data': + result.data.replace( + serializers.deserialize(value, specifiedType: const FullType(UserStatusPrivate))! as UserStatusPrivate); + break; + } + } + + return result.build(); + } +} + +class _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJsonSerializer + implements StructuredSerializer { @override - final String? itemsperpage; + final Iterable types = const [ + UserStatusUserStatusSetCustomMessageResponse200ApplicationJson, + _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson + ]; + @override + final String wireName = 'UserStatusUserStatusSetCustomMessageResponse200ApplicationJson'; - factory _$UserStatusOCSMeta([void Function(UserStatusOCSMetaBuilder)? updates]) => - (UserStatusOCSMetaBuilder()..update(updates))._build(); + @override + Iterable serialize( + Serializers serializers, UserStatusUserStatusSetCustomMessageResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs)), + ]; - _$UserStatusOCSMeta._( - {required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) - : super._() { - BuiltValueNullFieldError.checkNotNull(status, r'UserStatusOCSMeta', 'status'); - BuiltValueNullFieldError.checkNotNull(statuscode, r'UserStatusOCSMeta', 'statuscode'); + return result; } @override - UserStatusOCSMeta rebuild(void Function(UserStatusOCSMetaBuilder) updates) => (toBuilder()..update(updates)).build(); + UserStatusUserStatusSetCustomMessageResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UserStatusUserStatusSetCustomMessageResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs))! + as UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} +class _$UserStatusUserStatusClearMessageResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { @override - UserStatusOCSMetaBuilder toBuilder() => UserStatusOCSMetaBuilder()..replace(this); + final Iterable types = const [ + UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs, + _$UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs'; @override - bool operator ==(Object other) { - if (identical(other, this)) return true; - return other is UserStatusOCSMeta && - status == other.status && - statuscode == other.statuscode && - message == other.message && - totalitems == other.totalitems && - itemsperpage == other.itemsperpage; + Iterable serialize( + Serializers serializers, UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(UserStatusOCSMeta)), + 'data', + serializers.serialize(object.data, specifiedType: const FullType(JsonObject)), + ]; + + return result; } @override - int get hashCode { - var _$hash = 0; - _$hash = $jc(_$hash, status.hashCode); - _$hash = $jc(_$hash, statuscode.hashCode); - _$hash = $jc(_$hash, message.hashCode); - _$hash = $jc(_$hash, totalitems.hashCode); - _$hash = $jc(_$hash, itemsperpage.hashCode); + UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UserStatusUserStatusClearMessageResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace( + serializers.deserialize(value, specifiedType: const FullType(UserStatusOCSMeta))! as UserStatusOCSMeta); + break; + case 'data': + result.data = serializers.deserialize(value, specifiedType: const FullType(JsonObject))! as JsonObject; + break; + } + } + + return result.build(); + } +} + +class _$UserStatusUserStatusClearMessageResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + UserStatusUserStatusClearMessageResponse200ApplicationJson, + _$UserStatusUserStatusClearMessageResponse200ApplicationJson + ]; + @override + final String wireName = 'UserStatusUserStatusClearMessageResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, UserStatusUserStatusClearMessageResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + UserStatusUserStatusClearMessageResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UserStatusUserStatusClearMessageResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs))! + as UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_OcsSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs, + _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs + ]; + @override + final String wireName = 'UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs'; + + @override + Iterable serialize( + Serializers serializers, UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'meta', + serializers.serialize(object.meta, specifiedType: const FullType(UserStatusOCSMeta)), + 'data', + serializers.serialize(object.data, + specifiedType: const FullType(UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data)), + ]; + + return result; + } + + @override + UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UserStatusUserStatusRevertStatusResponse200ApplicationJson_OcsBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'meta': + result.meta.replace( + serializers.deserialize(value, specifiedType: const FullType(UserStatusOCSMeta))! as UserStatusOCSMeta); + break; + case 'data': + result.data.replace(serializers.deserialize(value, + specifiedType: const FullType(UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data))! + as UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data); + break; + } + } + + return result.build(); + } +} + +class _$UserStatusUserStatusRevertStatusResponse200ApplicationJsonSerializer + implements StructuredSerializer { + @override + final Iterable types = const [ + UserStatusUserStatusRevertStatusResponse200ApplicationJson, + _$UserStatusUserStatusRevertStatusResponse200ApplicationJson + ]; + @override + final String wireName = 'UserStatusUserStatusRevertStatusResponse200ApplicationJson'; + + @override + Iterable serialize( + Serializers serializers, UserStatusUserStatusRevertStatusResponse200ApplicationJson object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'ocs', + serializers.serialize(object.ocs, + specifiedType: const FullType(UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs)), + ]; + + return result; + } + + @override + UserStatusUserStatusRevertStatusResponse200ApplicationJson deserialize( + Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UserStatusUserStatusRevertStatusResponse200ApplicationJsonBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'ocs': + result.ocs.replace(serializers.deserialize(value, + specifiedType: const FullType(UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs))! + as UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs); + break; + } + } + + return result.build(); + } +} + +class _$UserStatusCapabilities_UserStatusSerializer implements StructuredSerializer { + @override + final Iterable types = const [UserStatusCapabilities_UserStatus, _$UserStatusCapabilities_UserStatus]; + @override + final String wireName = 'UserStatusCapabilities_UserStatus'; + + @override + Iterable serialize(Serializers serializers, UserStatusCapabilities_UserStatus object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'enabled', + serializers.serialize(object.enabled, specifiedType: const FullType(bool)), + 'restore', + serializers.serialize(object.restore, specifiedType: const FullType(bool)), + 'supports_emoji', + serializers.serialize(object.supportsEmoji, specifiedType: const FullType(bool)), + ]; + + return result; + } + + @override + UserStatusCapabilities_UserStatus deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UserStatusCapabilities_UserStatusBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'enabled': + result.enabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'restore': + result.restore = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + case 'supports_emoji': + result.supportsEmoji = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; + break; + } + } + + return result.build(); + } +} + +class _$UserStatusCapabilitiesSerializer implements StructuredSerializer { + @override + final Iterable types = const [UserStatusCapabilities, _$UserStatusCapabilities]; + @override + final String wireName = 'UserStatusCapabilities'; + + @override + Iterable serialize(Serializers serializers, UserStatusCapabilities object, + {FullType specifiedType = FullType.unspecified}) { + final result = [ + 'user_status', + serializers.serialize(object.userStatus, specifiedType: const FullType(UserStatusCapabilities_UserStatus)), + ]; + + return result; + } + + @override + UserStatusCapabilities deserialize(Serializers serializers, Iterable serialized, + {FullType specifiedType = FullType.unspecified}) { + final result = UserStatusCapabilitiesBuilder(); + + final iterator = serialized.iterator; + while (iterator.moveNext()) { + final key = iterator.current! as String; + iterator.moveNext(); + final Object? value = iterator.current; + switch (key) { + case 'user_status': + result.userStatus.replace(serializers.deserialize(value, + specifiedType: const FullType(UserStatusCapabilities_UserStatus))! as UserStatusCapabilities_UserStatus); + break; + } + } + + return result.build(); + } +} + +class _$UserStatusOCSMeta extends UserStatusOCSMeta { + @override + final String status; + @override + final int statuscode; + @override + final String? message; + @override + final String? totalitems; + @override + final String? itemsperpage; + + factory _$UserStatusOCSMeta([void Function(UserStatusOCSMetaBuilder)? updates]) => + (UserStatusOCSMetaBuilder()..update(updates))._build(); + + _$UserStatusOCSMeta._( + {required this.status, required this.statuscode, this.message, this.totalitems, this.itemsperpage}) + : super._() { + BuiltValueNullFieldError.checkNotNull(status, r'UserStatusOCSMeta', 'status'); + BuiltValueNullFieldError.checkNotNull(statuscode, r'UserStatusOCSMeta', 'statuscode'); + } + + @override + UserStatusOCSMeta rebuild(void Function(UserStatusOCSMetaBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + UserStatusOCSMetaBuilder toBuilder() => UserStatusOCSMetaBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is UserStatusOCSMeta && + status == other.status && + statuscode == other.statuscode && + message == other.message && + totalitems == other.totalitems && + itemsperpage == other.itemsperpage; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, statuscode.hashCode); + _$hash = $jc(_$hash, message.hashCode); + _$hash = $jc(_$hash, totalitems.hashCode); + _$hash = $jc(_$hash, itemsperpage.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'UserStatusOCSMeta') + ..add('status', status) + ..add('statuscode', statuscode) + ..add('message', message) + ..add('totalitems', totalitems) + ..add('itemsperpage', itemsperpage)) + .toString(); + } +} + +class UserStatusOCSMetaBuilder implements Builder { + _$UserStatusOCSMeta? _$v; + + String? _status; + String? get status => _$this._status; + set status(String? status) => _$this._status = status; + + int? _statuscode; + int? get statuscode => _$this._statuscode; + set statuscode(int? statuscode) => _$this._statuscode = statuscode; + + String? _message; + String? get message => _$this._message; + set message(String? message) => _$this._message = message; + + String? _totalitems; + String? get totalitems => _$this._totalitems; + set totalitems(String? totalitems) => _$this._totalitems = totalitems; + + String? _itemsperpage; + String? get itemsperpage => _$this._itemsperpage; + set itemsperpage(String? itemsperpage) => _$this._itemsperpage = itemsperpage; + + UserStatusOCSMetaBuilder(); + + UserStatusOCSMetaBuilder get _$this { + final $v = _$v; + if ($v != null) { + _status = $v.status; + _statuscode = $v.statuscode; + _message = $v.message; + _totalitems = $v.totalitems; + _itemsperpage = $v.itemsperpage; + _$v = null; + } + return this; + } + + @override + void replace(UserStatusOCSMeta other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$UserStatusOCSMeta; + } + + @override + void update(void Function(UserStatusOCSMetaBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + UserStatusOCSMeta build() => _build(); + + _$UserStatusOCSMeta _build() { + final _$result = _$v ?? + _$UserStatusOCSMeta._( + status: BuiltValueNullFieldError.checkNotNull(status, r'UserStatusOCSMeta', 'status'), + statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'UserStatusOCSMeta', 'statuscode'), + message: message, + totalitems: totalitems, + itemsperpage: itemsperpage); + replace(_$result); + return _$result; + } +} + +class _$UserStatusPublic extends UserStatusPublic { + @override + final String userId; + @override + final String? message; + @override + final String? icon; + @override + final int? clearAt; + @override + final String status; + + factory _$UserStatusPublic([void Function(UserStatusPublicBuilder)? updates]) => + (UserStatusPublicBuilder()..update(updates))._build(); + + _$UserStatusPublic._({required this.userId, this.message, this.icon, this.clearAt, required this.status}) + : super._() { + BuiltValueNullFieldError.checkNotNull(userId, r'UserStatusPublic', 'userId'); + BuiltValueNullFieldError.checkNotNull(status, r'UserStatusPublic', 'status'); + } + + @override + UserStatusPublic rebuild(void Function(UserStatusPublicBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + UserStatusPublicBuilder toBuilder() => UserStatusPublicBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is UserStatusPublic && + userId == other.userId && + message == other.message && + icon == other.icon && + clearAt == other.clearAt && + status == other.status; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, userId.hashCode); + _$hash = $jc(_$hash, message.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, clearAt.hashCode); + _$hash = $jc(_$hash, status.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'UserStatusPublic') + ..add('userId', userId) + ..add('message', message) + ..add('icon', icon) + ..add('clearAt', clearAt) + ..add('status', status)) + .toString(); + } +} + +class UserStatusPublicBuilder implements Builder { + _$UserStatusPublic? _$v; + + String? _userId; + String? get userId => _$this._userId; + set userId(String? userId) => _$this._userId = userId; + + String? _message; + String? get message => _$this._message; + set message(String? message) => _$this._message = message; + + String? _icon; + String? get icon => _$this._icon; + set icon(String? icon) => _$this._icon = icon; + + int? _clearAt; + int? get clearAt => _$this._clearAt; + set clearAt(int? clearAt) => _$this._clearAt = clearAt; + + String? _status; + String? get status => _$this._status; + set status(String? status) => _$this._status = status; + + UserStatusPublicBuilder(); + + UserStatusPublicBuilder get _$this { + final $v = _$v; + if ($v != null) { + _userId = $v.userId; + _message = $v.message; + _icon = $v.icon; + _clearAt = $v.clearAt; + _status = $v.status; + _$v = null; + } + return this; + } + + @override + void replace(UserStatusPublic other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$UserStatusPublic; + } + + @override + void update(void Function(UserStatusPublicBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + UserStatusPublic build() => _build(); + + _$UserStatusPublic _build() { + final _$result = _$v ?? + _$UserStatusPublic._( + userId: BuiltValueNullFieldError.checkNotNull(userId, r'UserStatusPublic', 'userId'), + message: message, + icon: icon, + clearAt: clearAt, + status: BuiltValueNullFieldError.checkNotNull(status, r'UserStatusPublic', 'status')); + replace(_$result); + return _$result; + } +} + +class _$UserStatusPrivate1 extends UserStatusPrivate1 { + @override + final String? messageId; + @override + final bool messageIsPredefined; + @override + final bool statusIsUserDefined; + + factory _$UserStatusPrivate1([void Function(UserStatusPrivate1Builder)? updates]) => + (UserStatusPrivate1Builder()..update(updates))._build(); + + _$UserStatusPrivate1._({this.messageId, required this.messageIsPredefined, required this.statusIsUserDefined}) + : super._() { + BuiltValueNullFieldError.checkNotNull(messageIsPredefined, r'UserStatusPrivate1', 'messageIsPredefined'); + BuiltValueNullFieldError.checkNotNull(statusIsUserDefined, r'UserStatusPrivate1', 'statusIsUserDefined'); + } + + @override + UserStatusPrivate1 rebuild(void Function(UserStatusPrivate1Builder) updates) => + (toBuilder()..update(updates)).build(); + + @override + UserStatusPrivate1Builder toBuilder() => UserStatusPrivate1Builder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is UserStatusPrivate1 && + messageId == other.messageId && + messageIsPredefined == other.messageIsPredefined && + statusIsUserDefined == other.statusIsUserDefined; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, messageId.hashCode); + _$hash = $jc(_$hash, messageIsPredefined.hashCode); + _$hash = $jc(_$hash, statusIsUserDefined.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'UserStatusPrivate1') + ..add('messageId', messageId) + ..add('messageIsPredefined', messageIsPredefined) + ..add('statusIsUserDefined', statusIsUserDefined)) + .toString(); + } +} + +class UserStatusPrivate1Builder implements Builder { + _$UserStatusPrivate1? _$v; + + String? _messageId; + String? get messageId => _$this._messageId; + set messageId(String? messageId) => _$this._messageId = messageId; + + bool? _messageIsPredefined; + bool? get messageIsPredefined => _$this._messageIsPredefined; + set messageIsPredefined(bool? messageIsPredefined) => _$this._messageIsPredefined = messageIsPredefined; + + bool? _statusIsUserDefined; + bool? get statusIsUserDefined => _$this._statusIsUserDefined; + set statusIsUserDefined(bool? statusIsUserDefined) => _$this._statusIsUserDefined = statusIsUserDefined; + + UserStatusPrivate1Builder(); + + UserStatusPrivate1Builder get _$this { + final $v = _$v; + if ($v != null) { + _messageId = $v.messageId; + _messageIsPredefined = $v.messageIsPredefined; + _statusIsUserDefined = $v.statusIsUserDefined; + _$v = null; + } + return this; + } + + @override + void replace(UserStatusPrivate1 other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$UserStatusPrivate1; + } + + @override + void update(void Function(UserStatusPrivate1Builder)? updates) { + if (updates != null) updates(this); + } + + @override + UserStatusPrivate1 build() => _build(); + + _$UserStatusPrivate1 _build() { + final _$result = _$v ?? + _$UserStatusPrivate1._( + messageId: messageId, + messageIsPredefined: BuiltValueNullFieldError.checkNotNull( + messageIsPredefined, r'UserStatusPrivate1', 'messageIsPredefined'), + statusIsUserDefined: BuiltValueNullFieldError.checkNotNull( + statusIsUserDefined, r'UserStatusPrivate1', 'statusIsUserDefined')); + replace(_$result); + return _$result; + } +} + +class _$UserStatusPrivate extends UserStatusPrivate { + @override + final JsonObject data; + @override + final UserStatusPublic public; + @override + final UserStatusPrivate1 private1; + + factory _$UserStatusPrivate([void Function(UserStatusPrivateBuilder)? updates]) => + (UserStatusPrivateBuilder()..update(updates))._build(); + + _$UserStatusPrivate._({required this.data, required this.public, required this.private1}) : super._() { + BuiltValueNullFieldError.checkNotNull(data, r'UserStatusPrivate', 'data'); + BuiltValueNullFieldError.checkNotNull(public, r'UserStatusPrivate', 'public'); + BuiltValueNullFieldError.checkNotNull(private1, r'UserStatusPrivate', 'private1'); + } + + @override + UserStatusPrivate rebuild(void Function(UserStatusPrivateBuilder) updates) => (toBuilder()..update(updates)).build(); + + @override + UserStatusPrivateBuilder toBuilder() => UserStatusPrivateBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is UserStatusPrivate && data == other.data && public == other.public && private1 == other.private1; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, public.hashCode); + _$hash = $jc(_$hash, private1.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'UserStatusPrivate') + ..add('data', data) + ..add('public', public) + ..add('private1', private1)) + .toString(); + } +} + +class UserStatusPrivateBuilder implements Builder { + _$UserStatusPrivate? _$v; + + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; + + UserStatusPublicBuilder? _public; + UserStatusPublicBuilder get public => _$this._public ??= UserStatusPublicBuilder(); + set public(UserStatusPublicBuilder? public) => _$this._public = public; + + UserStatusPrivate1Builder? _private1; + UserStatusPrivate1Builder get private1 => _$this._private1 ??= UserStatusPrivate1Builder(); + set private1(UserStatusPrivate1Builder? private1) => _$this._private1 = private1; + + UserStatusPrivateBuilder(); + + UserStatusPrivateBuilder get _$this { + final $v = _$v; + if ($v != null) { + _data = $v.data; + _public = $v.public.toBuilder(); + _private1 = $v.private1.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(UserStatusPrivate other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$UserStatusPrivate; + } + + @override + void update(void Function(UserStatusPrivateBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + UserStatusPrivate build() => _build(); + + _$UserStatusPrivate _build() { + _$UserStatusPrivate _$result; + try { + _$result = _$v ?? + _$UserStatusPrivate._( + data: BuiltValueNullFieldError.checkNotNull(data, r'UserStatusPrivate', 'data'), + public: public.build(), + private1: private1.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'public'; + public.build(); + _$failedField = 'private1'; + private1.build(); + } catch (e) { + throw BuiltValueNestedFieldError(r'UserStatusPrivate', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs + extends UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs { + @override + final UserStatusOCSMeta meta; + @override + final UserStatusPrivate data; + + factory _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs( + [void Function(UserStatusHeartbeatHeartbeatResponse200ApplicationJson_OcsBuilder)? updates]) => + (UserStatusHeartbeatHeartbeatResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); + + _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs', 'data'); + } + + @override + UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs rebuild( + void Function(UserStatusHeartbeatHeartbeatResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + UserStatusHeartbeatHeartbeatResponse200ApplicationJson_OcsBuilder toBuilder() => + UserStatusHeartbeatHeartbeatResponse200ApplicationJson_OcsBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); + } +} + +class UserStatusHeartbeatHeartbeatResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs? _$v; + + UserStatusOCSMetaBuilder? _meta; + UserStatusOCSMetaBuilder get meta => _$this._meta ??= UserStatusOCSMetaBuilder(); + set meta(UserStatusOCSMetaBuilder? meta) => _$this._meta = meta; + + UserStatusPrivateBuilder? _data; + UserStatusPrivateBuilder get data => _$this._data ??= UserStatusPrivateBuilder(); + set data(UserStatusPrivateBuilder? data) => _$this._data = data; + + UserStatusHeartbeatHeartbeatResponse200ApplicationJson_OcsBuilder(); + + UserStatusHeartbeatHeartbeatResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(UserStatusHeartbeatHeartbeatResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs build() => _build(); + + _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs _build() { + _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs _$result; + try { + _$result = + _$v ?? _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson + extends UserStatusHeartbeatHeartbeatResponse200ApplicationJson { + @override + final UserStatusHeartbeatHeartbeatResponse200ApplicationJson_Ocs ocs; + + factory _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson( + [void Function(UserStatusHeartbeatHeartbeatResponse200ApplicationJsonBuilder)? updates]) => + (UserStatusHeartbeatHeartbeatResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'UserStatusHeartbeatHeartbeatResponse200ApplicationJson', 'ocs'); + } + + @override + UserStatusHeartbeatHeartbeatResponse200ApplicationJson rebuild( + void Function(UserStatusHeartbeatHeartbeatResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + UserStatusHeartbeatHeartbeatResponse200ApplicationJsonBuilder toBuilder() => + UserStatusHeartbeatHeartbeatResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is UserStatusHeartbeatHeartbeatResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusOCSMeta') - ..add('status', status) - ..add('statuscode', statuscode) - ..add('message', message) - ..add('totalitems', totalitems) - ..add('itemsperpage', itemsperpage)) + return (newBuiltValueToStringHelper(r'UserStatusHeartbeatHeartbeatResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class UserStatusOCSMetaBuilder implements Builder { - _$UserStatusOCSMeta? _$v; - - String? _status; - String? get status => _$this._status; - set status(String? status) => _$this._status = status; - - int? _statuscode; - int? get statuscode => _$this._statuscode; - set statuscode(int? statuscode) => _$this._statuscode = statuscode; - - String? _message; - String? get message => _$this._message; - set message(String? message) => _$this._message = message; - - String? _totalitems; - String? get totalitems => _$this._totalitems; - set totalitems(String? totalitems) => _$this._totalitems = totalitems; +class UserStatusHeartbeatHeartbeatResponse200ApplicationJsonBuilder + implements + Builder { + _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson? _$v; - String? _itemsperpage; - String? get itemsperpage => _$this._itemsperpage; - set itemsperpage(String? itemsperpage) => _$this._itemsperpage = itemsperpage; + UserStatusHeartbeatHeartbeatResponse200ApplicationJson_OcsBuilder? _ocs; + UserStatusHeartbeatHeartbeatResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= UserStatusHeartbeatHeartbeatResponse200ApplicationJson_OcsBuilder(); + set ocs(UserStatusHeartbeatHeartbeatResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - UserStatusOCSMetaBuilder(); + UserStatusHeartbeatHeartbeatResponse200ApplicationJsonBuilder(); - UserStatusOCSMetaBuilder get _$this { + UserStatusHeartbeatHeartbeatResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _status = $v.status; - _statuscode = $v.statuscode; - _message = $v.message; - _totalitems = $v.totalitems; - _itemsperpage = $v.itemsperpage; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(UserStatusOCSMeta other) { + void replace(UserStatusHeartbeatHeartbeatResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusOCSMeta; + _$v = other as _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson; } @override - void update(void Function(UserStatusOCSMetaBuilder)? updates) { + void update(void Function(UserStatusHeartbeatHeartbeatResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusOCSMeta build() => _build(); + UserStatusHeartbeatHeartbeatResponse200ApplicationJson build() => _build(); - _$UserStatusOCSMeta _build() { - final _$result = _$v ?? - _$UserStatusOCSMeta._( - status: BuiltValueNullFieldError.checkNotNull(status, r'UserStatusOCSMeta', 'status'), - statuscode: BuiltValueNullFieldError.checkNotNull(statuscode, r'UserStatusOCSMeta', 'statuscode'), - message: message, - totalitems: totalitems, - itemsperpage: itemsperpage); + _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson _build() { + _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$UserStatusHeartbeatHeartbeatResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'UserStatusHeartbeatHeartbeatResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } @@ -1097,14 +2218,14 @@ class _$UserStatusClearAt_Time extends UserStatusClearAt_Time { @override final JsonObject data; @override - final UserStatusClearAt_Time0? clearAtTime0; - @override final int? $int; + @override + final UserStatusClearAtTimeType? clearAtTimeType; factory _$UserStatusClearAt_Time([void Function(UserStatusClearAt_TimeBuilder)? updates]) => (UserStatusClearAt_TimeBuilder()..update(updates))._build(); - _$UserStatusClearAt_Time._({required this.data, this.clearAtTime0, this.$int}) : super._() { + _$UserStatusClearAt_Time._({required this.data, this.$int, this.clearAtTimeType}) : super._() { BuiltValueNullFieldError.checkNotNull(data, r'UserStatusClearAt_Time', 'data'); } @@ -1120,16 +2241,16 @@ class _$UserStatusClearAt_Time extends UserStatusClearAt_Time { if (identical(other, this)) return true; return other is UserStatusClearAt_Time && data == other.data && - clearAtTime0 == other.clearAtTime0 && - $int == other.$int; + $int == other.$int && + clearAtTimeType == other.clearAtTimeType; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, data.hashCode); - _$hash = $jc(_$hash, clearAtTime0.hashCode); _$hash = $jc(_$hash, $int.hashCode); + _$hash = $jc(_$hash, clearAtTimeType.hashCode); _$hash = $jf(_$hash); return _$hash; } @@ -1138,8 +2259,8 @@ class _$UserStatusClearAt_Time extends UserStatusClearAt_Time { String toString() { return (newBuiltValueToStringHelper(r'UserStatusClearAt_Time') ..add('data', data) - ..add('clearAtTime0', clearAtTime0) - ..add('\$int', $int)) + ..add('\$int', $int) + ..add('clearAtTimeType', clearAtTimeType)) .toString(); } } @@ -1151,22 +2272,22 @@ class UserStatusClearAt_TimeBuilder implements Builder _$this._data; set data(JsonObject? data) => _$this._data = data; - UserStatusClearAt_Time0? _clearAtTime0; - UserStatusClearAt_Time0? get clearAtTime0 => _$this._clearAtTime0; - set clearAtTime0(UserStatusClearAt_Time0? clearAtTime0) => _$this._clearAtTime0 = clearAtTime0; - int? _$int; int? get $int => _$this._$int; set $int(int? $int) => _$this._$int = $int; + UserStatusClearAtTimeType? _clearAtTimeType; + UserStatusClearAtTimeType? get clearAtTimeType => _$this._clearAtTimeType; + set clearAtTimeType(UserStatusClearAtTimeType? clearAtTimeType) => _$this._clearAtTimeType = clearAtTimeType; + UserStatusClearAt_TimeBuilder(); UserStatusClearAt_TimeBuilder get _$this { final $v = _$v; if ($v != null) { _data = $v.data; - _clearAtTime0 = $v.clearAtTime0; _$int = $v.$int; + _clearAtTimeType = $v.clearAtTimeType; _$v = null; } return this; @@ -1190,8 +2311,8 @@ class UserStatusClearAt_TimeBuilder implements Builder - (UserStatusPublicStatus_ClearAtBuilder()..update(updates))._build(); + factory _$UserStatusPredefined([void Function(UserStatusPredefinedBuilder)? updates]) => + (UserStatusPredefinedBuilder()..update(updates))._build(); - _$UserStatusPublicStatus_ClearAt._({required this.data, this.clearAt, this.$int}) : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'UserStatusPublicStatus_ClearAt', 'data'); + _$UserStatusPredefined._({required this.id, required this.icon, required this.message, this.clearAt, this.visible}) + : super._() { + BuiltValueNullFieldError.checkNotNull(id, r'UserStatusPredefined', 'id'); + BuiltValueNullFieldError.checkNotNull(icon, r'UserStatusPredefined', 'icon'); + BuiltValueNullFieldError.checkNotNull(message, r'UserStatusPredefined', 'message'); } @override - UserStatusPublicStatus_ClearAt rebuild(void Function(UserStatusPublicStatus_ClearAtBuilder) updates) => + UserStatusPredefined rebuild(void Function(UserStatusPredefinedBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusPublicStatus_ClearAtBuilder toBuilder() => UserStatusPublicStatus_ClearAtBuilder()..replace(this); + UserStatusPredefinedBuilder toBuilder() => UserStatusPredefinedBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusPublicStatus_ClearAt && - data == other.data && + return other is UserStatusPredefined && + id == other.id && + icon == other.icon && + message == other.message && clearAt == other.clearAt && - $int == other.$int; + visible == other.visible; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, id.hashCode); + _$hash = $jc(_$hash, icon.hashCode); + _$hash = $jc(_$hash, message.hashCode); _$hash = $jc(_$hash, clearAt.hashCode); - _$hash = $jc(_$hash, $int.hashCode); + _$hash = $jc(_$hash, visible.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusPublicStatus_ClearAt') - ..add('data', data) + return (newBuiltValueToStringHelper(r'UserStatusPredefined') + ..add('id', id) + ..add('icon', icon) + ..add('message', message) ..add('clearAt', clearAt) - ..add('\$int', $int)) + ..add('visible', visible)) .toString(); } } -class UserStatusPublicStatus_ClearAtBuilder - implements Builder { - _$UserStatusPublicStatus_ClearAt? _$v; +class UserStatusPredefinedBuilder implements Builder { + _$UserStatusPredefined? _$v; - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(JsonObject? data) => _$this._data = data; + String? _id; + String? get id => _$this._id; + set id(String? id) => _$this._id = id; + + String? _icon; + String? get icon => _$this._icon; + set icon(String? icon) => _$this._icon = icon; + + String? _message; + String? get message => _$this._message; + set message(String? message) => _$this._message = message; UserStatusClearAtBuilder? _clearAt; UserStatusClearAtBuilder get clearAt => _$this._clearAt ??= UserStatusClearAtBuilder(); set clearAt(UserStatusClearAtBuilder? clearAt) => _$this._clearAt = clearAt; - int? _$int; - int? get $int => _$this._$int; - set $int(int? $int) => _$this._$int = $int; + bool? _visible; + bool? get visible => _$this._visible; + set visible(bool? visible) => _$this._visible = visible; - UserStatusPublicStatus_ClearAtBuilder(); + UserStatusPredefinedBuilder(); - UserStatusPublicStatus_ClearAtBuilder get _$this { + UserStatusPredefinedBuilder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; + _id = $v.id; + _icon = $v.icon; + _message = $v.message; _clearAt = $v.clearAt?.toBuilder(); - _$int = $v.$int; + _visible = $v.visible; _$v = null; } return this; } @override - void replace(UserStatusPublicStatus_ClearAt other) { + void replace(UserStatusPredefined other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusPublicStatus_ClearAt; + _$v = other as _$UserStatusPredefined; } @override - void update(void Function(UserStatusPublicStatus_ClearAtBuilder)? updates) { + void update(void Function(UserStatusPredefinedBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusPublicStatus_ClearAt build() => _build(); + UserStatusPredefined build() => _build(); - _$UserStatusPublicStatus_ClearAt _build() { - _$UserStatusPublicStatus_ClearAt _$result; + _$UserStatusPredefined _build() { + _$UserStatusPredefined _$result; try { _$result = _$v ?? - _$UserStatusPublicStatus_ClearAt._( - data: BuiltValueNullFieldError.checkNotNull(data, r'UserStatusPublicStatus_ClearAt', 'data'), + _$UserStatusPredefined._( + id: BuiltValueNullFieldError.checkNotNull(id, r'UserStatusPredefined', 'id'), + icon: BuiltValueNullFieldError.checkNotNull(icon, r'UserStatusPredefined', 'icon'), + message: BuiltValueNullFieldError.checkNotNull(message, r'UserStatusPredefined', 'message'), clearAt: _clearAt?.build(), - $int: $int); + visible: visible); } catch (_) { late String _$failedField; try { _$failedField = 'clearAt'; _clearAt?.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UserStatusPublicStatus_ClearAt', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'UserStatusPredefined', _$failedField, e.toString()); } rethrow; } @@ -1416,138 +2561,215 @@ class UserStatusPublicStatus_ClearAtBuilder } } -class _$UserStatusPublicStatus extends UserStatusPublicStatus { - @override - final String userId; - @override - final String? message; +class _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs + extends UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs { @override - final String? icon; - @override - final UserStatusPublicStatus_ClearAt? clearAt; + final UserStatusOCSMeta meta; @override - final UserStatusType status; + final BuiltList data; - factory _$UserStatusPublicStatus([void Function(UserStatusPublicStatusBuilder)? updates]) => - (UserStatusPublicStatusBuilder()..update(updates))._build(); + factory _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs( + [void Function(UserStatusPredefinedStatusFindAllResponse200ApplicationJson_OcsBuilder)? updates]) => + (UserStatusPredefinedStatusFindAllResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$UserStatusPublicStatus._({required this.userId, this.message, this.icon, this.clearAt, required this.status}) + _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(userId, r'UserStatusPublicStatus', 'userId'); - BuiltValueNullFieldError.checkNotNull(status, r'UserStatusPublicStatus', 'status'); + BuiltValueNullFieldError.checkNotNull( + meta, r'UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs', 'data'); } @override - UserStatusPublicStatus rebuild(void Function(UserStatusPublicStatusBuilder) updates) => + UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs rebuild( + void Function(UserStatusPredefinedStatusFindAllResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusPublicStatusBuilder toBuilder() => UserStatusPublicStatusBuilder()..replace(this); + UserStatusPredefinedStatusFindAllResponse200ApplicationJson_OcsBuilder toBuilder() => + UserStatusPredefinedStatusFindAllResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusPublicStatus && - userId == other.userId && - message == other.message && - icon == other.icon && - clearAt == other.clearAt && - status == other.status; + return other is UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, userId.hashCode); - _$hash = $jc(_$hash, message.hashCode); - _$hash = $jc(_$hash, icon.hashCode); - _$hash = $jc(_$hash, clearAt.hashCode); - _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusPublicStatus') - ..add('userId', userId) - ..add('message', message) - ..add('icon', icon) - ..add('clearAt', clearAt) - ..add('status', status)) + return (newBuiltValueToStringHelper(r'UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class UserStatusPublicStatusBuilder implements Builder { - _$UserStatusPublicStatus? _$v; +class UserStatusPredefinedStatusFindAllResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs? _$v; - String? _userId; - String? get userId => _$this._userId; - set userId(String? userId) => _$this._userId = userId; + UserStatusOCSMetaBuilder? _meta; + UserStatusOCSMetaBuilder get meta => _$this._meta ??= UserStatusOCSMetaBuilder(); + set meta(UserStatusOCSMetaBuilder? meta) => _$this._meta = meta; - String? _message; - String? get message => _$this._message; - set message(String? message) => _$this._message = message; + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; - String? _icon; - String? get icon => _$this._icon; - set icon(String? icon) => _$this._icon = icon; + UserStatusPredefinedStatusFindAllResponse200ApplicationJson_OcsBuilder(); + + UserStatusPredefinedStatusFindAllResponse200ApplicationJson_OcsBuilder get _$this { + final $v = _$v; + if ($v != null) { + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); + _$v = null; + } + return this; + } + + @override + void replace(UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs other) { + ArgumentError.checkNotNull(other, 'other'); + _$v = other as _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs; + } + + @override + void update(void Function(UserStatusPredefinedStatusFindAllResponse200ApplicationJson_OcsBuilder)? updates) { + if (updates != null) updates(this); + } + + @override + UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs build() => _build(); + + _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs _build() { + _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs _$result; + try { + _$result = _$v ?? + _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs', _$failedField, e.toString()); + } + rethrow; + } + replace(_$result); + return _$result; + } +} + +class _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson + extends UserStatusPredefinedStatusFindAllResponse200ApplicationJson { + @override + final UserStatusPredefinedStatusFindAllResponse200ApplicationJson_Ocs ocs; + + factory _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson( + [void Function(UserStatusPredefinedStatusFindAllResponse200ApplicationJsonBuilder)? updates]) => + (UserStatusPredefinedStatusFindAllResponse200ApplicationJsonBuilder()..update(updates))._build(); + + _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'UserStatusPredefinedStatusFindAllResponse200ApplicationJson', 'ocs'); + } + + @override + UserStatusPredefinedStatusFindAllResponse200ApplicationJson rebuild( + void Function(UserStatusPredefinedStatusFindAllResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); + + @override + UserStatusPredefinedStatusFindAllResponse200ApplicationJsonBuilder toBuilder() => + UserStatusPredefinedStatusFindAllResponse200ApplicationJsonBuilder()..replace(this); + + @override + bool operator ==(Object other) { + if (identical(other, this)) return true; + return other is UserStatusPredefinedStatusFindAllResponse200ApplicationJson && ocs == other.ocs; + } + + @override + int get hashCode { + var _$hash = 0; + _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jf(_$hash); + return _$hash; + } + + @override + String toString() { + return (newBuiltValueToStringHelper(r'UserStatusPredefinedStatusFindAllResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); + } +} - UserStatusPublicStatus_ClearAtBuilder? _clearAt; - UserStatusPublicStatus_ClearAtBuilder get clearAt => _$this._clearAt ??= UserStatusPublicStatus_ClearAtBuilder(); - set clearAt(UserStatusPublicStatus_ClearAtBuilder? clearAt) => _$this._clearAt = clearAt; +class UserStatusPredefinedStatusFindAllResponse200ApplicationJsonBuilder + implements + Builder { + _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson? _$v; - UserStatusType? _status; - UserStatusType? get status => _$this._status; - set status(UserStatusType? status) => _$this._status = status; + UserStatusPredefinedStatusFindAllResponse200ApplicationJson_OcsBuilder? _ocs; + UserStatusPredefinedStatusFindAllResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= UserStatusPredefinedStatusFindAllResponse200ApplicationJson_OcsBuilder(); + set ocs(UserStatusPredefinedStatusFindAllResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - UserStatusPublicStatusBuilder(); + UserStatusPredefinedStatusFindAllResponse200ApplicationJsonBuilder(); - UserStatusPublicStatusBuilder get _$this { + UserStatusPredefinedStatusFindAllResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _userId = $v.userId; - _message = $v.message; - _icon = $v.icon; - _clearAt = $v.clearAt?.toBuilder(); - _status = $v.status; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(UserStatusPublicStatus other) { + void replace(UserStatusPredefinedStatusFindAllResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusPublicStatus; + _$v = other as _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson; } @override - void update(void Function(UserStatusPublicStatusBuilder)? updates) { + void update(void Function(UserStatusPredefinedStatusFindAllResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusPublicStatus build() => _build(); + UserStatusPredefinedStatusFindAllResponse200ApplicationJson build() => _build(); - _$UserStatusPublicStatus _build() { - _$UserStatusPublicStatus _$result; + _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson _build() { + _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson _$result; try { - _$result = _$v ?? - _$UserStatusPublicStatus._( - userId: BuiltValueNullFieldError.checkNotNull(userId, r'UserStatusPublicStatus', 'userId'), - message: message, - icon: icon, - clearAt: _clearAt?.build(), - status: BuiltValueNullFieldError.checkNotNull(status, r'UserStatusPublicStatus', 'status')); + _$result = _$v ?? _$UserStatusPredefinedStatusFindAllResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'clearAt'; - _clearAt?.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UserStatusPublicStatus', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'UserStatusPredefinedStatusFindAllResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -1556,31 +2778,35 @@ class UserStatusPublicStatusBuilder implements Builder data; + final BuiltList data; - factory _$UserStatusGetPublicStatuses_Ocs([void Function(UserStatusGetPublicStatuses_OcsBuilder)? updates]) => - (UserStatusGetPublicStatuses_OcsBuilder()..update(updates))._build(); + factory _$UserStatusStatusesFindAllResponse200ApplicationJson_Ocs( + [void Function(UserStatusStatusesFindAllResponse200ApplicationJson_OcsBuilder)? updates]) => + (UserStatusStatusesFindAllResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$UserStatusGetPublicStatuses_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'UserStatusGetPublicStatuses_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'UserStatusGetPublicStatuses_Ocs', 'data'); + _$UserStatusStatusesFindAllResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'UserStatusStatusesFindAllResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'UserStatusStatusesFindAllResponse200ApplicationJson_Ocs', 'data'); } @override - UserStatusGetPublicStatuses_Ocs rebuild(void Function(UserStatusGetPublicStatuses_OcsBuilder) updates) => + UserStatusStatusesFindAllResponse200ApplicationJson_Ocs rebuild( + void Function(UserStatusStatusesFindAllResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusGetPublicStatuses_OcsBuilder toBuilder() => UserStatusGetPublicStatuses_OcsBuilder()..replace(this); + UserStatusStatusesFindAllResponse200ApplicationJson_OcsBuilder toBuilder() => + UserStatusStatusesFindAllResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusGetPublicStatuses_Ocs && meta == other.meta && data == other.data; + return other is UserStatusStatusesFindAllResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; } @override @@ -1594,28 +2820,30 @@ class _$UserStatusGetPublicStatuses_Ocs extends UserStatusGetPublicStatuses_Ocs @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusGetPublicStatuses_Ocs') + return (newBuiltValueToStringHelper(r'UserStatusStatusesFindAllResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class UserStatusGetPublicStatuses_OcsBuilder - implements Builder { - _$UserStatusGetPublicStatuses_Ocs? _$v; +class UserStatusStatusesFindAllResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$UserStatusStatusesFindAllResponse200ApplicationJson_Ocs? _$v; UserStatusOCSMetaBuilder? _meta; UserStatusOCSMetaBuilder get meta => _$this._meta ??= UserStatusOCSMetaBuilder(); set meta(UserStatusOCSMetaBuilder? meta) => _$this._meta = meta; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(ListBuilder? data) => _$this._data = data; + ListBuilder? _data; + ListBuilder get data => _$this._data ??= ListBuilder(); + set data(ListBuilder? data) => _$this._data = data; - UserStatusGetPublicStatuses_OcsBuilder(); + UserStatusStatusesFindAllResponse200ApplicationJson_OcsBuilder(); - UserStatusGetPublicStatuses_OcsBuilder get _$this { + UserStatusStatusesFindAllResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -1626,23 +2854,24 @@ class UserStatusGetPublicStatuses_OcsBuilder } @override - void replace(UserStatusGetPublicStatuses_Ocs other) { + void replace(UserStatusStatusesFindAllResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusGetPublicStatuses_Ocs; + _$v = other as _$UserStatusStatusesFindAllResponse200ApplicationJson_Ocs; } @override - void update(void Function(UserStatusGetPublicStatuses_OcsBuilder)? updates) { + void update(void Function(UserStatusStatusesFindAllResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusGetPublicStatuses_Ocs build() => _build(); + UserStatusStatusesFindAllResponse200ApplicationJson_Ocs build() => _build(); - _$UserStatusGetPublicStatuses_Ocs _build() { - _$UserStatusGetPublicStatuses_Ocs _$result; + _$UserStatusStatusesFindAllResponse200ApplicationJson_Ocs _build() { + _$UserStatusStatusesFindAllResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$UserStatusGetPublicStatuses_Ocs._(meta: meta.build(), data: data.build()); + _$result = + _$v ?? _$UserStatusStatusesFindAllResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -1651,7 +2880,8 @@ class UserStatusGetPublicStatuses_OcsBuilder _$failedField = 'data'; data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UserStatusGetPublicStatuses_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'UserStatusStatusesFindAllResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -1660,28 +2890,32 @@ class UserStatusGetPublicStatuses_OcsBuilder } } -class _$UserStatusGetPublicStatuses extends UserStatusGetPublicStatuses { +class _$UserStatusStatusesFindAllResponse200ApplicationJson + extends UserStatusStatusesFindAllResponse200ApplicationJson { @override - final UserStatusGetPublicStatuses_Ocs ocs; + final UserStatusStatusesFindAllResponse200ApplicationJson_Ocs ocs; - factory _$UserStatusGetPublicStatuses([void Function(UserStatusGetPublicStatusesBuilder)? updates]) => - (UserStatusGetPublicStatusesBuilder()..update(updates))._build(); + factory _$UserStatusStatusesFindAllResponse200ApplicationJson( + [void Function(UserStatusStatusesFindAllResponse200ApplicationJsonBuilder)? updates]) => + (UserStatusStatusesFindAllResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$UserStatusGetPublicStatuses._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'UserStatusGetPublicStatuses', 'ocs'); + _$UserStatusStatusesFindAllResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'UserStatusStatusesFindAllResponse200ApplicationJson', 'ocs'); } @override - UserStatusGetPublicStatuses rebuild(void Function(UserStatusGetPublicStatusesBuilder) updates) => + UserStatusStatusesFindAllResponse200ApplicationJson rebuild( + void Function(UserStatusStatusesFindAllResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusGetPublicStatusesBuilder toBuilder() => UserStatusGetPublicStatusesBuilder()..replace(this); + UserStatusStatusesFindAllResponse200ApplicationJsonBuilder toBuilder() => + UserStatusStatusesFindAllResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusGetPublicStatuses && ocs == other.ocs; + return other is UserStatusStatusesFindAllResponse200ApplicationJson && ocs == other.ocs; } @override @@ -1694,21 +2928,25 @@ class _$UserStatusGetPublicStatuses extends UserStatusGetPublicStatuses { @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusGetPublicStatuses')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'UserStatusStatusesFindAllResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); } } -class UserStatusGetPublicStatusesBuilder - implements Builder { - _$UserStatusGetPublicStatuses? _$v; +class UserStatusStatusesFindAllResponse200ApplicationJsonBuilder + implements + Builder { + _$UserStatusStatusesFindAllResponse200ApplicationJson? _$v; - UserStatusGetPublicStatuses_OcsBuilder? _ocs; - UserStatusGetPublicStatuses_OcsBuilder get ocs => _$this._ocs ??= UserStatusGetPublicStatuses_OcsBuilder(); - set ocs(UserStatusGetPublicStatuses_OcsBuilder? ocs) => _$this._ocs = ocs; + UserStatusStatusesFindAllResponse200ApplicationJson_OcsBuilder? _ocs; + UserStatusStatusesFindAllResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= UserStatusStatusesFindAllResponse200ApplicationJson_OcsBuilder(); + set ocs(UserStatusStatusesFindAllResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - UserStatusGetPublicStatusesBuilder(); + UserStatusStatusesFindAllResponse200ApplicationJsonBuilder(); - UserStatusGetPublicStatusesBuilder get _$this { + UserStatusStatusesFindAllResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -1718,30 +2956,31 @@ class UserStatusGetPublicStatusesBuilder } @override - void replace(UserStatusGetPublicStatuses other) { + void replace(UserStatusStatusesFindAllResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusGetPublicStatuses; + _$v = other as _$UserStatusStatusesFindAllResponse200ApplicationJson; } @override - void update(void Function(UserStatusGetPublicStatusesBuilder)? updates) { + void update(void Function(UserStatusStatusesFindAllResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusGetPublicStatuses build() => _build(); + UserStatusStatusesFindAllResponse200ApplicationJson build() => _build(); - _$UserStatusGetPublicStatuses _build() { - _$UserStatusGetPublicStatuses _$result; + _$UserStatusStatusesFindAllResponse200ApplicationJson _build() { + _$UserStatusStatusesFindAllResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$UserStatusGetPublicStatuses._(ocs: ocs.build()); + _$result = _$v ?? _$UserStatusStatusesFindAllResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UserStatusGetPublicStatuses', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'UserStatusStatusesFindAllResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -1750,119 +2989,110 @@ class UserStatusGetPublicStatusesBuilder } } -class _$UserStatusGetPublicStatus_Ocs_Data extends UserStatusGetPublicStatus_Ocs_Data { - @override - final JsonObject data; +class _$UserStatusStatusesFindResponse200ApplicationJson_Ocs + extends UserStatusStatusesFindResponse200ApplicationJson_Ocs { @override - final BuiltList? builtListJsonObject; + final UserStatusOCSMeta meta; @override - final UserStatusPublicStatus? publicStatus; + final UserStatusPublic data; - factory _$UserStatusGetPublicStatus_Ocs_Data([void Function(UserStatusGetPublicStatus_Ocs_DataBuilder)? updates]) => - (UserStatusGetPublicStatus_Ocs_DataBuilder()..update(updates))._build(); + factory _$UserStatusStatusesFindResponse200ApplicationJson_Ocs( + [void Function(UserStatusStatusesFindResponse200ApplicationJson_OcsBuilder)? updates]) => + (UserStatusStatusesFindResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$UserStatusGetPublicStatus_Ocs_Data._({required this.data, this.builtListJsonObject, this.publicStatus}) - : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'UserStatusGetPublicStatus_Ocs_Data', 'data'); + _$UserStatusStatusesFindResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'UserStatusStatusesFindResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'UserStatusStatusesFindResponse200ApplicationJson_Ocs', 'data'); } @override - UserStatusGetPublicStatus_Ocs_Data rebuild(void Function(UserStatusGetPublicStatus_Ocs_DataBuilder) updates) => + UserStatusStatusesFindResponse200ApplicationJson_Ocs rebuild( + void Function(UserStatusStatusesFindResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusGetPublicStatus_Ocs_DataBuilder toBuilder() => UserStatusGetPublicStatus_Ocs_DataBuilder()..replace(this); + UserStatusStatusesFindResponse200ApplicationJson_OcsBuilder toBuilder() => + UserStatusStatusesFindResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusGetPublicStatus_Ocs_Data && - data == other.data && - builtListJsonObject == other.builtListJsonObject && - publicStatus == other.publicStatus; + return other is UserStatusStatusesFindResponse200ApplicationJson_Ocs && meta == other.meta && data == other.data; } @override int get hashCode { var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); _$hash = $jc(_$hash, data.hashCode); - _$hash = $jc(_$hash, builtListJsonObject.hashCode); - _$hash = $jc(_$hash, publicStatus.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusGetPublicStatus_Ocs_Data') - ..add('data', data) - ..add('builtListJsonObject', builtListJsonObject) - ..add('publicStatus', publicStatus)) + return (newBuiltValueToStringHelper(r'UserStatusStatusesFindResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class UserStatusGetPublicStatus_Ocs_DataBuilder - implements Builder { - _$UserStatusGetPublicStatus_Ocs_Data? _$v; - - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(JsonObject? data) => _$this._data = data; +class UserStatusStatusesFindResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$UserStatusStatusesFindResponse200ApplicationJson_Ocs? _$v; - ListBuilder? _builtListJsonObject; - ListBuilder get builtListJsonObject => _$this._builtListJsonObject ??= ListBuilder(); - set builtListJsonObject(ListBuilder? builtListJsonObject) => - _$this._builtListJsonObject = builtListJsonObject; + UserStatusOCSMetaBuilder? _meta; + UserStatusOCSMetaBuilder get meta => _$this._meta ??= UserStatusOCSMetaBuilder(); + set meta(UserStatusOCSMetaBuilder? meta) => _$this._meta = meta; - UserStatusPublicStatusBuilder? _publicStatus; - UserStatusPublicStatusBuilder get publicStatus => _$this._publicStatus ??= UserStatusPublicStatusBuilder(); - set publicStatus(UserStatusPublicStatusBuilder? publicStatus) => _$this._publicStatus = publicStatus; + UserStatusPublicBuilder? _data; + UserStatusPublicBuilder get data => _$this._data ??= UserStatusPublicBuilder(); + set data(UserStatusPublicBuilder? data) => _$this._data = data; - UserStatusGetPublicStatus_Ocs_DataBuilder(); + UserStatusStatusesFindResponse200ApplicationJson_OcsBuilder(); - UserStatusGetPublicStatus_Ocs_DataBuilder get _$this { + UserStatusStatusesFindResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _builtListJsonObject = $v.builtListJsonObject?.toBuilder(); - _publicStatus = $v.publicStatus?.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(UserStatusGetPublicStatus_Ocs_Data other) { + void replace(UserStatusStatusesFindResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusGetPublicStatus_Ocs_Data; + _$v = other as _$UserStatusStatusesFindResponse200ApplicationJson_Ocs; } @override - void update(void Function(UserStatusGetPublicStatus_Ocs_DataBuilder)? updates) { + void update(void Function(UserStatusStatusesFindResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusGetPublicStatus_Ocs_Data build() => _build(); + UserStatusStatusesFindResponse200ApplicationJson_Ocs build() => _build(); - _$UserStatusGetPublicStatus_Ocs_Data _build() { - _$UserStatusGetPublicStatus_Ocs_Data _$result; + _$UserStatusStatusesFindResponse200ApplicationJson_Ocs _build() { + _$UserStatusStatusesFindResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? - _$UserStatusGetPublicStatus_Ocs_Data._( - data: BuiltValueNullFieldError.checkNotNull(data, r'UserStatusGetPublicStatus_Ocs_Data', 'data'), - builtListJsonObject: _builtListJsonObject?.build(), - publicStatus: _publicStatus?.build()); + _$result = + _$v ?? _$UserStatusStatusesFindResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'builtListJsonObject'; - _builtListJsonObject?.build(); - _$failedField = 'publicStatus'; - _publicStatus?.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UserStatusGetPublicStatus_Ocs_Data', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'UserStatusStatusesFindResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -1871,102 +3101,96 @@ class UserStatusGetPublicStatus_Ocs_DataBuilder } } -class _$UserStatusGetPublicStatus_Ocs extends UserStatusGetPublicStatus_Ocs { - @override - final UserStatusOCSMeta meta; +class _$UserStatusStatusesFindResponse200ApplicationJson extends UserStatusStatusesFindResponse200ApplicationJson { @override - final UserStatusGetPublicStatus_Ocs_Data data; + final UserStatusStatusesFindResponse200ApplicationJson_Ocs ocs; - factory _$UserStatusGetPublicStatus_Ocs([void Function(UserStatusGetPublicStatus_OcsBuilder)? updates]) => - (UserStatusGetPublicStatus_OcsBuilder()..update(updates))._build(); + factory _$UserStatusStatusesFindResponse200ApplicationJson( + [void Function(UserStatusStatusesFindResponse200ApplicationJsonBuilder)? updates]) => + (UserStatusStatusesFindResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$UserStatusGetPublicStatus_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'UserStatusGetPublicStatus_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'UserStatusGetPublicStatus_Ocs', 'data'); + _$UserStatusStatusesFindResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'UserStatusStatusesFindResponse200ApplicationJson', 'ocs'); } @override - UserStatusGetPublicStatus_Ocs rebuild(void Function(UserStatusGetPublicStatus_OcsBuilder) updates) => + UserStatusStatusesFindResponse200ApplicationJson rebuild( + void Function(UserStatusStatusesFindResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusGetPublicStatus_OcsBuilder toBuilder() => UserStatusGetPublicStatus_OcsBuilder()..replace(this); + UserStatusStatusesFindResponse200ApplicationJsonBuilder toBuilder() => + UserStatusStatusesFindResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusGetPublicStatus_Ocs && meta == other.meta && data == other.data; + return other is UserStatusStatusesFindResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusGetPublicStatus_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'UserStatusStatusesFindResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class UserStatusGetPublicStatus_OcsBuilder - implements Builder { - _$UserStatusGetPublicStatus_Ocs? _$v; +class UserStatusStatusesFindResponse200ApplicationJsonBuilder + implements + Builder { + _$UserStatusStatusesFindResponse200ApplicationJson? _$v; - UserStatusOCSMetaBuilder? _meta; - UserStatusOCSMetaBuilder get meta => _$this._meta ??= UserStatusOCSMetaBuilder(); - set meta(UserStatusOCSMetaBuilder? meta) => _$this._meta = meta; - - UserStatusGetPublicStatus_Ocs_DataBuilder? _data; - UserStatusGetPublicStatus_Ocs_DataBuilder get data => _$this._data ??= UserStatusGetPublicStatus_Ocs_DataBuilder(); - set data(UserStatusGetPublicStatus_Ocs_DataBuilder? data) => _$this._data = data; + UserStatusStatusesFindResponse200ApplicationJson_OcsBuilder? _ocs; + UserStatusStatusesFindResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= UserStatusStatusesFindResponse200ApplicationJson_OcsBuilder(); + set ocs(UserStatusStatusesFindResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - UserStatusGetPublicStatus_OcsBuilder(); + UserStatusStatusesFindResponse200ApplicationJsonBuilder(); - UserStatusGetPublicStatus_OcsBuilder get _$this { + UserStatusStatusesFindResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(UserStatusGetPublicStatus_Ocs other) { + void replace(UserStatusStatusesFindResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusGetPublicStatus_Ocs; + _$v = other as _$UserStatusStatusesFindResponse200ApplicationJson; } @override - void update(void Function(UserStatusGetPublicStatus_OcsBuilder)? updates) { + void update(void Function(UserStatusStatusesFindResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusGetPublicStatus_Ocs build() => _build(); + UserStatusStatusesFindResponse200ApplicationJson build() => _build(); - _$UserStatusGetPublicStatus_Ocs _build() { - _$UserStatusGetPublicStatus_Ocs _$result; + _$UserStatusStatusesFindResponse200ApplicationJson _build() { + _$UserStatusStatusesFindResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$UserStatusGetPublicStatus_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? _$UserStatusStatusesFindResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UserStatusGetPublicStatus_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'UserStatusStatusesFindResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -1975,87 +3199,113 @@ class UserStatusGetPublicStatus_OcsBuilder } } -class _$UserStatusGetPublicStatus extends UserStatusGetPublicStatus { +class _$UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs + extends UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs { + @override + final UserStatusOCSMeta meta; @override - final UserStatusGetPublicStatus_Ocs ocs; + final UserStatusPrivate data; - factory _$UserStatusGetPublicStatus([void Function(UserStatusGetPublicStatusBuilder)? updates]) => - (UserStatusGetPublicStatusBuilder()..update(updates))._build(); + factory _$UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs( + [void Function(UserStatusUserStatusGetStatusResponse200ApplicationJson_OcsBuilder)? updates]) => + (UserStatusUserStatusGetStatusResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$UserStatusGetPublicStatus._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'UserStatusGetPublicStatus', 'ocs'); + _$UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs', 'data'); } @override - UserStatusGetPublicStatus rebuild(void Function(UserStatusGetPublicStatusBuilder) updates) => + UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs rebuild( + void Function(UserStatusUserStatusGetStatusResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusGetPublicStatusBuilder toBuilder() => UserStatusGetPublicStatusBuilder()..replace(this); + UserStatusUserStatusGetStatusResponse200ApplicationJson_OcsBuilder toBuilder() => + UserStatusUserStatusGetStatusResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusGetPublicStatus && ocs == other.ocs; + return other is UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, meta.hashCode); + _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusGetPublicStatus')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) + .toString(); } } -class UserStatusGetPublicStatusBuilder implements Builder { - _$UserStatusGetPublicStatus? _$v; +class UserStatusUserStatusGetStatusResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs? _$v; + + UserStatusOCSMetaBuilder? _meta; + UserStatusOCSMetaBuilder get meta => _$this._meta ??= UserStatusOCSMetaBuilder(); + set meta(UserStatusOCSMetaBuilder? meta) => _$this._meta = meta; - UserStatusGetPublicStatus_OcsBuilder? _ocs; - UserStatusGetPublicStatus_OcsBuilder get ocs => _$this._ocs ??= UserStatusGetPublicStatus_OcsBuilder(); - set ocs(UserStatusGetPublicStatus_OcsBuilder? ocs) => _$this._ocs = ocs; + UserStatusPrivateBuilder? _data; + UserStatusPrivateBuilder get data => _$this._data ??= UserStatusPrivateBuilder(); + set data(UserStatusPrivateBuilder? data) => _$this._data = data; - UserStatusGetPublicStatusBuilder(); + UserStatusUserStatusGetStatusResponse200ApplicationJson_OcsBuilder(); - UserStatusGetPublicStatusBuilder get _$this { + UserStatusUserStatusGetStatusResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(UserStatusGetPublicStatus other) { + void replace(UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusGetPublicStatus; + _$v = other as _$UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs; } @override - void update(void Function(UserStatusGetPublicStatusBuilder)? updates) { + void update(void Function(UserStatusUserStatusGetStatusResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusGetPublicStatus build() => _build(); + UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs build() => _build(); - _$UserStatusGetPublicStatus _build() { - _$UserStatusGetPublicStatus _$result; + _$UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs _build() { + _$UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$UserStatusGetPublicStatus._(ocs: ocs.build()); + _$result = _$v ?? + _$UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UserStatusGetPublicStatus', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'UserStatusUserStatusGetStatusResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -2064,224 +3314,212 @@ class UserStatusGetPublicStatusBuilder implements Builder - (UserStatusStatus1Builder()..update(updates))._build(); + factory _$UserStatusUserStatusGetStatusResponse200ApplicationJson( + [void Function(UserStatusUserStatusGetStatusResponse200ApplicationJsonBuilder)? updates]) => + (UserStatusUserStatusGetStatusResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$UserStatusStatus1._({this.messageId, required this.messageIsPredefined, required this.statusIsUserDefined}) - : super._() { - BuiltValueNullFieldError.checkNotNull(messageIsPredefined, r'UserStatusStatus1', 'messageIsPredefined'); - BuiltValueNullFieldError.checkNotNull(statusIsUserDefined, r'UserStatusStatus1', 'statusIsUserDefined'); + _$UserStatusUserStatusGetStatusResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'UserStatusUserStatusGetStatusResponse200ApplicationJson', 'ocs'); } @override - UserStatusStatus1 rebuild(void Function(UserStatusStatus1Builder) updates) => (toBuilder()..update(updates)).build(); + UserStatusUserStatusGetStatusResponse200ApplicationJson rebuild( + void Function(UserStatusUserStatusGetStatusResponse200ApplicationJsonBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - UserStatusStatus1Builder toBuilder() => UserStatusStatus1Builder()..replace(this); + UserStatusUserStatusGetStatusResponse200ApplicationJsonBuilder toBuilder() => + UserStatusUserStatusGetStatusResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusStatus1 && - messageId == other.messageId && - messageIsPredefined == other.messageIsPredefined && - statusIsUserDefined == other.statusIsUserDefined; + return other is UserStatusUserStatusGetStatusResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, messageId.hashCode); - _$hash = $jc(_$hash, messageIsPredefined.hashCode); - _$hash = $jc(_$hash, statusIsUserDefined.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusStatus1') - ..add('messageId', messageId) - ..add('messageIsPredefined', messageIsPredefined) - ..add('statusIsUserDefined', statusIsUserDefined)) + return (newBuiltValueToStringHelper(r'UserStatusUserStatusGetStatusResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class UserStatusStatus1Builder implements Builder { - _$UserStatusStatus1? _$v; - - String? _messageId; - String? get messageId => _$this._messageId; - set messageId(String? messageId) => _$this._messageId = messageId; - - bool? _messageIsPredefined; - bool? get messageIsPredefined => _$this._messageIsPredefined; - set messageIsPredefined(bool? messageIsPredefined) => _$this._messageIsPredefined = messageIsPredefined; +class UserStatusUserStatusGetStatusResponse200ApplicationJsonBuilder + implements + Builder { + _$UserStatusUserStatusGetStatusResponse200ApplicationJson? _$v; - bool? _statusIsUserDefined; - bool? get statusIsUserDefined => _$this._statusIsUserDefined; - set statusIsUserDefined(bool? statusIsUserDefined) => _$this._statusIsUserDefined = statusIsUserDefined; + UserStatusUserStatusGetStatusResponse200ApplicationJson_OcsBuilder? _ocs; + UserStatusUserStatusGetStatusResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= UserStatusUserStatusGetStatusResponse200ApplicationJson_OcsBuilder(); + set ocs(UserStatusUserStatusGetStatusResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - UserStatusStatus1Builder(); + UserStatusUserStatusGetStatusResponse200ApplicationJsonBuilder(); - UserStatusStatus1Builder get _$this { + UserStatusUserStatusGetStatusResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _messageId = $v.messageId; - _messageIsPredefined = $v.messageIsPredefined; - _statusIsUserDefined = $v.statusIsUserDefined; + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(UserStatusStatus1 other) { + void replace(UserStatusUserStatusGetStatusResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusStatus1; + _$v = other as _$UserStatusUserStatusGetStatusResponse200ApplicationJson; } @override - void update(void Function(UserStatusStatus1Builder)? updates) { + void update(void Function(UserStatusUserStatusGetStatusResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusStatus1 build() => _build(); + UserStatusUserStatusGetStatusResponse200ApplicationJson build() => _build(); - _$UserStatusStatus1 _build() { - final _$result = _$v ?? - _$UserStatusStatus1._( - messageId: messageId, - messageIsPredefined: - BuiltValueNullFieldError.checkNotNull(messageIsPredefined, r'UserStatusStatus1', 'messageIsPredefined'), - statusIsUserDefined: BuiltValueNullFieldError.checkNotNull( - statusIsUserDefined, r'UserStatusStatus1', 'statusIsUserDefined')); + _$UserStatusUserStatusGetStatusResponse200ApplicationJson _build() { + _$UserStatusUserStatusGetStatusResponse200ApplicationJson _$result; + try { + _$result = _$v ?? _$UserStatusUserStatusGetStatusResponse200ApplicationJson._(ocs: ocs.build()); + } catch (_) { + late String _$failedField; + try { + _$failedField = 'ocs'; + ocs.build(); + } catch (e) { + throw BuiltValueNestedFieldError( + r'UserStatusUserStatusGetStatusResponse200ApplicationJson', _$failedField, e.toString()); + } + rethrow; + } replace(_$result); return _$result; } } -class _$UserStatusStatus extends UserStatusStatus { - @override - final JsonObject data; +class _$UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs + extends UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs { @override - final UserStatusPublicStatus publicStatus; + final UserStatusOCSMeta meta; @override - final UserStatusStatus1 status1; + final UserStatusPrivate data; - factory _$UserStatusStatus([void Function(UserStatusStatusBuilder)? updates]) => - (UserStatusStatusBuilder()..update(updates))._build(); + factory _$UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs( + [void Function(UserStatusUserStatusSetStatusResponse200ApplicationJson_OcsBuilder)? updates]) => + (UserStatusUserStatusSetStatusResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$UserStatusStatus._({required this.data, required this.publicStatus, required this.status1}) : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'UserStatusStatus', 'data'); - BuiltValueNullFieldError.checkNotNull(publicStatus, r'UserStatusStatus', 'publicStatus'); - BuiltValueNullFieldError.checkNotNull(status1, r'UserStatusStatus', 'status1'); + _$UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull(meta, r'UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull(data, r'UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs', 'data'); } @override - UserStatusStatus rebuild(void Function(UserStatusStatusBuilder) updates) => (toBuilder()..update(updates)).build(); + UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs rebuild( + void Function(UserStatusUserStatusSetStatusResponse200ApplicationJson_OcsBuilder) updates) => + (toBuilder()..update(updates)).build(); @override - UserStatusStatusBuilder toBuilder() => UserStatusStatusBuilder()..replace(this); + UserStatusUserStatusSetStatusResponse200ApplicationJson_OcsBuilder toBuilder() => + UserStatusUserStatusSetStatusResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusStatus && - data == other.data && - publicStatus == other.publicStatus && - status1 == other.status1; + return other is UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); _$hash = $jc(_$hash, data.hashCode); - _$hash = $jc(_$hash, publicStatus.hashCode); - _$hash = $jc(_$hash, status1.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusStatus') - ..add('data', data) - ..add('publicStatus', publicStatus) - ..add('status1', status1)) + return (newBuiltValueToStringHelper(r'UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class UserStatusStatusBuilder implements Builder { - _$UserStatusStatus? _$v; - - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(JsonObject? data) => _$this._data = data; +class UserStatusUserStatusSetStatusResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs? _$v; - UserStatusPublicStatusBuilder? _publicStatus; - UserStatusPublicStatusBuilder get publicStatus => _$this._publicStatus ??= UserStatusPublicStatusBuilder(); - set publicStatus(UserStatusPublicStatusBuilder? publicStatus) => _$this._publicStatus = publicStatus; + UserStatusOCSMetaBuilder? _meta; + UserStatusOCSMetaBuilder get meta => _$this._meta ??= UserStatusOCSMetaBuilder(); + set meta(UserStatusOCSMetaBuilder? meta) => _$this._meta = meta; - UserStatusStatus1Builder? _status1; - UserStatusStatus1Builder get status1 => _$this._status1 ??= UserStatusStatus1Builder(); - set status1(UserStatusStatus1Builder? status1) => _$this._status1 = status1; + UserStatusPrivateBuilder? _data; + UserStatusPrivateBuilder get data => _$this._data ??= UserStatusPrivateBuilder(); + set data(UserStatusPrivateBuilder? data) => _$this._data = data; - UserStatusStatusBuilder(); + UserStatusUserStatusSetStatusResponse200ApplicationJson_OcsBuilder(); - UserStatusStatusBuilder get _$this { + UserStatusUserStatusSetStatusResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _publicStatus = $v.publicStatus.toBuilder(); - _status1 = $v.status1.toBuilder(); + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(UserStatusStatus other) { + void replace(UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusStatus; + _$v = other as _$UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs; } @override - void update(void Function(UserStatusStatusBuilder)? updates) { + void update(void Function(UserStatusUserStatusSetStatusResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusStatus build() => _build(); + UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs build() => _build(); - _$UserStatusStatus _build() { - _$UserStatusStatus _$result; + _$UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs _build() { + _$UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$UserStatusStatus._( - data: BuiltValueNullFieldError.checkNotNull(data, r'UserStatusStatus', 'data'), - publicStatus: publicStatus.build(), - status1: status1.build()); + _$UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'publicStatus'; - publicStatus.build(); - _$failedField = 'status1'; - status1.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UserStatusStatus', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -2290,118 +3528,97 @@ class UserStatusStatusBuilder implements Builder? builtListJsonObject; +class _$UserStatusUserStatusSetStatusResponse200ApplicationJson + extends UserStatusUserStatusSetStatusResponse200ApplicationJson { @override - final UserStatusStatus? status; + final UserStatusUserStatusSetStatusResponse200ApplicationJson_Ocs ocs; - factory _$UserStatusGetStatus_Ocs_Data([void Function(UserStatusGetStatus_Ocs_DataBuilder)? updates]) => - (UserStatusGetStatus_Ocs_DataBuilder()..update(updates))._build(); + factory _$UserStatusUserStatusSetStatusResponse200ApplicationJson( + [void Function(UserStatusUserStatusSetStatusResponse200ApplicationJsonBuilder)? updates]) => + (UserStatusUserStatusSetStatusResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$UserStatusGetStatus_Ocs_Data._({required this.data, this.builtListJsonObject, this.status}) : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'UserStatusGetStatus_Ocs_Data', 'data'); + _$UserStatusUserStatusSetStatusResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'UserStatusUserStatusSetStatusResponse200ApplicationJson', 'ocs'); } @override - UserStatusGetStatus_Ocs_Data rebuild(void Function(UserStatusGetStatus_Ocs_DataBuilder) updates) => + UserStatusUserStatusSetStatusResponse200ApplicationJson rebuild( + void Function(UserStatusUserStatusSetStatusResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusGetStatus_Ocs_DataBuilder toBuilder() => UserStatusGetStatus_Ocs_DataBuilder()..replace(this); + UserStatusUserStatusSetStatusResponse200ApplicationJsonBuilder toBuilder() => + UserStatusUserStatusSetStatusResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusGetStatus_Ocs_Data && - data == other.data && - builtListJsonObject == other.builtListJsonObject && - status == other.status; + return other is UserStatusUserStatusSetStatusResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, data.hashCode); - _$hash = $jc(_$hash, builtListJsonObject.hashCode); - _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusGetStatus_Ocs_Data') - ..add('data', data) - ..add('builtListJsonObject', builtListJsonObject) - ..add('status', status)) + return (newBuiltValueToStringHelper(r'UserStatusUserStatusSetStatusResponse200ApplicationJson')..add('ocs', ocs)) .toString(); } } -class UserStatusGetStatus_Ocs_DataBuilder - implements Builder { - _$UserStatusGetStatus_Ocs_Data? _$v; - - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(JsonObject? data) => _$this._data = data; - - ListBuilder? _builtListJsonObject; - ListBuilder get builtListJsonObject => _$this._builtListJsonObject ??= ListBuilder(); - set builtListJsonObject(ListBuilder? builtListJsonObject) => - _$this._builtListJsonObject = builtListJsonObject; +class UserStatusUserStatusSetStatusResponse200ApplicationJsonBuilder + implements + Builder { + _$UserStatusUserStatusSetStatusResponse200ApplicationJson? _$v; - UserStatusStatusBuilder? _status; - UserStatusStatusBuilder get status => _$this._status ??= UserStatusStatusBuilder(); - set status(UserStatusStatusBuilder? status) => _$this._status = status; + UserStatusUserStatusSetStatusResponse200ApplicationJson_OcsBuilder? _ocs; + UserStatusUserStatusSetStatusResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= UserStatusUserStatusSetStatusResponse200ApplicationJson_OcsBuilder(); + set ocs(UserStatusUserStatusSetStatusResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - UserStatusGetStatus_Ocs_DataBuilder(); + UserStatusUserStatusSetStatusResponse200ApplicationJsonBuilder(); - UserStatusGetStatus_Ocs_DataBuilder get _$this { + UserStatusUserStatusSetStatusResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _builtListJsonObject = $v.builtListJsonObject?.toBuilder(); - _status = $v.status?.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(UserStatusGetStatus_Ocs_Data other) { + void replace(UserStatusUserStatusSetStatusResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusGetStatus_Ocs_Data; + _$v = other as _$UserStatusUserStatusSetStatusResponse200ApplicationJson; } @override - void update(void Function(UserStatusGetStatus_Ocs_DataBuilder)? updates) { + void update(void Function(UserStatusUserStatusSetStatusResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusGetStatus_Ocs_Data build() => _build(); + UserStatusUserStatusSetStatusResponse200ApplicationJson build() => _build(); - _$UserStatusGetStatus_Ocs_Data _build() { - _$UserStatusGetStatus_Ocs_Data _$result; + _$UserStatusUserStatusSetStatusResponse200ApplicationJson _build() { + _$UserStatusUserStatusSetStatusResponse200ApplicationJson _$result; try { - _$result = _$v ?? - _$UserStatusGetStatus_Ocs_Data._( - data: BuiltValueNullFieldError.checkNotNull(data, r'UserStatusGetStatus_Ocs_Data', 'data'), - builtListJsonObject: _builtListJsonObject?.build(), - status: _status?.build()); + _$result = _$v ?? _$UserStatusUserStatusSetStatusResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'builtListJsonObject'; - _builtListJsonObject?.build(); - _$failedField = 'status'; - _status?.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UserStatusGetStatus_Ocs_Data', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'UserStatusUserStatusSetStatusResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -2410,31 +3627,40 @@ class UserStatusGetStatus_Ocs_DataBuilder } } -class _$UserStatusGetStatus_Ocs extends UserStatusGetStatus_Ocs { +class _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs + extends UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs { @override final UserStatusOCSMeta meta; @override - final UserStatusGetStatus_Ocs_Data data; + final UserStatusPrivate data; - factory _$UserStatusGetStatus_Ocs([void Function(UserStatusGetStatus_OcsBuilder)? updates]) => - (UserStatusGetStatus_OcsBuilder()..update(updates))._build(); + factory _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs( + [void Function(UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_OcsBuilder)? updates]) => + (UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$UserStatusGetStatus_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'UserStatusGetStatus_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'UserStatusGetStatus_Ocs', 'data'); + _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs', 'data'); } @override - UserStatusGetStatus_Ocs rebuild(void Function(UserStatusGetStatus_OcsBuilder) updates) => + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs rebuild( + void Function(UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusGetStatus_OcsBuilder toBuilder() => UserStatusGetStatus_OcsBuilder()..replace(this); + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_OcsBuilder toBuilder() => + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusGetStatus_Ocs && meta == other.meta && data == other.data; + return other is UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -2448,27 +3674,30 @@ class _$UserStatusGetStatus_Ocs extends UserStatusGetStatus_Ocs { @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusGetStatus_Ocs') + return (newBuiltValueToStringHelper(r'UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class UserStatusGetStatus_OcsBuilder implements Builder { - _$UserStatusGetStatus_Ocs? _$v; +class UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs? _$v; UserStatusOCSMetaBuilder? _meta; UserStatusOCSMetaBuilder get meta => _$this._meta ??= UserStatusOCSMetaBuilder(); set meta(UserStatusOCSMetaBuilder? meta) => _$this._meta = meta; - UserStatusGetStatus_Ocs_DataBuilder? _data; - UserStatusGetStatus_Ocs_DataBuilder get data => _$this._data ??= UserStatusGetStatus_Ocs_DataBuilder(); - set data(UserStatusGetStatus_Ocs_DataBuilder? data) => _$this._data = data; + UserStatusPrivateBuilder? _data; + UserStatusPrivateBuilder get data => _$this._data ??= UserStatusPrivateBuilder(); + set data(UserStatusPrivateBuilder? data) => _$this._data = data; - UserStatusGetStatus_OcsBuilder(); + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_OcsBuilder(); - UserStatusGetStatus_OcsBuilder get _$this { + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -2479,23 +3708,25 @@ class UserStatusGetStatus_OcsBuilder implements Builder _build(); + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs build() => _build(); - _$UserStatusGetStatus_Ocs _build() { - _$UserStatusGetStatus_Ocs _$result; + _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs _build() { + _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$UserStatusGetStatus_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -2504,7 +3735,8 @@ class UserStatusGetStatus_OcsBuilder implements Builder - (UserStatusGetStatusBuilder()..update(updates))._build(); + factory _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson( + [void Function(UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJsonBuilder)? updates]) => + (UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$UserStatusGetStatus._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'UserStatusGetStatus', 'ocs'); + _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson', 'ocs'); } @override - UserStatusGetStatus rebuild(void Function(UserStatusGetStatusBuilder) updates) => + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson rebuild( + void Function(UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusGetStatusBuilder toBuilder() => UserStatusGetStatusBuilder()..replace(this); + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJsonBuilder toBuilder() => + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusGetStatus && ocs == other.ocs; + return other is UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson && ocs == other.ocs; } @override @@ -2547,20 +3784,26 @@ class _$UserStatusGetStatus extends UserStatusGetStatus { @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusGetStatus')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson') + ..add('ocs', ocs)) + .toString(); } } -class UserStatusGetStatusBuilder implements Builder { - _$UserStatusGetStatus? _$v; +class UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJsonBuilder + implements + Builder { + _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson? _$v; - UserStatusGetStatus_OcsBuilder? _ocs; - UserStatusGetStatus_OcsBuilder get ocs => _$this._ocs ??= UserStatusGetStatus_OcsBuilder(); - set ocs(UserStatusGetStatus_OcsBuilder? ocs) => _$this._ocs = ocs; + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_OcsBuilder? _ocs; + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_OcsBuilder(); + set ocs(UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - UserStatusGetStatusBuilder(); + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJsonBuilder(); - UserStatusGetStatusBuilder get _$this { + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -2570,30 +3813,31 @@ class UserStatusGetStatusBuilder implements Builder _build(); + UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson build() => _build(); - _$UserStatusGetStatus _build() { - _$UserStatusGetStatus _$result; + _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson _build() { + _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$UserStatusGetStatus._(ocs: ocs.build()); + _$result = _$v ?? _$UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UserStatusGetStatus', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'UserStatusUserStatusSetPredefinedMessageResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -2602,115 +3846,116 @@ class UserStatusGetStatusBuilder implements Builder - (UserStatusPredefinedStatus_ClearAtBuilder()..update(updates))._build(); + factory _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs( + [void Function(UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_OcsBuilder)? updates]) => + (UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$UserStatusPredefinedStatus_ClearAt._({required this.data, this.clearAt, this.$int}) : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'UserStatusPredefinedStatus_ClearAt', 'data'); + _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs', 'data'); } @override - UserStatusPredefinedStatus_ClearAt rebuild(void Function(UserStatusPredefinedStatus_ClearAtBuilder) updates) => + UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs rebuild( + void Function(UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusPredefinedStatus_ClearAtBuilder toBuilder() => UserStatusPredefinedStatus_ClearAtBuilder()..replace(this); + UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_OcsBuilder toBuilder() => + UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusPredefinedStatus_ClearAt && - data == other.data && - clearAt == other.clearAt && - $int == other.$int; + return other is UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override int get hashCode { var _$hash = 0; + _$hash = $jc(_$hash, meta.hashCode); _$hash = $jc(_$hash, data.hashCode); - _$hash = $jc(_$hash, clearAt.hashCode); - _$hash = $jc(_$hash, $int.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusPredefinedStatus_ClearAt') - ..add('data', data) - ..add('clearAt', clearAt) - ..add('\$int', $int)) + return (newBuiltValueToStringHelper(r'UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs') + ..add('meta', meta) + ..add('data', data)) .toString(); } } -class UserStatusPredefinedStatus_ClearAtBuilder - implements Builder { - _$UserStatusPredefinedStatus_ClearAt? _$v; - - JsonObject? _data; - JsonObject? get data => _$this._data; - set data(JsonObject? data) => _$this._data = data; +class UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs? _$v; - UserStatusClearAtBuilder? _clearAt; - UserStatusClearAtBuilder get clearAt => _$this._clearAt ??= UserStatusClearAtBuilder(); - set clearAt(UserStatusClearAtBuilder? clearAt) => _$this._clearAt = clearAt; + UserStatusOCSMetaBuilder? _meta; + UserStatusOCSMetaBuilder get meta => _$this._meta ??= UserStatusOCSMetaBuilder(); + set meta(UserStatusOCSMetaBuilder? meta) => _$this._meta = meta; - int? _$int; - int? get $int => _$this._$int; - set $int(int? $int) => _$this._$int = $int; + UserStatusPrivateBuilder? _data; + UserStatusPrivateBuilder get data => _$this._data ??= UserStatusPrivateBuilder(); + set data(UserStatusPrivateBuilder? data) => _$this._data = data; - UserStatusPredefinedStatus_ClearAtBuilder(); + UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_OcsBuilder(); - UserStatusPredefinedStatus_ClearAtBuilder get _$this { + UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { - _data = $v.data; - _clearAt = $v.clearAt?.toBuilder(); - _$int = $v.$int; + _meta = $v.meta.toBuilder(); + _data = $v.data.toBuilder(); _$v = null; } return this; } @override - void replace(UserStatusPredefinedStatus_ClearAt other) { + void replace(UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusPredefinedStatus_ClearAt; + _$v = other as _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs; } @override - void update(void Function(UserStatusPredefinedStatus_ClearAtBuilder)? updates) { + void update(void Function(UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusPredefinedStatus_ClearAt build() => _build(); + UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs build() => _build(); - _$UserStatusPredefinedStatus_ClearAt _build() { - _$UserStatusPredefinedStatus_ClearAt _$result; + _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs _build() { + _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs _$result; try { _$result = _$v ?? - _$UserStatusPredefinedStatus_ClearAt._( - data: BuiltValueNullFieldError.checkNotNull(data, r'UserStatusPredefinedStatus_ClearAt', 'data'), - clearAt: _clearAt?.build(), - $int: $int); + _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs._( + meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'clearAt'; - _clearAt?.build(); + _$failedField = 'meta'; + meta.build(); + _$failedField = 'data'; + data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UserStatusPredefinedStatus_ClearAt', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -2719,130 +3964,99 @@ class UserStatusPredefinedStatus_ClearAtBuilder } } -class _$UserStatusPredefinedStatus extends UserStatusPredefinedStatus { +class _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson + extends UserStatusUserStatusSetCustomMessageResponse200ApplicationJson { @override - final String id; - @override - final String icon; - @override - final String message; - @override - final UserStatusPredefinedStatus_ClearAt? clearAt; + final UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_Ocs ocs; - factory _$UserStatusPredefinedStatus([void Function(UserStatusPredefinedStatusBuilder)? updates]) => - (UserStatusPredefinedStatusBuilder()..update(updates))._build(); + factory _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson( + [void Function(UserStatusUserStatusSetCustomMessageResponse200ApplicationJsonBuilder)? updates]) => + (UserStatusUserStatusSetCustomMessageResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$UserStatusPredefinedStatus._({required this.id, required this.icon, required this.message, this.clearAt}) - : super._() { - BuiltValueNullFieldError.checkNotNull(id, r'UserStatusPredefinedStatus', 'id'); - BuiltValueNullFieldError.checkNotNull(icon, r'UserStatusPredefinedStatus', 'icon'); - BuiltValueNullFieldError.checkNotNull(message, r'UserStatusPredefinedStatus', 'message'); + _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull( + ocs, r'UserStatusUserStatusSetCustomMessageResponse200ApplicationJson', 'ocs'); } @override - UserStatusPredefinedStatus rebuild(void Function(UserStatusPredefinedStatusBuilder) updates) => + UserStatusUserStatusSetCustomMessageResponse200ApplicationJson rebuild( + void Function(UserStatusUserStatusSetCustomMessageResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusPredefinedStatusBuilder toBuilder() => UserStatusPredefinedStatusBuilder()..replace(this); + UserStatusUserStatusSetCustomMessageResponse200ApplicationJsonBuilder toBuilder() => + UserStatusUserStatusSetCustomMessageResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusPredefinedStatus && - id == other.id && - icon == other.icon && - message == other.message && - clearAt == other.clearAt; + return other is UserStatusUserStatusSetCustomMessageResponse200ApplicationJson && ocs == other.ocs; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, id.hashCode); - _$hash = $jc(_$hash, icon.hashCode); - _$hash = $jc(_$hash, message.hashCode); - _$hash = $jc(_$hash, clearAt.hashCode); + _$hash = $jc(_$hash, ocs.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusPredefinedStatus') - ..add('id', id) - ..add('icon', icon) - ..add('message', message) - ..add('clearAt', clearAt)) + return (newBuiltValueToStringHelper(r'UserStatusUserStatusSetCustomMessageResponse200ApplicationJson') + ..add('ocs', ocs)) .toString(); } } -class UserStatusPredefinedStatusBuilder - implements Builder { - _$UserStatusPredefinedStatus? _$v; - - String? _id; - String? get id => _$this._id; - set id(String? id) => _$this._id = id; - - String? _icon; - String? get icon => _$this._icon; - set icon(String? icon) => _$this._icon = icon; - - String? _message; - String? get message => _$this._message; - set message(String? message) => _$this._message = message; +class UserStatusUserStatusSetCustomMessageResponse200ApplicationJsonBuilder + implements + Builder { + _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson? _$v; - UserStatusPredefinedStatus_ClearAtBuilder? _clearAt; - UserStatusPredefinedStatus_ClearAtBuilder get clearAt => - _$this._clearAt ??= UserStatusPredefinedStatus_ClearAtBuilder(); - set clearAt(UserStatusPredefinedStatus_ClearAtBuilder? clearAt) => _$this._clearAt = clearAt; + UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_OcsBuilder? _ocs; + UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_OcsBuilder(); + set ocs(UserStatusUserStatusSetCustomMessageResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - UserStatusPredefinedStatusBuilder(); + UserStatusUserStatusSetCustomMessageResponse200ApplicationJsonBuilder(); - UserStatusPredefinedStatusBuilder get _$this { + UserStatusUserStatusSetCustomMessageResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { - _id = $v.id; - _icon = $v.icon; - _message = $v.message; - _clearAt = $v.clearAt?.toBuilder(); + _ocs = $v.ocs.toBuilder(); _$v = null; } return this; } @override - void replace(UserStatusPredefinedStatus other) { + void replace(UserStatusUserStatusSetCustomMessageResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusPredefinedStatus; + _$v = other as _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson; } @override - void update(void Function(UserStatusPredefinedStatusBuilder)? updates) { + void update(void Function(UserStatusUserStatusSetCustomMessageResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusPredefinedStatus build() => _build(); + UserStatusUserStatusSetCustomMessageResponse200ApplicationJson build() => _build(); - _$UserStatusPredefinedStatus _build() { - _$UserStatusPredefinedStatus _$result; + _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson _build() { + _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson _$result; try { - _$result = _$v ?? - _$UserStatusPredefinedStatus._( - id: BuiltValueNullFieldError.checkNotNull(id, r'UserStatusPredefinedStatus', 'id'), - icon: BuiltValueNullFieldError.checkNotNull(icon, r'UserStatusPredefinedStatus', 'icon'), - message: BuiltValueNullFieldError.checkNotNull(message, r'UserStatusPredefinedStatus', 'message'), - clearAt: _clearAt?.build()); + _$result = _$v ?? _$UserStatusUserStatusSetCustomMessageResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'clearAt'; - _clearAt?.build(); + _$failedField = 'ocs'; + ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UserStatusPredefinedStatus', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'UserStatusUserStatusSetCustomMessageResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -2851,31 +4065,40 @@ class UserStatusPredefinedStatusBuilder } } -class _$UserStatusPredefinedStatuses_Ocs extends UserStatusPredefinedStatuses_Ocs { +class _$UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs + extends UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs { @override final UserStatusOCSMeta meta; @override - final BuiltList data; + final JsonObject data; - factory _$UserStatusPredefinedStatuses_Ocs([void Function(UserStatusPredefinedStatuses_OcsBuilder)? updates]) => - (UserStatusPredefinedStatuses_OcsBuilder()..update(updates))._build(); + factory _$UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs( + [void Function(UserStatusUserStatusClearMessageResponse200ApplicationJson_OcsBuilder)? updates]) => + (UserStatusUserStatusClearMessageResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$UserStatusPredefinedStatuses_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'UserStatusPredefinedStatuses_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'UserStatusPredefinedStatuses_Ocs', 'data'); + _$UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs', 'data'); } @override - UserStatusPredefinedStatuses_Ocs rebuild(void Function(UserStatusPredefinedStatuses_OcsBuilder) updates) => + UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs rebuild( + void Function(UserStatusUserStatusClearMessageResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusPredefinedStatuses_OcsBuilder toBuilder() => UserStatusPredefinedStatuses_OcsBuilder()..replace(this); + UserStatusUserStatusClearMessageResponse200ApplicationJson_OcsBuilder toBuilder() => + UserStatusUserStatusClearMessageResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusPredefinedStatuses_Ocs && meta == other.meta && data == other.data; + return other is UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -2889,64 +4112,69 @@ class _$UserStatusPredefinedStatuses_Ocs extends UserStatusPredefinedStatuses_Oc @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusPredefinedStatuses_Ocs') + return (newBuiltValueToStringHelper(r'UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class UserStatusPredefinedStatuses_OcsBuilder - implements Builder { - _$UserStatusPredefinedStatuses_Ocs? _$v; +class UserStatusUserStatusClearMessageResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs? _$v; UserStatusOCSMetaBuilder? _meta; UserStatusOCSMetaBuilder get meta => _$this._meta ??= UserStatusOCSMetaBuilder(); set meta(UserStatusOCSMetaBuilder? meta) => _$this._meta = meta; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(ListBuilder? data) => _$this._data = data; + JsonObject? _data; + JsonObject? get data => _$this._data; + set data(JsonObject? data) => _$this._data = data; - UserStatusPredefinedStatuses_OcsBuilder(); + UserStatusUserStatusClearMessageResponse200ApplicationJson_OcsBuilder(); - UserStatusPredefinedStatuses_OcsBuilder get _$this { + UserStatusUserStatusClearMessageResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _data = $v.data; _$v = null; } return this; } @override - void replace(UserStatusPredefinedStatuses_Ocs other) { + void replace(UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusPredefinedStatuses_Ocs; + _$v = other as _$UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs; } @override - void update(void Function(UserStatusPredefinedStatuses_OcsBuilder)? updates) { + void update(void Function(UserStatusUserStatusClearMessageResponse200ApplicationJson_OcsBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusPredefinedStatuses_Ocs build() => _build(); + UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs build() => _build(); - _$UserStatusPredefinedStatuses_Ocs _build() { - _$UserStatusPredefinedStatuses_Ocs _$result; + _$UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs _build() { + _$UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$UserStatusPredefinedStatuses_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + _$UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs._( + meta: meta.build(), + data: BuiltValueNullFieldError.checkNotNull( + data, r'UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs', 'data')); } catch (_) { late String _$failedField; try { _$failedField = 'meta'; meta.build(); - _$failedField = 'data'; - data.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UserStatusPredefinedStatuses_Ocs', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs', _$failedField, e.toString()); } rethrow; } @@ -2955,28 +4183,32 @@ class UserStatusPredefinedStatuses_OcsBuilder } } -class _$UserStatusPredefinedStatuses extends UserStatusPredefinedStatuses { +class _$UserStatusUserStatusClearMessageResponse200ApplicationJson + extends UserStatusUserStatusClearMessageResponse200ApplicationJson { @override - final UserStatusPredefinedStatuses_Ocs ocs; + final UserStatusUserStatusClearMessageResponse200ApplicationJson_Ocs ocs; - factory _$UserStatusPredefinedStatuses([void Function(UserStatusPredefinedStatusesBuilder)? updates]) => - (UserStatusPredefinedStatusesBuilder()..update(updates))._build(); + factory _$UserStatusUserStatusClearMessageResponse200ApplicationJson( + [void Function(UserStatusUserStatusClearMessageResponse200ApplicationJsonBuilder)? updates]) => + (UserStatusUserStatusClearMessageResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$UserStatusPredefinedStatuses._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'UserStatusPredefinedStatuses', 'ocs'); + _$UserStatusUserStatusClearMessageResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'UserStatusUserStatusClearMessageResponse200ApplicationJson', 'ocs'); } @override - UserStatusPredefinedStatuses rebuild(void Function(UserStatusPredefinedStatusesBuilder) updates) => + UserStatusUserStatusClearMessageResponse200ApplicationJson rebuild( + void Function(UserStatusUserStatusClearMessageResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusPredefinedStatusesBuilder toBuilder() => UserStatusPredefinedStatusesBuilder()..replace(this); + UserStatusUserStatusClearMessageResponse200ApplicationJsonBuilder toBuilder() => + UserStatusUserStatusClearMessageResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusPredefinedStatuses && ocs == other.ocs; + return other is UserStatusUserStatusClearMessageResponse200ApplicationJson && ocs == other.ocs; } @override @@ -2989,21 +4221,25 @@ class _$UserStatusPredefinedStatuses extends UserStatusPredefinedStatuses { @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusPredefinedStatuses')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'UserStatusUserStatusClearMessageResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); } } -class UserStatusPredefinedStatusesBuilder - implements Builder { - _$UserStatusPredefinedStatuses? _$v; +class UserStatusUserStatusClearMessageResponse200ApplicationJsonBuilder + implements + Builder { + _$UserStatusUserStatusClearMessageResponse200ApplicationJson? _$v; - UserStatusPredefinedStatuses_OcsBuilder? _ocs; - UserStatusPredefinedStatuses_OcsBuilder get ocs => _$this._ocs ??= UserStatusPredefinedStatuses_OcsBuilder(); - set ocs(UserStatusPredefinedStatuses_OcsBuilder? ocs) => _$this._ocs = ocs; + UserStatusUserStatusClearMessageResponse200ApplicationJson_OcsBuilder? _ocs; + UserStatusUserStatusClearMessageResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= UserStatusUserStatusClearMessageResponse200ApplicationJson_OcsBuilder(); + set ocs(UserStatusUserStatusClearMessageResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - UserStatusPredefinedStatusesBuilder(); + UserStatusUserStatusClearMessageResponse200ApplicationJsonBuilder(); - UserStatusPredefinedStatusesBuilder get _$this { + UserStatusUserStatusClearMessageResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -3013,30 +4249,31 @@ class UserStatusPredefinedStatusesBuilder } @override - void replace(UserStatusPredefinedStatuses other) { + void replace(UserStatusUserStatusClearMessageResponse200ApplicationJson other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusPredefinedStatuses; + _$v = other as _$UserStatusUserStatusClearMessageResponse200ApplicationJson; } @override - void update(void Function(UserStatusPredefinedStatusesBuilder)? updates) { + void update(void Function(UserStatusUserStatusClearMessageResponse200ApplicationJsonBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusPredefinedStatuses build() => _build(); + UserStatusUserStatusClearMessageResponse200ApplicationJson build() => _build(); - _$UserStatusPredefinedStatuses _build() { - _$UserStatusPredefinedStatuses _$result; + _$UserStatusUserStatusClearMessageResponse200ApplicationJson _build() { + _$UserStatusUserStatusClearMessageResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$UserStatusPredefinedStatuses._(ocs: ocs.build()); + _$result = _$v ?? _$UserStatusUserStatusClearMessageResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UserStatusPredefinedStatuses', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'UserStatusUserStatusClearMessageResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -3045,118 +4282,126 @@ class UserStatusPredefinedStatusesBuilder } } -class _$UserStatusHeartbeat_Ocs_Data extends UserStatusHeartbeat_Ocs_Data { +class _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data + extends UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data { @override final JsonObject data; @override - final BuiltList? builtListJsonObject; + final UserStatusPrivate? private; @override - final UserStatusStatus? status; + final JsonObject? jsonObject; - factory _$UserStatusHeartbeat_Ocs_Data([void Function(UserStatusHeartbeat_Ocs_DataBuilder)? updates]) => - (UserStatusHeartbeat_Ocs_DataBuilder()..update(updates))._build(); + factory _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data( + [void Function(UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataBuilder)? updates]) => + (UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataBuilder()..update(updates))._build(); - _$UserStatusHeartbeat_Ocs_Data._({required this.data, this.builtListJsonObject, this.status}) : super._() { - BuiltValueNullFieldError.checkNotNull(data, r'UserStatusHeartbeat_Ocs_Data', 'data'); + _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data._( + {required this.data, this.private, this.jsonObject}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + data, r'UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data', 'data'); } @override - UserStatusHeartbeat_Ocs_Data rebuild(void Function(UserStatusHeartbeat_Ocs_DataBuilder) updates) => + UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data rebuild( + void Function(UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusHeartbeat_Ocs_DataBuilder toBuilder() => UserStatusHeartbeat_Ocs_DataBuilder()..replace(this); + UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataBuilder toBuilder() => + UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusHeartbeat_Ocs_Data && + return other is UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data && data == other.data && - builtListJsonObject == other.builtListJsonObject && - status == other.status; + private == other.private && + jsonObject == other.jsonObject; } @override int get hashCode { var _$hash = 0; _$hash = $jc(_$hash, data.hashCode); - _$hash = $jc(_$hash, builtListJsonObject.hashCode); - _$hash = $jc(_$hash, status.hashCode); + _$hash = $jc(_$hash, private.hashCode); + _$hash = $jc(_$hash, jsonObject.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusHeartbeat_Ocs_Data') + return (newBuiltValueToStringHelper(r'UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data') ..add('data', data) - ..add('builtListJsonObject', builtListJsonObject) - ..add('status', status)) + ..add('private', private) + ..add('jsonObject', jsonObject)) .toString(); } } -class UserStatusHeartbeat_Ocs_DataBuilder - implements Builder { - _$UserStatusHeartbeat_Ocs_Data? _$v; +class UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataBuilder + implements + Builder { + _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data? _$v; JsonObject? _data; JsonObject? get data => _$this._data; set data(JsonObject? data) => _$this._data = data; - ListBuilder? _builtListJsonObject; - ListBuilder get builtListJsonObject => _$this._builtListJsonObject ??= ListBuilder(); - set builtListJsonObject(ListBuilder? builtListJsonObject) => - _$this._builtListJsonObject = builtListJsonObject; + UserStatusPrivateBuilder? _private; + UserStatusPrivateBuilder get private => _$this._private ??= UserStatusPrivateBuilder(); + set private(UserStatusPrivateBuilder? private) => _$this._private = private; - UserStatusStatusBuilder? _status; - UserStatusStatusBuilder get status => _$this._status ??= UserStatusStatusBuilder(); - set status(UserStatusStatusBuilder? status) => _$this._status = status; + JsonObject? _jsonObject; + JsonObject? get jsonObject => _$this._jsonObject; + set jsonObject(JsonObject? jsonObject) => _$this._jsonObject = jsonObject; - UserStatusHeartbeat_Ocs_DataBuilder(); + UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataBuilder(); - UserStatusHeartbeat_Ocs_DataBuilder get _$this { + UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataBuilder get _$this { final $v = _$v; if ($v != null) { _data = $v.data; - _builtListJsonObject = $v.builtListJsonObject?.toBuilder(); - _status = $v.status?.toBuilder(); + _private = $v.private?.toBuilder(); + _jsonObject = $v.jsonObject; _$v = null; } return this; } @override - void replace(UserStatusHeartbeat_Ocs_Data other) { + void replace(UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusHeartbeat_Ocs_Data; + _$v = other as _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data; } @override - void update(void Function(UserStatusHeartbeat_Ocs_DataBuilder)? updates) { + void update(void Function(UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusHeartbeat_Ocs_Data build() => _build(); + UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data build() => _build(); - _$UserStatusHeartbeat_Ocs_Data _build() { - _$UserStatusHeartbeat_Ocs_Data _$result; + _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data _build() { + _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data _$result; try { _$result = _$v ?? - _$UserStatusHeartbeat_Ocs_Data._( - data: BuiltValueNullFieldError.checkNotNull(data, r'UserStatusHeartbeat_Ocs_Data', 'data'), - builtListJsonObject: _builtListJsonObject?.build(), - status: _status?.build()); + _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data._( + data: BuiltValueNullFieldError.checkNotNull( + data, r'UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data', 'data'), + private: _private?.build(), + jsonObject: jsonObject); } catch (_) { late String _$failedField; try { - _$failedField = 'builtListJsonObject'; - _builtListJsonObject?.build(); - _$failedField = 'status'; - _status?.build(); + _$failedField = 'private'; + _private?.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UserStatusHeartbeat_Ocs_Data', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data', _$failedField, e.toString()); } rethrow; } @@ -3165,31 +4410,40 @@ class UserStatusHeartbeat_Ocs_DataBuilder } } -class _$UserStatusHeartbeat_Ocs extends UserStatusHeartbeat_Ocs { +class _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs + extends UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs { @override final UserStatusOCSMeta meta; @override - final UserStatusHeartbeat_Ocs_Data data; + final UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_Data data; - factory _$UserStatusHeartbeat_Ocs([void Function(UserStatusHeartbeat_OcsBuilder)? updates]) => - (UserStatusHeartbeat_OcsBuilder()..update(updates))._build(); + factory _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs( + [void Function(UserStatusUserStatusRevertStatusResponse200ApplicationJson_OcsBuilder)? updates]) => + (UserStatusUserStatusRevertStatusResponse200ApplicationJson_OcsBuilder()..update(updates))._build(); - _$UserStatusHeartbeat_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'UserStatusHeartbeat_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'UserStatusHeartbeat_Ocs', 'data'); + _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs._({required this.meta, required this.data}) + : super._() { + BuiltValueNullFieldError.checkNotNull( + meta, r'UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs', 'meta'); + BuiltValueNullFieldError.checkNotNull( + data, r'UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs', 'data'); } @override - UserStatusHeartbeat_Ocs rebuild(void Function(UserStatusHeartbeat_OcsBuilder) updates) => + UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs rebuild( + void Function(UserStatusUserStatusRevertStatusResponse200ApplicationJson_OcsBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusHeartbeat_OcsBuilder toBuilder() => UserStatusHeartbeat_OcsBuilder()..replace(this); + UserStatusUserStatusRevertStatusResponse200ApplicationJson_OcsBuilder toBuilder() => + UserStatusUserStatusRevertStatusResponse200ApplicationJson_OcsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusHeartbeat_Ocs && meta == other.meta && data == other.data; + return other is UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs && + meta == other.meta && + data == other.data; } @override @@ -3203,27 +4457,31 @@ class _$UserStatusHeartbeat_Ocs extends UserStatusHeartbeat_Ocs { @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusHeartbeat_Ocs') + return (newBuiltValueToStringHelper(r'UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs') ..add('meta', meta) ..add('data', data)) .toString(); } } -class UserStatusHeartbeat_OcsBuilder implements Builder { - _$UserStatusHeartbeat_Ocs? _$v; +class UserStatusUserStatusRevertStatusResponse200ApplicationJson_OcsBuilder + implements + Builder { + _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs? _$v; UserStatusOCSMetaBuilder? _meta; UserStatusOCSMetaBuilder get meta => _$this._meta ??= UserStatusOCSMetaBuilder(); set meta(UserStatusOCSMetaBuilder? meta) => _$this._meta = meta; - UserStatusHeartbeat_Ocs_DataBuilder? _data; - UserStatusHeartbeat_Ocs_DataBuilder get data => _$this._data ??= UserStatusHeartbeat_Ocs_DataBuilder(); - set data(UserStatusHeartbeat_Ocs_DataBuilder? data) => _$this._data = data; + UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataBuilder? _data; + UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataBuilder get data => + _$this._data ??= UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataBuilder(); + set data(UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs_DataBuilder? data) => _$this._data = data; - UserStatusHeartbeat_OcsBuilder(); + UserStatusUserStatusRevertStatusResponse200ApplicationJson_OcsBuilder(); - UserStatusHeartbeat_OcsBuilder get _$this { + UserStatusUserStatusRevertStatusResponse200ApplicationJson_OcsBuilder get _$this { final $v = _$v; if ($v != null) { _meta = $v.meta.toBuilder(); @@ -3234,23 +4492,24 @@ class UserStatusHeartbeat_OcsBuilder implements Builder _build(); + UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs build() => _build(); - _$UserStatusHeartbeat_Ocs _build() { - _$UserStatusHeartbeat_Ocs _$result; + _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs _build() { + _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs _$result; try { - _$result = _$v ?? _$UserStatusHeartbeat_Ocs._(meta: meta.build(), data: data.build()); + _$result = _$v ?? + _$UserStatusUserStatusRevertStatusResponse200ApplicationJson_Ocs._(meta: meta.build(), data: data.build()); } catch (_) { late String _$failedField; try { @@ -3259,7 +4518,8 @@ class UserStatusHeartbeat_OcsBuilder implements Builder - (UserStatusHeartbeatBuilder()..update(updates))._build(); + factory _$UserStatusUserStatusRevertStatusResponse200ApplicationJson( + [void Function(UserStatusUserStatusRevertStatusResponse200ApplicationJsonBuilder)? updates]) => + (UserStatusUserStatusRevertStatusResponse200ApplicationJsonBuilder()..update(updates))._build(); - _$UserStatusHeartbeat._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'UserStatusHeartbeat', 'ocs'); + _$UserStatusUserStatusRevertStatusResponse200ApplicationJson._({required this.ocs}) : super._() { + BuiltValueNullFieldError.checkNotNull(ocs, r'UserStatusUserStatusRevertStatusResponse200ApplicationJson', 'ocs'); } @override - UserStatusHeartbeat rebuild(void Function(UserStatusHeartbeatBuilder) updates) => + UserStatusUserStatusRevertStatusResponse200ApplicationJson rebuild( + void Function(UserStatusUserStatusRevertStatusResponse200ApplicationJsonBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusHeartbeatBuilder toBuilder() => UserStatusHeartbeatBuilder()..replace(this); + UserStatusUserStatusRevertStatusResponse200ApplicationJsonBuilder toBuilder() => + UserStatusUserStatusRevertStatusResponse200ApplicationJsonBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusHeartbeat && ocs == other.ocs; + return other is UserStatusUserStatusRevertStatusResponse200ApplicationJson && ocs == other.ocs; } @override @@ -3302,20 +4566,25 @@ class _$UserStatusHeartbeat extends UserStatusHeartbeat { @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusHeartbeat')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'UserStatusUserStatusRevertStatusResponse200ApplicationJson')..add('ocs', ocs)) + .toString(); } } -class UserStatusHeartbeatBuilder implements Builder { - _$UserStatusHeartbeat? _$v; +class UserStatusUserStatusRevertStatusResponse200ApplicationJsonBuilder + implements + Builder { + _$UserStatusUserStatusRevertStatusResponse200ApplicationJson? _$v; - UserStatusHeartbeat_OcsBuilder? _ocs; - UserStatusHeartbeat_OcsBuilder get ocs => _$this._ocs ??= UserStatusHeartbeat_OcsBuilder(); - set ocs(UserStatusHeartbeat_OcsBuilder? ocs) => _$this._ocs = ocs; + UserStatusUserStatusRevertStatusResponse200ApplicationJson_OcsBuilder? _ocs; + UserStatusUserStatusRevertStatusResponse200ApplicationJson_OcsBuilder get ocs => + _$this._ocs ??= UserStatusUserStatusRevertStatusResponse200ApplicationJson_OcsBuilder(); + set ocs(UserStatusUserStatusRevertStatusResponse200ApplicationJson_OcsBuilder? ocs) => _$this._ocs = ocs; - UserStatusHeartbeatBuilder(); + UserStatusUserStatusRevertStatusResponse200ApplicationJsonBuilder(); - UserStatusHeartbeatBuilder get _$this { + UserStatusUserStatusRevertStatusResponse200ApplicationJsonBuilder get _$this { final $v = _$v; if ($v != null) { _ocs = $v.ocs.toBuilder(); @@ -3325,30 +4594,31 @@ class UserStatusHeartbeatBuilder implements Builder _build(); + UserStatusUserStatusRevertStatusResponse200ApplicationJson build() => _build(); - _$UserStatusHeartbeat _build() { - _$UserStatusHeartbeat _$result; + _$UserStatusUserStatusRevertStatusResponse200ApplicationJson _build() { + _$UserStatusUserStatusRevertStatusResponse200ApplicationJson _$result; try { - _$result = _$v ?? _$UserStatusHeartbeat._(ocs: ocs.build()); + _$result = _$v ?? _$UserStatusUserStatusRevertStatusResponse200ApplicationJson._(ocs: ocs.build()); } catch (_) { late String _$failedField; try { _$failedField = 'ocs'; ocs.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UserStatusHeartbeat', _$failedField, e.toString()); + throw BuiltValueNestedFieldError( + r'UserStatusUserStatusRevertStatusResponse200ApplicationJson', _$failedField, e.toString()); } rethrow; } @@ -3357,190 +4627,197 @@ class UserStatusHeartbeatBuilder implements Builder data; + final bool supportsEmoji; - factory _$UserStatusEmptyOCS_Ocs([void Function(UserStatusEmptyOCS_OcsBuilder)? updates]) => - (UserStatusEmptyOCS_OcsBuilder()..update(updates))._build(); + factory _$UserStatusCapabilities_UserStatus([void Function(UserStatusCapabilities_UserStatusBuilder)? updates]) => + (UserStatusCapabilities_UserStatusBuilder()..update(updates))._build(); - _$UserStatusEmptyOCS_Ocs._({required this.meta, required this.data}) : super._() { - BuiltValueNullFieldError.checkNotNull(meta, r'UserStatusEmptyOCS_Ocs', 'meta'); - BuiltValueNullFieldError.checkNotNull(data, r'UserStatusEmptyOCS_Ocs', 'data'); + _$UserStatusCapabilities_UserStatus._({required this.enabled, required this.restore, required this.supportsEmoji}) + : super._() { + BuiltValueNullFieldError.checkNotNull(enabled, r'UserStatusCapabilities_UserStatus', 'enabled'); + BuiltValueNullFieldError.checkNotNull(restore, r'UserStatusCapabilities_UserStatus', 'restore'); + BuiltValueNullFieldError.checkNotNull(supportsEmoji, r'UserStatusCapabilities_UserStatus', 'supportsEmoji'); } @override - UserStatusEmptyOCS_Ocs rebuild(void Function(UserStatusEmptyOCS_OcsBuilder) updates) => + UserStatusCapabilities_UserStatus rebuild(void Function(UserStatusCapabilities_UserStatusBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusEmptyOCS_OcsBuilder toBuilder() => UserStatusEmptyOCS_OcsBuilder()..replace(this); + UserStatusCapabilities_UserStatusBuilder toBuilder() => UserStatusCapabilities_UserStatusBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusEmptyOCS_Ocs && meta == other.meta && data == other.data; + return other is UserStatusCapabilities_UserStatus && + enabled == other.enabled && + restore == other.restore && + supportsEmoji == other.supportsEmoji; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, meta.hashCode); - _$hash = $jc(_$hash, data.hashCode); + _$hash = $jc(_$hash, enabled.hashCode); + _$hash = $jc(_$hash, restore.hashCode); + _$hash = $jc(_$hash, supportsEmoji.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusEmptyOCS_Ocs') - ..add('meta', meta) - ..add('data', data)) + return (newBuiltValueToStringHelper(r'UserStatusCapabilities_UserStatus') + ..add('enabled', enabled) + ..add('restore', restore) + ..add('supportsEmoji', supportsEmoji)) .toString(); } } -class UserStatusEmptyOCS_OcsBuilder implements Builder { - _$UserStatusEmptyOCS_Ocs? _$v; +class UserStatusCapabilities_UserStatusBuilder + implements Builder { + _$UserStatusCapabilities_UserStatus? _$v; - UserStatusOCSMetaBuilder? _meta; - UserStatusOCSMetaBuilder get meta => _$this._meta ??= UserStatusOCSMetaBuilder(); - set meta(UserStatusOCSMetaBuilder? meta) => _$this._meta = meta; + bool? _enabled; + bool? get enabled => _$this._enabled; + set enabled(bool? enabled) => _$this._enabled = enabled; - ListBuilder? _data; - ListBuilder get data => _$this._data ??= ListBuilder(); - set data(ListBuilder? data) => _$this._data = data; + bool? _restore; + bool? get restore => _$this._restore; + set restore(bool? restore) => _$this._restore = restore; - UserStatusEmptyOCS_OcsBuilder(); + bool? _supportsEmoji; + bool? get supportsEmoji => _$this._supportsEmoji; + set supportsEmoji(bool? supportsEmoji) => _$this._supportsEmoji = supportsEmoji; - UserStatusEmptyOCS_OcsBuilder get _$this { + UserStatusCapabilities_UserStatusBuilder(); + + UserStatusCapabilities_UserStatusBuilder get _$this { final $v = _$v; if ($v != null) { - _meta = $v.meta.toBuilder(); - _data = $v.data.toBuilder(); + _enabled = $v.enabled; + _restore = $v.restore; + _supportsEmoji = $v.supportsEmoji; _$v = null; } return this; } @override - void replace(UserStatusEmptyOCS_Ocs other) { + void replace(UserStatusCapabilities_UserStatus other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusEmptyOCS_Ocs; + _$v = other as _$UserStatusCapabilities_UserStatus; } @override - void update(void Function(UserStatusEmptyOCS_OcsBuilder)? updates) { + void update(void Function(UserStatusCapabilities_UserStatusBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusEmptyOCS_Ocs build() => _build(); + UserStatusCapabilities_UserStatus build() => _build(); - _$UserStatusEmptyOCS_Ocs _build() { - _$UserStatusEmptyOCS_Ocs _$result; - try { - _$result = _$v ?? _$UserStatusEmptyOCS_Ocs._(meta: meta.build(), data: data.build()); - } catch (_) { - late String _$failedField; - try { - _$failedField = 'meta'; - meta.build(); - _$failedField = 'data'; - data.build(); - } catch (e) { - throw BuiltValueNestedFieldError(r'UserStatusEmptyOCS_Ocs', _$failedField, e.toString()); - } - rethrow; - } + _$UserStatusCapabilities_UserStatus _build() { + final _$result = _$v ?? + _$UserStatusCapabilities_UserStatus._( + enabled: BuiltValueNullFieldError.checkNotNull(enabled, r'UserStatusCapabilities_UserStatus', 'enabled'), + restore: BuiltValueNullFieldError.checkNotNull(restore, r'UserStatusCapabilities_UserStatus', 'restore'), + supportsEmoji: BuiltValueNullFieldError.checkNotNull( + supportsEmoji, r'UserStatusCapabilities_UserStatus', 'supportsEmoji')); replace(_$result); return _$result; } } -class _$UserStatusEmptyOCS extends UserStatusEmptyOCS { +class _$UserStatusCapabilities extends UserStatusCapabilities { @override - final UserStatusEmptyOCS_Ocs ocs; + final UserStatusCapabilities_UserStatus userStatus; - factory _$UserStatusEmptyOCS([void Function(UserStatusEmptyOCSBuilder)? updates]) => - (UserStatusEmptyOCSBuilder()..update(updates))._build(); + factory _$UserStatusCapabilities([void Function(UserStatusCapabilitiesBuilder)? updates]) => + (UserStatusCapabilitiesBuilder()..update(updates))._build(); - _$UserStatusEmptyOCS._({required this.ocs}) : super._() { - BuiltValueNullFieldError.checkNotNull(ocs, r'UserStatusEmptyOCS', 'ocs'); + _$UserStatusCapabilities._({required this.userStatus}) : super._() { + BuiltValueNullFieldError.checkNotNull(userStatus, r'UserStatusCapabilities', 'userStatus'); } @override - UserStatusEmptyOCS rebuild(void Function(UserStatusEmptyOCSBuilder) updates) => + UserStatusCapabilities rebuild(void Function(UserStatusCapabilitiesBuilder) updates) => (toBuilder()..update(updates)).build(); @override - UserStatusEmptyOCSBuilder toBuilder() => UserStatusEmptyOCSBuilder()..replace(this); + UserStatusCapabilitiesBuilder toBuilder() => UserStatusCapabilitiesBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; - return other is UserStatusEmptyOCS && ocs == other.ocs; + return other is UserStatusCapabilities && userStatus == other.userStatus; } @override int get hashCode { var _$hash = 0; - _$hash = $jc(_$hash, ocs.hashCode); + _$hash = $jc(_$hash, userStatus.hashCode); _$hash = $jf(_$hash); return _$hash; } @override String toString() { - return (newBuiltValueToStringHelper(r'UserStatusEmptyOCS')..add('ocs', ocs)).toString(); + return (newBuiltValueToStringHelper(r'UserStatusCapabilities')..add('userStatus', userStatus)).toString(); } } -class UserStatusEmptyOCSBuilder implements Builder { - _$UserStatusEmptyOCS? _$v; +class UserStatusCapabilitiesBuilder implements Builder { + _$UserStatusCapabilities? _$v; - UserStatusEmptyOCS_OcsBuilder? _ocs; - UserStatusEmptyOCS_OcsBuilder get ocs => _$this._ocs ??= UserStatusEmptyOCS_OcsBuilder(); - set ocs(UserStatusEmptyOCS_OcsBuilder? ocs) => _$this._ocs = ocs; + UserStatusCapabilities_UserStatusBuilder? _userStatus; + UserStatusCapabilities_UserStatusBuilder get userStatus => + _$this._userStatus ??= UserStatusCapabilities_UserStatusBuilder(); + set userStatus(UserStatusCapabilities_UserStatusBuilder? userStatus) => _$this._userStatus = userStatus; - UserStatusEmptyOCSBuilder(); + UserStatusCapabilitiesBuilder(); - UserStatusEmptyOCSBuilder get _$this { + UserStatusCapabilitiesBuilder get _$this { final $v = _$v; if ($v != null) { - _ocs = $v.ocs.toBuilder(); + _userStatus = $v.userStatus.toBuilder(); _$v = null; } return this; } @override - void replace(UserStatusEmptyOCS other) { + void replace(UserStatusCapabilities other) { ArgumentError.checkNotNull(other, 'other'); - _$v = other as _$UserStatusEmptyOCS; + _$v = other as _$UserStatusCapabilities; } @override - void update(void Function(UserStatusEmptyOCSBuilder)? updates) { + void update(void Function(UserStatusCapabilitiesBuilder)? updates) { if (updates != null) updates(this); } @override - UserStatusEmptyOCS build() => _build(); + UserStatusCapabilities build() => _build(); - _$UserStatusEmptyOCS _build() { - _$UserStatusEmptyOCS _$result; + _$UserStatusCapabilities _build() { + _$UserStatusCapabilities _$result; try { - _$result = _$v ?? _$UserStatusEmptyOCS._(ocs: ocs.build()); + _$result = _$v ?? _$UserStatusCapabilities._(userStatus: userStatus.build()); } catch (_) { late String _$failedField; try { - _$failedField = 'ocs'; - ocs.build(); + _$failedField = 'userStatus'; + userStatus.build(); } catch (e) { - throw BuiltValueNestedFieldError(r'UserStatusEmptyOCS', _$failedField, e.toString()); + throw BuiltValueNestedFieldError(r'UserStatusCapabilities', _$failedField, e.toString()); } rethrow; } diff --git a/packages/nextcloud/lib/src/client.dart b/packages/nextcloud/lib/src/client.dart index 0f08d4e8..59c77caf 100644 --- a/packages/nextcloud/lib/src/client.dart +++ b/packages/nextcloud/lib/src/client.dart @@ -6,6 +6,8 @@ import 'package:nextcloud/src/api/news.openapi.dart'; import 'package:nextcloud/src/api/notes.openapi.dart'; import 'package:nextcloud/src/api/notifications.openapi.dart'; import 'package:nextcloud/src/api/provisioning_api.openapi.dart'; +import 'package:nextcloud/src/api/settings.openapi.dart'; +import 'package:nextcloud/src/api/theming.openapi.dart'; import 'package:nextcloud/src/api/uppush.openapi.dart'; import 'package:nextcloud/src/api/user_status.openapi.dart'; import 'package:nextcloud/src/app_type.dart'; @@ -18,22 +20,27 @@ class NextcloudClient extends DynamiteClient { super.baseURL, { this.loginName, final String? password, + final String? appPassword, final String? language, final AppType appType = AppType.unknown, final String? userAgentOverride, super.cookieJar, }) : super( baseHeaders: ({ - 'OCS-APIRequest': 'true', 'Accept-Language': language, }..removeWhere((final _, final value) => value == null)) .cast(), userAgent: userAgentOverride ?? appType.userAgent, authentications: [ - if (loginName != null && password != null) ...[ + if (appPassword != null) ...[ + DynamiteHttpBearerAuthentication( + token: appPassword, + ), + ], + if (loginName != null && (password ?? appPassword) != null) ...[ DynamiteHttpBasicAuthentication( username: loginName, - password: password, + password: (password ?? appPassword)!, ), ], ], @@ -50,6 +57,8 @@ class NextcloudClient extends DynamiteClient { ProvisioningApiClient? _provisioningApi; UppushClient? _uppush; UserStatusClient? _userStatus; + SettingsClient? _settings; + ThemingClient? _theming; /// Client for WebDAV WebDavClient get webdav => _webdav ??= WebDavClient(this); @@ -74,6 +83,12 @@ class NextcloudClient extends DynamiteClient { /// Client for the user status APIs UserStatusClient get userStatus => _userStatus ??= UserStatusClient.fromClient(this); + + /// Client for the settings APIs + SettingsClient get settings => _settings ??= SettingsClient.fromClient(this); + + /// Client for the theming APIs + ThemingClient get theming => _theming ??= ThemingClient.fromClient(this); } // ignore: public_member_api_docs diff --git a/packages/nextcloud/lib/src/helpers.dart b/packages/nextcloud/lib/src/helpers.dart deleted file mode 100644 index 5f1451a8..00000000 --- a/packages/nextcloud/lib/src/helpers.dart +++ /dev/null @@ -1,54 +0,0 @@ -// ignore_for_file: public_member_api_docs - -import 'dart:convert'; - -import 'package:crypto/crypto.dart'; -import 'package:crypton/crypton.dart'; -import 'package:nextcloud/src/api/notifications.openapi.dart'; - -/// Generates the push token hash which is just sha512 -String generatePushTokenHash(final String pushToken) => sha512.convert(utf8.encode(pushToken)).toString(); - -/// Decrypts the subject of a push notification -NotificationsNotificationDecryptedSubject decryptPushNotificationSubject( - final RSAPrivateKey privateKey, - final String subject, -) => - NotificationsNotificationDecryptedSubject.fromJson( - json.decode(privateKey.decrypt(subject)) as Map, - ); - -/// See https://github.com/nextcloud/news/blob/4a107b3d53c4fe651ac704251b99e04a53cd587f/lib/Db/ListType.php -enum NewsListType { - feed(0), - folder(1), - starred(2), - allItems(3), - shared(4), - explore(5), - unread(6); - - const NewsListType(this.code); - - final int code; -} - -enum ShareType { - user(0), - group(1), - usergroup(2), - link(3), - email(4), - // 5 was contact, is no longer used - remote(6), - circle(7), - guest(8), - remoteGroup(9), - room(10), - // 11 is userroom, but it's only used internally - deck(12), - deckUser(13); - - const ShareType(this.code); - final int code; -} diff --git a/packages/nextcloud/lib/src/helpers/core.dart b/packages/nextcloud/lib/src/helpers/core.dart new file mode 100644 index 00000000..fa9bf6a4 --- /dev/null +++ b/packages/nextcloud/lib/src/helpers/core.dart @@ -0,0 +1,20 @@ +// ignore_for_file: public_member_api_docs + +enum ShareType { + user, + group, + usergroup, + link, + email, + @Deprecated('No longer used') + contact, + remote, + circle, + guest, + remoteGroup, + room, + @Deprecated('Only used internally') + userroom, + deck, + deckUser, +} diff --git a/packages/nextcloud/lib/src/helpers/news.dart b/packages/nextcloud/lib/src/helpers/news.dart new file mode 100644 index 00000000..b6833654 --- /dev/null +++ b/packages/nextcloud/lib/src/helpers/news.dart @@ -0,0 +1,12 @@ +// ignore_for_file: public_member_api_docs + +/// See https://github.com/nextcloud/news/blob/4a107b3d53c4fe651ac704251b99e04a53cd587f/lib/Db/ListType.php +enum NewsListType { + feed, + folder, + starred, + allItems, + shared, + explore, + unread, +} diff --git a/packages/nextcloud/lib/src/helpers/notifications.dart b/packages/nextcloud/lib/src/helpers/notifications.dart new file mode 100644 index 00000000..302cd171 --- /dev/null +++ b/packages/nextcloud/lib/src/helpers/notifications.dart @@ -0,0 +1,63 @@ +import 'dart:convert'; + +import 'package:crypto/crypto.dart'; +import 'package:crypton/crypton.dart'; +import 'package:json_annotation/json_annotation.dart'; + +part 'notifications.g.dart'; + +/// Generates the push token hash which is just sha512 +String generatePushTokenHash(final String pushToken) => sha512.convert(utf8.encode(pushToken)).toString(); + +@JsonSerializable() +// ignore: public_member_api_docs +class NotificationsDecryptedSubject { + // ignore: public_member_api_docs + NotificationsDecryptedSubject({ + this.nid, + this.app, + this.subject, + this.type, + this.id, + this.delete, + this.deleteAll, + }); + + // ignore: public_member_api_docs + factory NotificationsDecryptedSubject.fromJson(final Map json) => + _$NotificationsDecryptedSubjectFromJson(json); + + /// ID if the notification + final int? nid; + + /// App that sent the notification + final String? app; + + /// Subject of the notification + final String? subject; + + /// Type of the notification + final String? type; + + /// ID of the notification + final String? id; + + /// Delete the notification + final bool? delete; + + /// Delete all notifications + @JsonKey(name: 'delete-all') + final bool? deleteAll; + + // ignore: public_member_api_docs + Map toJson() => _$NotificationsDecryptedSubjectToJson(this); +} + +/// Decrypts the subject of a push notification +NotificationsDecryptedSubject decryptPushNotificationSubject( + final RSAPrivateKey privateKey, + final String subject, +) => + NotificationsDecryptedSubject.fromJson( + json.decode(privateKey.decrypt(subject)) as Map, + ); diff --git a/packages/nextcloud/lib/src/helpers/notifications.g.dart b/packages/nextcloud/lib/src/helpers/notifications.g.dart new file mode 100644 index 00000000..2ef6e3d1 --- /dev/null +++ b/packages/nextcloud/lib/src/helpers/notifications.g.dart @@ -0,0 +1,28 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'notifications.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +NotificationsDecryptedSubject _$NotificationsDecryptedSubjectFromJson(Map json) => + NotificationsDecryptedSubject( + nid: json['nid'] as int?, + app: json['app'] as String?, + subject: json['subject'] as String?, + type: json['type'] as String?, + id: json['id'] as String?, + delete: json['delete'] as bool?, + deleteAll: json['delete-all'] as bool?, + ); + +Map _$NotificationsDecryptedSubjectToJson(NotificationsDecryptedSubject instance) => { + 'nid': instance.nid, + 'app': instance.app, + 'subject': instance.subject, + 'type': instance.type, + 'id': instance.id, + 'delete': instance.delete, + 'delete-all': instance.deleteAll, + }; diff --git a/packages/nextcloud/lib/src/version_supported.dart b/packages/nextcloud/lib/src/version_supported.dart index 84670e3c..5026ebcc 100644 --- a/packages/nextcloud/lib/src/version_supported.dart +++ b/packages/nextcloud/lib/src/version_supported.dart @@ -17,14 +17,14 @@ extension CoreVersionSupported on CoreClient { /// Check if the core/Server version is supported by this client /// /// Also returns the supported version number - (bool, int) isSupported(final CoreServerCapabilities_Ocs_Data capabilities) => ( + (bool, int) isSupported(final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data capabilities) => ( capabilities.version.major == coreSupportedVersion, coreSupportedVersion, ); } // ignore: public_member_api_docs -extension CoreStatusVersionSupported on CoreServerStatus { +extension CoreStatusVersionSupported on CoreStatus { /// Check if the core/Server version is supported bool get isSupported => version.startsWith('$coreSupportedVersion.'); } @@ -48,7 +48,7 @@ extension NotesVersionSupported on NotesClient { /// Check if the notes app version is supported by this client /// /// Also returns the supported API version number - (bool, int) isSupported(final CoreServerCapabilities_Ocs_Data capabilities) => ( + (bool, int) isSupported(final CoreOcsGetCapabilitiesResponse200ApplicationJson_Ocs_Data capabilities) => ( capabilities.capabilities.notes?.apiVersion ?.map(Version.parse) .where((final version) => version.major == notesSupportedVersion) diff --git a/packages/nextcloud/pubspec.yaml b/packages/nextcloud/pubspec.yaml index 3babab32..1ae82cd0 100644 --- a/packages/nextcloud/pubspec.yaml +++ b/packages/nextcloud/pubspec.yaml @@ -15,6 +15,7 @@ dependencies: url: https://github.com/provokateurin/nextcloud-neon path: packages/dynamite/dynamite_runtime intl: ^0.18.0 + json_annotation: ^4.8.1 universal_io: ^2.2.0 version: ^3.0.2 xml: ^6.3.0 @@ -28,6 +29,7 @@ dev_dependencies: git: url: https://github.com/provokateurin/nextcloud-neon path: packages/dynamite/dynamite + json_serializable: ^6.6.2 nit_picking: git: url: https://github.com/stack11/dart_nit_picking diff --git a/packages/nextcloud/test/core_test.dart b/packages/nextcloud/test/core_test.dart index 9f864c62..f7eaf516 100644 --- a/packages/nextcloud/test/core_test.dart +++ b/packages/nextcloud/test/core_test.dart @@ -20,7 +20,7 @@ void main() { tearDown(() => container.destroy()); test('Is supported from capabilities', () async { - final (supported, _) = client.core.isSupported((await client.core.getCapabilities()).ocs.data); + final (supported, _) = client.core.isSupported((await client.core.ocs.getCapabilities()).ocs.data); expect(supported, isTrue); }); @@ -42,7 +42,7 @@ void main() { }); test('Get capabilities', () async { - final capabilities = await client.core.getCapabilities(); + final capabilities = await client.core.ocs.getCapabilities(); expect(capabilities.ocs.data.version.major, coreSupportedVersion); expect(capabilities.ocs.data.version.string, startsWith('$coreSupportedVersion.')); expect(capabilities.ocs.data.capabilities.theming!.name, 'Nextcloud'); @@ -59,7 +59,7 @@ void main() { }); test('Get navigation apps', () async { - final navigationApps = await client.core.getNavigationApps(); + final navigationApps = await client.core.navigation.getAppsNavigation(); expect(navigationApps.ocs.data, hasLength(6)); expect(navigationApps.ocs.data[0].id, 'dashboard'); expect(navigationApps.ocs.data[1].id, 'files'); @@ -69,78 +69,77 @@ void main() { expect(navigationApps.ocs.data[5].id, 'news'); }); - test('Autocomplete', () async { - final response = await client.core.autocomplete( - search: '', - itemType: 'call', - itemId: 'new', - shareTypes: [ - ShareType.user.code, - ShareType.group.code, - ], - ); - expect(response.ocs.data, hasLength(3)); - - expect(response.ocs.data[0].id, 'admin'); - expect(response.ocs.data[0].label, 'admin'); - expect(response.ocs.data[0].icon, 'icon-user'); - expect(response.ocs.data[0].source, 'users'); - expect(response.ocs.data[0].status.string, isNull); - expect(response.ocs.data[0].subline, ''); - expect(response.ocs.data[0].shareWithDisplayNameUnique, 'admin@example.com'); - - expect(response.ocs.data[1].id, 'user2'); - expect(response.ocs.data[1].label, 'User Two'); - expect(response.ocs.data[1].icon, 'icon-user'); - expect(response.ocs.data[1].source, 'users'); - expect(response.ocs.data[1].status.string, isNull); - expect(response.ocs.data[1].subline, ''); - expect(response.ocs.data[1].shareWithDisplayNameUnique, 'user2'); - - expect(response.ocs.data[2].id, 'admin'); - expect(response.ocs.data[2].label, 'admin'); - expect(response.ocs.data[2].icon, ''); - expect(response.ocs.data[2].source, 'groups'); - expect(response.ocs.data[2].status.string, isEmpty); - expect(response.ocs.data[2].subline, ''); - expect(response.ocs.data[2].shareWithDisplayNameUnique, ''); - }); + test( + 'Autocomplete', + () async { + final response = await client.core.autoComplete.$get( + search: '', + itemType: 'call', + itemId: 'new', + shareTypes: [ + ShareType.user.index, + ShareType.group.index, + ], + ); + expect(response.ocs.data, hasLength(3)); + + expect(response.ocs.data[0].id, 'admin'); + expect(response.ocs.data[0].label, 'admin'); + expect(response.ocs.data[0].icon, 'icon-user'); + expect(response.ocs.data[0].source, 'users'); + expect(response.ocs.data[0].status, isEmpty); + expect(response.ocs.data[0].subline, ''); + expect(response.ocs.data[0].shareWithDisplayNameUnique, 'admin@example.com'); + + expect(response.ocs.data[1].id, 'user2'); + expect(response.ocs.data[1].label, 'User Two'); + expect(response.ocs.data[1].icon, 'icon-user'); + expect(response.ocs.data[1].source, 'users'); + expect(response.ocs.data[1].status, isEmpty); + expect(response.ocs.data[1].subline, ''); + expect(response.ocs.data[1].shareWithDisplayNameUnique, 'user2'); + + expect(response.ocs.data[2].id, 'admin'); + expect(response.ocs.data[2].label, 'admin'); + expect(response.ocs.data[2].icon, ''); + expect(response.ocs.data[2].source, 'groups'); + expect(response.ocs.data[2].status, isEmpty); + expect(response.ocs.data[2].subline, ''); + expect(response.ocs.data[2].shareWithDisplayNameUnique, ''); + }, + skip: true, // TODO: This test only works on 28+ due to a bug fix with the status + ); test('Get preview', () async { - final response = await client.core.getPreview(file: 'Nextcloud.png'); + final response = await client.core.preview.getPreview(file: 'Nextcloud.png'); expect(response, isNotEmpty); }); test('Get avatar', () async { - final response = await client.core.getAvatar(userId: 'admin', size: 32); - expect(response, isNotEmpty); + final response = await client.core.avatar.getAvatar(userId: 'admin', size: 32); + expect(response.data, isNotEmpty); }); test('Get dark avatar', () async { - final response = await client.core.getDarkAvatar(userId: 'admin', size: 32); - expect(response, isNotEmpty); + final response = await client.core.avatar.getAvatarDark(userId: 'admin', size: 32); + expect(response.data, isNotEmpty); }); test('Delete app password', () async { - client = await getTestClient( - container, - useAppPassword: true, - ); - - await client.core.deleteAppPassword(); + await client.core.appPassword.deleteAppPassword(); expect( - () => client.core.getCapabilities(), + () => client.core.appPassword.deleteAppPassword(), throwsA(predicate((final e) => (e! as DynamiteApiException).statusCode == 401)), ); }); test('Unified search providers', () async { - final response = await client.core.unifiedSearchProviders(); + final response = await client.core.unifiedSearch.getProviders(); expect(response.ocs.data, hasLength(13)); }); test('Unified search', () async { - final response = await client.core.unifiedSearch( + final response = await client.core.unifiedSearch.search( providerId: 'settings', term: 'Personal info', ); diff --git a/packages/nextcloud/test/helper.dart b/packages/nextcloud/test/helper.dart index 1d1fa14f..03ccd9cf 100644 --- a/packages/nextcloud/test/helper.dart +++ b/packages/nextcloud/test/helper.dart @@ -46,30 +46,29 @@ class DockerContainer { ), ); - Future collectLogs() async { - final serverLogs = (await runExecutableArguments( - 'docker', - [ - 'logs', - id, - ], - stdoutEncoding: utf8, - )) - .stdout as String; - final nextcloudLogs = (await runExecutableArguments( - 'docker', - [ - 'exec', - id, - 'cat', - 'data/nextcloud.log', - ], - stdoutEncoding: utf8, - )) - .stdout as String; + Future serverLogs() async => (await runExecutableArguments( + 'docker', + [ + 'logs', + id, + ], + stdoutEncoding: utf8, + )) + .stdout as String; + + Future nextcloudLogs() async => (await runExecutableArguments( + 'docker', + [ + 'exec', + id, + 'cat', + 'data/nextcloud.log', + ], + stdoutEncoding: utf8, + )) + .stdout as String; - return '$serverLogs\n\n$nextcloudLogs'; - } + Future allLogs() async => '${await serverLogs()}\n\n${await nextcloudLogs()}'; } class TestNextcloudClient extends NextcloudClient { @@ -77,6 +76,7 @@ class TestNextcloudClient extends NextcloudClient { super.baseURL, { super.loginName, super.password, + super.appPassword, super.language, super.appType, super.userAgentOverride, @@ -87,16 +87,11 @@ class TestNextcloudClient extends NextcloudClient { Future getTestClient( final DockerContainer container, { final String? username = 'user1', - final String? password = 'user1', - final bool useAppPassword = false, final AppType appType = AppType.unknown, final String? userAgentOverride, }) async { - // ignore: prefer_asserts_with_message - assert(!useAppPassword || (username != null && password != null)); - - var clientPassword = password; - if (useAppPassword) { + String? appPassword; + if (username != null) { final inputStream = StreamController>(); final process = runExecutableArguments( 'docker', @@ -108,24 +103,25 @@ Future getTestClient( '-f', 'occ', 'user:add-app-password', - username!, + username, ], stdin: inputStream.stream, ); - inputStream.add(utf8.encode(password!)); + inputStream.add(utf8.encode(username)); await inputStream.close(); final result = await process; if (result.exitCode != 0) { throw Exception('Failed to run generate app password command\n${result.stderr}\n${result.stdout}'); } - clientPassword = (result.stdout as String).split('\n')[1]; + appPassword = (result.stdout as String).split('\n')[1]; } final client = TestNextcloudClient( 'http://localhost:${container.port}', loginName: username, - password: clientPassword, + password: username, + appPassword: appPassword, appType: appType, userAgentOverride: userAgentOverride, cookieJar: CookieJar(), diff --git a/packages/nextcloud/test/news_test.dart b/packages/nextcloud/test/news_test.dart index 22e0ee6f..e85d450f 100644 --- a/packages/nextcloud/test/news_test.dart +++ b/packages/nextcloud/test/news_test.dart @@ -92,7 +92,7 @@ void main() { test('Mark feed as read', () async { final feedsResponse = await addWikipediaFeed(); - var articlesResponse = await client.news.listArticles(type: NewsListType.unread.code); + var articlesResponse = await client.news.listArticles(type: NewsListType.unread.index); expect(articlesResponse.items.length, greaterThan(0)); await client.news.markFeedAsRead( @@ -100,7 +100,7 @@ void main() { newestItemId: feedsResponse.newestItemId!, ); - articlesResponse = await client.news.listArticles(type: NewsListType.unread.code); + articlesResponse = await client.news.listArticles(type: NewsListType.unread.index); expect(articlesResponse.items, hasLength(0)); }); @@ -145,36 +145,36 @@ void main() { test('Mark article as read', () async { await addWikipediaFeed(); - var response = await client.news.listArticles(type: NewsListType.unread.code); + var response = await client.news.listArticles(type: NewsListType.unread.index); final unreadArticles = response.items.length; expect(unreadArticles, greaterThan(0)); await client.news.markArticleAsRead( itemId: response.items[0].id, ); - response = await client.news.listArticles(type: NewsListType.unread.code); + response = await client.news.listArticles(type: NewsListType.unread.index); expect(response.items, hasLength(unreadArticles - 1)); }); test('Mark article as unread', () async { await addWikipediaFeed(); - var response = await client.news.listArticles(type: NewsListType.unread.code); + var response = await client.news.listArticles(type: NewsListType.unread.index); final readArticle = response.items[0]; await client.news.markArticleAsRead(itemId: readArticle.id); - response = await client.news.listArticles(type: NewsListType.unread.code); + response = await client.news.listArticles(type: NewsListType.unread.index); final unreadArticles = response.items.length; expect(unreadArticles, greaterThan(0)); await client.news.markArticleAsUnread(itemId: readArticle.id); - response = await client.news.listArticles(type: NewsListType.unread.code); + response = await client.news.listArticles(type: NewsListType.unread.index); expect(response.items, hasLength(unreadArticles + 1)); }); test('Star article', () async { await addWikipediaFeed(); - var response = await client.news.listArticles(type: NewsListType.starred.code); + var response = await client.news.listArticles(type: NewsListType.starred.index); final starredArticles = response.items.length; expect(starredArticles, 0); @@ -182,7 +182,7 @@ void main() { await client.news.starArticle( itemId: response.items[0].id, ); - response = await client.news.listArticles(type: NewsListType.starred.code); + response = await client.news.listArticles(type: NewsListType.starred.index); expect(response.items, hasLength(1)); }); @@ -195,13 +195,13 @@ void main() { await client.news.starArticle( itemId: item.id, ); - response = await client.news.listArticles(type: NewsListType.starred.code); + response = await client.news.listArticles(type: NewsListType.starred.index); expect(response.items, hasLength(1)); await client.news.unstarArticle( itemId: item.id, ); - response = await client.news.listArticles(type: NewsListType.starred.code); + response = await client.news.listArticles(type: NewsListType.starred.index); expect(response.items, hasLength(0)); }); @@ -257,7 +257,7 @@ void main() { final foldersResponse = await client.news.createFolder(name: 'test1'); final feedsResponse = await addWikipediaFeed(1); - var articlesResponse = await client.news.listArticles(type: NewsListType.unread.code); + var articlesResponse = await client.news.listArticles(type: NewsListType.unread.index); expect(articlesResponse.items.length, greaterThan(0)); await client.news.markFolderAsRead( @@ -265,7 +265,7 @@ void main() { newestItemId: feedsResponse.newestItemId!, ); - articlesResponse = await client.news.listArticles(type: NewsListType.unread.code); + articlesResponse = await client.news.listArticles(type: NewsListType.unread.index); expect(articlesResponse.items, hasLength(0)); }); }); diff --git a/packages/nextcloud/test/notes_test.dart b/packages/nextcloud/test/notes_test.dart index b78b11fe..12651903 100644 --- a/packages/nextcloud/test/notes_test.dart +++ b/packages/nextcloud/test/notes_test.dart @@ -20,7 +20,7 @@ void main() { tearDown(() => container.destroy()); test('Is supported', () async { - final (supported, _) = client.notes.isSupported((await client.core.getCapabilities()).ocs.data); + final (supported, _) = client.notes.isSupported((await client.core.ocs.getCapabilities()).ocs.data); expect(supported, isTrue); }); diff --git a/packages/nextcloud/test/notifications_test.dart b/packages/nextcloud/test/notifications_test.dart index 8eba1e9a..002fdd1c 100644 --- a/packages/nextcloud/test/notifications_test.dart +++ b/packages/nextcloud/test/notifications_test.dart @@ -20,7 +20,6 @@ void main() { client = await getTestClient( container, username: 'admin', - password: 'admin', ); }); tearDown(() => container.destroy()); @@ -42,8 +41,8 @@ void main() { final startTime = DateTime.now().toUtc(); final response = await client.notifications.listNotifications(); - expect(response.ocs.data, hasLength(1)); - expect(response.ocs.data[0].notificationId, 1); + expect(response.ocs.data, hasLength(2)); + expect(response.ocs.data[0].notificationId, 2); expect(response.ocs.data[0].app, 'admin_notifications'); expect(response.ocs.data[0].user, 'admin'); expectDateInReasonableTimeRange(DateTime.parse(response.ocs.data[0].datetime), startTime); @@ -64,8 +63,8 @@ void main() { await sendTestNotification(); final startTime = DateTime.now().toUtc(); - final response = await client.notifications.getNotification(id: 1); - expect(response.ocs.data.notificationId, 1); + final response = await client.notifications.getNotification(id: 2); + expect(response.ocs.data.notificationId, 2); expect(response.ocs.data.app, 'admin_notifications'); expect(response.ocs.data.user, 'admin'); expectDateInReasonableTimeRange(DateTime.parse(response.ocs.data.datetime), startTime); @@ -84,10 +83,10 @@ void main() { test('Delete notification', () async { await sendTestNotification(); - await client.notifications.deleteNotification(id: 1); + await client.notifications.deleteNotification(id: 2); final response = await client.notifications.listNotifications(); - expect(response.ocs.data, hasLength(0)); + expect(response.ocs.data, hasLength(1)); }); test('Delete all notifications', () async { @@ -111,8 +110,6 @@ void main() { client = await getTestClient( container, username: 'admin', - // We need to use app passwords in order to register push devices - useAppPassword: true, ); }); tearDown(() => container.destroy()); diff --git a/packages/nextcloud/test/provisioning_api_test.dart b/packages/nextcloud/test/provisioning_api_test.dart index 9383e9f7..6cc65ed1 100644 --- a/packages/nextcloud/test/provisioning_api_test.dart +++ b/packages/nextcloud/test/provisioning_api_test.dart @@ -14,24 +14,41 @@ void main() { late TestNextcloudClient client; setUp(() async { container = await getDockerContainer(image); - client = await getTestClient(container); + client = await getTestClient( + container, + username: 'admin', + ); }); tearDown(() => container.destroy()); - test('Get current user', () async { - final user = await client.provisioningApi.getCurrentUser(); - expect(user.ocs.data.id, 'user1'); - expect(user.ocs.data.displayname, 'User One'); - expect(user.ocs.data.displaynameScope, 'v2-federated'); - expect(user.ocs.data.language, 'en'); + group('Users', () { + test('Get current user', () async { + final user = await client.provisioningApi.users.getCurrentUser(); + expect(user.ocs.data.id, 'admin'); + expect(user.ocs.data.displayName, 'admin'); + expect(user.ocs.data.displaynameScope, 'v2-federated'); + expect(user.ocs.data.language, 'en'); + }); + + test('Get user by username', () async { + final user = await client.provisioningApi.users.getUser(userId: 'user1'); + expect(user.ocs.data.id, 'user1'); + expect(user.ocs.data.displayname, 'User One'); + expect(user.ocs.data.displaynameScope, null); + expect(user.ocs.data.language, 'en'); + }); }); - test('Get user by username', () async { - final user = await client.provisioningApi.getUser(userId: 'user1'); - expect(user.ocs.data.id, 'user1'); - expect(user.ocs.data.displayname, 'User One'); - expect(user.ocs.data.displaynameScope, 'v2-federated'); - expect(user.ocs.data.language, 'en'); + group('Apps', () { + test('Get apps', () async { + final response = await client.provisioningApi.apps.getApps(); + expect(response.ocs.data.apps, hasLength(39)); + + for (final id in response.ocs.data.apps) { + final app = await client.provisioningApi.apps.getAppInfo(app: id); + expect(app.ocs.data.id, isNotEmpty); + } + }); }); }); } diff --git a/packages/nextcloud/test/settings_test.dart b/packages/nextcloud/test/settings_test.dart new file mode 100644 index 00000000..f941fa81 --- /dev/null +++ b/packages/nextcloud/test/settings_test.dart @@ -0,0 +1,29 @@ +import 'dart:convert'; + +import 'package:test/test.dart'; + +import 'helper.dart'; + +Future main() async { + await run(await getDockerImage()); +} + +Future run(final DockerImage image) async { + group('settings', () { + late DockerContainer container; + late TestNextcloudClient client; + setUp(() async { + container = await getDockerContainer(image); + client = await getTestClient( + container, + username: 'admin', + ); + }); + tearDown(() => container.destroy()); + + test('Download log file', () async { + final response = utf8.decode((await client.settings.logSettings.download()).data); + expect(response, await container.nextcloudLogs()); + }); + }); +} diff --git a/packages/nextcloud/test/uppush_test.dart b/packages/nextcloud/test/uppush_test.dart index 7393ff9b..3aa5fc9b 100644 --- a/packages/nextcloud/test/uppush_test.dart +++ b/packages/nextcloud/test/uppush_test.dart @@ -17,7 +17,6 @@ void main() { client = await getTestClient( container, username: 'admin', - password: 'admin', ); }); tearDown(() => container.destroy()); diff --git a/packages/nextcloud/test/user_status_test.dart b/packages/nextcloud/test/user_status_test.dart index 663c359b..a18c8b14 100644 --- a/packages/nextcloud/test/user_status_test.dart +++ b/packages/nextcloud/test/user_status_test.dart @@ -21,7 +21,7 @@ void main() { test('Find all predefined statuses', () async { final expectedStatusIDs = ['meeting', 'commuting', 'remote-work', 'sick-leave', 'vacationing']; - final response = await client.userStatus.getPredefinedStatuses(); + final response = await client.userStatus.predefinedStatus.findAll(); expect(response.ocs.data, hasLength(5)); final responseIDs = response.ocs.data.map((final status) => status.id); expect(expectedStatusIDs.map(responseIDs.contains).contains(false), false); @@ -30,145 +30,145 @@ void main() { expect(status.message, isNotNull); } - final meeting = response.ocs.data.singleWhere((final s) => s.id == 'meeting').clearAt!.clearAt!; + final meeting = response.ocs.data.singleWhere((final s) => s.id == 'meeting').clearAt!; expect(meeting.type, UserStatusClearAt_Type.period); expect(meeting.time.$int, 3600); - final commuting = response.ocs.data.singleWhere((final s) => s.id == 'commuting').clearAt!.clearAt!; + final commuting = response.ocs.data.singleWhere((final s) => s.id == 'commuting').clearAt!; expect(commuting.type, UserStatusClearAt_Type.period); expect(commuting.time.$int, 1800); - final remoteWork = response.ocs.data.singleWhere((final s) => s.id == 'remote-work').clearAt!.clearAt!; + final remoteWork = response.ocs.data.singleWhere((final s) => s.id == 'remote-work').clearAt!; expect(remoteWork.type, UserStatusClearAt_Type.endOf); - expect(remoteWork.time.clearAtTime0, UserStatusClearAt_Time0.day); + expect(remoteWork.time.clearAtTimeType, UserStatusClearAtTimeType.day); - final sickLeave = response.ocs.data.singleWhere((final s) => s.id == 'sick-leave').clearAt!.clearAt!; + final sickLeave = response.ocs.data.singleWhere((final s) => s.id == 'sick-leave').clearAt!; expect(sickLeave.type, UserStatusClearAt_Type.endOf); - expect(sickLeave.time.clearAtTime0, UserStatusClearAt_Time0.day); + expect(sickLeave.time.clearAtTimeType, UserStatusClearAtTimeType.day); final vacationing = response.ocs.data.singleWhere((final s) => s.id == 'vacationing').clearAt; expect(vacationing, null); }); test('Set status', () async { - final response = await client.userStatus.setStatus(statusType: UserStatusType.online); - - expect(response.ocs.data.status!.publicStatus.userId, 'user1'); - expect(response.ocs.data.status!.publicStatus.message, null); - expect(response.ocs.data.status!.status1.messageId, null); - expect(response.ocs.data.status!.status1.messageIsPredefined, false); - expect(response.ocs.data.status!.publicStatus.icon, null); - expect(response.ocs.data.status!.publicStatus.clearAt, null); - expect(response.ocs.data.status!.publicStatus.status, UserStatusType.online); - expect(response.ocs.data.status!.status1.statusIsUserDefined, true); + final response = await client.userStatus.userStatus.setStatus(statusType: 'online'); + + expect(response.ocs.data.public.userId, 'user1'); + expect(response.ocs.data.public.message, null); + expect(response.ocs.data.private1.messageId, null); + expect(response.ocs.data.private1.messageIsPredefined, false); + expect(response.ocs.data.public.icon, null); + expect(response.ocs.data.public.clearAt, null); + expect(response.ocs.data.public.status, 'online'); + expect(response.ocs.data.private1.statusIsUserDefined, true); }); test('Get status', () async { // There seems to be a bug in Nextcloud which makes getting the status fail before it has been set once. // The error message from Nextcloud is "Could not create folder" - await client.userStatus.setStatus(statusType: UserStatusType.online); - - final response = await client.userStatus.getStatus(); - expect(response.ocs.data.status!.publicStatus.userId, 'user1'); - expect(response.ocs.data.status!.publicStatus.message, null); - expect(response.ocs.data.status!.status1.messageId, null); - expect(response.ocs.data.status!.status1.messageIsPredefined, false); - expect(response.ocs.data.status!.publicStatus.icon, null); - expect(response.ocs.data.status!.publicStatus.clearAt, null); - expect(response.ocs.data.status!.publicStatus.status, UserStatusType.online); - expect(response.ocs.data.status!.status1.statusIsUserDefined, true); + await client.userStatus.userStatus.setStatus(statusType: 'online'); + + final response = await client.userStatus.userStatus.getStatus(); + expect(response.ocs.data.public.userId, 'user1'); + expect(response.ocs.data.public.message, null); + expect(response.ocs.data.private1.messageId, null); + expect(response.ocs.data.private1.messageIsPredefined, false); + expect(response.ocs.data.public.icon, null); + expect(response.ocs.data.public.clearAt, null); + expect(response.ocs.data.public.status, 'online'); + expect(response.ocs.data.private1.statusIsUserDefined, true); }); test('Find all statuses', () async { - var response = await client.userStatus.getPublicStatuses(); + var response = await client.userStatus.statuses.findAll(); expect(response.ocs.data, hasLength(0)); - await client.userStatus.setStatus(statusType: UserStatusType.online); + await client.userStatus.userStatus.setStatus(statusType: 'online'); - response = await client.userStatus.getPublicStatuses(); + response = await client.userStatus.statuses.findAll(); expect(response.ocs.data, hasLength(1)); expect(response.ocs.data[0].userId, 'user1'); expect(response.ocs.data[0].message, null); expect(response.ocs.data[0].icon, null); expect(response.ocs.data[0].clearAt, null); - expect(response.ocs.data[0].status, UserStatusType.online); + expect(response.ocs.data[0].status, 'online'); }); test('Find status', () async { // Same as getting status - await client.userStatus.setStatus(statusType: UserStatusType.online); - - final response = await client.userStatus.getPublicStatus(userId: 'user1'); - expect(response.ocs.data.publicStatus!.userId, 'user1'); - expect(response.ocs.data.publicStatus!.message, null); - expect(response.ocs.data.publicStatus!.icon, null); - expect(response.ocs.data.publicStatus!.clearAt, null); - expect(response.ocs.data.publicStatus!.status, UserStatusType.online); + await client.userStatus.userStatus.setStatus(statusType: 'online'); + + final response = await client.userStatus.statuses.find(userId: 'user1'); + expect(response.ocs.data.userId, 'user1'); + expect(response.ocs.data.message, null); + expect(response.ocs.data.icon, null); + expect(response.ocs.data.clearAt, null); + expect(response.ocs.data.status, 'online'); }); test('Set predefined message', () async { final clearAt = DateTime.now().millisecondsSinceEpoch ~/ 1000 + 60; - final response = await client.userStatus.setPredefinedMessage( + final response = await client.userStatus.userStatus.setPredefinedMessage( messageId: 'meeting', clearAt: clearAt, ); - expect(response.ocs.data.status!.publicStatus.userId, 'user1'); - expect(response.ocs.data.status!.publicStatus.message, null); - expect(response.ocs.data.status!.status1.messageId, 'meeting'); - expect(response.ocs.data.status!.status1.messageIsPredefined, true); - expect(response.ocs.data.status!.publicStatus.icon, null); - expect(response.ocs.data.status!.publicStatus.clearAt!.$int, clearAt); - expect(response.ocs.data.status!.publicStatus.status, UserStatusType.offline); - expect(response.ocs.data.status!.status1.statusIsUserDefined, false); + expect(response.ocs.data.public.userId, 'user1'); + expect(response.ocs.data.public.message, null); + expect(response.ocs.data.private1.messageId, 'meeting'); + expect(response.ocs.data.private1.messageIsPredefined, true); + expect(response.ocs.data.public.icon, null); + expect(response.ocs.data.public.clearAt, clearAt); + expect(response.ocs.data.public.status, 'offline'); + expect(response.ocs.data.private1.statusIsUserDefined, false); }); test('Set custom message', () async { final clearAt = DateTime.now().millisecondsSinceEpoch ~/ 1000 + 60; - final response = await client.userStatus.setCustomMessage( + final response = await client.userStatus.userStatus.setCustomMessage( statusIcon: '😀', message: 'bla', clearAt: clearAt, ); - expect(response.ocs.data.status!.publicStatus.userId, 'user1'); - expect(response.ocs.data.status!.publicStatus.message, 'bla'); - expect(response.ocs.data.status!.status1.messageId, null); - expect(response.ocs.data.status!.status1.messageIsPredefined, false); - expect(response.ocs.data.status!.publicStatus.icon, '😀'); - expect(response.ocs.data.status!.publicStatus.clearAt!.$int, clearAt); - expect(response.ocs.data.status!.publicStatus.status, UserStatusType.offline); - expect(response.ocs.data.status!.status1.statusIsUserDefined, false); + expect(response.ocs.data.public.userId, 'user1'); + expect(response.ocs.data.public.message, 'bla'); + expect(response.ocs.data.private1.messageId, null); + expect(response.ocs.data.private1.messageIsPredefined, false); + expect(response.ocs.data.public.icon, '😀'); + expect(response.ocs.data.public.clearAt, clearAt); + expect(response.ocs.data.public.status, 'offline'); + expect(response.ocs.data.private1.statusIsUserDefined, false); }); test('Clear message', () async { final clearAt = DateTime.now().millisecondsSinceEpoch ~/ 1000 + 60; - await client.userStatus.setCustomMessage( + await client.userStatus.userStatus.setCustomMessage( statusIcon: '😀', message: 'bla', clearAt: clearAt, ); - await client.userStatus.clearMessage(); - - final response = await client.userStatus.getStatus(); - expect(response.ocs.data.status!.publicStatus.userId, 'user1'); - expect(response.ocs.data.status!.publicStatus.message, null); - expect(response.ocs.data.status!.status1.messageId, null); - expect(response.ocs.data.status!.status1.messageIsPredefined, false); - expect(response.ocs.data.status!.publicStatus.icon, null); - expect(response.ocs.data.status!.publicStatus.clearAt, null); - expect(response.ocs.data.status!.publicStatus.status, UserStatusType.offline); - expect(response.ocs.data.status!.status1.statusIsUserDefined, false); + await client.userStatus.userStatus.clearMessage(); + + final response = await client.userStatus.userStatus.getStatus(); + expect(response.ocs.data.public.userId, 'user1'); + expect(response.ocs.data.public.message, null); + expect(response.ocs.data.private1.messageId, null); + expect(response.ocs.data.private1.messageIsPredefined, false); + expect(response.ocs.data.public.icon, null); + expect(response.ocs.data.public.clearAt, null); + expect(response.ocs.data.public.status, 'offline'); + expect(response.ocs.data.private1.statusIsUserDefined, false); }); test('Heartbeat', () async { - final response = await client.userStatus.heartbeat(status: UserStatusType.online); - expect(response.ocs.data.status!.publicStatus.userId, 'user1'); - expect(response.ocs.data.status!.publicStatus.message, null); - expect(response.ocs.data.status!.status1.messageId, null); - expect(response.ocs.data.status!.status1.messageIsPredefined, false); - expect(response.ocs.data.status!.publicStatus.icon, null); - expect(response.ocs.data.status!.publicStatus.clearAt, null); - expect(response.ocs.data.status!.publicStatus.status, UserStatusType.online); - expect(response.ocs.data.status!.status1.statusIsUserDefined, false); + final response = await client.userStatus.heartbeat.heartbeat(status: 'online'); + expect(response.ocs.data.public.userId, 'user1'); + expect(response.ocs.data.public.message, null); + expect(response.ocs.data.private1.messageId, null); + expect(response.ocs.data.private1.messageIsPredefined, false); + expect(response.ocs.data.public.icon, null); + expect(response.ocs.data.public.clearAt, null); + expect(response.ocs.data.public.status, 'online'); + expect(response.ocs.data.private1.statusIsUserDefined, false); }); }); }